About WebSQL removal

186 views
Skip to first unread message

Asier Lostalé

unread,
Dec 14, 2022, 10:45:37 AM12/14/22
to blink-dev
Good morning,

We know that the team has been considering the idea of removing support for WebSQL from blink for quite a while. However, it seems that apparently there is a decision to do it in 2023, according to this document:


I wanted to ask several questions about this topic:
1.- Is this fully confirmed? Will WebSQL support be fully dropped from the browser in 2023?
2.- In that case, can you share with us a more specific timeline for this? Will it most probably be first half, or more likely second half of the year? In any case, will you provide at least a 6 months warning or similar once the final date/Chrome version has been decided?
3.- Finally, regarding the replacement that this document mentions, based on the SQLite implementation in WebAssembly, is it possible to find out more details about this? Will it provide WebSQL API-level compatibility? Or will you delegate on some external library to provide this API bridge? Is it possible to test it already, or will it be possible to do so in the near future?

Thanks a lot for your answers on this topic. We have a couple of applications that have been migrated to IndexedDB, but many of our customers are still using older versions that use WebSQL, and unfortunately this change will impact them, so if you can provide more light both on the dates expected for these changes, and the SQLite implementation, we would really appreciate it.

Kind regards,

Asier

Thomas Steiner

unread,
Dec 14, 2022, 5:15:03 PM12/14/22
to Asier Lostalé, blink-dev
Hi Asier,

Please see our "living" deprecation blog post at https://developer.chrome.com/blog/deprecating-web-sql/. The deprecations steps so far:
  • [✅ Done.] Web SQL was deprecated and removed for third-party contexts in Chromium 97 (Tue, Jan 4, 2022).
    [✅ Done.] Web SQL access in insecure contexts was deprecated as of Chromium 105 (Tue, Aug 30, 2022) at which time a warning message was shown in the Chrome DevTools Issue panel.
    [📍 We are here.] Web SQL access in insecure contexts is no longer available as of Chromium 110 (Tue, Feb 7, 2023). An enterprise policy to keep using the feature is available from Chromium 110 (Tue, Feb 7, 2023) to Chromium 111 Tue, Mar 7, 2023.
  • [🔮 In the future.] The final step will be to remove Web SQL completely in all contexts, but no date has been set for this step yet.

The replacement is ready, and I'm working on documenting it. The article is currently still in review and will probably still change significantly, but I send you a staging link in private.

Cheers,
Tom
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/4f3c3934-9cfc-477c-9572-4b4cf4200c4dn%40chromium.org.


--
Thomas Steiner, PhD—Developer Relations Engineer (https://blog.tomayac.comhttps://twitter.com/tomayac)

Google Germany GmbH, ABC-Str. 19, 20354 Hamburg, Germany
Geschäftsführer: Paul Manicle, Liana Sebastian
Registergericht und -nummer: Hamburg, HRB 86891

----- BEGIN PGP SIGNATURE -----
Version: GnuPG v2.3.4 (GNU/Linux)

iFy0uwAntT0bE3xtRa5AfeCheCkthAtTh3reSabiGbl0ck0fjumBl3DCharaCTersAttH3b0ttom.hTtPs://xKcd.cOm/1181/
----- END PGP SIGNATURE -----
Reply all
Reply to author
Forward
0 new messages