3.0.4

@philipobenito philipobenito released this Mar 22, 2017 · 4 commits to master since this release

[3.0.4] 2017-03

Fixed

  • Middleware execution order.

3.0.0

@philipobenito philipobenito released this Mar 21, 2017 · 9 commits to master since this release

[3.0.0] 2017-03

Added

  • Middleware functionality for PSR-7 compatible callables, globally to route collection or individually per route/group.
  • Allow setting of strategy for a route group.
  • Add UUID as default pattern matcher.

Changed

  • Now depend directly on PSR-11 implementation.
  • Simplified default strategies to just Application and Json.
  • Have strategies return a middleware to add to the stack.
  • Have strategies handle decoration of exceptions.

2.0.0

@philipobenito philipobenito released this Nov 14, 2016 · 55 commits to master since this release

2.0.0 - 2016-02

Added

  • All routing and dispatching now built around PSR-7.
  • Can now group routes with prefix and match conditions.
  • Routes now stored against a specific Route object that describes the route.
  • New dispatch method on RouteCollection that is a compliant PSR-7 middleware.
  • Additional route matching conditions for scheme and host.

Changed

  • API rewrite to simplify.
  • API naming improvements.
  • Strategies now less opinionated about return from controller.