Skip to content

Upgrading com.russhwolf:multiplatform-settings-test 0.9 to 1

Breaking0.9 → 1.3.0Breaking10Platform1New11Changed8Fixed4Other3

BreakingUpgrade verdict

10 breaking changes and a platform requirement change.

  • Remove support for legacy Javascript backend.
  • Remove all deprecated API.
  • Remove useFrosenListeners parameter from NSUserDefaultsSettings.
  • Rename Settings implementations to be based on the underlying API used rather than the platform.
Top 4 of 11 that need code or config changes

Adds org.jetbrains.kotlin:kotlin-stdlib 2.1.0.

Drops org.jetbrains.kotlin:kotlin-stdlib-common, org.jetbrains.kotlin:kotlin-stdlib-jdk8.

Installs 3 packages in all (was 6).

No longer installs org.jetbrains.kotlin:kotlin-stdlib-jdk7.

Moves org.jetbrains.kotlin:kotlin-stdlib 1.6.21 → 2.1.0. Your build may pick other versions.

1 package of its own release moves with it.

Breaking10
Remove support for legacy Javascript backend.
Remove all deprecated API.
Remove useFrosenListeners parameter from NSUserDefaultsSettings.
useFrosenListenersNSUserDefaultsSettings
Rename Settings implementations to be based on the underlying API used rather than the platform.
Remove default values for defaultValue parameters.
Remove multiplatform-settings-coroutines-native-mt module.
multiplatform-settings-coroutines-native-mt
Remove @ExperimentalSettingsApi from ObservableSettings, SettingsListener, and related APIs.
@ExperimentalSettingsApiObservableSettingsSettingsListener
Remove @ExperimentalSettingsImplementation from JVM implementations.
@ExperimentalSettingsImplementation
Factory implementations now return a specific type from create() rather than returning Settings.
create()Settings
Migrate typed listeners from extension functions to members of ObservableSettings.
Platform1
Remove deprecated Kotlin/Native targets.