Skip to content

Commit

Permalink
Prepare v0.5.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Dec 14, 2021
1 parent cde8b6f commit 7b4428d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# Changelog

## 0.5.6 (2021-12-14)

* Feature: Support optional `charset` parameter for full UTF-8 support (`utf8mb4`).
(#135 by @clue)

```php
$db = $factory->createLazyConnection('localhost?charset=utf8mb4');
```

* Feature: Improve error reporting, include MySQL URI and socket error codes in all connection errors.
(#141 by @clue and #138 by @SimonFrings)

For most common use cases this means that simply reporting the `Exception`
message should give the most relevant details for any connection issues:

```php
$db->query($sql)->then(function (React\MySQL\QueryResult $result) {
// …
}, function (Exception $e) {
echo 'Error:' . $e->getMessage() . PHP_EOL;
});
```

* Feature: Full support for PHP 8.1 release.
(#150 by @clue)

* Feature: Provide limited support for `NO_BACKSLASH_ESCAPES` SQL mode.
(#139 by @clue)

* Update project dependencies, simplify socket usage, and improve documentation.
(#136 and #137 by @SimonFrings)

* Improve test suite and add `.gitattributes` to exclude dev files from exports.
Run tests on PHPUnit 9 and PHP 8 and clean up test suite.
(#142 and #143 by @SimonFrings)

## 0.5.5 (2021-07-19)

* Feature: Simplify usage by supporting new default loop.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -497,13 +497,13 @@ See also the [`close()`](#close) method.

## Install

The recommended way to install this library is [through Composer](https://getcomposer.org).
The recommended way to install this library is [through Composer](https://getcomposer.org/).
[New to Composer?](https://getcomposer.org/doc/00-intro.md)

This will install the latest supported version:

```bash
$ composer require react/mysql:^0.5.5
$ composer require react/mysql:^0.5.6
```

See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
Expand All @@ -516,7 +516,7 @@ It's *highly recommended to use the latest supported PHP version* for this proje
## Tests

To run the test suite, you first need to clone this repo and then install all
dependencies [through Composer](https://getcomposer.org):
dependencies [through Composer](https://getcomposer.org/):

```bash
$ composer install
Expand Down

0 comments on commit 7b4428d

Please sign in to comment.