Releases: russhwolf/multiplatform-settings
Releases · russhwolf/multiplatform-settings
v0.6.1
v0.6
- Kotlin 1.3.72 and Android Gradle Plugin 3.6.3
- Add
multiplatform-settings-no-arg
module, including commonSettings()
function for easy default configuration - Experimental
WindowsSettings
implementation via registry - Improved thread-safety for AppleSettings update listeners
- New
keys
andsize
members onSettings
. - Add workaround for potential native name collisions (KT-36721)
v0.5.1
v0.5
- Update to Kotlin 1.3.61
- Update to Android Gradle Plugin 3.5.3
- Breaking changes:
Long
-based APIs were previously being backed byInt
s on 32-bit Apple targets (egiosArm32
), which means they were limited toInt
values. This has been replaced with usingString
-backed storage that will respect the full range ofLong
values.- Apple artifacts have been renamed to use default target names. This should only have impact for consumers who depended on platform-specific artifacts instead of using Gradle Metadata and depending only on the
multiplatform-settings
artifact.
- Deprecate
Settings.removeListener()
and replace withSettingsListener.deactivate()
- Deprecate
@ExperimentalJs
annotation. Javascript now has the same stability as the rest of the library. - Deploy common code to all available platforms. This enables users to add implementations on platforms not included by default.
- Add JS browser target to sample project
- Remove incorrect logic attempting to run
JvmPreferencesSettings.Listener
updates on the main thread. This listener implementation updates on an internally-managed background thread. The behavior has not changed but is now documented. - Build script refactors. This should be largely invisible but please file issues if anything is inconsistent.
v0.4.1
v0.4
- Add new
JvmPreferencesSettings
implementation for JVM target, usingPreferences
APIs.- To continue with the existing
Properties
implementation, useJvmPropertiesSettings
. This implementation may be deprecated and removed in the future.
- To continue with the existing
- Add optional persistence callback in
JvmPropertiesSettings
- Add iosArm32 support.
- Add new nullable get APIs (eg
Settings.getIntOrNull(key)
) - Add JVM sample
v0.3.3
v0.3.2
v0.3.1
v0.3
- Update to Kotlin 1.3.30 and Gradle 5.3.1
- Remove redundant
PlatformSettings
expect declarations - Add macOS platform
- Add experimental Javascript platform
- Add experimental JVM platform
- Refactor experimental listener behavior to separate interface
- Make delegate keys optional