This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
Releases: apiaryio/drafter
Releases · apiaryio/drafter
v2.3.0
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
v2.3.0-pre.2
Bug fixes and regressions.
v2.3.0-pre.1
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
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
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
This release fixes an important bug which is crashing the parser. #207
Maintenance Release: Inheritance fixes
JSON Schema
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
This release exposes the WrapAnnotation
API as public which was incorrectly marked as private in the previous release.
Parse Result Release
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.