Skip to content

Releases: apiaryio/drafter

v2.3.0

15 Apr 13:30
Compare
Choose a tag to compare

Bug Fixes

  • Parameters in Refract output will no longer contain a content value
    when there is no sample value.
    #286
  • Errors raised from Snowcrash, the underlying parser are now treated
    as errors. This resolves an issue where Drafter would get into an
    infinite loop when certain circular references are found in MSON
    Data Structures.
    #255
  • Errors raised from drafter are now correctly treated as errors,
    previously they were exposed as warnings.
  • Improved error reporting with source maps when using cdrafter.
  • Resolved an issue when using a mixins from implicit objects would raise a
    warning that the implicit object was not an object.
    #138
    #243

v2.3.0-pre.2

04 Apr 14:48
Compare
Choose a tag to compare
v2.3.0-pre.2 Pre-release
Pre-release

v2.3.0-pre.2

Bug fixes and regressions.

v2.3.0-pre.1

01 Apr 19:04
Compare
Choose a tag to compare
v2.3.0-pre.1 Pre-release
Pre-release

Bug Fixes

  • It was causing lot of different problems like segmentation faults, stack overflows or even infinite loops depending on what error was ignored.
    #269
  • Variable property name issues are fixed including correct generation of JSON Schema.
  • Improved error reporting. Some of the semantic errors like circular references were issued without a sourcemap information, that is not the case anymore.
  • httpRequest and httpResponse payloads now have source maps attached while using the Refract output.
    #259

v2.3.0-pre.0

09 Mar 16:11
Compare
Choose a tag to compare
v2.3.0-pre.0 Pre-release
Pre-release

Enhancements

  • Partial implementation of RFC 4: Request Parameters has been added. Request parameters are now parsed, however validation of these parameters is not yet handled.
  • Adds support for building Drafter with Microsoft Visual Studio 2015.

Bug Fixes

  • The content-type for JSON Schema messageBodySchema is now correctly application/schema+json.
  • Fixes a problem while rendering JSON Schema may have resulted in an ExtendElement warning.
    #217

v2.2.0

09 Feb 10:53
Compare
Choose a tag to compare

Enhancements

  • The JavaScript API has been aligned with the Protagonist
    binding, allowing you to use Drafter JS and Protagonist
    with the same interface.

Bug Fixes

  • Fixes a crash when handling circular references in MSON Mixins.

Maintenance Release: Bug Fixes

08 Jan 13:57
Compare
Choose a tag to compare

This release fixes an important bug which is crashing the parser. #207

Maintenance Release: Inheritance fixes

04 Jan 13:49
Compare
Choose a tag to compare

Bug fixes

  • Inheritance issues when expanding refract (#98 #176)
  • JSON Schema rendering fixes.
  • JSON Schema nullable fixes

JSON Schema

11 Dec 20:29
Compare
Choose a tag to compare
Enhancements
  • JSON Schema is now rendered from MSON structures.
Bug Fixes
  • The validate (-l) option of the command line drafter tool will now validate MSON structures.
    #188

Maintenance Release: WrapAnnotation fix

27 Nov 12:43
Compare
Choose a tag to compare

This release exposes the WrapAnnotation API as public which was incorrectly marked as private in the previous release.

Parse Result Release

26 Nov 15:02
Compare
Choose a tag to compare

This is a backward-incomatible release with the following changes.

Breaking
  • C++ interface now returns Refract ParseResult instead of API Blueprint AST by default. You can get the previous behaviour using the NormalASTType option.
  • Command line interface has changed to by default, return the whole ParseResult under both Refract and AST output types, along with source maps.
Enhancements
  • Support for the nullable MSON type attribute.
    #106
  • Source maps are now available when using the Refract output type with the exportSourceMap option.
    #148
  • We now offer a JavaScript version of drafter using emscripten.
Bug Fixes
  • Drafter should no longer raise exceptions and instead attach all errors to the parse result.
  • Various bugs while rendering JSON from MSON have been resolved.
    #117
    #136
    #137
    #141
  • Meta classes from an asset element are now an array as per the Refract specification instead of using the class key.
    #179