- Added a built-in type converter for UUID.
- Added a new property to the TypeConverters annotation to let developers disable the built-in Enum and UUID converters, either for a certain scope or for the whole database.
- Added support for non-POJO keys and values for Multimap return types in DAOs via the @MapInfo annotation.
- Added new API to specify index order in @Index.
- @MapInfo is now required when the key or value column of the map comes from a single column.
- Made room-paging a required artifact when using Paging3 with Room.
- Fixed an issue where multimap query results were not correctly ordered when the query contained an ORDER BY clause on a column from the map's key.
From Room
Added a built-in type converter for UUID. ( I671e8, b/73132006) Added a new property to the TypeConverters annotation to let developers disable built-in Enum and UUID converters. By default, these converters are on but you can disable them for a certain scope, or for the whole database. See TypeConverters documentation for details. ( 36ae9e, b/195413406) Supporting non-POJO keys/values for Multimap return types in DAOs via the @MapInfo annotation. ( I4d704) @MapInfo will be required when the key or value column of the map are from a single column. See example: @MapInfo ( valueColumn = "songCount" ) @Query ( """ SELECT *, COUNT(mSongId) as songCount FROM Artist JOIN Song ON Artist.artistName = Song.artist GROUP BY artistName """ ) fun getArtistAndSongCounts (): Map<Artist , Integer> Make room-paging a required artifact when using Paging3 with Room. ( Ieaffe) Fix an issue where multimap queries results were not correctly ordered when the query contained an ORDER BY clause of a column from the map's key. ( I6b887) Added new API to specify index order in @Index. Thanks to Nikita Zhelonkin. ( I033fc)