Releases: bennyhuo/KotlinDeepCopy
Releases · bennyhuo/KotlinDeepCopy
v1.9.20-1.0.1
v1.8.20-1.0.1
v1.8.20-1.0.0
Update Readme.
1.7.10.0
Build with Kotlin 1.7.10.
Runtime
- Rename
DeepCopiable
toDeepCopyable
which seems more widely used.
Reflect
- Make
deepCopy
function available toDeepCopyable
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 implementedDeepCopyable
. - Add super type
DeepCopyable
to those data classes annotated with@DeepCopy
. - Carefully handle manually written
deepCopy
function. - Add support for Collections.
1.5.31.0
v1.5.31.0 Reflect & Apt & Ksp
- Add support for Kotlin Symbol Processing.
- Add sample on Kotlin Js for KSP.
- Add support for multi-module projects.
- Rework the implementation of collections by removing reflections.
- Limit the deepCopy extension to a new interface DeepCopyable to make it explicit in reflection implementation.
- Upgrade to Kotlin 1.5.31.