Skip to content

Latest commit

 

History

History
221 lines (140 loc) · 6.09 KB

CHANGELOG.md

File metadata and controls

221 lines (140 loc) · 6.09 KB

drafter.js Changelog

3.2.0 (2020-04-20)

  • Drafter contains two new options for disabling messageBody and messageBodySchema generation from MSON. generateMessageBody and generatedMessageBodySchema respectively.

3.1.0 (2019-03-17)

This update now uses Drafter 5.0.0-rc.1. Please see Drafter 5.0.0-rc.1 for the list of changes.

3.0.2 (2019-10-29)

This update now uses Drafter 4.0.2. Please see Drafter 4.0.2 for the list of changes.

3.0.1 (2019-09-17)

This update now uses Drafter 4.0.1. Please see Drafter 4.0.1 for the list of changes.

Enhancements

  • The Drafter NPM package now contains a THIRD_PARTY_LICENSES.txt file which contains the licenses of the vendored C++ dependencies of the library.

3.0.0 (2019-07-02)

This update now uses Drafter 4.0.0-pre.8. Please see Drafter 4.0.0-pre.8 for the list of changes.

3.0.0-pre.7 (2019-06-03)

This update now uses Drafter 4.0.0-pre.7. Please see Drafter 4.0.0-pre.7 for the list of changes.

3.0.0-pre.6 (2019-05-20)

This update now uses Drafter 4.0.0-pre.6. Please see Drafter 4.0.0-pre.6 for the list of changes.

3.0.0-pre.5 (2019-05-07)

This update now uses Drafter 4.0.0-pre.5. Please see Drafter 4.0.0-pre.5 for the list of changes.

3.0.0-pre.4 (2019-04-26)

This update now uses Drafter 4.0.0-pre.4. Please see Drafter 4.0.0-pre.4 for the list of changes.

3.0.0-pre.3 (2019-04-08)

This update now uses Drafter 4.0.0-pre.3. Please see Drafter 4.0.0-pre.3 for the list of changes.

3.0.0-pre.2

This update now uses Drafter 4.0.0-pre.2. Please see Drafter 4.0.0-pre.2 for the list of changes.

Breaking

  • parse won't return err if we get a parse result with error annotations
  • parse's options is now optional following node.js convention
  • validate's options is now optional following node.js convention

3.0.0-pre.1

This update now uses Drafter 4.0.0-pre.1. Please see Drafter 4.0.0-pre.1 for the list of changes.

  • Build done using emscripten 1.38.x

Breaking

  • parse returns parse result in both err and result of the callback function
  • parseSync doesn't throw error anymore if we get a parse result with error annotations

3.0.0-pre.0

This update now uses Drafter 4.0.0-pre.0. Please see Drafter 4.0.0-pre.0 for the list of changes.

  • Build done using emscripten 1.37.x

Breaking

  • Drop support node < 4.0
  • Remove the option to select AST Type. The ouput will be only refract

2.6.7

This update now uses Drafter 3.2.7. Please see [Drafter 3.2.7]https://github.com/apiaryio/drafter/releases/tag/v3.2.7) for the list of changes.

2.6.6

Bug Fixes

This update now uses Drafter 3.2.6. Please see Drafter 3.2.6 for the list of changes.

2.6.5

Bug Fixes

This update now uses Drafter 3.2.5. Please see Drafter 3.2.5 for the list of changes.

2.6.4

Bug Fixes

2.6.3

This update now uses Drafter 3.2.3. Please see Drafter 3.2.3 for the list of changes.

2.6.2

This update now uses Drafter 3.2.2. Please see Drafter 3.2.2 for the list of changes.

The package now includes Typescript ts file.

2.6.1

This update now uses Drafter 3.2.1. Please see Drafter 3.2.1 for the list of changes.

2.6.0

Enhancements

  • Added validate and validateSync to just return the warnings and errors after parsing a blueprint.

2.5.2

This update now uses Drafter 3.1.3. Please see Drafter 3.1.3 for the list of changes.

2.5.1

This update now uses Drafter 3.1.2. Please see Drafter 3.1.2 for the list of changes.

2.5.0

This update now uses Drafter 3.1.1. Please see Drafter 3.1.1 for the list of changes.

2.5.0-pre.0

This update now uses Drafter 3.1.0-pre.0. Please see Drafter 3.1.0-pre.0 for the list of changes.

2.4.3

Bug Fixes

  • Fixes an undefined exception thrown when the API Bleuprint contained Unicode characters due to a missing function 'UTF8ToString'. issue #54

2.4.2

Bug Fixes

  • This release ensures that the .gyp and .gypi files are not detected during building the NPM package. NPM incorrectly computes the gypfile without respecting the .npmignore file. npm/read-package-json#52

2.4.1

Bug Fixes

  • Removes unnecessary files from the NPM package. 2.4.0 included the C++ source for Drafter and this causes problems while trying to install the package via NPM since it will try and use node-gyp to build the source.

2.4.0

Enhancements