Releases: nette/schema
Releases · nette/schema
Released version 1.3.2
Released version 1.3.0
- requires PHP 8.1
- uses PHP 8.1 features
Released version 1.2.5
Released version 1.2.4
- support for PHP 8.3
- constants are PascalCase
Released version 1.2.3
- support for PHP 8.2
- cs
Released version 1.2.2
- supports nette/utils 2.5
Released version 1.2.0
Structure::skipDefaults()
allow to skip defaults per structureAnyOf()
must not be empty- added
AnyOf::firstIsDefault()
- Ability to define scheme for the key
Expert::arrayOf($stringType, $keyType)
Released version 1.1.0
- added Type::mergeDefaults() [Closes #13, Closes #24, Closes #28, Closes #31]
- added error codes
- ValidationException::getMessageObjects() returns array of Messages
- Allow options to be marked as deprecated [Closes #27]
- Structure: structure with required fields can be optional [Closes #17]
- Type: PREVENT_MERGING prevents merging with defaults [Closes #14, Closes nette/application#257, nette/di#229]
- 'option' changed to 'item' in error messages
Released version 1.0.4
Released version 1.0.3
- compatible with PHP 8
- Expect::
from()
supports union types - coding style
- tests: refactoring
For the details you can have a look at the diff.