Skip to content

Latest commit

 

History

History
67 lines (47 loc) · 1.95 KB

CHANGELOG.md

File metadata and controls

67 lines (47 loc) · 1.95 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

[3.0.4] 2017-03

Fixed

  • Middleware execution order.

[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] - 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.

[1.2.0] - 2015-08

Added

  • Can now use any callable as a controller.
  • Request object is now built by the strategy when one is not available from the container.

Fixed

  • General tidying and removal of unused code.
  • URI variables now correctly passed to controller in MethodArgumentStrategy.

[1.1.0] - 2015-02

Added

  • Added addPatternMatcher method to allow custom regex shortcuts within wildcard routes.
  • Refactored logic around matching routes.

[1.0.1] - 2015-01

Fixed

  • Added import statements for all used objects.
  • Fixed dockblock annotations.
  • PSR-2 standards improvements within tests.

1.0.0 - 2015-01

Added