v0.6.0
版本发布时间: 2023-11-10 20:12:44
friends-of-reactphp/mysql最新发布版本:v0.6.0(2023-11-10 20:12:44)
-
Feature: Improve Promise v3 support and use template types. (#183 and #178 by @clue)
-
Feature: Full PHP 8.3 compatibility. (#180 by @clue)
-
Feature / BC break: Update default charset encoding to
utf8mb4
for full UTF-8 support. (#165 by @clue)This feature updates the MySQL client to use
utf8mb4
as the default charset encoding for full UTF-8 support instead of the legacyutf8mb3
charset encoding. For legacy reasons you can still change this to use a different ASCII-compatible charset encoding like this:$factory->createConnection('localhost?charset=utf8mb4');
-
Feature: Reduce default idle time to 1ms. (#182 by @clue)
The idle time defines the time the client is willing to keep the underlying connection alive before automatically closing it. The default idle time was previously 60s and can be configured for more specific requirements like this:
$factory->createConnection('localhost?idle=10.0');
-
Minor documentation improvements. (#184 by @yadaiio)
-
Improve test suite, update to use reactphp/async and report failed assertions. (#164 and #170 by @clue, #163 by @dinooo13 and #181 by @SimonFrings)