Skip to content

Releases: spatie/laravel-data

3.5.1

12 May 12:17
Compare
Choose a tag to compare
  • Add ability to instantiate an eloquent cast when null value using null database values (#425)
  • Revert only use validated data (#438) -> see #432

3.5.0

05 May 15:25
Compare
Choose a tag to compare
  • Add support for computed values
  • Add merge method to Data Collections (#419)
  • Allow field references in same validation attribute
  • Generic return type of toResponse function (#437)
  • Only use validated data (#438)
  • Add missing constructor parameters to error message (#433)

3.4.4

14 Apr 08:59
d0208db
Compare
Choose a tag to compare
  • Make Lazy Macroable

3.4.3

12 Apr 10:51
Compare
Choose a tag to compare
  • Update TypeScript Transformer with new closure lazy type

3.4.2

12 Apr 09:05
Compare
Choose a tag to compare
  • Add support for Lazy Closures which can be used with inertia

3.4.1

07 Apr 13:28
d0e9e17
Compare
Choose a tag to compare
  • reverted the reverted #393 branch

3.4.0

07 Apr 10:00
557d4bf
Compare
Choose a tag to compare
  • Allow to fetch Lazy data properties in unified way (#403)

3.3.3

03 Apr 07:29
Compare
Choose a tag to compare
  • revert: Fix usage of properties' mapped output names in 'only', 'except', 'includes', and 'excludes' operations (#393)

3.2.2

30 Mar 15:51
Compare
Choose a tag to compare
  • Fix issue when validating and creating a data object was impossible to use magic creation methods
  • Fix usage of properties' mapped output names in 'only', 'except', 'includes', and 'excludes' operations (#393)
  • Add some extra documentation

3.2.1

24 Mar 09:31
b6b9d96
Compare
Choose a tag to compare
  • Introduce FormRequestNormalizer (#380)
  • Add support for models without all columns (#385)