revali_router_core 1.3.0 copy "revali_router_core: ^1.3.0" to clipboard
revali_router_core: ^1.3.0 copied to clipboard

Shared classes between revali_router and revali_router_annotations

CHANGELOG #

1.3.0 | 12.11.24 #

Features #

  • Create BaseContext to merge contexts between all components
  • Create Result type for:
    • Interceptor (pre and post)
  • Use new Meta types

Enhancements #

  • Simplify Results for:
    • Exception Catcher
    • Guard
  • Require type argument on ExceptionCatcher and ExceptionCatcherResult
  • Rename Guard Result constructors to pass and block
  • Rename Exception Catcher Result constructors to handled and unhandled

1.2.0 | 11.21.24 #

Features #

  • Create ExpectedHeaders as non-optional headers to be passed into the request
  • Add ExpectedHeaders to lifecycle components

1.1.0 | 11.18.24 #

Features #

  • Create ResponseHandler interface
    • A ResponseHandler is a advanced handler that can be provided to a route to send the response to the client differently

Chores #

  • Upgrade dependencies

1.0.0 | 11.14.24 #

  • Initial Release
0
likes
140
points
326
downloads

Publisher

verified publisherrevali.dev

Weekly Downloads

Shared classes between revali_router and revali_router_annotations

Repository (GitHub)
View/report issues

Topics

#revali #api #backend #server #router

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

equatable, http_parser, meta, mime, revali_annotations, revali_core

More

Packages that depend on revali_router_core