Add support for Electron 42#347
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
aruniverse
approved these changes
May 7, 2026
Contributor
There was a problem hiding this comment.
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
electrondevDependency to^42.0.0and widen peer dependency range to allow Electron 42. - Regenerate
pnpm-lock.yamlto resolve Electron 42 and its updated transitive dependency graph. - Add a Beachball change file for
@itwin/electron-authorizationnoting 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 on lines
+461
to
+463
| '@electron/get@5.0.0': | ||
| resolution: {integrity: sha512-pjoBpru1KdEtcExBnuHAP1cAc/5faoedw0hzJkL3o4/IJp7HNF1+fbrdxT3gMYRX2oJfvnA/WXeCTVQpYYxyJA==} | ||
| engines: {node: '>=22.12.0'} |
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", |
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.
Breaking changes review
UNNotificationAPI1.0electronno longer downloads viapostinstallquotasfromSession.clearStorageDatanativeImage.createFromNamedImage()array paramNo code changes required — only version bumps.
See Electron 42 release blog for details.