Skip to content
This repository was archived by the owner on Sep 17, 2023. It is now read-only.

Releases: UnderLogic/toml-serialization

v0.4.10

01 May 07:23
Compare
Choose a tag to compare

[0.4.10] - 2023-05-01

Changed

  • Use custom IsEquivalentTo comparison method to prevent GetHashCode override warnings

Fixed

  • Missing .meta file

v0.4.9

13 Jan 08:59
61c64cf
Compare
Choose a tag to compare

[0.4.9] - 2023-01-13

Fixed

  • TomlInlineAttribute now properly applied to complex types during serialization

v0.4.8

13 Jan 06:51
7f2fb30
Compare
Choose a tag to compare

[0.4.8] - 2023-01-13

Fixed

  • Nested table and table array keys are now properly prefixed with the parent table key when serialized
  • Empty table keys are no longer serialized (as they are not necessary)
  • Nested tables and table arrays are now properly deserialized

v0.4.7

09 Jan 05:16
c346481
Compare
Choose a tag to compare

[0.4.7] - 2023-01-09

Fixed

  • Escape whitespace strings in non-multiline strings
  • Escape \f form-feed character in strings
  • Unescape whitespace chars in character and string arrays
  • All code is now C# 7.3 and .NET Framework 4.6 compatible for Unity 2019.1+

v0.4.6

04 Jan 07:03
bc38fb8
Compare
Choose a tag to compare

[0.4.6] - 2023-01-04

Added

  • TomlCamelCaseAttribute custom attribute
  • TomlPascalCaseAttribute custom attribute
  • TomlSnakeCaseAttribute custom attribute (allow for uppercase)
  • TomlKebabCaseAttribute custom attribute

Removed

  • TomlCasingAttribute custom attribute in favor of specific ones

v0.4.5

04 Jan 05:13
4364082
Compare
Choose a tag to compare

[0.4.5] - 2023-01-04

Added

  • TomlHexNumberAttribute custom attribute
  • TomlOctalNumberAttribute custom attribute
  • TomlBinaryNumberAttribute custom attribute
  • TomlDateTimeFormatAttribute custom attribute

Removed

  • TomlNumberFormatAttribute custom attribute in favor of specific ones

v0.4.4

02 Jan 07:17
1cf2bca
Compare
Choose a tag to compare

[0.4.4] - 2023-01-02

Added

  • Serialization support for PositiveInfinity, NegativeInfinity and NaN values
  • Deserialization support for PositiveInfinity, NegativeInfinity and NaN values
  • TomlNumberFormatAttribute for serializing integer values in different formats
  • Deserialize hex integer values (e.g. 0xdead_beef)
  • Deserialize oct integer values (e.g. 0o755)
  • Deserialize bin integer values (e.g. 0b1101010)
  • Unit tests for number formats and digit separators (e.g. 1_000_000)

v0.4.3

31 Dec 07:32
11e5032
Compare
Choose a tag to compare

[0.4.3] - 2022-12-31

Added

  • TomlMultilineAttribute can be applied to arrays and lists to serialize them as multiline TOML arrays
  • TomlLiteralAttribute can be applied to lists of strings to serialize them as TOML literal strings
  • TomlLiteralAttribute can be applied to dictionaries of strings to serialize them as TOML literal strings

v0.4.2

31 Dec 05:56
Compare
Choose a tag to compare

[0.4.2] - 2022-12-31

Added

  • Deserialization support for multiline arrays (including jagged arrays)

Fixed

  • Allow trailing commas for arrays

v0.4.1

31 Dec 03:19
09d55df
Compare
Choose a tag to compare

[0.4.1] - 2022-12-30

Added

  • TomlLiteralAttribute custom attribute for serializing literal strings
  • TomlMultilineAttribute custom attribute for serializing multi-line strings (including literals)
  • TomlInlineAttribute custom attribute for serializing inline tables explicitly
  • TomlExpandAttribute custom attribute for serializing expanded tables explicitly
  • More unit tests for various serialization cases

Changed

  • TomlFloat values can be coerced into integer values (will be truncated)