Skip to content

Conversation

@paula-stacho
Copy link
Collaborator

Description

Created by the update-electron script.
Note: Upgrades major version. There are two breaking changes in https://github.com/electron/electron/releases/tag/v33.0.0

  • Deprecated usage of textured BrowserWindow type option on macOS. -- don't see this being used
  • Custom protocol URLs that use Windows file paths will no longer work correctly with the deprecated protocol.registerFileProtocol and the baseURLForDataURL property on BrowserWindow.loadURL, WebContents.loadURL, and .loadURL. -- again, I don't see any custom protocols (we only use window.loadUrl for rendererPath and use BrowserWindow.loadURL for electron proxy)

Checklist

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Open Questions

Dependents

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

@gribnoysup
Copy link
Collaborator

gribnoysup commented Feb 28, 2025

This breaks Compass for macos 10.15 that we currently claim support for electron/electron#44270. We can't do this without a really good reason at the moment as autoupdate will download a version of Compass that will be broken for the users still on that version

@gribnoysup
Copy link
Collaborator

Last time when snyk suggested major update, some of the fixes were backported actually, just their db was not up to date (I linked examples here), I'd suggest to manually check if backports are not planned at all (32 is still a supported version after all) to avoid a breaking change at the moment. Unfortunately the project to deal with dropping support for 10.15 is only starting next week, so if we can avoid this breaking change, it would be better

@paula-stacho
Copy link
Collaborator Author

Last time when snyk suggested major update, some of the fixes were backported actually, just their db was not up to date (I linked examples here), I'd suggest to manually check if backports are not planned at all (32 is still a supported version after all) to avoid a breaking change at the moment. Unfortunately the project to deal with dropping support for 10.15 is only starting next week, so if we can avoid this breaking change, it would be better

I see 👀 . Checked again today, there is a fresh 32 with the backports https://github.com/electron/electron/releases/tag/v32.3.2. Will reopen the other PR and add exceptions for Snyk.

@paula-stacho paula-stacho deleted the COMPASS-9057-vuln branch March 27, 2025 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants