Skip to content

1.0.1

Choose a tag to compare

@follestad follestad released this 05 Nov 10:24
· 1 commit to main since this release
  • Improved Error Messages – Enhanced error reporting when route handlers cannot be found. The router now
    distinguishes between missing routes and HTTP method mismatches, providing clearer feedback.
  • Non-Public Method Detection – Added validation to detect Route attributes placed on protected or private methods.
    The router now throws a descriptive RouterConfigurationException explaining that route handlers must be public
    methods.
  • Better HTTP Method Errors – When a route exists but doesn't support the requested HTTP method, error messages now
    clearly show which methods are allowed (e.g., "Allowed methods: POST, PUT" instead of the confusing "Allowed methods:
    all methods").
  • AI Agent Guide - Added AGENTS.md to help developers and AI agents alike understand the router's behavior in an
    effective way.