Room 2.3.0-beta01

2.3.0-beta01
Added 1
  • Experimental auto-closable databases that close a Room database after it has not been accessed for a given amount of time, enabled by calling RoomDatabase.Builder#setAutoCloseTimeout()
Fixed 1
  • Dao methods with multiple @Update or @Delete methods using different conflict strategies now generate code that honors each defined conflict strategy instead of only one

From Room

Auto Closable Databases: Room now has the ability to close databases that are not accessed after a given amount of time. This is an experimental feature and can be enabled by calling RoomDatabase.Builder#setAutoCloseTimeout(). This feature is useful for applications with multiple databases. Fix an issue where Dao methods with multiple @Update or @Delete methods with different conflict strategies would generate code with only one of the strategies, effectively ignoring the defined one. ( /I0b90d, b/176138543)

View original

Upgraded? How did it go?

Discussion