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 11# Changelog
22
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+
339## 0.5.5 (2021-07-19)
440
541* 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.
497497
498498## Install
499499
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/ ) .
501501[ New to Composer?] ( https://getcomposer.org/doc/00-intro.md )
502502
503503This will install the latest supported version:
504504
505505``` bash
506- $ composer require react/mysql:^0.5.5
506+ $ composer require react/mysql:^0.5.6
507507```
508508
509509See 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
516516## Tests
517517
518518To 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/ ) :
520520
521521``` bash
522522$ composer install
You can’t perform that action at this time.
0 commit comments