Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

zend-expressive-aurarouter 1.1.0

Compare
Choose a tag to compare
@weierophinney weierophinney released this 14 Dec 20:14
· 182 commits to master since this release

Added

  • #7 adds support for specifying wildcard segments via the wildcard option passed to a route:

    $app->get('/foo', $middleware, 'foo')
        ->setOptions(['wildcard' => 'captured']); // captures to "captured" param

Changed

  • #11 updates the component to use the Aura.Router version 3 series instead of the version 2 series. The exposed API remains the same.
  • #15 updates the router to populate the returned RouteResult with the associated Zend\Expressive\Router\Route instance on a successful route match.
  • #15 updates the router to always honor HEAD and OPTIONS requests when a path matches. Dispatchers will need to check the Route composed in the RouteResult to determine if matches against these methods were explicit or implicit (using Route::implicitHead() and Route::implicitOptions()).

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.