Skip to content

Releases: yiisoft/definitions

Version 3.4.1

02 Dec 05:29
Immutable release. Only release title and notes can be modified.
3.4.1
efba764

Choose a tag to compare

Full changelog

Version 3.4.0

02 Mar 16:55
3.4.0
313dc89

Choose a tag to compare

  • Chg #105: Change PHP constraint in composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 (@vjik)
  • Chg #106: Bump minimal required PHP version to 8.1 (@vjik)
  • Enh #105: Improve definition validation for readonly properties and properties with asymmetric visibility (@vjik)
  • Enh #106: Minor performance optimization: use FQN for PHP functions, remove unnecessary conditions (@vjik)
  • Enh #106: Mark readonly properties (@vjik)
  • Bug #105: Explicitly mark nullable parameters (@vjik)

Version 3.3.1

16 Dec 19:52
3.3.1
712d9cf

Choose a tag to compare

  • Enh #101: Minor performance improvement by removing unnecessary code in DefinitionStorage (@vjik)
  • Bug #100: Fix resolving ParameterDefinition for optional parameters with union types (@vjik)

Version 3.3.0

16 Mar 13:31
3.3.0
5cb53d0

Choose a tag to compare

  • New #90: Allow multiple method call in array definition (@vjik)
  • Bug #86: Fix crash when intersection types are used (@vjik)

Version 3.2.0

12 Feb 13:28
3.2.0
49d9ffa

Choose a tag to compare

  • Enh #68: Add ability to use any allowed definitions in DynamicReferencesArray::from() (@vjik)

Version 3.1.0

04 Feb 16:06
3.1.0
2c04ca3

Choose a tag to compare

  • New #67: Add ArrayDefinitionHelper::merge() method that merge array definitions (@vjik)

Version 3.0.2

02 Dec 20:40
3.0.2
49e6c18

Choose a tag to compare

Version 3.0.1

08 Nov 08:41
3.0.1
6c35cdc

Choose a tag to compare

  • Bug #53: Fixed error on use in array definition methods that should be work via magic __call() method (@vjik)

Version 3.0.0

04 Nov 14:04
3.0.0
89fa684

Choose a tag to compare

  • Chg #49: Change result format of DefinitionStorage::getBuildStack() method to definition IDs array (@vjik)
  • Enh #41: Raise minimum PHP version to 8.0 and refactor code (@xepozz, @vjik)
  • Enh #44: In methods of array definitions add autowiring and improve variadic arguments support (@vjik)
  • Enh #46: In definition validator add a check of method name in array definitions (@vjik)
  • Bug #48: Definition validator returns false positive result on empty string (@vjik)

Version 2.1.0

25 Oct 09:23
2.1.0
80d384d

Choose a tag to compare

  • Enh #43: Add Reference::optional() method that returns null when there is no dependency defined
    in container (@vjik)