Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit 45c1cc4

Browse files
committed
release: 4.0.1
1 parent e88ca9c commit 45c1cc4

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Drafter Changelog
22

3+
## 4.0.1 (2019-09-17)
4+
5+
### Bug Fixes
6+
7+
* Resolves an incompatibility with Microsoft Visual Studio 2019 which
8+
preventing Drafter from compiling. Resolves incompatibilities with older
9+
versions of Microsoft Visual Studio which caused run-time crashes.
10+
11+
* Numerous improvements to the correctness of the content type parsing which is
12+
used to detect JSON and JSON Schema content types. This includes fixing the
13+
detection of media types as case-insensitive, previously `application/JSON`
14+
would not have been identified as a JSON type unlike the [naming requirements
15+
for comparison in RFC 6838](https://tools.ietf.org/html/rfc6838#section-4.2).
16+
17+
* Certain warnings and errors now contain more compact source maps in cases
18+
where the annotation spanned multiple indented lines. This can improve the
19+
parse result size and amount of memory used by the parser and surrounding
20+
tooling when encountering warnings or errors which contain incorrectly
21+
indented blocks.
22+
323
## 4.0.0 (2019-07-30)
424

525
### Bug Fixes

src/Version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#define DRAFTER_MAJOR_VERSION 4
1717
#define DRAFTER_MINOR_VERSION 0
18-
#define DRAFTER_PATCH_VERSION 0
18+
#define DRAFTER_PATCH_VERSION 1
1919

2020
#define DRAFTER_VERSION_IS_RELEASE 1
2121
#define DRAFTER_PRE_RELEASE_VERSION 0

0 commit comments

Comments
 (0)