github avro-kotlin/avro4k v2.9.0

12 hours ago

Highlights

  • Plugin: it is now possible to configure your own logical types in the gradle plugin! 🤩 Check out the docs
  • Plugin: a new param appeared: useKotlinConventionForFieldNames (disabled by default), which makes the generated kotlin properties following Kotlin's naming convention rather than keeping the avro name in snake_case by example. Check the docs for more details ➕
  • Core module: kotlin.uuid.Uid is now supported ✅
  • Plugin: it is now possible to generate kotlin sources from a schema which references a type present into another file 🗄️

Also many thanks for all the feature requests, issues reports, and new contributors! 🚀

What's Changed

  • feat(core): Support kotlin's Uuid by @kangwooc in #430
  • feat(plugin): Support referencing types across files by @Chuckame in #433
  • feat(plugin): make logical types configurable by @Chuckame in #415
  • feat(plugin): Support mapping kotlin properties names to camelCase in generated code by @Lee-WonJun in #426
  • fix(plugin): Do not generate non-null record as nullable and vice-versa when type is reused by @Chuckame in #438
  • fix(ci): Release the library explicitly instead of using variables only by @Chuckame in #439
  • build(deps): bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #427
  • build(deps): bump org.jetbrains.kotlinx:kotlinx-benchmark-runtime from 0.4.14 to 0.4.15 by @dependabot[bot] in #423
  • build(deps): bump com.github.gmazzo.buildconfig:com.github.gmazzo.buildconfig.gradle.plugin from 6.0.6 to 6.0.7 by @dependabot[bot] in #431

New Contributors

Full Changelog: v2.8.0...v2.9.0

Don't miss a new avro4k release

NewReleases is sending notifications on new releases.