2.5.0-alpha03
Added 1
- Added a new shortcut annotation, @Upsert, which attempts to insert an entity when there is no uniqueness conflict or updates the entity if there is a conflict.
Changed 1
- Room now throws a SQLiteConstraintException instead of an IllegalStateException during an auto-migration foreign key constraint check.
Fixed 1
- Fixed a Kotlin source incompatible change for the getters/properties of getOpenHelper, getQueryExecutor and getTransactionExecutor.
From Room
New Features Added a new shortcut annotation, @Upsert, which attempts to insert an entity when there is no uniqueness conflict or update the entity if there is a conflict. ( I7aaab, b/241964353) Bug Fixes Room will now throw a SQLiteConstraintException instead of a IllegalStateException during an auto-migration foreign key constraint check. ( I328dd) Fix a Kotlin source incompatible change for getter / properties of getOpenHelper, getQueryExecutor and getTransactionExecutor. ( Iad0ac)