All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
ArrayShapeRule
- allows processing of arrays with predefined keysArgsFieldContext
- args validation context which adds access to the property's default value
- Composer
- Allow PHP 8.4
- Allow benmorel/weakmap-polyfill:^0.5.0
- Metadata
- Improved accuracy of metadata-related error messages
ReflectorMetaSource
is marked as@internal
- Check that
Callback
returns correctArgs
class type
Rule
resolveArgs()
acceptsArgsFieldContext
instead ofArgsContext
- all rules initialize
Type
lazily (performance optimization)
ArrayOfRule
- check during metadata parsing that default value is an array when
mergeDefaults
is enabled
- check during metadata parsing that default value is an array when
FieldContext
,MappedObjectContext
- initializes
Type
lazily (performance optimization)
- initializes
ArrayShapeType
getFields()
always returns the same instances
0.2.0 - 2024-06-22
- Allow PHP 8.3
- Ensure metadata are defined in scope of
MappedObject
- Conflicting field name exception reports error in source property instead of context property
- Conflicting field name exception reports in which class did the conflict occur
- Check that
Rule
returns expected type ofArgs
0.1.0 - 2023-07-07
Initial release