Bump Electron to 43.0.0#57422
Open
huntie wants to merge 1 commit into
Open
Conversation
Summary: 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 ``` Differential Revision: D105587351
|
@huntie has exported this pull request. If you are a Meta employee, you can view the originating Diff in D105587351. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
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
clipboardAPI access from renderer processes (usecontextBridgefrom a preload script)tar.xz(dsym.zip→dsym.tar.xz)Electron 41.0.0
WebContents(now render in same WebContents via OOPIFs — use frame tree to detect)'changed'event has new causes:inserted,inserted-no-change-overwrite,inserted-no-value-change-overwriteshowHiddenFilesin dialogs on Linux (GTK removed the API)Electron 42.0.0
NSUserNotificationtoUNNotificationAPI (requires code-signed app, else emitsfailedevent)1.0device scale factor (usewebPreferences.offscreen.deviceScaleFactorto override)electronnpm package no longer downloads viapostinstall(binary fetched on firstbinrun;ELECTRON_SKIP_BINARY_DOWNLOADremoved, useELECTRON_INSTALL_PLATFORM/ELECTRON_INSTALL_ARCH)quotasobject fromSession.clearStorageData(options)Electron 43.0.0-alpha.3
Command run:
Differential Revision: D105587351