Skip to content

Releases: spatie/laravel-data

2.0.15

17 Nov 10:45
Compare
Choose a tag to compare
  • refactor test suite to Pest (#239)
  • update the docs
  • add a StudlyMapper
  • add better support for Livewire

2.0.14

10 Nov 11:21
Compare
Choose a tag to compare
  • accept 'float' as data type (#237)
  • fix typo in mime type validation rule(#243)
  • add support for enums in validation attributes
  • add support for withoutTrashed to exists validation attribute (#248)
  • add PHP 8.2 testing in GH actions
  • add ability to modify properties before the data pipeline (#247)

2.0.13

14 Oct 10:35
Compare
Choose a tag to compare
  • fix first and last page url are never null (#215)
  • add ability to statically retrieve a data models rules (#221)
  • improved pattern matching in DataCollectionAnnotationReader (#225)
  • add ExcludeWithout attribute rule (#230)
  • improve getValidationRules to also retrieve wildcard rules (#231)
  • return property with or without mapping the name (#199)

2.0.12

29 Sep 08:38
Compare
Choose a tag to compare
  • Improve pattern matching in DataCollectionAnnotationReader (#214)
  • Add ability to retrieve rules for a data object (#221)

2.0.11

28 Sep 15:36
5dff9ec
Compare
Choose a tag to compare
  • Use generics with Data::collection (#213)
  • Improve pattern matching in DataCollectionAnnotationReader (#214)
  • Fix TypeScript Transformer paginated collections, first and last page url are never null (#215)

2.0.10

07 Sep 16:31
Compare
Choose a tag to compare
  • Add support for a JsonSerializer
  • Fix generic iterator definition for data collections
  • Fix validation of DataCollection objects not working as expected

2.0.9

23 Aug 10:21
987039d
Compare
Choose a tag to compare
  • Add support for timezone manipulation in casts and transformers (#200)

2.0.8

18 Aug 13:23
c3096c1
Compare
Choose a tag to compare
  • use AbstractCloner instead of reflection (#196)

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