What’s New

Room 2.4.0-beta02

2.4.0-beta02

Version 2.4.0-beta02

We've added support for SparseArray and LongSparseArray in @MapInfo. We've added a new TypeConverter analyzer that takes nullability information in types into account. As this information is only available in KSP, it is turned on by default only in KSP. If it causes any issues, you can turn it off by passing room.useNullAwareTypeAnalysis=false to the annotation processor. If that happens, please a file bug as this flag will be removed in the future. With this new TypeConverter analyzer, it is suggested to only provide non-null receiving TypeConverters as the new analyzer has the ability to wrap them with a null check. Note that this has no impact for users using KAPT or Java as the annotation processors (unlike KSP), don't have nullability information in types. Fix a bug where Room would fail to compile with a SQL error when an FTS entity declared to use the ICU tokenizer. Resolved issue in auto migrations regarding a new column added to an embedded Entity between versions. We have resolved an issue regarding the relational query method return types in LEFT JOIN queries. With these changes, in the case where a 1-many mapping is present, the collection returned for a key will not include the invalid value object if it is not found in the cursor. If no valid values are found, then a key will be mapped to an empty collection. Resolved the auto migration issue where SQLite keywords failed to be escaped in column names.

View original

Discussion