arrest

Swagger REST framework for Node.js, with support for MongoDB and JSON-Schema

MIT License

Downloads
1.5K
Stars
17
Committers
8

Bot releases are hidden (Show)

arrest - v9.3.1

Published by 0xfede almost 4 years ago

9.3.1 (2020-10-21)

Bug Fixes

  • add data filtering for arrays (7d8de1a)
arrest - v9.3.0

Published by 0xfede almost 4 years ago

9.3.0 (2020-10-21)

Features

  • add flag to filterData, not only fields (5acb38e)
arrest - v9.2.1

Published by 0xfede about 4 years ago

9.2.1 (2020-10-15)

Bug Fixes

  • correct _id filtering using &fields= when it's the primary index for a collection (0ebae3f)
arrest - v9.2.0

Published by 0xfede about 4 years ago

9.2.0 (2020-09-09)

Features

arrest - v9.1.2

Published by 0xfede about 4 years ago

9.1.2 (2020-09-02)

Bug Fixes

  • dependencies: use the latest version of mongodb types (234ee62)
  • mongo: use generics in mongo operations options (6ba3965)
arrest - v9.1.1

Published by 0xfede about 4 years ago

9.1.1 (2020-08-06)

Bug Fixes

  • add more constrained MongoRoutes type (97c19e0)
arrest - v9.1.0

Published by 0xfede about 4 years ago

9.1.0 (2020-08-04)

Features

  • add support for JSON Patch and add dedicated mongo operation (ef7d992)
arrest - v9.0.1

Published by 0xfede about 4 years ago

9.0.1 (2020-08-03)

Bug Fixes

  • handle objectIds and dates coming from mongo (1d93593)
arrest - v9.0.0

Published by 0xfede about 4 years ago

9.0.0 (2020-08-03)

Features

  • add support for @casl/ability in security validation (dde488d)

BREAKING CHANGES

  • API.securityValidator renamed to API.initSecurity. The old method is still present
    but will warn it's deprecated.
arrest - v8.1.5

Published by 0xfede almost 5 years ago

8.1.5 (2020-01-08)

Bug Fixes

  • use correct (and explicit) return type for createJSONParser (da1a04b)
arrest - v8.1.4

Published by 0xfede almost 5 years ago

8.1.4 (2020-01-08)

Bug Fixes

  • get NextFunction from express (203088d)
arrest - v8.1.3

Published by 0xfede almost 5 years ago

8.1.3 (2020-01-08)

Bug Fixes

arrest - v8.1.2

Published by 0xfede almost 5 years ago

8.1.2 (2019-12-17)

Bug Fixes

  • strongly link operation info with corresponding data in api (2726a86)
arrest - v8.1.1

Published by 0xfede almost 5 years ago

8.1.1 (2019-12-16)

Bug Fixes

  • improve compatibility with latest mongo driver (e5d36a0)
arrest - v8.1.0

Published by 0xfede almost 5 years ago

8.1.0 (2019-12-04)

Features

  • add overridable methods to intercept the creation of body parsers (e539fe8)
arrest - v8.0.0

Published by 0xfede almost 5 years ago

8.0.0 (2019-11-08)

Bug Fixes

  • add missing export for rpc (9f2d301)
  • mongo-indexes: check indexes equality only checking properties (06d5a78)
  • clone schema before rebasing (b6eef74)
  • memory leak caused by request logger being cached forever (97cce71)
  • merge of the memory leak fix in commit 97cce71 (a7a3fa6)
  • exports: export all from openapi-police (97acbfb)
  • lib, api: Add a default handler for 404 when API server is started as standalone instance (b649364)
  • openapi-spec: use x-forward-proto header when composing server url (ca801fa)
  • operation.ts: Set explicitly the extended body-parser flag (969585c)
  • rebase: always rename definitions using original path prefix (28924bb)
  • rebase: avoid ref rebasing for absolute urls (3e522a7)
  • schema: clean unreferenced schemas and params (f59fd4b)
  • schema: handle errors for wrong ref paths (665e989)
  • schemas: add removing of unreferenced elements from openapi spec (a60844b)
  • schemas: eventually remove $schema property from schemas (5140d15)
  • schemas: fix headers declaration in operations schemas (f4dbb86)
  • schemas: fix wrong reference removal from occurr table (2c50fe7)
  • schemas: throw an error for not existing ref paths (507068c)
  • add missing exports for types.ts (dd2e19a)
  • deep clone schemas when registering them (ad8a63c)
  • fix mongo create and update default body specs, fix body validator (ca6b4b5)
  • fix schema type to include refs (e242549)
  • fix schema types in MongoResource (3bf07ea)
  • fixed types to correctly support symbols (92c9f8f)
  • make getCustomInfo protected in all derived classes (afe328d)
  • remove extra trailing slash in base url (8611e32)
  • solve deprecation warnings in mongodb driver (0f39ceb)

Features

  • add method to allow custom error handling at the operation (10056bf)
  • add method to be able to customize body parsing in derived classes (375101d)
  • add opts to getInfo methods (d2b8a29)
  • add req and res to the parameters passed to rpc methods (1ea5a27)
  • add support for JSONRPC 2.0 (ff4021d)
  • change how to specify a custom operation info (eb8970d)
  • initial support for openapi 3.0.2 (5a50f92)
  • merge openapi branch into master (97b8275)
  • restore Schema resource and Schema.read operation (5c2ec09)
  • operation.ts: Add getter for the operation id (1df459e)
  • operation.ts: Add support for application/x-www-form-urlencoded body types (aad47fb)
  • rebase: add rebasing of schemas definitions (01b297b)
  • rebase: initial version (3b559bd)
  • restore support for dynamic schemas (03dc977)
  • set write context in body validator (e3372e0)
  • the default security validator can now be overridden in a derived operation (16dca63)

BREAKING CHANGES

  • moved from swagger to openapi, several interface changes
  • getDefaultInfo now called by new getInfo
  • moved from swagger 2 to openapi 3, changes to most classes
arrest - v7.1.0

Published by 0xfede over 6 years ago

7.1.0 (2018-03-23)

Features

  • Scopes: Improved scopes filtering/merging (6e3c87c)
arrest - v7.0.2

Published by 0xfede almost 7 years ago

7.0.2 (2017-12-04)

Bug Fixes

  • api: Ported to current lodash (385d79f)
  • Scopes: Fixed precedence of x.* and *.y scopes: a negative value take precedence (9e0fb53)
arrest - v7.0.1

Published by 0xfede almost 7 years ago

7.0.1 (2017-11-23)

Bug Fixes

  • api: handleError is not an instance method (8405acf)
arrest - v7.0.0

Published by 0xfede almost 7 years ago

7.0.0 (2017-10-30)

Bug Fixes

  • lib, api: Add a default 404 handler producing JSON when API server is started as standalone ins (edb1fb6)

BREAKING CHANGES

  • lib, api: When server is started using API.launch(), the default 404 handler produces JSON
Package Rankings
Top 6.02% on Npmjs.org
Badges
Extracted from project README
travis build Coverage Status npm version