Skip to content

v2.1.0

Latest

Choose a tag to compare

@pablobaxter pablobaxter released this 13 Nov 07:24
· 1 commit to master since this release
cb1c440

What's changed

  • BREAKING CHANGES
    • StringAdapter no long returns a null String, and requires a non-null String default
    • RxSharedPreferences.getString() no longer returns Preference<String?> and instead returns Preference<String>
    • StringSetAdapter no longer returns a null Set<String?>, and requires a non-null Set<String?> default
    • RxSharedPreferences.getStringSet() no longer returns Preference<Set<String?>?> and instead returns Preference<Set<String?>>
    • ConverterAdapter no longer returns a null type, and requires a non-null type as default
    • RxSharedPreferences.getObject() no longer returns Preference<Any?> and instead returns Preference<Any>
    • Preference.asOptional() and OptionalConverter are removed, as nothing returns a Preference with a nullable generic now
  • LINT UPDATES
    • RxSharedPreferences.getObjectNonNull() will now cause a lint error
  • Other changes include:
    • Update of Gradle and several plugins
    • Update of Kotlin to v2.2.20
    • Update of various libraries
    • Cleanup of code for lint warnings/errors