Skip to content

0.13.0

Latest
Compare
Choose a tag to compare
@nwoltman nwoltman released this 01 Nov 03:00
· 7 commits to master since this release
v0.13.0
95b2032

BREAKING CHANGES

  • Replace find-my-way with @medley/router (14083c5)
    • The path formats specific to find-my-way are no longer supported
    • The maxParamLength and ignoreTrailingSlash options have been removed (only strict routing is supported now)
  • Rename "Decorators" to "Extensions" (c49bddb)
    • This changes the following method names:
      • app.decorate() => app.extend()
      • app.decorateRequest() => app.extendRequest()
      • app.decorateResponse() => app.extendResponse()

New Features

  • Add support for routes with an optional param or wildcard (fceabb3)
  • For optional param routes, also register a route with the trailing / (3097288)

Polish

  • Ensure that req.params always includes the property for optional params/wildcards (da290c2)

Dependencies

Documentation

  • Add link to the @medley/etag plugin (b3798de)
  • Improve Medley.md docs and move benchmarking docs (3bbd8fb)
  • Remove the "Routes Prefixing" section from Routes.md (d6d5041)