Skip to content

Releases: open-southeners/laravel-dto

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)

3.1.3

09 Nov 18:06
89daeff
Compare
Choose a tag to compare

Fixed

  • BackedEnum typed properties with union types falling back to original value

3.1.2

25 Oct 10:56
6673692
Compare
Choose a tag to compare

Fixed

  • laravel-helpers package version constraints so it doesn't conflict with any other package that uses it in the same way (or even the root project)

3.1.1

23 Oct 15:23
f5ea784
Compare
Choose a tag to compare

Fixed

  • Serialisation using old BindModelUsing instead of new BindModel attribute

3.1.0

23 Oct 15:03
83e7c5f
Compare
Choose a tag to compare

Added

  • JSON strings to collections (arrays or Illuminate's Collection instances)

3.0.3

17 Oct 13:59
8dd1b0a
Compare
Choose a tag to compare

Fixed

  • Regression introduced by morphs fix using abstract Model class

3.0.2

17 Oct 13:59
6b38920
Compare
Choose a tag to compare

Fixed

  • Morph binding using generic Illuminate's model class (not instantiable), fallbacks to Relation::morphMap

3.0.1

17 Oct 13:59
255e1df
Compare
Choose a tag to compare

Fixed

  • Passing through with no type casting already matching typed properties (enums, objects, etc...)

2.2.1

17 Oct 08:52
fecf98a
Compare
Choose a tag to compare

Fixed

  • Enums parsing when one is being passed to DTOs (thanks @coclav 🎉) [#6]