Releases: kununu/projections
Releases · kununu/projections
Drop support for PHP 8.0
Breaking Changes
- Remove support for PHP 8.0
- Update PHPUnit to 10.5
Other changes
- Use Symfony 6.4 components for development
- Fix tests
- Update documentation
Open Source
- Open source the library
- Remove support for PHP 7.x
- Update documentation
- Split documentation in several files to be easy to read
- Allow definition of log level on
AbstractCacheCleanerByTags
andAbstractCachedProvider
- Introduce
CacheSerializerInterface
to decouple serialization of cache items - Make repository base implementation cache provider agnostic.
- Rename
CachePoolProjectionRepository
toSymfonyCacheProjectionRepository
(to use Symfony Taggable cache provider) - Add
Psr6CacheProjectionRepository
(to support generic PSR-6 implementations). - Add cache serialization implementations:
IgBinaryCacheSerializer
IgBinaryDeflatedCacheSerializer
JMSCacheSerializer
JMSDeflatedCacheSerializer
PhpCacheSerializer
PhpDeflatedCacheSerializer
SymfonyCacheSerializer
SymfonyDeflatedCacheSerializer
Fix CachedProviderTestCase
Changes
- Fix
CachedProviderTestCase
to allow changing values when projecting t…o cache, to take in consideration that pre-projection callables can change this values
Improve AbstractCacheProvider
BREAKING CHANGES
- Rename interfaces to have the Interface suffix
OTHER CHANGES
-
Add pre-projection callables to
AbstractCachedProvider::getAndCacheData
to allow to perform additional operations after fetching data when there is a cache miss -
Add
invalidateCacheItemByKey
toAbstractCachedProvider
to allow invalidation of individual cache items -
Fix tests
-
Add new test cases for the new methods
-
Update documentation
-
Fix code standards
Allow usage in PHP 8
- Allow usage in PHP 8
Introduce CacheCleaner and AbstractCachedProvider
- Introduce
CacheCleaner
andAbstractCacheCleanerByTags
- Introduce
AbstractCachedProvider
- Update documentation
Bump kununu/scripts
v1.1.2 Always use latest version of kununu/scripts (#32)
Update dependencies
- Update dependencies (#27) - Add kununu/scripts dependency for dev environment - Update codeowners
Introduce ProjectionItemIterable
-
Introduce ProjectionItemIterable and ProjectionItemIterableTrait with a base implementation using an array
-
Add unit tests cases with ProjectionItemIterable/ProjectionItemIterableTrait
v1.0.1
Fixes on readme (#3)