Skip to content

Commit

Permalink
Prepare v0.5.7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Sep 15, 2022
1 parent 03b74bd commit c36b92f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 9 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## 0.5.7 (2022-09-15)

* Feature: Full support for PHP 8.2.
(#161 by @clue)

* Feature: Mark passwords and URIs as `#[\SensitiveParameter]` (PHP 8.2+).
(#162 by @clue)

* Feature: Forward compatibility with upcoming Promise v3.
(#157 by @clue)

* Feature / Fix: Improve protocol parser, emit parser errors and close invalid connections.
(#158 and #159 by @clue)

* Improve test suite, fix legacy HHVM build by downgrading Composer.
(#160 by @clue)

## 0.5.6 (2021-12-14)

* Feature: Support optional `charset` parameter for full UTF-8 support (`utf8mb4`).
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ The recommended way to install this library is [through Composer](https://getcom
This will install the latest supported version:

```bash
$ composer require react/mysql:^0.5.6
composer require react/mysql:^0.5.7
```

See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
Expand All @@ -519,7 +519,7 @@ To run the test suite, you first need to clone this repo and then install all
dependencies [through Composer](https://getcomposer.org/):

```bash
$ composer install
composer install
```

The test suite contains a number of functional integration tests that send
Expand All @@ -530,26 +530,26 @@ to not use a production database!
You can change your test database credentials by passing these ENV variables:

```bash
$ export DB_HOST=localhost
$ export DB_PORT=3306
$ export DB_USER=test
$ export DB_PASSWD=test
$ export DB_DBNAME=test
export DB_HOST=localhost
export DB_PORT=3306
export DB_USER=test
export DB_PASSWD=test
export DB_DBNAME=test
```

For example, to create an empty test database, you can also use a temporary
[`mysql` Docker image](https://hub.docker.com/_/mysql/) like this:

```bash
$ docker run -it --rm --net=host \
docker run -it --rm --net=host \
-e MYSQL_RANDOM_ROOT_PASSWORD=yes -e MYSQL_DATABASE=test \
-e MYSQL_USER=test -e MYSQL_PASSWORD=test mysql:5
```

To run the test suite, go to the project root and run:

```bash
$ vendor/bin/phpunit
vendor/bin/phpunit
```

## License
Expand Down

0 comments on commit c36b92f

Please sign in to comment.