Skip to content

v0.5.6

Compare
Choose a tag to compare
@clue clue released this 14 Dec 11:28
  • Feature: Support optional charset parameter for full UTF-8 support (utf8mb4).
    (#135 by @clue)

    $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:

    $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)