Skip to content

Bump electron from 7.3.3 to 20.0.0#12

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/electron-20.0.0
Closed

Bump electron from 7.3.3 to 20.0.0#12
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/electron-20.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Aug 2, 2022

Bumps electron from 7.3.3 to 20.0.0.

Release notes

Sourced from electron's releases.

electron v20.0.0

Release Notes for v20.0.0

Stack Upgrades

Breaking Changes

  • Removed the skip-taskbar feature on Linux. #35156
  • Renderers are now sandboxed by default unless nodeIntegration: true or sandbox: false is specified. #35125
  • Added safeguards when building native modules with nan. Use node-gyp >=8.4.0 and electron-rebuild >=3.2.9 for when rebuilding native modules. #35160

Features

Additions

  • Added a warning for building native modules with node-gyp and electron-rebuild, asking users to upgrade to >=8.4.0 for node-gyp and >=3.2.8 for electron-rebuild if using Electron 20 or higher. #35160
  • Added app.isHidden() to check if the app is hidden (e.g. with Command-H) on macOS. #32155
  • Added browserData to app.setPath/getPath. #33554
  • Added immersive dark mode on Windows. #34549
  • Added support for HIDDevice.forget(). #34210
  • Added support for panel-like behavior. Window can float over full-screened apps. #34665
  • Enabled systemPreferences.subscribe{Local|Workspace}Notification to take a null value for the event parameter. #33641 (Also in 18, 19)
  • Fixed an issue where the PDF Viewer would fail if a user attempted to reload. #33560 (Also in 18, 19)

Fixes

  • Fixed 20.0.0-beta.8 X11 crash regression. #35092
  • Fixed _dyld_missing_symbol_abort crash on macOS when using c++ native modules. #34944
  • Fixed serial-port-added and serial-port-removed events not firing. #35047
  • Fixed a potential printing hang. #34968
  • Fixed an issue where invalid print job settings would correctly call back Invalid print settings as the failure reason, but would then not terminate the print job, leading to an eventual crash on exit. #35141
  • Fixed an issue with fullscreen transitions when HTML fullscreen is requested. #34468
  • Fixed child about:blank windows from inheriting their parents' preload scripts when sandbox: false and nodeIntegrationInSubFrames: true. #34585
  • Fixed initialization race when registering partition allocator on macOS. #33832
  • Fixed native module compilation issues on arm. #35137
  • Fixed spontaneous crashing in native modules that depended on nan. #34851
  • Updated Windows Control Overlay buttons to look and feel more native on Windows 11. #34888

Also in earlier versions....

  • Added support for --ozone-platform-hint flag on Linux. #35014 (Also in 19)
  • Apply senderFrame details to ipcMain port event. #33756 (Also in 16, 17, 18, 19)
  • Ensures that requestMediaKeySystemAccess eventually resolves / rejects. #34891 (Also in 19)
  • Fixed webContents.getUserAgent() incorrectly returning an empty string unless previously set. #35131 (Also in 18, 19)
  • Fixed a Windows Control Overlay issue where a window taken directly from minimized to maximized state could have incorrect hover state. #35074 (Also in 19)
  • Fixed a crash in safeStorage on Linux. #33913 (Also in 15, 16, 17, 18, 19)

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

Behavior Changed: V8 Memory Cage enabled

The V8 memory cage has been enabled, which has implications for native modules which wrap non-V8 memory with ArrayBuffer or Buffer. See the blog post about the V8 memory cage for more details.

API Changed: webContents.printToPDF()

webContents.printToPDF() has been modified to conform to Page.printToPDF in the Chrome DevTools Protocol. This has been changes in order to address changes upstream that made our previous implementation untenable and rife with bugs.

Arguments Changed

  • pageRanges

Arguments Removed

  • printSelectionOnly
  • marginsType
  • headerFooter
  • scaleFactor

Arguments Added

  • headerTemplate
  • footerTemplate
  • displayHeaderFooter
  • margins
  • scale
  • preferCSSPageSize
// Main process
</tr></table> 

... (truncated)

Commits

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 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 7.3.3 to 20.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@v7.3.3...v20.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 2, 2022
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Aug 4, 2022

Superseded by #13.

@dependabot dependabot bot closed this Aug 4, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/electron-20.0.0 branch August 4, 2022 15:42
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants