Skip to content

Releases: alekitto/metadata

Version 4.1.0

18 Feb 11:38
440a7c0
Compare
Choose a tag to compare

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

15 Jul 06:50
632d79e
Compare
Choose a tag to compare

No code change: phpstan annotations added and updated code style

Version 4.0.1 - Patch

15 Jul 06:48
300db25
Compare
Choose a tag to compare

CHANGES

  • Allow usage of kcs/class-finder 0.3

Version 4.0

19 Dec 15:18
80da67d
Compare
Choose a tag to compare

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

15 Oct 17:02
81ea7e2
Compare
Choose a tag to compare
  • Class metadata now can implement finalize method that will be called after parent merge and just before validation

Processor finder

23 Sep 08:32
10f09c0
Compare
Choose a tag to compare

CHANGES

  • Annotation procesors can be auto-registered through ProcessorFactory::registerProcessors method

Version 3.0

16 Jun 10:51
866e105
Compare
Choose a tag to compare

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 in AbstractMetadataFactory

CHANGES:

  • Case insensitive attribute metadata

PSR cache

07 Jan 01:28
1dc45de
Compare
Choose a tag to compare

Allow use of PSR-6 CacheItemPool
Allow overriding metadata loaded event dispatching

V2

20 Nov 15:05
254936f
Compare
Choose a tag to compare
V2

PHP 7.1 is required.
Added strict type declaration.

Concrete processor loader

05 Jul 10:20
Compare
Choose a tag to compare

Allow AnnotationProcessorLoader class to be instantiated directly.