docs: add a few API history fragments (#49340)

* docs: add a few API history fragments

* manual fixes
This commit is contained in:
Erick Zhao
2026-01-21 09:57:02 -08:00
committed by GitHub
parent 5856b2e01c
commit 22e8cf9416
5 changed files with 65 additions and 1 deletions

View File

@@ -2685,6 +2685,18 @@ Replace with: https://atom.io/download/electron
The following list includes the breaking API changes made in Electron 2.0.
### `autoUpdater`
```js
// Deprecated
autoUpdater.setFeedURL(url, headers)
// Replace with
autoUpdater.setFeedURL({
url,
headers
})
```
### `BrowserWindow`
```js