Repository navigation
2.12.2
Release Notes for 2.12.2
2.12.x bugfix release (patch)
With 2.12.0, a better key length handling for the PSR-16 decorator was introduced. The decorator initially supported 64 characters which was the minimum which PSR-16 requires to be supported by implementing cache backends. The redis adapter can take keys up to a length of 512 MB which results in a PCRE2 compilation error when validating the cache key length with the PSR-16 decorator.
This release decreases the maximum allowed key length for the PSR-16 decorator to 65534 to avoid that compilation error. Technically, this would be a BC break, but given the fact that cache adapters with a support for keys bigger than that ran into the compilation error when validating the cache keys, this is rather a necessary bugfix.
Changed
- The maximum supported key length for the
PSR-16decorator is now65534
Fixes
- By decreasing the maximum supported key length for the
PSR-16decorator,preg_matchwon't result in a compilation error for cache adapters which would support even longer keys.
2.12.2
- Total issues resolved: 1
- Total pull requests resolved: 1
- Total contributors: 2