Releases: 123inkt/symfony-request-validation
Releases · 123inkt/symfony-request-validation
v3.1.0
What's Changed
- Update dependency phpunit/phpunit to v13 by @renovate[bot] in #51
- Add trait and TestCase class to simplify testing AbstractValidatedRequests by @frankdekker in #52
Full Changelog: v3.0.0...v3.1.0
v3.0.0
What's Changed
- Update phpstan to v2 by @bram123 in #42
- Update dependency digitalrevolution/phpunit-file-coverage-inspection to v3 by @renovate[bot] in #44
- Update actions/checkout action to v5 by @renovate[bot] in #45
- Update dependency squizlabs/php_codesniffer to v4 by @renovate[bot] in #46
- Update actions/checkout action to v6 by @renovate[bot] in #47
- Update symfony packages to v8 (major) by @renovate[bot] in #48
- Update dependency phpunit/phpunit to v12 by @renovate[bot] in #43
- Add php8.4 and php8.5, and symfony 8 to github workflow by @frankdekker in #50
Full Changelog: v2.4.0...v3.0.0
v2.4.0
What's Changed
- Update actions/checkout action to v4 by @renovate in #37
- Update package versions by @frankdekker in #39
Full Changelog: v2.3.1...v2.4.0
v2.3.1
What's Changed
- Update ConstraintList to int array of Constraint by @frankdekker in #36
v2.3.0
What's Changed
- Adjust validation rules typehint to allow Constraint[] by @frankdekker in #35
v2.2.0
What's Changed
- Add PHP 8.2 by @bram123 in #23
- Use getContentTypeFormat instead of getContentType method by @frankdekker in #34
Full Changelog: v2.1.0...v2.2.0
v2.1.0
Added support for validation on json body requests.
v2.0.0
Changed the library to make use of Symfony bundle to automatically register an EventSubscriber.
Breaking changes:
- Now required to add
RequestValidationBundle::classtobundles.php. getValidationRulesreturn signature changed to:?ValidationRules- constructor changed of
AbstractValidatedRequest
New:
- Adds
validateCustomRulesmethod inAbstractValidatedRequestto allow returning a custom response when the request is invalid.
v1.0.5
- Bumped requirements to PHP7.4 and higher
- Added support for Symfony 6.