# Room 2.6.0-alpha03 - Product: Room (https://whatsnew.fyi/product/room) - Vendor: Google - Date: 2023-08-09 - Version: 2.6.0-alpha03 - Original notes: https://developer.android.com/jetpack/androidx/releases/room - Permalink: https://whatsnew.fyi/product/room/releases/2.6.0-alpha03 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- Changes to check: - **Deprecated:** `@MapInfo` → `@MapColumn` (inferred by a model) - **added** — Nested Map return types in DAO functions are now supported in Room. - **added** — A new type annotation called @MapColumn has been created to replace @MapInfo, which is now deprecated; for each column name provided in a @MapInfo annotation, declare a @MapColumn annotation with just the columnName on the specific type argument (key or value of the Map) in the DAO function's return type. - **deprecated** — The @MapInfo annotation is deprecated in favor of @MapColumn. - **changed** — Updated API files to annotate compatibility suppression. - **changed** — The Room Gradle plugin APIs no longer always require per-variant configurations, allowing the plugin to accept a global location for all variants without creating multiple directories, while still allowing manual configuration of flavors or build type schemas. - **fixed** — Fixed potential memory leak vulnerability in QueryInterceptorStatement. - **fixed** — Fixed incorrect behavior in the QueryInterceptorDatabase execSQL() function. Nested Map return types in DAO functions are now supported in Room. ( I13f48, 203008711) A new type annotation called @MapColumn has been created to replace @MapInfo, which is now deprecated. For each column name (keyColumnName, valueColumnName, or both) provided in a @MapInfo annotation, you will need to declare a @MapColumn annotation with just the columnName and use the annotation on the specific type argument that is being referenced (the key or value of the Map) in the return type of the DAO function. This is because the @MapColumn annotation is used directly on the type argument within the return type of a DAO function, instead of on the function itself like @MapInfo. For more information, please refer to the @MapColumn documentation. ( Ib0305, b/203008711) Updated API files to annotate compatibility suppression ( I8e87a, b/287516207) The Room Gradle plugin APIs have been updated to not always require per-variant configurations. This means that the plugin can accept a global location for all variants without creating multiple directories, enabling smoother migrations that but is also flexible enough to manually configure flavors or build type schemas while still retaining the benefits of the plugin (reproducible and cacheable builds). ( I09d6f, b/278266663) Fixed potential memory leak vulnerability in QueryInterceptorStatement. ( I193d1) Fixed incorrect behavior in the QueryInterceptorDatabase execSQL() function. ( Iefdc8)