Releases: spatie/laravel-data
Releases · spatie/laravel-data
4.9.0
- Move some interfaces around in order to avoid a circular chaos
4.8.2
- Remove a circular dependency
4.8.1
- Fix a missing dependency
4.8.0
What's Changed
- Detect data from collection by @clementbirkle in #812
- Fix an issue where dd or dump did not work
Full Changelog: 4.7.2...4.8.0
4.7.2
- Fix issue where an exception was not always thrown while it should (#809)
- Solve an issue where an empty container with an iterable cast won't be cast (#810)
- Fix Parsing of Optional Types Annotations in DataIterableAnnotation (#808)
- Support TypeScript Hidden Properties (#820)
- Fix issue where abstract eloquent casts were not encrypted(#828)
4.7.1
What's Changed
- Fix some typos in docs by @Klaas058 in #794
- Provide a default timezone for casting date by @PhilippeThouvenot in #799
- Remove object rule caching
- Fix an issue where a normalized model attribute fetching a relation would not use the loaded relation
New Contributors
- @PhilippeThouvenot made their first contribution in #799
Full Changelog: 4.7.0...4.7.1
4.7.0
What's Changed
- Fix typo in docs by @DvDty in #769
- Update wrapping.md by @kimulisiraj in #770
- Fix typos on "Use with Livewire" page by @vkarchevskyi in #777
- Fix dataCastUsing method signature by @shankhadevpadam in #781
- Avoid loading already loaded relations and allow loading non studly relation names by @Tofandel in #773
- Fix routing parameters filled in incorrectly using mapping property names by @guiqibusixin in #775
- Feature: add ability to store eloquent casts as an encrypted string by @eugen-stranz in #723
New Contributors
- @DvDty made their first contribution in #769
- @vkarchevskyi made their first contribution in #777
- @shankhadevpadam made their first contribution in #781
- @guiqibusixin made their first contribution in #775
- @eugen-stranz made their first contribution in #723
- @yob-yob made their first contribution in #776
Full Changelog: 4.6.0...4.7.0
4.6.0
What's Changed
- Add initial support for casting union types
- Fix an issue with paginator includes not working
- Fix consistency of After, AfterOrEqual, Before, BeforeOrEquals rules
- Fix creation context issue (#749)
- Fix an performance issue where when creating a data object from models, the attributes were always called
- Add a #[LoadRelation] attribute which allows loading model relations when creating data objects on the fly
Full Changelog: 4.5.1...4.6.0
3.12.0
What's Changed
- Backport cache fix to v3 by @jameshulse in #671
- fix: adds environment variable to disable structure caching by @jaydublu2002 in #645
- v3 support for Laravel 11 by @jameshulse in #739
Full Changelog: 4.5.1...3.12.0
4.5.1
What's Changed
- Abstract data object as collection by @onursimsek in #741
Full Changelog: 4.5.0...4.5.1