Releases: square/laravel-hyrule
Releases · square/laravel-hyrule
3.0.0 - Laravel 10.x Support!
What's Changed
- Support Laravel 10 by @hungthai1401 in #16
- Support various rules like
prohibited_{if,unless}
,exclude_{if,unless,,with,without}
,missing_{if,unless,with}
by @bezhermoso in #17
New Contributors
- @hungthai1401 made their first contribution in #16
Full Changelog: 2.3.1...3.0.0
2.3.1 - Fix broken auto snake-case of rule name
What's Changed
- Expand
@return
annotation of AbstractNode#end() to help auto-complete w/o@mixin
support by @bezhermoso in #10 - Support various rules like
prohibited_{if,unless}
,exclude_{if,unless,,with,without}
,missing_{if,unless,with}
by @bezhermoso in #17 - [2.x] Fix broken snake-case conversion of
__call
use-cases by @bezhermoso in #18
CI Improvements
- Making some assert equals strict by @peter279k in #13
- Setting CI running in PR trigger in any branch by @peter279k in #14
New Contributors
- @peter279k made their first contribution in #13
Full Changelog: 2.3.0...2.3.1
1.4.1 - Fix broken auto snake-case of rule name
- Fixes a serious bug where
$node->myCustomRule()
was producingmyCustomRule
. Now it should producemy_custom_rule
.
Full Changelog: 1.4.0...1.4.1
1.4.0
What's Changed
- Bring
FileNode
to 1.x by @bezhermoso in #9 - [1.x] Expand
@return
annotation of AbstractNode#end() to help auto-complete w/o@mixin
support by @bezhermoso in #11
Full Changelog: 1.2.2...1.4.0
1.2.2
- Fixed:
AbstractNode#rule(...)
rejectedRule
objects erroneously.
Full Changelog: 1.2.0...1.2.2
2.3.0 - File Upload Validation
2.2.0 - Laravel 9.x Support
What's Changed
- Laravel 9.x & package auto-discovery support by @bezhermoso in #4
Full Changelog: 2.1.0...2.2.0
1.2.0 - Laravel 9.x Support
What's Changed
- Laravel 9.x & package auto-discovery support by @bezhermoso in #4
Full Changelog: 1.1.0...1.2.0
1.1.0 - Introduce `StrictValidator`
What's Changed
- See changes in https://github.com/square/laravel-hyrule/releases/tag/2.1.0. This backports those for PHP 7.4.
Full Changelog: 1.0...1.1.0
2.1.0 - Introduce `StrictValidator`
What's Changed
- [Feature] Implement
StrictValidator
, capable of applying rules to entire data array itself. by @bezhermoso in #2 - Code-base now passes level 8 PHPStan analysis checks
Full Changelog: 2.0...2.1.0
Upgrade Guide
- Register
Square\Hyrule\HyruleServiceProvider
in your app. - Publish the config:
php artisan vendor:publish --provider="Square\Hyrule\HyruleServiceProvider"