Release v0.5.1
Important
-
Updated Kotlin to version 1.9.22 in #250
-
A bunch of bug fixes, infra and logging enhancements.
-
Enhanced Map decoding: Now, you can decode key-value pairs and tables to Map without prior knowledge of their names.
@Serializable
data class MyClass(
val a: Map<String, Map<String, String>>
)
[a]
[a.innerTable]
d = 5
[a.otherInnerTable]
d = "String"
- Introduced encoding for value classes by @BOOMeranGG in #238:
@Serializable
@JvmInline
value class Test(val myTest: Info)
- Added support for empty inline tables by @BOOMeranGG in #240:
ACTIVITY_COMPOSE = {}
Enhancements
- Levenshtein distance calculation for the enhancement of the 'invalid enum' error by @akuleshov7 in #232
- Add trimming of the closing quote delimiter of multiline string by @akuleshov7 in #223
- Unify array of tables and primitive table by @NightEule5 in #215
- Initial Support for Simple Map decoding with unnamed toml keys by @akuleshov7 in #246
- Support for nested and inlined maps (inside other maps) by @akuleshov7 in #252
- Postrelease: updating readme and deprecating legacy methods by @akuleshov7 in #222
Bugfixes
- Fixes #226 TomlTable.write() throws NoSuchElementException by @thomasgalvin in #227
Infra
- Infra and build updates by @akuleshov7 in #228
- Set distribution to zulu for all setup-java by @nulls in #241
- Update all github actions (major) by @renovate in #203
- Update actions/checkout action to v4.1.0 by @renovate in #242
- Diktat 2.0 support by @akuleshov7 in #251
New Contributors
- @thomasgalvin made their first contribution in #227
Full Changelog: v0.5.0...v0.5.1