Skip to content

v0.5.0

Choose a tag to compare

@14code 14code released this 13 Jan 17:14
· 1 commit to master since this release

⚠️ BREAKING CHANGE / MIGRATION REQUIRED (0.5.0) ⚠️

JA-API no longer supports legacy controllers or callable endpoints.
Starting with v0.5.0, all endpoints MUST implement Psr\Http\Server\RequestHandlerInterface.

  • Classes relying on __invoke() as controllers are no longer supported
  • Callables as final endpoints have been removed
  • Response creation is now exclusively handled by RequestHandlers
  • Middleware is resolved strictly via the container

👉 Action required:
Migrate all existing controllers to proper PSR-15 RequestHandlers (handle(ServerRequestInterface): ResponseInterface).