Skip to content

Commit c36b92f

Browse files
committed
Prepare v0.5.7 release
1 parent 03b74bd commit c36b92f

File tree

2 files changed

+26
-9
lines changed

2 files changed

+26
-9
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## 0.5.7 (2022-09-15)
4+
5+
* Feature: Full support for PHP 8.2.
6+
(#161 by @clue)
7+
8+
* Feature: Mark passwords and URIs as `#[\SensitiveParameter]` (PHP 8.2+).
9+
(#162 by @clue)
10+
11+
* Feature: Forward compatibility with upcoming Promise v3.
12+
(#157 by @clue)
13+
14+
* Feature / Fix: Improve protocol parser, emit parser errors and close invalid connections.
15+
(#158 and #159 by @clue)
16+
17+
* Improve test suite, fix legacy HHVM build by downgrading Composer.
18+
(#160 by @clue)
19+
320
## 0.5.6 (2021-12-14)
421

522
* Feature: Support optional `charset` parameter for full UTF-8 support (`utf8mb4`).

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ The recommended way to install this library is [through Composer](https://getcom
503503
This will install the latest supported version:
504504

505505
```bash
506-
$ composer require react/mysql:^0.5.6
506+
composer require react/mysql:^0.5.7
507507
```
508508

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

521521
```bash
522-
$ composer install
522+
composer install
523523
```
524524

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

532532
```bash
533-
$ export DB_HOST=localhost
534-
$ export DB_PORT=3306
535-
$ export DB_USER=test
536-
$ export DB_PASSWD=test
537-
$ export DB_DBNAME=test
533+
export DB_HOST=localhost
534+
export DB_PORT=3306
535+
export DB_USER=test
536+
export DB_PASSWD=test
537+
export DB_DBNAME=test
538538
```
539539

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

543543
```bash
544-
$ docker run -it --rm --net=host \
544+
docker run -it --rm --net=host \
545545
-e MYSQL_RANDOM_ROOT_PASSWORD=yes -e MYSQL_DATABASE=test \
546546
-e MYSQL_USER=test -e MYSQL_PASSWORD=test mysql:5
547547
```
548548

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

551551
```bash
552-
$ vendor/bin/phpunit
552+
vendor/bin/phpunit
553553
```
554554

555555
## License

0 commit comments

Comments
 (0)