File tree Expand file tree Collapse file tree 2 files changed +39
-3
lines changed Expand file tree Collapse file tree 2 files changed +39
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 0.5.6 (2021-12-14)
4
+
5
+ * Feature: Support optional ` charset ` parameter for full UTF-8 support (` utf8mb4 ` ).
6
+ (#135 by @clue )
7
+
8
+ ``` php
9
+ $db = $factory->createLazyConnection('localhost?charset=utf8mb4');
10
+ ```
11
+
12
+ * Feature: Improve error reporting, include MySQL URI and socket error codes in all connection errors.
13
+ (#141 by @clue and #138 by @SimonFrings)
14
+
15
+ For most common use cases this means that simply reporting the `Exception`
16
+ message should give the most relevant details for any connection issues:
17
+
18
+ ```php
19
+ $db->query($sql)->then(function (React\MySQL\QueryResult $result) {
20
+ // …
21
+ }, function (Exception $e) {
22
+ echo 'Error:' . $e->getMessage() . PHP_EOL;
23
+ });
24
+ ```
25
+
26
+ * Feature: Full support for PHP 8.1 release.
27
+ (#150 by @clue)
28
+
29
+ * Feature: Provide limited support for `NO_BACKSLASH_ESCAPES` SQL mode.
30
+ (#139 by @clue)
31
+
32
+ * Update project dependencies, simplify socket usage, and improve documentation.
33
+ (#136 and #137 by @SimonFrings)
34
+
35
+ * Improve test suite and add `.gitattributes` to exclude dev files from exports.
36
+ Run tests on PHPUnit 9 and PHP 8 and clean up test suite.
37
+ (#142 and #143 by @SimonFrings)
38
+
3
39
## 0.5.5 (2021-07-19)
4
40
5
41
* Feature: Simplify usage by supporting new default loop.
Original file line number Diff line number Diff line change @@ -497,13 +497,13 @@ See also the [`close()`](#close) method.
497
497
498
498
## Install
499
499
500
- The recommended way to install this library is [ through Composer] ( https://getcomposer.org ) .
500
+ The recommended way to install this library is [ through Composer] ( https://getcomposer.org/ ) .
501
501
[ New to Composer?] ( https://getcomposer.org/doc/00-intro.md )
502
502
503
503
This will install the latest supported version:
504
504
505
505
``` bash
506
- $ composer require react/mysql:^0.5.5
506
+ $ composer require react/mysql:^0.5.6
507
507
```
508
508
509
509
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
@@ -516,7 +516,7 @@ It's *highly recommended to use the latest supported PHP version* for this proje
516
516
## Tests
517
517
518
518
To run the test suite, you first need to clone this repo and then install all
519
- dependencies [ through Composer] ( https://getcomposer.org ) :
519
+ dependencies [ through Composer] ( https://getcomposer.org/ ) :
520
520
521
521
``` bash
522
522
$ composer install
You can’t perform that action at this time.
0 commit comments