Skip to content

Add support for Electron 42#347

Merged
GytisCepk merged 2 commits into
mainfrom
gytis/electron-42
May 7, 2026
Merged

Add support for Electron 42#347
GytisCepk merged 2 commits into
mainfrom
gytis/electron-42

Conversation

@GytisCepk

Copy link
Copy Markdown
Contributor

Breaking changes review

Breaking change Affected?
macOS notifications use UNNotification API No
OSR default device scale factor → 1.0 No
electron no longer downloads via postinstall No
Removed quotas from Session.clearStorageData No
Deprecated nativeImage.createFromNamedImage() array param No

No code changes required — only version bumps.

See Electron 42 release blog for details.

GytisCepk and others added 2 commits May 7, 2026 13:40
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@GytisCepk GytisCepk merged commit 37c7a76 into main May 7, 2026
14 checks passed
@GytisCepk GytisCepk deleted the gytis/electron-42 branch May 7, 2026 12:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Electron-related dependencies to support Electron 42 in the @itwin/electron-authorization package, including lockfile regeneration and a Beachball change entry.

Changes:

  • Bump electron devDependency to ^42.0.0 and widen peer dependency range to allow Electron 42.
  • Regenerate pnpm-lock.yaml to resolve Electron 42 and its updated transitive dependency graph.
  • Add a Beachball change file for @itwin/electron-authorization noting Electron 42 support.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
pnpm-lock.yaml Locks Electron 42 and updates transitive dependencies/engine requirements accordingly.
packages/electron/package.json Bumps Electron devDependency to 42 and expands peer range to include it.
change/@itwin-electron-authorization-40bccbdc-55e2-49e6-b3c0-009c34601712.json Adds release note entry for Electron 42 support.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pnpm-lock.yaml
Comment on lines +461 to +463
'@electron/get@5.0.0':
resolution: {integrity: sha512-pjoBpru1KdEtcExBnuHAP1cAc/5faoedw0hzJkL3o4/IJp7HNF1+fbrdxT3gMYRX2oJfvnA/WXeCTVQpYYxyJA==}
engines: {node: '>=22.12.0'}
Comment thread pnpm-lock.yaml
Comment on lines +1700 to 1703
electron@42.0.0:
resolution: {integrity: sha512-in5jnW/Ywy3Rh3FPr4MR80exPEkywKYAmDJRZ/gIKlr8VXEi3zXgiAZbf0Si7KRccHTF2y8euVMRz7M6HqTjMA==}
engines: {node: '>= 22.12.0'}
hasBin: true
Comment on lines 64 to 68
"cpx2": "^5.0.0",
"dotenv": "~16.0.3",
"electron": "^41.0.0",
"electron": "^42.0.0",
"eslint": "^9.11.1",
"mocha": "^11.7.5",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants