Skip to content

Releases: spatie/laravel-data

4.17.0

25 Jun 11:37
6b110d2
Compare
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
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.16.0...4.16.1

4.16.0

20 Jun 12:23
5ec8206
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.15.0...4.15.1

4.15.0

09 Apr 14:36
809b0e1
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.14.1...4.15.0

4.14.1

17 Mar 13:54
edd61b4
Compare
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

4.14.0

14 Mar 15:21
3e12403
Compare
Choose a tag to compare

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.

  • Fix an issue where data classes could not be cached (a7d117e)
  • Fix retrieval of property to work for Astrotomic/translatable (#883)
  • Refactored some internals for storing attribute information
  • Add dataClass to normalize exception message (#968)
  • Add Macroable Trait to Data Collection Classes (#971)

4.13.2

03 Mar 10:01
bd060f6
Compare
Choose a tag to compare

What's Changed

  • Fix an issue where specific Lazy classes won't be recognized

Full Changelog: 4.13.1...4.13.2