Skip to content

Releases: spatie/laravel-data

2.0.7

18 Aug 12:17
Compare
Choose a tag to compare
  • Add var dumper caster (#195)
  • Allow direct pipeline call (#193)
  • Rename ArrayableNormalizer (#191)
  • Make normalizers configurable (#190)

2.0.6

12 Aug 13:44
Compare
Choose a tag to compare
  • Add cast lazy condition result to bool (#186)
  • Add conditional return types for collections (#184)
  • Fix windows tests

2.0.5

10 Aug 15:31
Compare
Choose a tag to compare
  • Fix validation rules not being used for data collections and objects

2.0.4

01 Aug 14:11
fd58e53
Compare
Choose a tag to compare
  • Add IDE completion support (#182)

2.0.3

29 Jul 09:46
7774052
Compare
Choose a tag to compare
  • Add support for invokable rules (#179)

2.0.2

29 Jul 09:33
Compare
Choose a tag to compare
  • more consistent use of transform through codebase for transforming collections and data

2.0.1

13 Jul 10:42
938cdbc
Compare
Choose a tag to compare
  • Add class defined partials (#164)
  • Use mapped property names in TypeScript (#154)
  • Add make:data command (#157)
  • Better support for overwritten rules
  • Add support for Lazy inertia props (#163)
  • Add support for array query parameters as partials (#162)

2.0.0

08 Jul 09:43
Compare
Choose a tag to compare

Version 2 of laravel-data is a complete overhaul, we've almost completely rewritten the package.

This is a (non-complete) list of the new features:

  • A DataPipeline
  • Data normalizers
  • Mappable property names
  • Wrapping of data in responses
  • only and except methods on Data and DataCollections
  • Multiple parameter magic methods
  • Optional properties
  • Split DataCollections
  • Better support for TypeScript Transformer
  • And a lot more ...

1.5.1

08 Jul 09:15
1c44f36
Compare
Choose a tag to compare
  • Fix optional parameters (#152)
  • Use protected properties and methods (#147 )

1.5.0

25 May 09:20
b9620d2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.4.7...1.5.0