Skip to content

Releases: spatie/laravel-data

1.4.7

16 May 13:55
ab99a9f
Compare
Choose a tag to compare
  • support $payload as a dependency in rules (#123)

1.4.6

06 Apr 14:34
1ae6fe6
Compare
Choose a tag to compare
  • Add Dependency Injection for rules, messages, and attributes methods (#114)

1.4.5

18 Mar 14:43
9607caa
Compare
Choose a tag to compare
  • Add support for stdClass payload casting (#106)

1.4.4

18 Mar 14:41
Compare
Choose a tag to compare
  • use present validation rule instead of required for data collections

1.4.3

16 Feb 13:38
Compare
Choose a tag to compare
  • allow using default password config in password validation attribute (#94)
  • solve binding issues on Laravel Octane (#101)
  • fixes a bug where models nested by relation could not be created due to date casts
  • add a links array to the paginated response
  • stop execution of lazy::whenLoaded closure when the relation is null

1.4.2

26 Jan 15:53
Compare
Choose a tag to compare
  • fix for aborting value assignment after a false boolean (#80)
  • add a WithoutValidation attribute
  • allow transformers to target native types, data collections and data objects

1.4.1

21 Jan 15:44
Compare
Choose a tag to compare
  • Allow transformers to target Data and DataCollections

1.4.0

20 Jan 16:26
Compare
Choose a tag to compare
  • removes checks for built in types and isBuiltIn from DataProperty
  • add better support for defaults

1.3.3

20 Jan 07:25
e96d255
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.3.2...1.3.3

1.3.2

19 Jan 14:17
Compare
Choose a tag to compare
  • add support for json_encode to Data objects
  • add support for json_encode to DataCollection objects