2.4.0-alpha02
Added 1
- Add @ProvidedAutoMigrationSpec, a new API for declaring that an AutoMigrationSpec will be provided at runtime via RoomDatabase.Builder#addAutoMigrationSpec()
Fixed 2
- Fix auto migrations where @DatabaseViews were not being properly re-created
- Fix Room's JournalMode.TRUNCATE where the InvalidationTracker callback was sometimes invoked invalidly, too late, or not at all
From Room
@ProvidedAutoMigrationSpec is a new API for declaring that an AutoMigrationSpec will be provided at runtime via RoomDatabase.Builder#addAutoMigrationSpec(). This allows for a dependency injection framework to provide such specs when they need complex dependencies. Fix an issue with auto migrations where @DatabaseViews where not being properly re-created. Fix an issue in Room’s JournalMode.TRUNCATE where the InvalidationTracker callback was sometimes being invoked invalidly, too late, or not at all. Thanks to Uli Bubenheimer | bubenheimer@users.noreply.github.com ( b/154040286)