Skip to content

Commit 7d7bcbe

Browse files
huntiemeta-codesync[bot]
authored andcommitted
Bump Electron to 43.0.0 (#57422)
Summary: Pull Request resolved: #57422 Upgrade from Electron 39.0.0 → 43.0.0. Changelog: [Internal] **Breaking changes from Electron 39.0.0 → 43.0.0:** **Electron 40.0.0** - Deprecated `clipboard` API access from renderer processes (use `contextBridge` from a preload script) - macOS dSYM debug symbols now compressed with `tar.xz` (`dsym.zip` → `dsym.tar.xz`) **Electron 41.0.0** - PDFs no longer create a separate `WebContents` (now render in same WebContents via OOPIFs — use frame tree to detect) - Cookie `'changed'` event has new causes: `inserted`, `inserted-no-change-overwrite`, `inserted-no-value-change-overwrite` - Deprecated `showHiddenFiles` in dialogs on Linux (GTK removed the API) **Electron 42.0.0** - macOS notifications migrated from `NSUserNotification` to `UNNotification` API (requires code-signed app, else emits `failed` event) - Offscreen rendering defaults to `1.0` device scale factor (use `webPreferences.offscreen.deviceScaleFactor` to override) - `electron` npm package no longer downloads via `postinstall` (binary fetched on first `bin` run; `ELECTRON_SKIP_BINARY_DOWNLOAD` removed, use `ELECTRON_INSTALL_PLATFORM` / `ELECTRON_INSTALL_ARCH`) - Removed `quotas` object from `Session.clearStorageData(options)` **Electron 43.0.0-alpha.3** - File downloads will open by default in the user's Downloads folder (or Home directory if Downloads doesn't exist) Command run: ``` js1 upgrade electron --version 43.0.0-alpha.3 ``` Reviewed By: robhogan Differential Revision: D105587351 fbshipit-source-id: 80de51d5100dbbcd093a0aadcdd9d31591b4bb9f
1 parent 22ff925 commit 7d7bcbe

2 files changed

Lines changed: 31 additions & 252 deletions

File tree

packages/debugger-shell/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"fb-dotslash": "0.5.8"
4747
},
4848
"devDependencies": {
49-
"electron": "39.8.10",
49+
"electron": "43.0.0",
5050
"semver": "^7.1.3"
5151
},
5252
"files": [

0 commit comments

Comments
 (0)