Skip to content

1.7.10.0

Compare
Choose a tag to compare
@bennyhuo bennyhuo released this 12 Sep 02:08
· 42 commits to master since this release

Build with Kotlin 1.7.10.

Runtime

  • Rename DeepCopiable to DeepCopyable which seems more widely used.

Reflect

  • Make deepCopy function available to DeepCopyable only.
  • [NEW] Add support for Kotlin JS.

APT & KSP

  • Support multi-module project in a unified way.

KCP

  • Generate a copy-like function deepCopy for data classes annotated with @DeepCopy.
  • Generate implementation of deepCopy for data classes implemented DeepCopyable.
  • Add super type DeepCopyable to those data classes annotated with @DeepCopy.
  • Carefully handle manually written deepCopy function.
  • Add support for Collections.