| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 4.22.0 source code.tar.gz | 2026-04-16 | 166.2 kB | |
| 4.22.0 source code.zip | 2026-04-16 | 361.0 kB | |
| README.md | 2026-04-16 | 1.1 kB | |
| Totals: 3 Items | 528.3 kB | 0 | |
What's Changed
- Add support for custom validation messages and attributes when using property morphable by @bentleyo in https://github.com/spatie/laravel-data/pull/1055
- [feat] Add database constraints for validation annotations by @Klaas058 in https://github.com/spatie/laravel-data/pull/1085
- Revert validateAndCreate change that broke prepareForPipeline by @rubenvanassche in https://github.com/spatie/laravel-data/pull/1175
- Inline data specific rules and fix wildcard collection rule overrides by @rubenvanassche in https://github.com/spatie/laravel-data/pull/1176
- Add required validation rule to bool properties by @rubenvanassche in https://github.com/spatie/laravel-data/pull/1177
- Include lazy properties when storing data via Eloquent casts by @rubenvanassche in https://github.com/spatie/laravel-data/pull/1178
- Fix CannotSetComputedValue for optional computed properties by @rubenvanassche in https://github.com/spatie/laravel-data/pull/1179
Full Changelog: https://github.com/spatie/laravel-data/compare/4.21.0...4.22.0