2.0.0
Release Notes for 2.0.0
Backwards incompatible release (major)
Added
- Added support for PHP 8.1
- Added support for
laminas/laminas-cachev3 - Added support for
laminas/laminas-component-installerto integrate better withlaminas-mvcormezzioprojects - Added
PSR-16andPSR-6support without the need to providepsras an option
Fixed
- Fixed the return-type annotation from
BlackHole#getAvailableSpacesincefloatwon't be returned
Changed
- The return value of the methods
BlackHole#checkAndSetItem,BlackHole#replaceItems,BlackHole#replaceItem,BlackHole#addItems,BlackHole#addItem,BlackHole#setItems,BlackHole#replaceItemare now based on thewritableoption passed to the adapter. BlackHole#removeItemswill now return an empty array which states that the removal was successfulBlackHole#getAvailableSpacewill now returnPHP_INT_MAXBlackHole#clearByNamespacewill now always returntrue. If called with an empty prefix, anInvalidArgumentExceptionwill be thrownBlackHole#clearByPrefixwill now always returntrue. If called with an empty prefix, anInvalidArgumentExceptionwill be thrownBlackHole#clearExpiredwill now always returntrueBlackHole#flushwill now always returntrueBlackHole#optimizewill now always returntrueBlackHole#setTagswill now always returntrueBlackHole#clearByTagswill now always returntrueBlackHole#getTotalSpacewill now returnPHP_INT_MAX
Removed
- Removed support for
laminas/laminas-cachev2 - Removed
BlackHoleOptions-class along with thepsroption
Breaking Changes
- Marked
BlackHole-Adapter asfinal
2.0.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 1
BC Break,Enhancement
- 24: PHP 8.1 support thanks to @boesing
- 21: Provide compatibility for laminas-cache v3.0 thanks to @boesing