Skip to content

2.2.10

Choose a tag to compare

@DatL4g DatL4g released this 23 Aug 01:51
368e133

Official Kotlin 2.2.10 support. Probably the previous version 2.2.0 works as well with latest Kotlin version, but this has proper support now.

Breaking Changes

If you use application secrets / properties, the jsCommonMain target got renamed to webMain to align more with other Kotlin libraries.

The androidNativeX64 target got a workaround for the 16KB page size Google Play requirement. (All other androidNative targets already support it)

⚠️ I recommend to run the generateSekretBuildScript and cherrypick the changes you need.

YAML Support for Application Secrets (Experimental)

You can now provide a YAML for application secrets with target specific secrets.
It only supports specific target types:

common: # Available in common code
  - name: MyCommonSecret
    value: mySuperSecretKey
    
  - name: OtherCommonSecret
    value: otherSecretKey
    
web: # Available in web targets (js, wasmJs)
  - name: MyWebSecret
    value: myWebSecretKey
    
jni: # Available in jni targets (android, jvm)
  - name: MyJNISecret
    value: myJniSecretKey
    
native: # Available in native targets (iOS, macOS, linux, etc...)
  - name: MyNativeSecret
    value: myNativeSecretKey

You can pick any name you like in each target as long as it aligns with YAML norms.
This feature is still experimental, if you encounter any problems don't hesitate to report them.

Full Changelog: v2.2.0...v2.2.10