This repository was archived by the owner on Sep 17, 2023. It is now read-only.
Releases: UnderLogic/toml-serialization
Releases · UnderLogic/toml-serialization
v0.4.10
v0.4.9
v0.4.8
[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
v0.4.6
[0.4.6] - 2023-01-04
Added
TomlCamelCaseAttribute
custom attributeTomlPascalCaseAttribute
custom attributeTomlSnakeCaseAttribute
custom attribute (allow for uppercase)TomlKebabCaseAttribute
custom attribute
Removed
TomlCasingAttribute
custom attribute in favor of specific ones
v0.4.5
[0.4.5] - 2023-01-04
Added
TomlHexNumberAttribute
custom attributeTomlOctalNumberAttribute
custom attributeTomlBinaryNumberAttribute
custom attributeTomlDateTimeFormatAttribute
custom attribute
Removed
TomlNumberFormatAttribute
custom attribute in favor of specific ones
v0.4.4
[0.4.4] - 2023-01-02
Added
- Serialization support for
PositiveInfinity
,NegativeInfinity
andNaN
values - Deserialization support for
PositiveInfinity
,NegativeInfinity
andNaN
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
[0.4.3] - 2022-12-31
Added
TomlMultilineAttribute
can be applied to arrays and lists to serialize them as multiline TOML arraysTomlLiteralAttribute
can be applied to lists of strings to serialize them as TOML literal stringsTomlLiteralAttribute
can be applied to dictionaries of strings to serialize them as TOML literal strings
v0.4.2
v0.4.1
[0.4.1] - 2022-12-30
Added
TomlLiteralAttribute
custom attribute for serializing literal stringsTomlMultilineAttribute
custom attribute for serializing multi-line strings (including literals)TomlInlineAttribute
custom attribute for serializing inline tables explicitlyTomlExpandAttribute
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)