From 5be655585de3f416b940372c32982abc0265c30b Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2025 08:27:46 -0600 Subject: [PATCH] docs: document deletion of `databases` directory (#45450) Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Niklas Wenzel --- docs/breaking-changes.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/breaking-changes.md b/docs/breaking-changes.md index efd0b1dc80d3..0af01e20027a 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