Skip to content

Releases: spatie/laravel-data

4.9.0

10 Sep 13:45
1b7c105
Compare
Choose a tag to compare
  • Move some interfaces around in order to avoid a circular chaos

4.8.2

30 Aug 13:58
1732519
Compare
Choose a tag to compare
  • Remove a circular dependency

4.8.1

13 Aug 14:01
597961b
Compare
Choose a tag to compare
  • Fix a missing dependency

4.8.0

13 Aug 13:23
6fc4ed6
Compare
Choose a tag to compare

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

25 Jul 11:25
8980ee5
Compare
Choose a tag to compare
  • 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

25 Jun 11:03
b7e10d3
Compare
Choose a tag to compare

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

Full Changelog: 4.7.0...4.7.1

4.7.0

13 Jun 12:08
92af136
Compare
Choose a tag to compare

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

Full Changelog: 4.6.0...4.7.0

4.6.0

03 May 15:06
ee513f6
Compare
Choose a tag to compare

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

24 Apr 09:28
d44e048
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.5.1...3.12.0

4.5.1

10 Apr 07:58
67ea943
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.5.0...4.5.1