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

4.0.1

Compare
Choose a tag to compare
@kylef kylef released this 17 Sep 11:59
· 123 commits to master since this release

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.

  • 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.