Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 29, 2025

Bumps electron from 35.2.1 to 36.0.0.

Release notes

Sourced from electron's releases.

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)
  • Redesigned preload script APIs by introducing registerPreloadScript, unregisterPreloadScript, getPreloadScripts on Session.
    • Deprecated getPreloads and setPreloads on Session. #45230 (Also in 35)
  • Removed 240 FPS limit when use shared texture OSR. #45669 (Also in 35)
  • Support Portal's globalShortcuts. Electron must be run with --enable-features=GlobalShortcutsPortal in order to have the feature working. #45171 (Also in 35)

Improvements

  • Improved ASAR integrity checks on Windows. #46537
  • Improved performance of desktopCapturer.getSources when not requesting thumbnails on macOS. #46251 (Also in 34, 35)

... (truncated)

Commits
  • 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...
  • 1a797be fix: corner smoothing with 0 radii (36-x-y backport) (#46799)
  • 66f55ea docs: call out breaking change for GTK 4 default on GNOME (#46800)
  • 108fdac fix: set XDG_CURRENT_DESKTOP env var back to original value before invoking...
  • d52670c refactor: use std::map::try_emplace() over std::map::insert() (#46794)
  • 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 35.2.1 to 36.0.0.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v35.2.1...v36.0.0)

---
updated-dependencies:
- dependency-name: electron
  dependency-version: 36.0.0
  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 Apr 29, 2025
@xuxiaowei-com-cn xuxiaowei-com-cn merged commit 7fce497 into main Apr 30, 2025
3 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/electron-36.0.0 branch April 30, 2025 00: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.

2 participants