Releases: WebFiori/http
Releases · WebFiori/http
Release list
v6.0.3
v6.0.2
6.0.2 (2026-06-21)
Features
- annotations: add path property to #[RestController] attribute (cdd937a), closes #141
- OpenAPI annotations, path routing, and JsonI serialization (4b3efd3)
- openapi: add #[ApiResponse] annotation for declarative response descriptions (b1efc1e), closes #143
- openapi: add namespace scanning and built-in OpenAPISpecService (4e4b230), closes #144
- response: serialize JsonI objects directly without metadata in #[ResponseBody] (2a4e8b9), closes #142
Miscellaneous Chores
v6.0.1
v6.0.0
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)