Releases: vdhicts/laravel-validation-rules
Releases · vdhicts/laravel-validation-rules
Add Laravel 11 support
Upgrade deprecated validation rule contract
Changes
- Deprecated hex color validation as Laravel provides that out of the box, see: https://laravel.com/docs/10.x/validation#rule-hex-color.
- Upgrade to the new
ValidationRule
contract of Laravel which causes a breaking change. The breaking change is limited to the$attribute
parameter no longer being provided to thepasses()
method. - Use https://github.com/spatie/regex for easier regex usage.
Full Changelog: 4.0.0...5.0.0
Update to Laravel 10
- Update dependencies for Laravel 10
- Add pint as linter
- Add pint to CI
- Apply pint
- Apply promoted properties
Add contains any validation rule
- Add the
containsAny
validation rule.
Be aware: this will be the last release that actively supports PHP 7.4.
Deprecate rules that are already available in Laravel
Changes
- Deprecate rules that are already available in Laravel.
- Improve readme
Add Laravel 9 and PHP 8.1 support
Changes
- Add Laravel 9 support
- Add PHP 8.1 support
- Add static analysis
Add DateHasSpecificMinutes validation rule and PHP 8 compatibility
Changes
- Add
DateHasSpecificMinutes
validation rule - Add PHP 8 compatibility
Add several new validation rules
Changes
- Add semver rule
- Add secure url rule
- Add mime type rule
- Add interval rule
- Add positive interval rule
- Add password rule
Be aware, since this release PHP 7.4 or higher is required!
Update to Laravel 8
Merge pull request #11 from vdhicts/feature/laravel-8 Update to Laravel 8
Add general phone validation
Merge pull request #10 from vdhicts/feature/general-phone-validation Add general phone validation