Skip to content

Commit

Permalink
5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmingoia committed Nov 26, 2015
1 parent 919a53d commit e85b71e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
* Nestable routers.
* ES7 async/await support.

## koa 2.x

See [koa-router 7.x](https://github.com/alexmingoia/koa-router/tree/master/)
for koa 2.x support.

## Installation

Install using [npm](https://www.npmjs.org/):
Expand Down
17 changes: 17 additions & 0 deletions history.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# History

## 7.0.0

- The API has changed to match the new promise-based middleware
signature of koa 2. See the
[koa 2.x readme](https://github.com/koajs/koa/tree/2.0.0-alpha.3) for more
information.
- Middleware is now always run in the order declared by `.use()` (or `.get()`,
etc.), which matches Express 4 API.

## 5.3.0

- Register multiple routes with array of paths [#203](https://github.com/alexmingoia/koa-router/issue/143).
- Improved router.url() [#143](https://github.com/alexmingoia/koa-router/pull/143)
- Adds support for named routes and regular expressions
[#152](https://github.com/alexmingoia/koa-router/pulls/152)
- Add support for custom throw functions for 405 and 501 responses [#206](https://github.com/alexmingoia/koa-router/pull/206)

## 5.2.3

- Fix for middleware running twice when nesting routes [#184](https://github.com/alexmingoia/koa-router/issues/184)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lib"
],
"author": "Alex Mingoia <talk@alexmingoia.com>",
"version": "5.2.3",
"version": "5.3.0",
"keywords": [
"koa",
"middleware",
Expand Down

0 comments on commit e85b71e

Please sign in to comment.