Skip to content

Releases: 123inkt/symfony-request-validation

v3.1.0

30 Apr 08:11
cfd73a9

Choose a tag to compare

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

30 Dec 10:27
4eb6e4b

Choose a tag to compare

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

07 Dec 12:50
772552a

Choose a tag to compare

What's Changed

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

v2.3.1

23 May 13:58
d514752

Choose a tag to compare

What's Changed

v2.3.0

22 May 14:48
5b26758

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

Choose a tag to compare

What's Changed

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

v2.1.0

03 Jan 09:59
1e9ca54

Choose a tag to compare

Added support for validation on json body requests.

v2.0.0

09 Sep 13:56
096cd31

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

Choose a tag to compare

  • Bumped requirements to PHP7.4 and higher
  • Added support for Symfony 6.

v1.0.4

21 Sep 08:16
a4e86b0

Choose a tag to compare

Add new param to allow extra, unvalidated, fields to be included in t…