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

Commit

Permalink
Adds CHANGELOG entries for #47
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Feb 1, 2018
1 parent 392989c commit 9d5804d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ All notable changes to this project will be documented in this file, in reverse

### Added

- [#47](https://github.com/zendframework/zend-expressive-router/pull/47) adds
the middleware `Zend\Expressive\Router\PathBasedRoutingMiddleware`, which
extends the `RouteMiddleware` to add methods for defining and creating
path+method based routes. It exposes the following methods:

- `route(string $path, MiddlewareInterface $middleware, array $methods = null, string $name = null) : Route`
- `get(string $path, MiddlewareInterface $middleware, string $name = null) : Route`
- `post(string $path, MiddlewareInterface $middleware, string $name = null) : Route`
- `put(string $path, MiddlewareInterface $middleware, string $name = null) : Route`
- `patch(string $path, MiddlewareInterface $middleware, string $name = null) : Route`
- `delete(string $path, MiddlewareInterface $middleware, string $name = null) : Route`
- `any(string $path, MiddlewareInterface $middleware, string $name = null) : Route`

- [#39](https://github.com/zendframework/zend-expressive-router/pull/39) and
[#45](https://github.com/zendframework/zend-expressive-router/pull/45) add
PSR-15 `psr/http-server-middleware` support.
Expand Down Expand Up @@ -42,6 +55,10 @@ All notable changes to this project will be documented in this file, in reverse
- `match(Psr\Http\Message\ServerRequestInterface $request) : RouteResult`
- `generateUri(string $name, array $substitutions = [], array $options = []) : string`

- [#47](https://github.com/zendframework/zend-expressive-router/pull/47)
modifies the `RouteMiddleware::$router` property to make it `protected`
visibility, allowing extensions to work with it.

### Deprecated

- Nothing.
Expand Down

0 comments on commit 9d5804d

Please sign in to comment.