AndroidX DataStore 1.0.0-alpha02

1.0.0-alpha02
Added 3
  • Added a safeguard against mutation in datastore-core to prevent breaking DataStore usage with non-proto and non-preferences types
  • Added a toString method to Preferences to make the current state easier to debug
  • Added an exception to safeguard against misuse of DataStore.Preferences
Fixed 1
  • Fixed a bug that would cause the app to crash on start up

From AndroidX DataStore

Added a safeguard against mutation in datastore-core. Mutation breaks datastore usage for people using datastore with non-proto/non-preferences types ( I6aa84) Added a toString method to Preferences.kt to make current state easy to debug ( I96006) Added an exception to safeguard against misuse of DataStore.Preferences ( I1134d) Fixed a bug that would cause the app to crash on start up ( I69237, b/168580258)

View original

Upgraded? How did it go?

Discussion