2.12.0-rc2
Pre-release
Pre-release
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 returnfalse
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 as0
as this is how adapters handle the increment/decrement when not used with theSerializer
plugin.
Changed
- The
ExceptionInterface
now extends theThrowable
interface. CallbackCache
,ObjectCache
andClassCache
simplified method calls by avoiding the usage ofcall_user_func*
functions.- The
PSR-16
decorator now uses themaximum 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 thePSR-16
decorator.