Releases: spatie/data-transfer-object
Releases · spatie/data-transfer-object
3.7.0
- Add
#[MapTo]
support (#233)
3.6.2
- Correct behavior of Arr::forget with dot keys (#231)
3.6.1
- Fix array assignment bug with strict dto's (#225)
3.6.0
- Support mapped properties (#224)
3.5.0
- Support union types in casters (#210)
3.4.0
- 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
- Expose DTO and validation error array in ValidationException (#213)
3.2.0
- 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
- Make
DefaultCast
repeatable (#202)
3.1.0
- Add
DataTransferObject::clone(...$args)