Skip to content

Version 2.0.0

Compare
Choose a tag to compare
@dezhidki dezhidki released this 29 Nov 21:07
· 129 commits to master since this release

Changelog

  • Updated code to use C#8 (C#9 support is still a bit wonky with mono and net35 which is why it's not used yet)
  • ToString now behaves the same as the wrapped type: for strings it returns raw value, for floats it returns its value in current culture, etc.
    • Compound types (arrays and tables) output their TOML inline representations
    • This also fixes #6 for when a value is implicitly cast to string
  • Added ToInlineToml which writes a TOML value as its inline value representation
  • Renamed ToTomlString to WriteTo to better represent its purpose
  • Fixed issues related to handling escape sequences in non-literal strings (#8)