{"id":633658,"date":"2026-04-28T07:44:14","date_gmt":"2026-04-28T07:44:14","guid":{"rendered":"https:\/\/www.newsbeep.com\/ca\/633658\/"},"modified":"2026-04-28T07:44:14","modified_gmt":"2026-04-28T07:44:14","slug":"google-releases-alpha-of-room-3-0","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/ca\/633658\/","title":{"rendered":"Google Releases Alpha Of Room 3.0"},"content":{"rendered":"<p>Google has released the first alpha of Room 3.0. Room is part of the library of Jetpack Architecture Components, and the new release is described as\u00a0a major breaking version that focuses on Kotlin Multiplatform (KMP) and adds support for JavaScript and WebAssembly (WASM) on top of the existing Android, iOS and JVM desktop support.<\/p>\n<p>&#13;<br \/>\n&#13;&#13;&#13;<\/p>\n<p>As part of the Jetpack Architecture Components in Android, the Room persistence library provides an abstraction layer over SQLite that developers can use to perform operations on data. It offers compile-time verification of SQL queries, and annotations that minimize repetitive boilerplate code. The SQLite APIs are still more powerful, but Room is easy to use. It also means data can be cached locally so it is available even when the user&#8217;s device is offline. Android Jetpack is a suite of libraries for use in Android app development.\u00a0<\/p>\n<p>&#13;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/www.newsbeep.com\/ca\/wp-content\/uploads\/2026\/04\/jetpackxon2.jpg\" alt=\"\" width=\"171\" height=\"165\"\/><\/p>\n<p>&#13;<\/p>\n<p>Room 3.0\u00a0is a major version update of the existing Room 2. x package. The new version focuses on Kotlin Multiplatform (KMP). The core annotation APIs are kept the same along with the main components.\u00a0<\/p>\n<p>&#13;<\/p>\n<p>The new version has a number of major breaking differences from Room 2.x. The SupportSQLite APIs are no longer supported, unless you are using the androidx.room3:room3-sqlite-wrapper. All database operations are now Coroutine APIs based. The code generation is Kotlin only, and Kotlin Symbol Processing (KSP) is required.\u00a0<\/p>\n<p>&#13;<\/p>\n<p>The developers say generating only Kotlin code simplifies the codebase and development process, enabling faster iterations. This version also drops support for Java Annotation Processing (AP) and KAPT. Room 3.0 is solely a KSP (Kotlin Symbol Processing) processor, which the team says allows for better processing of Kotlin codebases without being limited by the Java language.<\/p>\n<p>&#13;<\/p>\n<p>Room 3.0 adds support for Kotlin coroutines, making its APIs coroutine-first. Coroutines is the KMP-compatible asynchronous framework and making Room be asynchronous by nature is a critical requirement for supporting web platforms.<\/p>\n<p>&#13;<\/p>\n<p>In terms of new functionality, Room 3.0 adds support for JavaScript and and WasmJS; and also adds custom DAO return types. The support for JS and WasmJS has resulted in some significant API changes. Specifically, many APIs in Room 3.0 are suspend functions since proper support for web storage is asynchronous. The SQLiteDriver APIs have also been updated to support the Web and a new web asynchronous driver is available.<\/p>\n<p>&#13;<\/p>\n<p>Room 3 Alpha is available now.\u00a0<\/p>\n<p>&#13;<\/p>\n<p>\u00a0<img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/www.newsbeep.com\/ca\/wp-content\/uploads\/2026\/04\/jetpackxon2.jpg\" alt=\"\" width=\"170\" height=\"164\"\/><\/p>\n<p>&#13;<br \/>\nMore Information&#13;<\/p>\n<p><a href=\"https:\/\/developer.android.com\/jetpack\/compose\" target=\"_self\" rel=\"nofollow noopener\">Jetpack Compose Website<\/a><\/p>\n<p>&#13;<\/p>\n<p><a href=\"https:\/\/developer.android.com\/jetpack\/androidx\/releases\/room3#3.0.0-alpha01\" rel=\"nofollow noopener\" target=\"_blank\">Room 3.0 Release Notes<\/a>.<\/p>\n<p>&#13;<br \/>\nRelated Articles&#13;<\/p>\n<p><a href=\"https:\/\/www.i-programmer.info\/news\/193-android\/13985-android-jetpack-compose-is-welcome-but-what-about-the-churn.html\" target=\"_self\" rel=\"nofollow noopener\">Android Jetpack Compose Is Welcome, But What About The Churn?<\/a><\/p>\n<p>&#13;<\/p>\n<p><a href=\"https:\/\/www.i-programmer.info\/news\/193-android\/14387-google-jetpack-compose-ui-toolkit-now-in-beta.html\" target=\"_self\" rel=\"nofollow noopener\">Google Jetpack Compose UI Toolkit Now In Beta<\/a><\/p>\n<p>&#13;<\/p>\n<p>To be informed about new articles on I\u00a0Programmer,\u00a0sign up for our\u00a0<a href=\"https:\/\/www.i-programmer.info\/edit-profile.html?layout=form\" rel=\"nofollow noopener\" target=\"_blank\">weekly newsletter<\/a>,<a href=\"https:\/\/s3.amazonaws.com\/com.alexa.toolbar\/atbp\/hfdfGO\/download\/index.htm\" target=\"_blank\" rel=\"nofollow noopener\">\u00a0<\/a>subscribe to the\u00a0<a href=\"https:\/\/www.i-programmer.info\/component\/ninjarsssyndicator\/?feed_id=3&amp;format=raw\" target=\"_blank\" rel=\"nofollow noopener\">RSS\u00a0feed<\/a>\u00a0and\u00a0follow us on <a href=\"http:\/\/www.facebook.com\/pages\/iProgrammer\/127140977307932#%21\/pages\/iProgrammer\/127140977307932?v=wall\" target=\"_blank\" rel=\"nofollow noopener\">Facebook<\/a> or\u00a0<a href=\"http:\/\/www.linkedin.com\/company\/i-programmer\" target=\"_blank\" rel=\"nofollow noopener\">Linkedin<\/a>.<\/p>\n<p>&#13;<\/p>\n<p><a href=\"https:\/\/www.i-programmer.info\/component\/banners\/click\/45.html\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/www.newsbeep.com\/ca\/wp-content\/uploads\/2025\/09\/newsbig.jpg\" alt=\"Banner\"\/><\/a><\/p>\n<p>&#13;<br \/>\n&#13;<\/p>\n<p><a href=\"https:\/\/amzn.to\/4c0XRyc\" rel=\"nofollow noopener\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.newsbeep.com\/ca\/wp-content\/uploads\/2026\/04\/jquery4.jpg\" alt=\"uno q book\" width=\"400\" height=\"350\"\/><\/a><\/p>\n<p>&#13;<br \/>\n&#13;<\/p>\n<p>\u00a0<\/p>\n<p>&#13;<br \/>\nComments&#13;<\/p>\n<p>Make a Comment or View Existing Comments Using Disqus <\/p>\n<p>&#13;<\/p>\n<p>or email your comment to: <a href=\"https:\/\/www.i-programmer.info\/news\/193-android\/18829-google-releases-alpha-of-room-30.html\/mailto:comments@i-programmer.info\" rel=\"nofollow noopener\" target=\"_blank\">comments@i-programmer.info<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"Google has released the first alpha of Room 3.0. Room is part of the library of Jetpack Architecture&hellip;\n","protected":false},"author":2,"featured_media":633659,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[58860,49,48,90218,90219,90224,90213,90221,44,90216,90225,90210,90220,90212,90211,35289,90215,90214,90223,61,90222,90217],"class_list":["post-633658","post","type-post","status-publish","format-standard","has-post-thumbnail","category-technology","tag-c","tag-ca","tag-canada","tag-computer-book-reviews","tag-computer-history","tag-developer-book-reviews","tag-developer-news","tag-joomla","tag-news","tag-php","tag-programmer-news","tag-programming-book-reviews","tag-programming-history","tag-programming-news","tag-programming-tutorials","tag-python","tag-ruby","tag-software-programmer-news","tag-spreadsheets","tag-technology","tag-theory","tag-visual-basic"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts\/633658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/comments?post=633658"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts\/633658\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/media\/633659"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/media?parent=633658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/categories?post=633658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/tags?post=633658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}