Skip to content

Bump Electron to 43.0.0#57422

Open
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D105587351
Open

Bump Electron to 43.0.0#57422
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D105587351

Conversation

@huntie

@huntie huntie commented Jul 2, 2026

Copy link
Copy Markdown
Member

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.zipdsym.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

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
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 2, 2026
@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Jul 2, 2026
@meta-codesync

meta-codesync Bot commented Jul 2, 2026

Copy link
Copy Markdown

@huntie has exported this pull request. If you are a Meta employee, you can view the originating Diff in D105587351.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant