- PHP8.1: fixed compatibility issues with \JsonSerializable interface
- weakened dependency "symfony/event-dispatcher" in favor of "symfony/event-dispatcher-contracts".
POTENTIAL BC: If you're using "symfony/event-dispatcher" as a dispatcher, please install it manually composer require symfony/event-dispatcher
- no behavior change, except better compatibility with PHP 8.1
- [bugfix] Event dispatcher should be nullable
- [bugfix] DSN Connector should not be resolved if empty dsn string provided
- Allowed
symfony/event-dispatcher:^4.3|5.*
- Minimum PHP version 7.4
Readdle\Database\Connector\DSNConnector
is final now. Implement own connector based onConnectorInterface
if neededReaddle\Database\Connector\Resolver
is final now.symfony/event-dispatcher
version>=5.0 <6.0
trigger_error
behavior replaced with direct exception throwing in error cases. (however,trigger_error
still used if query produces warnings and warning reporting is enabled)- Added types (e.g.
Readdle\Database\FQDBExecutor::setWarningHandler
andReaddle\Database\FQDBExecutor::setErrorHandler
acceptscallable|null
, etc.)