File tree Expand file tree Collapse file tree 2 files changed +40
-12
lines changed Expand file tree Collapse file tree 2 files changed +40
-12
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
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
+
3
40
## 0.5.7 (2022-09-15)
4
41
5
42
* Feature: Full support for PHP 8.2.
Original file line number Diff line number Diff line change 4
4
5
5
Async MySQL database client for [ ReactPHP] ( https://reactphp.org/ ) .
6
6
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
-
16
7
This is a MySQL database driver for [ ReactPHP] ( https://reactphp.org/ ) .
17
8
It implements the MySQL protocol and allows you to access your existing MySQL
18
9
database.
@@ -511,11 +502,11 @@ See also the [`close()`](#close) method.
511
502
The recommended way to install this library is [ through Composer] ( https://getcomposer.org/ ) .
512
503
[ New to Composer?] ( https://getcomposer.org/doc/00-intro.md )
513
504
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:
516
507
517
508
``` bash
518
- composer require react/mysql:^0.6@dev
509
+ composer require react/mysql:^0.6
519
510
```
520
511
521
512
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments