Skip to content

Releases: spatie/laravel-data

1.5.3

01 Dec 09:47
674e1a9
Compare
Choose a tag to compare
  • MimeTypes validation fix on v1 (#596)

3.9.2

20 Oct 10:20
dea1e75
Compare
Choose a tag to compare
  • Fix breaking compatibility #590

3.9.1

12 Oct 13:09
1d17ac5
Compare
Choose a tag to compare
  • Add Declined and DeclinedIf validation attributes (#572)
  • Add MacAddress validation attribute (#573)
  • Add RequiredArrayKeys validation attribute (#574)
  • Support Arrayable when casting to DataCollection (#577)
  • Fetch attributes from parent classes to allow reusability (#581)
  • Fix issue where non-set optional values would be transformed

3.9.0

15 Sep 12:07
Compare
Choose a tag to compare
  • Fix an issue where computed values could not be set as null
  • Fix for no rules created on optional|nullable Data object and Collection (#532)
  • Add CustomValidationAttribute's
  • Copy partial trees when using array access on a collection

3.8.1

11 Aug 12:00
7ead3d8
Compare
Choose a tag to compare
  • fix abstract json cast format

3.8.0

09 Aug 14:12
0de2ecf
Compare
Choose a tag to compare
  • Add Hidden Attribute (#505)
  • Add Null value support for RequiredUnless Validation (#525)
  • Add abstract eloquent casts (#526)

3.7.1

04 Aug 10:35
Compare
Choose a tag to compare
  • fix target namespace when creating files with Laravel Idea (#497)
  • allow collection to be created passing null (#507)
  • add Ulid validation rule (#510)
    -add TARGET_PARAMETER to Attribute for improved Validation (#523)

3.7.0

05 Jul 11:45
a975123
Compare
Choose a tag to compare
  • Add support for better exception messages when parameters are missing
  • Fix default properties generating validation rules when not provided
  • Add last() method on DataCollection (#486)
  • Add new manual written present attribute rule always overwrites a generated required rule
  • Added the ability to create data files, casts, transformers and rules using Laravel Idea plugin #485

3.6.0

02 Jun 12:19
ec81357
Compare
Choose a tag to compare
  • Add some config options to the make:data command (#449, #335)

1.5.2

31 May 15:19
Compare
Choose a tag to compare
  • Add laravel v10 support