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

Releases: mulesoft-labs/osprey-router

Rewrote to work with webapi-parser

28 Jul 07:48
Compare
Choose a tag to compare

Major changes (BREAKING):

  • Rewrote to work with webapi-parser (#31);
  • New dev dependency: webapi-parser;
  • Dropped dependency: xtend;
  • Now depends on mulesoft-labs/router#router-engine instead of blakeembrey/router#router-engine. Former repo contains latter repo changes merged on top of latest updates of pillarsjs;
  • Second argument to Router.<METHOD> functions is now an array of webapi-parser.Parameter instead of uriParameters schema;
  • Dropped RAMLVersion option (now inferred automatically);

Minor changes:

  • Updated dependencies' versions;
  • Switched to const/let instead of var;

v0.7.0

07 May 07:06
Compare
Choose a tag to compare
  • Updated dependencies
  • Dropped Node 8 support

Updated dependencies

02 Apr 21:18
Compare
Choose a tag to compare
v0.6.0

0.6.0

RAML 1.0 support

01 Mar 01:20
Compare
Choose a tag to compare
v0.5.0

version 0.5.0 with support for RAML 1.0

Instance `ramlUriParameters`

03 Mar 01:27
Compare
Choose a tag to compare

Changed

  • Use ramlUriParameters per instance

RAML Path Match 2.0

03 Mar 00:48
Compare
Choose a tag to compare

Changed

  • Use raml-path-match 2.0 with support for URI Template Level 2
  • Change RAML parameter inheritance to be based per-router

Path Match Update

12 Feb 22:29
Compare
Choose a tag to compare

Changed

  • Update immutable path matching update method to get new route matchers

Persist raw URI parameters match

12 Feb 00:59
Compare
Choose a tag to compare

Fixed

  • Wiping out URI parameters patch match when a request with ramlUriParameters was populated

URI Parameter Reuse

11 Feb 23:27
Compare
Choose a tag to compare

Added

  • When a subsequent router is used with the same URI parameter name, merge previously used schemes (useful for Osprey + RAML usage)

Middleware Arrays

17 Jul 00:52
Compare
Choose a tag to compare

Added

  • Support for an array of functions in Router#verb, Router#all and Router#use