Skip to content

Add middleware pipeline - #11

Merged
rtcoder merged 1 commit into
masterfrom
release/v0.9.1
Jun 16, 2026
Merged

Add middleware pipeline#11
rtcoder merged 1 commit into
masterfrom
release/v0.9.1

Conversation

@rtcoder

@rtcoder rtcoder commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a middleware pipeline with class-based and callable middleware support.
  • Allow middleware to wrap controller dispatch, modify responses, or short-circuit requests.
  • Add middleware pipeline tests for callable middleware, class middleware, and short-circuit responses.
  • Document middleware usage in README and mark the roadmap item as completed.
  • Replace the placeholder docs page with semantic developer documentation for the existing framework API.

Validation

  • composer validate --strict --no-check-publish
  • composer dump-autoload
  • find Engine application tests -name '*.php' -print0 | xargs -0 -n1 php -l
  • composer test
  • php shift.php route:list
  • php shift.php health
  • HTTP smoke tests:
    • GET /health -> 200 application/json
    • GET /hello -> 404 application/json

Release

  • Version label: v0.9.1

@rtcoder rtcoder added the v0.9.1 Release v0.9.1 label Jun 16, 2026
@rtcoder
rtcoder merged commit 9a6b6fd into master Jun 16, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v0.9.1 Release v0.9.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant