- Drafter contains two new options for disabling messageBody and
messageBodySchema generation from MSON.
generateMessageBody
andgeneratedMessageBodySchema
respectively.
This update now uses Drafter 5.0.0-rc.1. Please see Drafter 5.0.0-rc.1 for the list of changes.
This update now uses Drafter 4.0.2. Please see Drafter 4.0.2 for the list of changes.
This update now uses Drafter 4.0.1. Please see Drafter 4.0.1 for the list of changes.
- The Drafter NPM package now contains a
THIRD_PARTY_LICENSES.txt
file which contains the licenses of the vendored C++ dependencies of the library.
This update now uses Drafter 4.0.0-pre.8. Please see Drafter 4.0.0-pre.8 for the list of changes.
This update now uses Drafter 4.0.0-pre.7. Please see Drafter 4.0.0-pre.7 for the list of changes.
This update now uses Drafter 4.0.0-pre.6. Please see Drafter 4.0.0-pre.6 for the list of changes.
This update now uses Drafter 4.0.0-pre.5. Please see Drafter 4.0.0-pre.5 for the list of changes.
This update now uses Drafter 4.0.0-pre.4. Please see Drafter 4.0.0-pre.4 for the list of changes.
This update now uses Drafter 4.0.0-pre.3. Please see Drafter 4.0.0-pre.3 for the list of changes.
This update now uses Drafter 4.0.0-pre.2. Please see Drafter 4.0.0-pre.2 for the list of changes.
parse
won't returnerr
if we get a parse result with error annotationsparse
'soptions
is now optional following node.js conventionvalidate
'soptions
is now optional following node.js convention
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
parse
returns parse result in botherr
andresult
of the callback functionparseSync
doesn't throw error anymore if we get a parse result with error annotations
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
- Drop support node < 4.0
- Remove the option to select AST Type. The ouput will be only refract
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.
This update now uses Drafter 3.2.6. Please see Drafter 3.2.6 for the list of changes.
This update now uses Drafter 3.2.5. Please see Drafter 3.2.5 for the list of changes.
- Drafter.js will no longer override
Module
allowing drafter.js users to override the emscripten execution environment.
This update now uses Drafter 3.2.3. Please see Drafter 3.2.3 for the list of changes.
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.
This update now uses Drafter 3.2.1. Please see Drafter 3.2.1 for the list of changes.
- Added
validate
andvalidateSync
to just return the warnings and errors after parsing a blueprint.
This update now uses Drafter 3.1.3. Please see Drafter 3.1.3 for the list of changes.
This update now uses Drafter 3.1.2. Please see Drafter 3.1.2 for the list of changes.
This update now uses Drafter 3.1.1. Please see Drafter 3.1.1 for the list of changes.
This update now uses Drafter 3.1.0-pre.0. Please see Drafter 3.1.0-pre.0 for the list of changes.
- Fixes an
undefined
exception thrown when the API Bleuprint contained Unicode characters due to a missing function 'UTF8ToString'. issue #54
- 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
- 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.
- Substantial performance improvements, parsing blueprints is now much faster.
- drafter.js now follows Universal Module Definition (UMD).