Releases: spatie/laravel-data
Releases · spatie/laravel-data
4.17.0
What's Changed
- Add support for external validation attribute references by @rubenvanassche in #1051
Breaking changes
- While technically not breaking, some changes were made inside the validation attributes. You can check it here: #1051 in the headsup section.
Full Changelog: 4.16.1...4.17.0
4.16.1
What's Changed
Full Changelog: 4.16.0...4.16.1
4.16.0
What's Changed
- Add return type annotations to TransformableData trait by @cyppe in #1000
- Add the possibibilty to except key for empty data generation by @thoresuenert in #1035
- Enhance CannotCastEnum exception message to include property name by @rajmundtoth0 in #1039
- Fix issue in pr 1007 by @rubenvanassche in #1041
- Implement the compare method on the eloquent casts to improve the isDirty check by @SanderSander in #1033
- Add support for default values on properties for morph by @bentleyo in #1017
- Fix problem with dynamic properties
Full Changelog: 4.15.3...4.16.0
4.15.3
- Add support for only and except in enum rule
Full Changelog: 4.15.2...4.15.3
4.15.2
- Fix: CannotCreateData exception when AutoWhenLoadedLazy relationship is not loaded (#1009)
- Fix: Inertia deferred properties not being that flexible
Full Changelog: 4.15.1...4.15.2
4.15.1
4.15.0
What's Changed
- Add test and doc changes by @rubenvanassche in #996
- Add support for inertia deferred props by @matthiasweiss in #939
- Add EmptyString support for Formik compatibility by @igorleszczynski in #955
- Update ide.json by @Yi-pixel in #990
- feature property morphable by @bentleyo in #995
Full Changelog: 4.14.1...4.15.0
4.14.1
What's Changed
Full Changelog: 4.14.0...4.14.1
4.14.0
If you're using cached versions of your data objects and don't clear this cache on deploy, now is the time since we've updated some internal structures.
Some internals structures (attributes) in the DataProperty
and DataClass
have changed, if you're using these classes, update them accordingly.
4.13.2
What's Changed
- Fix an issue where specific Lazy classes won't be recognized
Full Changelog: 4.13.1...4.13.2