All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.1.1 (2017-01-20)
2.1.0 (2017-01-20)
- style: seems standard does not include max line length (80) ESLint rule (7a1e8e7)
- middlewares: convert middlewares on define time, not on routing time (#14) (1ce2d4c)
2.0.1 (2016-10-22)
- deps/tests: add missing
koa-compose[@3](https://github.com/3)
dep; add tests for koa@1 (2508e5e), closes tunnckoCore/koa-rest-router#10
2.0.0 (2016-10-22)
- .middleware: remove passing arguments to
.middleware
method (0b14fda), closes #9 - RouteObject: remove
pathname
property,route
make more sense (6f9d90b)
- RouteObject: remove
routeObject.pathname
, userouteObject.route
for just the route or
routeObject.path
for the combination of routeObject.prefix
plus routeObject.route
. For example
route /foo/bar
with prefix /api
- .route
is /foo/bar
and .path
is /api/foo/bar
. Both
pathname
and route
were the same.
- .middleware:
.middleware
method no more accepts arguments - use.legacyMiddleware
for
legacy; create a new router for another prefix then use .extend
method for grouping the router.
1.2.0 (2016-10-19)
- groupRoutes: simplify
.groupRoutes
method (04a88d7)
- addRoutes: add
.addRoutes
method, part of #5 (f3a8757) - extend: add
.extend
method, part of #5 and #6 (ba30fdd), closes #6 - getRoute: add
.getRoute
method, part of #5 (9996eee) - getRoutes: add
.getRoutes
method, part of #5 (a171a43) - groupRoutes: add
.groupRoutes
method, part of #5 (4126827), closes #3
1.1.0 (2016-10-14)
1.0.2 (2016-10-14)
- codeclimate: fix "duplicate" issue from codeclimate (shits et al) (83257bd)
1.0.1 (2016-10-14)
- REST: respect routes order in REST APIs (a6e2102)
- Release v1.0.0 - it is now stable!
- start follow SemVer correctly from now
- add tests
- fix couple of issues with multiple routers
- fix issues with multiple prefixes with one rotuer
- add API docs
- update keywords
- update related libs
- Inital commit