Skip to content

Latest commit

 

History

History
132 lines (63 loc) · 4.86 KB

CHANGELOG.md

File metadata and controls

132 lines (63 loc) · 4.86 KB

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.1.1 (2017-01-20)

Bug Fixes

2.1.0 (2017-01-20)

Bug Fixes

  • style: seems standard does not include max line length (80) ESLint rule (7a1e8e7)

Features

  • options: add notFound option to be called when route not found (10f9eb7), closes #13

Performance Improvements

  • middlewares: convert middlewares on define time, not on routing time (#14) (1ce2d4c)

2.0.1 (2016-10-22)

Bug Fixes

2.0.0 (2016-10-22)

Code Refactoring

  • .middleware: remove passing arguments to .middleware method (0b14fda), closes #9
  • RouteObject: remove pathname property, route make more sense (6f9d90b)

BREAKING CHANGES

  • RouteObject: remove routeObject.pathname, use routeObject.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)

Bug Fixes

  • groupRoutes: simplify .groupRoutes method (04a88d7)

Features

  • 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)

Features

  • createRoute: add .createRoute method (0135211), closes #2

1.0.2 (2016-10-14)

Bug Fixes

  • codeclimate: fix "duplicate" issue from codeclimate (shits et al) (83257bd)

1.0.1 (2016-10-14)

Bug Fixes

  • REST: respect routes order in REST APIs (a6e2102)

1.0.0 - 2016-10-14

  • 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

0.0.0 - 2016-10-12

  • Inital commit