Skip to content
May 18, 2020

@philipobenito philipobenito released this May 18, 2020 · 2 commits to master since this release

[4.4.0] 2020-05

Added

  • Ability to pass JSON flags to JsonStrategy. (@pine3ree)
  • Router is now a RequestHandlerInterface so can be used as a middleware itself. (@delboy1978uk)
  • Route params now added as Request attributes. (@delboy1978uk)

Fixed

  • Exception moved to more appropriate place when shifting no middleware. (@delboy1978uk)
  • Ensure group prefix is always added when adding a parent group. (@delboy1978uk)
Assets 2

@philipobenito philipobenito released this Jul 1, 2019 · 27 commits to master since this release

[4.3.1] 2019-07

Fixed

  • Fixed bug when attempting to get a container for custom strategy that is not container aware.
Assets 2

@philipobenito philipobenito released this Jun 30, 2019 · 33 commits to master since this release

[4.3.0] 2019-06

Added

  • Ability to add middleware to the stack as a class name so it is only instantiated when used.

Changed

  • Switch to use zendframework/zend-httphandlerrunner as removed from diactoros (@JohnstonCode)

Fixed

  • When adding a prefix to a group after adding routes, it is now applied to those routes. (@delboy1978uk)
  • Fix to how shifting middleware is handled to prevent error triggering. (@delboy1978uk)
  • Fix to ensure that when invoking FastRoute methods on League\Route all callables are converted to League\Route objects (@pgk)
  • Various documentation fixes.
Assets 2

@philipobenito philipobenito released this Oct 16, 2018 · 70 commits to master since this release

[4.2.0] 2018-10

Added

  • Allow adding default response headers to strategies.
  • Expand error handling to include Throwable.

(Thanks @shadowhand)

Assets 2

@philipobenito philipobenito released this Oct 9, 2018 · 98 commits to master since this release

[4.1.1] 2018-10

Fixed

  • Fixed issue where group middleware was being duplicated on internal routes.
Assets 2

@philipobenito philipobenito released this Sep 21, 2018 · 113 commits to master since this release

[4.1.0] 2018-09

Changed

  • JSON strategy no allows array and object returns and builds JSON response. (Thanks @willemwollebrants)

Fixed

  • Fixed issue where setting strategy on specific route had no effect. (Thanks @aag)
Assets 2

@philipobenito philipobenito released this Aug 13, 2018 · 130 commits to master since this release

[4.0.1] 2018-08

Fixed

  • Fixed a bug where content-type header would not be added to response in Json Strategy.
Assets 2

@philipobenito philipobenito released this Aug 10, 2018 · 134 commits to master since this release

[4.0.0] 2018-08

Changed

  • Increased minimum PHP version to 7.1.0
  • Now implements PSR-15 middleware and request handlers.
  • No longer enforces use of container, one can be used optionally.
  • Strategies now return PSR-15 middleare as handlers.
  • Increased types of proxy callables that can be used as controllers.
  • General housekeeping and refactoring for continued improvement.

Fixed

  • Group level strategies now handle exceptions if a route is not matched but the request falls within the group.
Assets 2

@philipobenito philipobenito released this Jul 23, 2018 · 144 commits to master since this release

[3.1.0] 2018-07

Fixed

  • Ensure JsonStrategy handles all exceptions by default.
  • Handle multiline exception messages.

Added

  • Add port condition to routes.
Assets 2
You can’t perform that action at this time.