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-argmodule, including commonSettings()function for easy default configuration - Experimental
WindowsSettingsimplementation via registry - Improved thread-safety for AppleSettings update listeners
- New
keysandsizemembers 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 byInts on 32-bit Apple targets (egiosArm32), which means they were limited toIntvalues. This has been replaced with usingString-backed storage that will respect the full range ofLongvalues.- 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-settingsartifact.
- Deprecate
Settings.removeListener()and replace withSettingsListener.deactivate() - Deprecate
@ExperimentalJsannotation. 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.Listenerupdates 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
JvmPreferencesSettingsimplementation for JVM target, usingPreferencesAPIs.- To continue with the existing
Propertiesimplementation, 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
PlatformSettingsexpect declarations - Add macOS platform
- Add experimental Javascript platform
- Add experimental JVM platform
- Refactor experimental listener behavior to separate interface
- Make delegate keys optional