Skip to content

Commit 914ff50

Browse files
committed
Prepare v0.6.0 release
1 parent afa35f4 commit 914ff50

File tree

2 files changed

+40
-12
lines changed

2 files changed

+40
-12
lines changed

CHANGELOG.md

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

3+
## 0.6.0 (2023-11-10)
4+
5+
* Feature: Improve Promise v3 support and use template types.
6+
(#183 and #178 by @clue)
7+
8+
* Feature: Full PHP 8.3 compatibility.
9+
(#180 by @clue)
10+
11+
* Feature / BC break: Update default charset encoding to `utf8mb4` for full UTF-8 support.
12+
(#165 by @clue)
13+
14+
This feature updates the MySQL client to use `utf8mb4` as the default charset
15+
encoding for full UTF-8 support instead of the legacy `utf8mb3` charset encoding.
16+
For legacy reasons you can still change this to use a different ASCII-compatible
17+
charset encoding like this:
18+
19+
```php
20+
$factory->createConnection('localhost?charset=utf8mb4');
21+
```
22+
23+
* Feature: Reduce default idle time to 1ms.
24+
(#182 by @clue)
25+
26+
The idle time defines the time the client is willing to keep the underlying
27+
connection alive before automatically closing it. The default idle time was
28+
previously 60s and can be configured for more specific requirements like this:
29+
30+
```php
31+
$factory->createConnection('localhost?idle=10.0');
32+
```
33+
34+
* Minor documentation improvements.
35+
(#184 by @yadaiio)
36+
37+
* Improve test suite, update to use reactphp/async and report failed assertions.
38+
(#164 and #170 by @clue, #163 by @dinooo13 and #181 by @SimonFrings)
39+
340
## 0.5.7 (2022-09-15)
441

542
* Feature: Full support for PHP 8.2.

README.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@
44

55
Async MySQL database client for [ReactPHP](https://reactphp.org/).
66

7-
> **Development version:** This branch contains the code for the upcoming 0.6 release.
8-
> For the code of the current stable 0.5 release, check out the
9-
> [`0.5.x` branch](https://github.com/friends-of-reactphp/mysql/tree/0.5.x).
10-
>
11-
> The upcoming 0.6 release will be the way forward for this package.
12-
> However, we will still actively support 0.5.x for those not yet
13-
> on the latest version.
14-
> See also [installation instructions](#install) for more details.
15-
167
This is a MySQL database driver for [ReactPHP](https://reactphp.org/).
178
It implements the MySQL protocol and allows you to access your existing MySQL
189
database.
@@ -511,11 +502,11 @@ See also the [`close()`](#close) method.
511502
The recommended way to install this library is [through Composer](https://getcomposer.org/).
512503
[New to Composer?](https://getcomposer.org/doc/00-intro.md)
513504

514-
Once released, this project will follow [SemVer](https://semver.org/).
515-
At the moment, this will install the latest development version:
505+
This project follows [SemVer](https://semver.org/).
506+
This will install the latest supported version:
516507

517508
```bash
518-
composer require react/mysql:^0.6@dev
509+
composer require react/mysql:^0.6
519510
```
520511

521512
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.

0 commit comments

Comments
 (0)