diff --git a/CHANGELOG.md b/CHANGELOG.md index 949f26c7a..256b571da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Drafter Changelog +## 4.0.1 (2019-09-17) + +### Bug Fixes + +* Resolves an incompatibility with Microsoft Visual Studio 2019 which + preventing Drafter from compiling. Resolves incompatibilities with older + versions of Microsoft Visual Studio which caused run-time crashes. + +* Numerous improvements to the correctness of the content type parsing which is + used to detect JSON and JSON Schema content types. This includes fixing the + detection of media types as case-insensitive, previously `application/JSON` + would not have been identified as a JSON type unlike the [naming requirements + for comparison in RFC 6838](https://tools.ietf.org/html/rfc6838#section-4.2). + +* Certain warnings and errors now contain more compact source maps in cases + where the annotation spanned multiple indented lines. This can improve the + parse result size and amount of memory used by the parser and surrounding + tooling when encountering warnings or errors which contain incorrectly + indented blocks. + ## 4.0.0 (2019-07-30) ### Bug Fixes diff --git a/src/Version.h b/src/Version.h index aa2b1fa90..7f319ad3a 100644 --- a/src/Version.h +++ b/src/Version.h @@ -15,7 +15,7 @@ #define DRAFTER_MAJOR_VERSION 4 #define DRAFTER_MINOR_VERSION 0 -#define DRAFTER_PATCH_VERSION 0 +#define DRAFTER_PATCH_VERSION 1 #define DRAFTER_VERSION_IS_RELEASE 1 #define DRAFTER_PRE_RELEASE_VERSION 0