Skip to content

Releases: 123inkt/symfony-request-validation

v2.4.0

07 Dec 12:50
772552a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.3.1...v2.4.0

v2.3.1

23 May 13:58
d514752
Compare
Choose a tag to compare

What's Changed

v2.3.0

22 May 14:48
5b26758
Compare
Choose a tag to compare

What's Changed

  • Adjust validation rules typehint to allow Constraint[] by @frankdekker in #35

v2.2.0

04 May 14:45
d8b8ba1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.2.0

v2.1.0

03 Jan 09:59
1e9ca54
Compare
Choose a tag to compare

Added support for validation on json body requests.

v2.0.0

09 Sep 13:56
096cd31
Compare
Choose a tag to compare

Changed the library to make use of Symfony bundle to automatically register an EventSubscriber.

Breaking changes:

  • Now required to add RequestValidationBundle::class to bundles.php.
  • getValidationRules return signature changed to: ?ValidationRules
  • constructor changed of AbstractValidatedRequest

New:

  • Adds validateCustomRules method in AbstractValidatedRequest to allow returning a custom response when the request is invalid.

v1.0.5

14 Dec 06:55
babf08d
Compare
Choose a tag to compare
  • Bumped requirements to PHP7.4 and higher
  • Added support for Symfony 6.

v1.0.4: Add new param to allow extra, unvalidated, fields to be included in t…

21 Sep 08:16
a4e86b0
Compare
Choose a tag to compare
…he request (#16)

* Add new param to allow extra, unvalidated, fields to be included in the request

Loosen requirements for shorthand-validation library

13 Apr 08:32
4c1de36
Compare
Choose a tag to compare
Merge pull request #14 from bram123/update_validation_shorthand

Update the symfony-validation-shorthand requirement

Request attributes validation support

15 Mar 06:27
d78e627
Compare
Choose a tag to compare
Merge pull request #13 from 123inkt/validate-request-attributes

Validate request attributes