Skip to content

2.12.0-rc2

Pre-release
Pre-release
Compare
Choose a tag to compare
@boesing boesing released this 27 Jul 19:42
· 7 commits to 2.12.x since this release
302a91e

Feature release (minor)

Added

  • Added a laminas-cli command to check project configuration for deprecated storage configuration.

Fixed

  • CacheItemPoolDecorator#saveDeferred queued already expired cache items. This has been fixed and thus, the method will return false for cache items which are already expired.
  • Serializer plugin treated non-existent cache items as an error and thus did not incremented/decremented these values. Non-existent values must be treated as 0 as this is how adapters handle the increment/decrement when not used with the Serializer plugin.

Changed

  • The ExceptionInterface now extends the Throwable interface.
  • CallbackCache, ObjectCache and ClassCache simplified method calls by avoiding the usage of call_user_func* functions.
  • The PSR-16 decorator now uses the maximum key length capability to better reflect the PSR requirements. PSR-16 requires that the backend supports at least 64 characters but it may also allow more than 64 characters.

Deprecated

  • Deprecated some storage configurations to normalize the configuration for the StorageAdapterFactoryInterface.
  • Deprecated the usage of storage adapters which do not provide the maximum key length capability in combination with the PSR-16 decorator.