From 1d27a27813706af17e2a0b796fc8604a2f8491da Mon Sep 17 00:00:00 2001 From: Niklas Wenzel Date: Mon, 3 Feb 2025 22:28:44 +0100 Subject: [PATCH] docs: document deletion of `databases` directory (#45412) --- docs/breaking-changes.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/breaking-changes.md b/docs/breaking-changes.md index 8e92ef21ff50..849f9d5ef3e9 100644 --- a/docs/breaking-changes.md +++ b/docs/breaking-changes.md @@ -226,6 +226,14 @@ win.webContents.navigationHistory.canGoToOffset() win.webContents.navigationHistory.goToOffset(index) ``` +### Behavior changed: Directory `databases` in `userData` will be deleted + +If you have a directory called `databases` in the directory returned by +`app.getPath('userData')`, it will be deleted when Electron 32 is first run. +The `databases` directory was used by WebSQL, which was removed in Electron 31. +Chromium now performs a cleanup that deletes this directory. See +[issue #45396](https://github.com/electron/electron/issues/45396). + ## Planned Breaking API Changes (31.0) ### Removed: `WebSQL` support