diff --git a/CHANGELOG.md b/CHANGELOG.md index 470c47f6..51659c61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# 0.7.0 +## Bug fixes: +- Switch to `is` instead of `==` to improve static initialization behavior (#130). Thanks @kyay10! +- Ensure objects are not duplicated in the sealed enum list, if reachable from more than one subclass (#135). Thanks @kyay10! + +## Breaking changes: +- The type of `EnumForSealedEnumProvider.enumClass` is updated from a `Class` to a `KClass`. + This allows `runtime` to not depend on any JVM classes, and therefore can be a multiplatform artifact in the future. + # 0.6.0 ## Features: - Update to Kotlin 1.8 diff --git a/README.md b/README.md index 4796c65f..4c2c77d2 100644 --- a/README.md +++ b/README.md @@ -368,8 +368,8 @@ repositories { } dependencies { - implementation("com.github.livefront.sealed-enum:runtime:0.6.0") - kapt("com.github.livefront.sealed-enum:processor:0.6.0") + implementation("com.github.livefront.sealed-enum:runtime:0.7.0") + kapt("com.github.livefront.sealed-enum:processor:0.7.0") } ``` @@ -385,8 +385,8 @@ repositories { } dependencies { - implementation("com.github.livefront.sealed-enum:runtime:0.6.0") - ksp("com.github.livefront.sealed-enum:ksp:0.6.0") + implementation("com.github.livefront.sealed-enum:runtime:0.7.0") + ksp("com.github.livefront.sealed-enum:ksp:0.7.0") } ``` diff --git a/gradle.properties b/gradle.properties index 5fee5f01..030585f4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,4 +15,4 @@ org.gradle.parallel=true kotlin.code.style=official group=com.livefront.sealedenum -version=0.6.0 +version=0.7.0