Skip to content

Releases: open-southeners/laravel-dto

3.5.3

12 Jun 11:16
3848c29
Compare
Choose a tag to compare

Fixed

  • Filtering reset keys to numeric when string needed

3.5.2

12 Jun 11:09
ef0047a
Compare
Choose a tag to compare

Fixed

  • Filtering on collections with not null data

3.5.1

12 Jun 11:03
5f073a9
Compare
Choose a tag to compare

Fixed

  • Filtering on collections with not null data

3.5.0

23 May 19:04
d651207
Compare
Choose a tag to compare

Added

  • Improve model morph mapping sending multiple IDs and their matches types. Documentation link

3.4.0

18 Apr 09:25
e33f364
Compare
Choose a tag to compare

Added

  • DataTransferObjects now have dump and dd methods

Fixed

  • toArray method not returning everything when DTOs where used on the request and later on reused. Caveat: Only one DTO per request until v4 refactor

3.3.0

13 Mar 12:28
8f00498
Compare
Choose a tag to compare

Added

  • Laravel 11 support
  • Collected data transfer objects now mapped properly using fromArray

3.2.3

14 Dec 18:20
665e9cb
Compare
Choose a tag to compare

Fixed

  • From request context with DTO's filled method not working properly

3.2.2

20 Nov 17:13
f57d87d
Compare
Choose a tag to compare

Fixed

  • Route resolution on the model's logic (resolveRouteBindingQuery)

3.2.1

15 Nov 10:17
06053e1
Compare
Choose a tag to compare

Fixed

  • Route binding when nested DTO is being used with same parameter key as route binding

3.2.0

13 Nov 15:15
9fb686d
Compare
Choose a tag to compare

Changed

  • Models route binding now uses Eloquent's Model resolveRouteBindingQuery method
  • Models uses default routing key (getRouteKeyName) only when BindModel PHP attribute doesn't have the using argument

Fixed

  • Routes binding models through DTOs now are injected back to route parameters (to be reused in every other part of the software)