packagist spatie/laravel-data 3.0.0

latest releases: dev-main, 4.11.1, 4.11.0...
21 months ago
  • The validation logic is completely rewritten
    • Add support for nested nullable and optional data objects
    • Allow referencing other fields in validation attributes when the data is nested
    • Allow referencing url parameters (and even model properties) in validation attributes
    • Allow circular dependencies when validating data
    • Add support for nested validation messages and attributes
  • Package specific properties are renamed to avoid conflicts
  • Serialization logic updated to only serialize your properties
  • Prevent fatal error when passing a string containing only an integer to JSON Normalizer (#322)
  • Ignore leading ! in DateTimeInterfaceTransformer (#325)
  • Extend the make:data command to be more flexible (#335)

Don't miss a new laravel-data release

NewReleases is sending notifications on new releases.