This repository has been archived by the owner on May 10, 2024. It is now read-only.
Releases: mulesoft/osprey
Releases · mulesoft/osprey
Rewrote to work with webapi-parser
Major changes (BREAKING):
- Rewrote to work with webapi-parser (#205);
- New dependency: webapi-parser;
- Dropped dependencies: datatype-expansion, raml-1-parser;
- All the library API now accepts
webapi-parser
objects instead of JS Objects/JSON;
Minor changes:
- Updated dependencies' versions;
- Switched to
const/let
instead ofvar
;
Performance:
Performance changes are described in the osprey-profiling repo.
v0.6.0
Support for more Passport options + updated all dependencies
Improvements
- Basic HTTP Authentication: add the support for the passport option "passReqToCallback" #147
- Updated dependencies, including:
Fixes
RAML 1.0 support improved
- Fixed resourceTypes type expansion, thanks @cmd-johnson! (#134)
- Fixed RAML data types with empty objects are not handled properly (#140)
RAML 1.0 support
v0.4.0 version 0.4.0 with support for RAML 1.0
Add flag to turn error interception off
- Added disableErrorInterception to make interception by
request-error-handler
optional
Correctly Pass Method Handler Options Down
Fixed
- Patched an issue where options scope was causing the method handler to receive
undefined
options
RAML URI Parameter Property
Changed
- Remove URI parameter re-use introduced in
0.2.0
as it incurs a performance hit, opt for declarative parameter merging of router instances - Using a new version of
osprey-router
, supports URI Templates Level 2
Router URI Param Re-Use
Changed
- Bump
osprey-router
, enabling support for URI parameter re-use between subsequent middleware using the Osprey router - this should make integration with the original RAML file much easier and removes the need to re-declare URI params outside of RAML
AJV Update
Changed
- Bumped dependencies, including moving to
ajv@3.2