Skip to content

Releases: kununu/projections

Drop support for PHP 8.0

08 Apr 17:27
d78fbcd
Compare
Choose a tag to compare

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

19 Jan 12:19
55d755b
Compare
Choose a tag to compare
  • 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 and AbstractCachedProvider
  • Introduce CacheSerializerInterface to decouple serialization of cache items
  • Make repository base implementation cache provider agnostic.
  • Rename CachePoolProjectionRepository to SymfonyCacheProjectionRepository (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

19 Jan 17:05
1fb0bfe
Compare
Choose a tag to compare

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

16 Jan 17:02
4fc1e44
Compare
Choose a tag to compare

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 to AbstractCachedProvider 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

03 Jan 14:57
0f0431d
Compare
Choose a tag to compare
  • Allow usage in PHP 8

Introduce CacheCleaner and AbstractCachedProvider

15 Dec 11:57
a74ee80
Compare
Choose a tag to compare
  • Introduce CacheCleaner and AbstractCacheCleanerByTags
  • Introduce AbstractCachedProvider
  • Update documentation

Bump kununu/scripts

26 Aug 11:35
129dd52
Compare
Choose a tag to compare
v1.1.2

Always use latest version of kununu/scripts (#32)

Update dependencies

11 May 09:12
9c42f73
Compare
Choose a tag to compare
- Update dependencies (#27)

- Add kununu/scripts dependency for dev environment
- Update codeowners

Introduce ProjectionItemIterable

18 Mar 18:30
ab94789
Compare
Choose a tag to compare
  • Introduce ProjectionItemIterable and ProjectionItemIterableTrait with a base implementation using an array

  • Add unit tests cases with ProjectionItemIterable/ProjectionItemIterableTrait

v1.0.1

23 Jul 15:18
5c29551
Compare
Choose a tag to compare
Fixes on readme (#3)