Skip to content

Releases: apiaryio/drafter

4.0.0-pre.4

26 Apr 10:48
Compare
Choose a tag to compare
4.0.0-pre.4 Pre-release
Pre-release

Bug Fixes

  • Drafter no longer attempts to interpret non-primitive MSON type hints as fallbacks for nested values.
    #682

    + (array[object])
      + MSON string now interpreted as String Element instead of Object Element
  • Release builds of Drafter will no longer include assertions, this prevents the potential for development intended assertions to cause Drafter to abort.

4.0.0-pre.3

08 Apr 14:29
Compare
Choose a tag to compare
4.0.0-pre.3 Pre-release
Pre-release

Enhancements

  • Generated JSON Schema makes use of the enum validation instead of the more syntax heavy anyOf for each enumerations EnumElement entry typing a single value.

  • Transitioned from C++14 back to C++11 to support older compilers.

4.0.0-pre.2

15 Nov 21:47
e83e2fd
Compare
Choose a tag to compare
4.0.0-pre.2 Pre-release
Pre-release

Enhancements

  • Add column/line info to annotations source maps.

Bug Fixes

  • Parameters which are of enum type will now have their default values correctly serialized in the output using enum type.

4.0.0-pre.1

29 Aug 17:48
242b3b7
Compare
Choose a tag to compare
4.0.0-pre.1 Pre-release
Pre-release

Breaking

  • This release contains numerous changes to enumerations which affect how
    enumerations are serialised in API Elements.

    • See API Elements 1.0 for further specification
      on the format of the enumerations.
    • Samples are now collected as collection of individual elements.
    • The parser will now emit a warning when you define multiple default
      values for an enumeration.
  • Descriptions for MSON structures are no longer found in generated JSON Schemas.

Enhancements

  • Significant performance improvements have been made to this release and
    parse times for API Blueprints are halved.

Bug Fixes

  • Large numbers will no longer be clipped and numbers will be rendered how
    they was described. For example 10.00 will be rendered as 10.00 and not 10.
    #443

  • JSON Schema will no longer contain redundant anyOf entries when using
    fixed-type arrays.
    #566

  • Restored handling API Blueprints where referencing an unknown type inside an
    array[] would cause an assertion failure instead of a parsing error.
    #556

  • Fix parsing MSON object structures where a property is declared without a
    key. This was causing an assertion failure instead of a parse error.
    #547

  • JSON Schema generation will no longer include duplicate required properties
    when a property in MSON structure is duplicated.
    #493

4.0.0-pre.0

31 Oct 17:57
a60fde4
Compare
Choose a tag to compare
4.0.0-pre.0 Pre-release
Pre-release

Breaking

  • The following compiler versions are supported:

    • Microsoft Visual C++ 2015 or higher
    • GCC 5.3 or higher
    • Clang 4.0 or higher
  • Deprecated API Blueprint AST support has been removed.

  • Drafter will now produce API Elements 1.0 using the Refract 1.0 JSON Serialisation format.
    Refract JSON Serialisation
    API Elements 1.0

Enhancements

  • Instead of returning int, functions that may error return drafter_error
    type. This adds additional type-safety when handling errors.

Bug Fixes

  • Fix JSON Schema "required" for multiple defined members
    #493

v3.2.7

24 May 12:09
Compare
Choose a tag to compare

v3.2.7

v3.2.6

05 Apr 16:00
Compare
Choose a tag to compare

v3.2.6

3.2.5

14 Mar 15:15
Compare
Choose a tag to compare

Bug Fixes

  • Action identifiers may now contain ( and ) characters.

    ## My Action (Deprecated) [GET]

v3.2.4

10 Feb 21:04
Compare
Choose a tag to compare

v3.2.4

3.2.3

18 Jan 15:04
Compare
Choose a tag to compare

Bug Fixes

  • Prevent exposing duplicate parameters in API Elements output when a parameter is overshadowed.
  • Fix support for escaped MSON-style parameters.
    #445