Skip to content

Releases: mcarleio/konvert

v4.4.0

31 Oct 09:26

Choose a tag to compare

What's Changed

🎉 This release officially supports KSP2 in Gradle and Maven projects

Full Changelog: v4.3.2...v4.4.0

v4.3.2

30 Sep 14:43

Choose a tag to compare

Bug fixes

  • do not require konvert.enforce-not-null for mapping to value class when source and target are nullable #189

v4.3.1

14 Sep 21:37
2807a02

Choose a tag to compare

Bug fixes

  • respect source and target class visibilities for extension function generation (#180, #181)

v4.3.0

11 Sep 07:51
4b5a9dc

Choose a tag to compare

New features

  • Two new type converters, which handle value class mappings, i.e., to map from/to e.g. String to/from value class with a String inside:

    • ValueClassToXConverter
    • XToValueClassConverter

    The following example now works out-of-the-box and generates the appropriate mappings:

    @JvmInline value class DataId(val id: String)
    
    @KonvertTo(AdapterClass::class)
    class DomainClass(id: DataId)
    
    @KonvertTo(DomainClass::class)
    class AdapterClass(id: String)

v4.2.0

18 Aug 22:24
46dbc79

Choose a tag to compare

feat(124): provide options how to handle properties which are not par…

v4.1.2

06 Jul 11:42

Choose a tag to compare

docs: update CHANGELOG.md

v4.1.1

04 Jul 21:39

Choose a tag to compare

docs(#161): updated CHANGELOG.md

v4.1.0

22 Apr 22:06

Choose a tag to compare

fix(#139): use `%L` with `CodeBlock` instead of `toString()`

v4.0.1

17 Nov 19:47

Choose a tag to compare

fix(#99): remove duplicate `let` when using `@KonvertFrom` with an ex…

v4.0.0

16 Nov 22:07

Choose a tag to compare

chore: restructure code to generate code and add tests