Releases: open-southeners/laravel-dto
Releases · open-southeners/laravel-dto
3.5.3
3.5.2
Fixed
- Filtering on collections with not null data
3.5.1
Fixed
- Filtering on collections with not null data
3.5.0
Added
- Improve model morph mapping sending multiple IDs and their matches types. Documentation link
3.4.0
Added
- DataTransferObjects now have
dump
anddd
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
Added
- Laravel 11 support
- Collected data transfer objects now mapped properly using
fromArray
3.2.3
Fixed
- From request context with DTO's
filled
method not working properly
3.2.2
Fixed
- Route resolution on the model's logic (
resolveRouteBindingQuery
)
3.2.1
Fixed
- Route binding when nested DTO is being used with same parameter key as route binding
3.2.0
Changed
- Models route binding now uses Eloquent's Model
resolveRouteBindingQuery
method - Models uses default routing key (
getRouteKeyName
) only whenBindModel
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)