Skip to content

v1.0.1

Compare
Choose a tag to compare
@cyyynthia cyyynthia released this 18 May 14:30
· 30 commits to mistress since this release
340636e

This releases fixes a bunch of issues related with spec-compliance, as well as a few bugs! This version now passes (almost) all of the extensive semi-official toml-test suite by BurntSushi! 🎉

  • Double, trailing and leading underscores are no longer accepted in numbers
  • \r alone is no longer considered a line return
  • Tricky comments in arrays no longer trick the parser
  • Keys containing a string with an equals sign no longer break the parser
  • Duplicate tables across arrays of tables are no longer rejected
  • Certain edge-cases regarding table re-creation via dotted keys are now handled properly

The library also got a significant performance improvement for small documents, and got slightly slower for huge documents. Benchmarks have been updated on the README.

Full Changelog: v1.0.0...v1.0.1