Skip to content

Releases: livefront/sealed-enum

0.7.0

05 Jun 15:59
71a0c5c
Compare
Choose a tag to compare

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

07 Apr 19:44
b28e64e
Compare
Choose a tag to compare

Update to Kotlin 1.8.

0.5.0

27 Jul 15:59
0c80f27
Compare
Choose a tag to compare

Updates to Kotlin 1.7 and fixes sealed subclass ordering when using Kotlin 1.7 or above.

0.4.0

08 Sep 16:17
0659bae
Compare
Choose a tag to compare

Added full support for sealed interfaces
Added KSP processor as an alternate code generation method

0.3.0

02 Mar 15:05
53ef319
Compare
Choose a tag to compare

Renamed the artifacts from sealedenum to runtime and sealedenumprocessor to processor to accommodate alternate code generation methods, such as with KSP.

0.2.0

22 Oct 18:07
6c40ad5
Compare
Choose a tag to compare

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 enums to be more powerful than enum classes.

0.1.1

30 Jun 15:04
31d52f2
Compare
Choose a tag to compare
0.1.1 Pre-release
Pre-release

Publish documentation and package sources

0.1.0

23 Jun 20:49
37ea357
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

Initial public soft-launch