Skip to content

Releases: spatie/laravel-data

4.18.0

16 Oct 16:45
c10784f

Choose a tag to compare

What's Changed

Full Changelog: 4.17.1...4.18.0

4.17.1

04 Sep 08:32
6ec15bb

Choose a tag to compare

What's Changed

  • Fix issue where toArray() is called on null collections by @oddvalue in #1054
  • Update the annotations in the Eloquent casts

Full Changelog: 4.17.0...4.17.1

4.17.0

25 Jun 11:37
6b110d2

Choose a tag to compare

What's Changed

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

24 Jun 08:19

Choose a tag to compare

What's Changed

Full Changelog: 4.16.0...4.16.1

4.16.0

20 Jun 12:23
5ec8206

Choose a tag to compare

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

19 Jun 15:36
a33ddeb

Choose a tag to compare

  • Add support for only and except in enum rule

Full Changelog: 4.15.2...4.15.3

4.15.2

12 Jun 09:42
50f5abe

Choose a tag to compare

  • 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

10 Apr 06:06
cb97afe

Choose a tag to compare

What's Changed

Full Changelog: 4.15.0...4.15.1

4.15.0

09 Apr 14:36
809b0e1

Choose a tag to compare

What's Changed

Full Changelog: 4.14.1...4.15.0

4.14.1

17 Mar 13:54
edd61b4

Choose a tag to compare

What's Changed

  • fix: Model with method name matching attribute names are not retrieved by @Tofandel in #979

Full Changelog: 4.14.0...4.14.1