Releases: livefront/sealed-enum
Releases · livefront/sealed-enum
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.5.0
Updates to Kotlin 1.7 and fixes sealed subclass ordering when using Kotlin 1.7 or above.
0.4.0
Added full support for sealed interface
s
Added KSP processor as an alternate code generation method
0.3.0
Renamed the artifacts from sealedenum
to runtime
and sealedenumprocessor
to processor
to accommodate alternate code generation methods, such as with KSP.
0.2.0
Updated API surface with extension methods and properties to avoid references to generated type names in non-generated code, and also added support to generate enum classes to truly be able to allow sealed enum
s to be more powerful than enum class
es.
0.1.1
Publish documentation and package sources
0.1.0
Initial public soft-launch