Releases: alekitto/metadata
Releases · alekitto/metadata
Version 4.1.0
CHANGES:
- add setMetadataFor method to abstract metadata factory to inject/update metadata
- fix some phpstan type annotations
Full Changelog: 4.0.1...v4.1.0
Version 4.0.2 - Patch
No code change: phpstan annotations added and updated code style
Version 4.0.1 - Patch
CHANGES
- Allow usage of
kcs/class-finder
0.3
Version 4.0
BREAKING CHANGES:
finalize
method needs to be implemented on class metadata implementation
CHANGES:
- Allow PHP 8. Drop support for PHP < 7.4.
- Register processors with tagged with
#[Processor]
attribute. - Changed code style rules.
- Check code against PHPStan.
Metadata finalizer
- Class metadata now can implement
finalize
method that will be called after parent merge and just before validation
Processor finder
CHANGES
- Annotation procesors can be auto-registered through
ProcessorFactory::registerProcessors
method
Version 3.0
BREAKING CHANGES:
- Use PSR-14 (event-dispatcher)
- Do not dispatch metadata loaded event as
kcs_metadata.metadata_loaded
, use class name instead - Accept only
CacheItemPoolInterface
as cache pool inAbstractMetadataFactory
CHANGES:
- Case insensitive attribute metadata
PSR cache
V2
Concrete processor loader
Allow AnnotationProcessorLoader
class to be instantiated directly.