-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump Electron to version 26.2.4 #5620
Bump Electron to version 26.2.4 #5620
Conversation
35ed59b
to
4ad5599
Compare
3d96f44
to
ecb04ce
Compare
ecb04ce
to
3606450
Compare
We won't merge this until after the 1.11 release, but I think that this PR is in a state that is ready to review. Please note that the required node version has been updated to 18.16.x and we might need to reinstall yarn depending on how you manage your node versions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mostly fine, just some details and changes to commit messages.
3606450
to
8dab896
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to run (on Windows) and can still build the MSI installer.
Specify a new minimum node version of >=18.16 Update node-version in github workflows Update node-version in cirrus workflows Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
After updating to Electron 26, it was found that dialogs would no longer auto resize properly. The additional flex container at the root of the dialog layout appeared to be causing issues allowing content to reflow in such a way that electron's `preferred-size-changed` event would not emit. Signed-off-by: Phillip Rak <[email protected]>
Older versions of electron had issues with zooming a `browserView` properly on macOS. Modifications that we previous made to allow for zooming are no longer required. Signed-off-by: Phillip Rak <[email protected]>
This resolves an error we were experiencing in the test ``` FetchError: request to http://localhost:6109/list failed, reason: connect ECONNREFUSED ::1:6109 ``` Node.js used to favor IPv4 but that changed in v17 > It's #39987 -- Node.js now returns IP addresses in the order they are returned from the name resolver/DNS. There's a --dns-result-order command line option you can set to control the behaviour -- the difference in Node.js 17 is the default changed. nodejs/node#40537 (comment) Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
8dab896
to
a2b7b34
Compare
@mook-as rebased on top of main. Let me know if your approval still stands. If so, I intend to merge as soon as is conveniently possible 🙂 |
This bumps electron to 26.2.4 and node to version 18.16.x (the supported version of node for the 26.x release of electron 1)
In order to keep this change primarily focused on making sure that we can get Rancher Desktop running with a supported & stable version of Electron, we will need to follow up with additional PRs to complete the transition:
win-ca.ts
in Go for Electron Sandboxing Compatibility #5637registerHttpProtocol
®isterFileProtocol
are deprecated by Electron #5659closes #5619
closes #5623
Footnotes
https://www.electronjs.org/docs/latest/tutorial/electron-timelines#timeline ↩