2.0.0
版本发布时间: 2024-04-03 14:13:42
jackalope/jackalope-doctrine-dbal最新发布版本:2.0.2(2024-07-09 13:53:41)
- Added static typing wherever possible. This should not change anything, but the added strictness. might trigger errors where it was more tolerant for incorrect types before.
- Renamed cli-config.php.dist to cli-config.dist.php and cleaned up to be better documented.
- [BC Break]: CachedClient now expects a PSR-16 cache rather than the abandoned doctrine/cache. When instantiating the client, you need to provide at least the cache instance for metadata, as CachedClient does not know which implementation to pick.
- Support for new Symfony versions.
- Support for doctrine/dbal 4.
- For MySQL/MariaDB, it is now required to configure
defaultTableOptions
.collate
orcharset
in the Doctrine connection, or alternatively set the encoding explicitly withClient::setCaseSensitiveEncoding()
(e.g.utf8mb4_bin
). - If you are on PHP 8.0 and install Jackalope with
symfony/cache
, you need to restrictpsr/simple-cache
to^1.0 || ^2.0
in your application because Symfony 5 does not declare a conflict with it, but fails at runtime. - Drop support for PHP 7.
- Fixed: While it is allowed to call
Repository::login
withnull
credentials, there used to be an error. It now correctly works. If you usejcr:createdBy
orjcr:lastModifiedBy
in node types, those properties are not set if the credentials arenull
. - Improving the performance of
deleteProperties
(#421) - Deleting dangling binary references when a property is removed or the whole node with a binary property is deleted (#426) - See UPGRADE.md for the recommended database changes.
- Allow installation with Symfony 7.