Skip to content

2.1.1

Latest

Choose a tag to compare

@mattt mattt released this 14 Nov 13:07
6bb8b94

Note

TOMLDecoder.decode(_:from: Data) now rejects data that starts with
two byte order marks, as TOML 1.0.0 requires.
In 2.1.0, such data decoded on macOS and on Linux with Swift 6.4.
The decoder also checks UTF-8 itself now, instead of relying on Foundation.

What's Changed

  • Reject invalid UTF-8 and doubled BOMs, and pin toml-test by @mattt in #8

Full Changelog: 2.1.0...2.1.1