Skip to content

Bump electron from 11.1.0 to 36.0.1 in /electron #5102

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

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 1, 2025

Bumps electron from 11.1.0 to 36.0.1.

Release notes

Sourced from electron's releases.

electron v36.0.1

Release Notes for v36.0.1

Fixes

  • Fixed the visibleOnAllWorkspaces property on Linux. #46850 (Also in 35)
  • Fixed the issue where maximizing and restoring the window does not respect the corner radius settings, and the corner radius is incorrect in fullscreen mode. #46848 (Also in 35)

electron v36.0.0

Release Notes for v36.0.0

Stack Upgrades

Breaking Changes

  • Deprecated NativeImage.getBitmap() and fixed incorrect documentation. #46736
  • Fixed an issue where badly formatted switches could cause crashes in app.commandLine functions. #46446 (Also in 35)
  • Moved Session extension APIs to Session.extensions. #45597
  • The deprecated systemPreferences.isAeroGlassEnabled() API has been removed. #45563
  • Updated Chromium to 135.0.7015.0 refactor: remove status, isDefault properties from PrinterInfo in 5b65cc7 #45500
  • Updated Chromium to 135.0.7047.0 docs: call out breaking change for GTK 4 default on GNOME in 02353aa #45859
  • Updated Chromium to 136.0.7054.0. Removed ses.clearDataStorage({ quota: 'syncable' }) in c180524 #45923

Features

Additions

  • Added BrowserWindow.isSnapped() to indicate whether a given window has been arranged via Snap. #46226
  • Added ServiceWorkerMain class to interact with service workers in the main process.
    • Added fromVersionID on ServiceWorkers to get an instance of ServiceWorkerMain.
    • Added running-status-changed event on ServiceWorkers to indicate when a service worker's running status has changed.
    • Added startWorkerForScope on ServiceWorkers to start a worker that may have been previously stopped. #45232 (Also in 35)
  • Added WebContents.focusedFrame to get the focused frame.
    • Fixed WebContents.opener to specify potential null type. #45667
  • Added contextBridge.executeInMainWorld to safely execute code across world boundaries. #45229 (Also in 35)
  • Added ffmpeg.dll to delay load configuration. #46173 (Also in 34, 35)
  • Added nativeTheme.shouldUseDarkColorsForSystemIntegratedUI to distinguish system and app theme. #46598 (Also in 35)
  • Added view.getVisible(). #44999 (Also in 34, 35)
  • Added webContents.navigationHistory.restore(index, entries) API that allows restoration of navigation history. #45433 (Also in 34, 35)
  • Added excludeUrls to webRequest filter and deprecated the use of empty arrays in urls property. #44692 (Also in 35)
  • Added permission support for document.executeCommand("paste"). #45377 (Also in 33, 34, 35)
  • Added support for Autofill, Writing Tools and Services macOS level menu items in context menus via the new frame option in menu.popup. #46350
  • Added support for roundedCorners BrowserWindow constructor option on Windows. #45594 (Also in 34, 35)
  • Added support for system-context-menu on Linux. #46399
  • Added support for service worker preload scripts. #44411 (Also in 35)

... (truncated)

Changelog

Sourced from electron's changelog.

Breaking Changes

Breaking changes will be documented here, and deprecation warnings added to JS code where possible, at least one major version before the change is made.

Types of Breaking Changes

This document uses the following convention to categorize breaking changes:

  • API Changed: An API was changed in such a way that code that has not been updated is guaranteed to throw an exception.
  • Behavior Changed: The behavior of Electron has changed, but not in such a way that an exception will necessarily be thrown.
  • Default Changed: Code depending on the old default may break, not necessarily throwing an exception. The old behavior can be restored by explicitly specifying the value.
  • Deprecated: An API was marked as deprecated. The API will continue to function, but will emit a deprecation warning, and will be removed in a future release.
  • Removed: An API or feature was removed, and is no longer supported by Electron.

Planned Breaking API Changes (37.0)

Utility Process unhandled rejection behavior change

Utility Processes will now warn with an error message when an unhandled rejection occurs instead of crashing the process.

To restore the previous behavior, you can use:

process.on('unhandledRejection', () => {
  process.exit(1)
})

Behavior Changed: WebUSB and WebSerial Blocklist Support

WebUSB and Web Serial now support the WebUSB Blocklist and Web Serial Blocklist used by Chromium and outlined in their respective specifications.

To disable these, users can pass disable-usb-blocklist and disable-serial-blocklist as command line flags.

Removed: null value for session property in ProtocolResponse

This deprecated feature has been removed.

Previously, setting the ProtocolResponse.session property to null would create a random independent session. This is no longer supported.

Using single-purpose sessions here is discouraged due to overhead costs; however, old code that needs to preserve this behavior can emulate it by creating a random session with session.fromPartition(some_random_string) and then using it in ProtocolResponse.session.

Behavior Changed: BrowserWindow.IsVisibleOnAllWorkspaces() on Linux

BrowserWindow.IsVisibleOnAllWorkspaces() will now return false on Linux if the

... (truncated)

Commits
  • 9838046 fix: Linux visibleOnAllWorkspaces property (#46850)
  • 069ca16 test: refactor deprecate-helpers.ts to warning-helpers.ts (#46837)
  • dcd8224 fix: fullscreen fillet / recovery is incorrect (#46848)
  • 65081e8 fix: run visibleOnAllWorkspaces tests on the right platforms (#46834)
  • 6bb07bf fix: build error with enable_electron_extensions=false (#46842)
  • 698bff0 fix: enable autoHideMenuBar tests on Linux and Windows (#46830)
  • 34adb97 refactor: use upstream content protection logic on macOS (#46813)
  • 5c2f70c fix: backgroundMaterial on initial activate (36-x-y) (#46792)
  • 3981c17 refactor: remove public method BrowserWindow::GetWeakPtr() (#46796)
  • 61d6872 refactor: use absl::InlinedVector in ToV8(ElectronPermissionManager) (#46...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [electron](https://github.com/electron/electron) from 11.1.0 to 36.0.1.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v11.1.0...v36.0.1)

---
updated-dependencies:
- dependency-name: electron
  dependency-version: 36.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 1, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github May 2, 2025

Superseded by #5104.

@dependabot dependabot bot closed this May 2, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/electron/electron-36.0.1 branch May 2, 2025 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants