Skip to content

Latest commit

 

History

History
133 lines (77 loc) · 2.69 KB

CHANGELOG.md

File metadata and controls

133 lines (77 loc) · 2.69 KB

3.0.0

  • Preliminary OpenAPI 3 support

2.0.2

  • Don't set undefined parameters on request in routeExt (#180)
  • Update enjoi and @hapi/joi to Joi 17 (#176)

2.0.1

  • Removed left over console.log file
  • Fixed unknown being used on all joi schemas as opposed to just objects

2.0.0

  • [BREAKING] Upgraded hapi support to v19 and other dependencies (#173)

1.2.6

  • Reduced package size

1.2.5

  • Support api level security definitions #162
  • Better cors support #159

1.2.4

1.2.3

  • Fixes #156
  • Fixes #153
  • Fixes #152

1.2.2

  • Addresses #149: allow ignoring basePath for api docs path.

1.2.1

  • Version bump for NPM security audit

1.2.0

  • Vendor extensions are now stripped from the API docs end point (option docs.stripExtensions).
  • Bumped to Enjoi 4.x.

1.1.0

  • Allow override of payload options via x-hapi-options (#137).

1.0.5

  • Allow auth in doc options to be false (#134).

1.0.4

  • Resolves #123, fixing array format support in parameters.

1.0.3

  • Resolves #125, correcting date-time format.

1.0.2

  • Allow registering multiple of this plugin.

1.0.1

  • Fixes issue #117 (breaking on empty description).

1.0.0 Rename

  • Renamed to hapi-openapi.
  • Dropped version down to 1.0.0.

4.1.0

  • Fixes trailing spaces #104.
  • Fixes empty base path #106.
  • Fixes no operation parameters #108.
  • Adds support for API as object instead of file path #102

4.0.0

  • [BREAKING] x-* attribute support renamed to x-hapi-*.
  • New support for x-hapi-options on operations.

3.4.2

  • Updated to file validation which addresses #68.

3.4.1

  • Upgraded enjoi.

3.4.0

  • Added support for output validation (optional).

3.3.2

  • Fixed YAML parsing for api-docs route.

3.3.1

  • Fixed #72 - allow single item arrays.

3.3.0

  • x-auth attribute support.
  • basedir is not an option (officially).

3.2.0

  • x-handler attribute support.

3.1.0

  • Add tags and description to routes based on API spec.
  • Don't restrict auth types.
  • Add route meta data from API spec.
  • docspath option is now docs and is an object.

3.0

  • [BREAKING] Migrated to Hapi 17 and Node 8.
  • [BREAKING] Severed from swaggerize-routes - this module is now standalone.
  • [BREAKING] server.plugins.swagger.api is now server.plugins.swagger.getApi().
  • [BREAKING] handlers object doesn't namespace http methods using $ anymore. Assumption is verb is last in object path.
  • [BREAKING] Currently does not work with the swaggerize-generator.
  • Routes will specify what they allow based on api spec.