Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 4, 2025

Bumps electron from 31.2.0 to 35.0.0.

Release notes

Sourced from electron's releases.

electron v35.0.0

Release Notes for v35.0.0

Stack Upgrades

Breaking Changes

  • Added excludeUrls to webRequest filter and deprecated the use of empty arrays in urls property. #45678
  • Added fromVersionID on ServiceWorkers to get an instance of ServiceWorkerMain. #45341
  • Deprecated getPreloads and setPreloads on Session. #45329
  • Fixed file chooser dialogs for flaptak applications. #44426 (Also in 34)
  • Moved 'console-message' arguments into event object. #43617
  • The systemPreferences.isAeroGlassEnabled() API has been deprecated and will be removed without replacement. #45554

Features

Additions

  • Added APIs to manage shared dictionaries for compression efficiency using Brotli or ZStandard. The new APIs are session.getSharedDictionaryUsageInfo(), session.getSharedDictionaryInfo(options), session.clearSharedDictionaryCache(), and session.clearSharedDictionaryCacheForIsolationKey(options). #44750 (Also in 33, 34)
  • Added NSPrefersDisplaySafeAreaCompatibilityMode = false to Info.plist to remove "Scale to fit below built-in camera." from app options. #45357 (Also in 33, 34)
  • Added ServiceWorkerMain class to interact with service workers in the main process. #45341
    • 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.
  • Added WebFrameMain.collectJavaScriptCallStack() for accessing the JavaScript call stack of unresponsive renderers. #44204 (Also in 33, 34)
  • Added contextBridge.executeInMainWorld to safely execute code across world boundaries. #45330
  • Added frame to 'console-message' event. #43617
  • Added query-session-end event and improved session-end events on Windows. #44598
  • Added view.getVisible(). #45409 (Also in 34)
  • Added webContents.navigationHistory.restore(index, entries) API that allows restoration of navigation history. #45583 (Also in 34)
  • Added optional animation parameter to BrowserWindow.setVibrancy. #35987
  • Added permission support for document.executeCommand("paste"). #45471 (Also in 33, 34)
  • Added support for roundedCorners BrowserWindow constructor option on Windows. #45740 (Also in 34)
  • Added support for service worker preload scripts. #45408
  • Support Portal's globalShortcuts. Electron must be run with --enable-features=GlobalShortcutsPortal in order to have the feature working. #45297

Improvements

  • Performance improvements when processing microtasks. #44439 (Also in 32, 33, 34)
  • Redesigned preload script APIs by introducing registerPreloadScript, unregisterPreloadScript, getPreloadScripts on Session.#45329

Removed/Deprecated

  • Removed 240 FPS limit when use shared texture OSR. #45781

Fixes

  • Fixed webContents.print() after switch to OOP printing on macOS and Linux. #45285
  • Fixed an issue where the renderer process crashed when loading about:blank in subframes. #45758

... (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 (36.0)

Removed:isDefault and status properties on PrinterInfo

These properties have been removed from the PrinterInfo Object because they have been removed from upstream Chromium.

Deprecated: Extension methods and events on session

session.loadExtension, session.removeExtension, session.getExtension, session.getAllExtensions, 'extension-loaded' event, 'extension-unloaded' event, and 'extension-ready' events have all moved to the new session.extensions class.

Removed: systemPreferences.isAeroGlassEnabled()

The systemPreferences.isAeroGlassEnabled() function has been removed without replacement. It has been always returning true since Electron 23, which only supports Windows 10+, where DWM composition can no longer be disabled.

https://learn.microsoft.com/en-us/windows/win32/dwm/composition-ovw#disabling-dwm-composition-windows7-and-earlier

Planned Breaking API Changes (35.0)

Behavior Changed: Dialog API's defaultPath option on Linux

On Linux, the required portal version for file dialogs has been reverted to 3 from 4. Using the defaultPath option of the Dialog API is not supported when using portal file chooser dialogs unless the portal backend is version 4 or higher. The --xdg-portal-required-version command-line switch can be used to force a required version for your application. See #44426 for more details.

Deprecated: getFromVersionID on session.serviceWorkers

The session.serviceWorkers.fromVersionID(versionId) API has been deprecated

... (truncated)

Commits
  • 107b3f8 fix: rework and improve legacyMainResolve patch (#45878)
  • d98d95b docs: update timelines for E36 (#45849)
  • 5874ec7 docs: update breaking-changes.md for 35.0.0 (#45847)
  • 8505f7a chore: bump chromium to 134.0.6998.44 (35-x-y) (#45845)
  • fc28884 chore: bump chromium to 134.0.6998.35 (35-x-y) (#45835)
  • b6d6157 fix: context-menu event emitted in draggable regions (#45841)
  • 2609336 chore: remove patch that's already upstreamed (#45838)
  • 18007f8 feat: support global shortcuts via GlobalShortcutsPortal feature with ozone...
  • 4417f74 refactor: simplify Invoker::IsOK() (#45818)
  • 8a200e0 refactor: remove unused gin_helper::WrappableBase::GetWrapper(v8::Isolate*) (...
  • 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 31.2.0 to 35.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@v31.2.0...v35.0.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the Type ◦ Dependency Item is associated to dependency label Mar 4, 2025
@BinaryServ BinaryServ changed the title build(deps-dev): bump electron from 31.2.0 to 35.0.0 PR 143: build(deps-dev): bump electron from 31.2.0 to 35.0.0 Mar 4, 2025
@BinaryServ BinaryServ added Type ◦ Pull Request Normal pull request AC › Passed Ready to be reviewed labels Mar 4, 2025
@BinaryServ
Copy link
Collaborator


Automatic Self-Check - #143

The details of our automated scan for your pull request are listed below. If our scan detected errors, they must be corrected before this pull request will be advanced to the review stage:




About

This pull request includes the following information:

Category Value
Title build(deps-dev): bump electron from 31.2.0 to 35.0.0
Created 03.04.2025 11:46 PM UTC
ID #143
Author dependabot[bot]
Repo obsidian-gistr
Branch dependabot/npm_and_yarn/electron-35.0.0 main
Added Files 0
Modified Files 2
Renamed Files 0
Copied Files 0
Deleted Files 0



❌ Skipped Files

Tip

The following file(s) have been skipped:


  • package-lock.json
  • package.json



This check was done automatically. Do NOT open a new PR for re-validation. Instead, to trigger this check again, make a change to your PR and wait a few minutes, or close and re-open it.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 11, 2025

Superseded by #145.

@dependabot dependabot bot closed this Mar 11, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/electron-35.0.0 branch March 11, 2025 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AC › Passed Ready to be reviewed Type ◦ Dependency Item is associated to dependency Type ◦ Pull Request Normal pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants