Skip to content

v6.0.0

Choose a tag to compare

@github-actions github-actions released this 02 Jun 21:18
7146433

6.0.0 (2026-06-01)

⚠ BREAKING CHANGES

  • #113: Validation error responses now return HTTP 422 instead of 404.

Features

  • #111: allow isAuthorized() to return string as denial reason (9186547)
  • #111: allow isAuthorized() to return string as denial reason (19a1b8f)
  • #113: change validation errors to 422 and add custom error messages (26341e2)
  • #114: add allowed-values and pattern validation to RequestParameter (f86f5c8)
  • #114: add allowed-values and pattern validation to RequestParameter (e74d92d)
  • #114: add allowed-values and pattern validation to RequestParameter (161ee39)
  • #115: add cross-field validation with #[Validate] attribute (2793917)
  • #115: add cross-field validation with #[Validate] attribute (851d6a0)
  • #116: add reusable parameter sets with ParameterSet interface (5bd309a)
  • #116: add reusable parameter sets with ParameterSet interface (90e6914)
  • #117: #[RequiresAuth] checks SecurityContext::isAuthenticated() directly (b60aa66)
  • #117: #[RequiresAuth] checks SecurityContext::isAuthenticated() directly (2598fb9)
  • #121: create RequestProcessor class (7810da5)
  • #121: create RequestProcessor class (d06f00e)
  • add content negotiation with #[Produces] attribute (bc33b35)
  • add content negotiation with #[Produces] attribute and MediaType constants (0826ce1)
  • add ServiceTestCase and TestResponse for simplified service testing (01ce116)

Bug Fixes

  • #112: EMAIL param injection returns null for JSON body requests (8147a7d)
  • #112: EMAIL param injection returns null for JSON body requests (4425b60)
  • #132: preserve native PHP boolean false in APIFilter (e28ef9f)
  • add missing PatchMapping annotation class (8107785)
  • remove @depends from tests for PHPUnit 12 compatibility (2b9a2e3)
  • remove duplicate property and method declarations (56cd360)

Miscellaneous Chores

  • exclude tests and examples from SonarCloud duplication detection (04f7d99)
  • unify phpunit config, update CI to workflows v1.2.5 (4a45a68)