Skip to content

Releases: WebFiori/http

v6.0.3

Choose a tag to compare

@github-actions github-actions released this 25 Jun 14:51
c2c2887

6.0.3 (2026-06-25)

Features

  • annotations: add allowEmpty parameter to #[RequestParam] attribute (7e8c217), closes #148

Miscellaneous Chores

v6.0.2

Choose a tag to compare

@github-actions github-actions released this 21 Jun 21:34
3fe1fb3

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

Choose a tag to compare

@github-actions github-actions released this 13 Jun 16:00
31f4a8c

6.0.1 (2026-06-13)

Miscellaneous Chores

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)

v5.0.8

Choose a tag to compare

@github-actions github-actions released this 05 May 09:53
ee75bb1

5.0.8 (2026-05-05)

Features

  • add ResponseEntity class for dynamic HTTP status codes with #[ResponseBody] (09162ce), closes #107

Bug Fixes

  • resolve method parameter injection for hyphenated request param names (83caed4), closes #106

Miscellaneous Chores

v5.0.7

Choose a tag to compare

@github-actions github-actions released this 03 May 12:07
831b503

5.0.7 (2026-05-03)

Features

  • OpenAPI Support for Annotations (5b99eb5)

Bug Fixes

  • Annotations on processRequest (23ac100)

Miscellaneous Chores

v5.0.6

Choose a tag to compare

@github-actions github-actions released this 28 Apr 16:09
fefbf07

5.0.6 (2026-04-28)

Bug Fixes

v5.0.5

Choose a tag to compare

@github-actions github-actions released this 05 Mar 12:07
2958177

5.0.5 (2026-03-05)

Bug Fixes

Miscellaneous Chores

v5.0.4

Choose a tag to compare

@github-actions github-actions released this 14 Jan 15:31
44868b3

5.0.4 (2026-01-14)

Miscellaneous Chores

  • Updated Required PHP Version (c6c8b2a)

v5.0.3

Choose a tag to compare

@github-actions github-actions released this 14 Jan 12:17
e410e3d

5.0.3 (2026-01-14)

Bug Fixes

  • Return Empty String if No Path (05566fb)