Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Releases: spatie/data-transfer-object

3.7.0

26 Aug 09:54
Compare
Choose a tag to compare
  • Add #[MapTo] support (#233)

3.6.2

25 Aug 10:51
Compare
Choose a tag to compare
  • Correct behavior of Arr::forget with dot keys (#231)

3.6.1

17 Aug 03:37
Compare
Choose a tag to compare
  • Fix array assignment bug with strict dto's (#225)

3.6.0

12 Aug 03:59
Compare
Choose a tag to compare
  • Support mapped properties (#224)

3.5.0

11 Aug 04:32
Compare
Choose a tag to compare
  • Support union types in casters (#210)

3.4.0

10 Aug 12:44
Compare
Choose a tag to compare
  • Fix for an empty value being created when casting ArrayAccess objects (#216)
  • Add logic exception when attempting to cast ArrayAccess objects that are not traversable (#216)
  • Allow the ArrayCaster to retain values that are already instances of the itemType (#217)

3.3.0

01 Jun 11:27
Compare
Choose a tag to compare
  • Expose DTO and validation error array in ValidationException (#213)

3.2.0

31 May 11:15
Compare
Choose a tag to compare
  • Support generic casters (#199)
  • Add ArrayCaster
  • Add casting of objects that implement ArrayAccess to the ArrayCaster (#206)
  • Fix for caster subclass check (#204)

3.1.1

26 Apr 03:33
Compare
Choose a tag to compare
  • Make DefaultCast repeatable (#202)

3.1.0

21 Apr 09:54
Compare
Choose a tag to compare
  • Add DataTransferObject::clone(...$args)