Skip to content

Bump electron from 37.4.0 to 38.1.0 - #8025

Merged
FreeTubeBot merged 2 commits into
developmentfrom
dependabot/npm_and_yarn/electron-38.1.0
Sep 20, 2025
Merged

FreeTubeBot merged 2 commits into
developmentfrom
dependabot/npm_and_yarn/electron-38.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 11, 2025

Copy link
Copy Markdown
Contributor

Bumps electron from 37.4.0 to 38.1.0.

Release notes

Sourced from electron's releases.

electron v38.1.0

Release Notes for v38.1.0

Other Changes

  • Updated Chromium to 140.0.7339.80. #48249
  • Updated Node.js to v22.19.0. #48221

electron v38.0.0

Release Notes for v38.0.0

Stack Upgrades

Breaking Changes

  • For breaking changes inherited via Chromium, see blog post

Features

Additions

  • Added before-mouse-event to allow intercepting and preventing mouse events in WebContents. #47280 (Also in 36, 37)
  • Added fileBacked and purgeable fields to process.getSystemMemoryInfo() for macOS. #48146 (Also in 37)
  • Added innerWidth and innerHeight options for window.open. #46749 (Also in 35, 36, 37)
  • Added tray.{get|set}AutosaveName to enable macOS tray icons to maintain position across launches. #48077 (Also in 36, 37)
  • Added webFrameMain.fromFrameToken(processId, frameToken) to get a WebFrameMain instance from its frame token. #47942
  • Added sublabel functionality for menus on macOS >= 14.4. #46887 (Also in 35, 36, 37)
  • Added support for app.getRecentDocuments() on Windows and macOS. #47924 (Also in 36, 37)
  • Added support for --no-experimental-global-navigator flag. #47370 (Also in 35, 36, 37)
  • Added support for HIDDevice.collections. #47391 (Also in 36, 37)
  • Added support for screen.dipToScreenPoint(point) and screen.screenToDipPoint(point) on Linux X11. #46211 (Also in 35, 36, 37)
  • Added support for customizing system accent color and highlighting of active window border. #47285 (Also in 35, 36, 37)
  • Added support for menu item role palette and header on macOS. #45538 (Also in 37)
  • Added support for node option --experimental-network-inspection. #46690 (Also in 35, 36, 37)
  • Added the priority and priorityIncremental options to net.request(). #42628 (Also in 36, 37)
  • Adds the ability to change window accent color on Windows after initial window initialization via {get|set}AccentColor. #47939 (Also in 36, 37)

Improvements

  • Exposed win.isContentProtected() to allow developers to check window protection status. #47242 (Also in 36, 37)
  • Internally switched to using DIR_ASSETS instead of DIR_MODULE/DIR_EXE to locate assets and resources, and added "assets" as a key that can be queried via app.getPath. #47950 (Also in 37)

Fixes

  • Fixed an issue where dialog.showMessageDialog showed a window incorrectly centered to monitor instead of parent window when passed. #48215

... (truncated)

Commits
  • 8cd29d2 docs: update release timeline for unsupported v35 (#48286)
  • 35639ad chore: bump node to v22.19.0 (38-x-y) (#48221)
  • 2d39788 chore: bump chromium to 140.0.7339.80 (38-x-y) (#48249)
  • 7943386 fix: BrowserWindow add the same BrowserView (#48201)
  • a733514 fix: file-only picker incorrectly allowing some directories (#48231)
  • d590787 fix: showMessageDialog should center dialog to parent (#48215)
  • 0098160 fix: ensure dragging works again after emitting contextmenu event (#48224)
  • 207f64f chore: bump chromium to 140.0.7339.41 (38-x-y) (#48190)
  • 441cff7 feat: add fileBacked and purgeable fields to `process.getSystemMemoryInfo...
  • 9eede35 build: refactor Linux binary stripping to align with upstream (#48197)
  • 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)

@dependabot dependabot Bot added PR: dependencies Pull requests that update a dependency file PR: waiting for review For PRs that are complete, tested, and ready for review labels Sep 11, 2025
@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) September 11, 2025 22:40
@absidue

absidue commented Sep 11, 2025

Copy link
Copy Markdown
Member

https://www.electronjs.org/docs/latest/breaking-changes#planned-breaking-api-changes-380

The only bits relevant to us are:

Removed: ELECTRON_OZONE_PLATFORM_HINT environment variable
The default value of the --ozone-plaftform flag changed to auto.

So it will use wayland automatically when available and otherwise fallback to X11. At the moment it will always use X11 unless the user manually sets it to auto. As the change to auto was done it Chromium that should mean that wayland support is stable.

Removed: macOS 11 support
macOS 11 (Big Sur) is no longer supported by Chromium.

This should be noted in the FreeTube changelog and we should update the supported OS versions in the README.

@PikachuEXE

Copy link
Copy Markdown
Member

Blog post up
https://www.electronjs.org/blog/electron-38-0

Remaining breaking changes:

  • Removed: plugin-crashed event
  • Deprecated: webFrame.routingId property
  • Deprecated: webFrame.findFrameByRoutingId(routingId)

Seems unrelated to FT

@ghost

ghost commented Sep 14, 2025

Copy link
Copy Markdown

We should probably re-open flathub/io.freetubeapp.FreeTube#105 (dont merge it until electron 38 makes it to a released version) and get them to remove this line from their PR "--env=ELECTRON_OZONE_PLATFORM_HINT=auto"

@efb4f5ff-1298-471a-8973-3d47447115dc

Copy link
Copy Markdown
Member

We should probably re-open flathub/io.freetubeapp.FreeTube#105 (dont merge it until electron 38 makes it to a released version) and get them to remove this line from their PR "--env=ELECTRON_OZONE_PLATFORM_HINT=auto"

Sure i'll ask them to do the required changes

@efb4f5ff-1298-471a-8973-3d47447115dc

efb4f5ff-1298-471a-8973-3d47447115dc commented Sep 15, 2025 •

Copy link
Copy Markdown
Member

@absidue

absidue commented Sep 15, 2025

Copy link
Copy Markdown
Member

We can remove the extra args stuff but we still need the TMPDIR and zypak-wrapper stuff (Electron won't run in the flatpak environment without zypak-wrapper).

@efb4f5ff-1298-471a-8973-3d47447115dc

Copy link
Copy Markdown
Member

@absidue

absidue commented Sep 16, 2025

Copy link
Copy Markdown
Member

Yes and removing the EXTRA_FLAGS part on the last line.

@efb4f5ff-1298-471a-8973-3d47447115dc

Copy link
Copy Markdown
Member

pushed it flathub/io.freetubeapp.FreeTube@ec240bf

@efb4f5ff-1298-471a-8973-3d47447115dc

Copy link
Copy Markdown
Member

anything else that needs to be done in order to get this merged?

@PikachuEXE PikachuEXE left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless got other breaking changes to be handled...

@FreeTubeBot
FreeTubeBot merged commit 2a3d402 into development Sep 20, 2025
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/electron-38.1.0 branch September 20, 2025 15:02
@github-actions github-actions Bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 20, 2025
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Sep 22, 2025
* development: (24 commits)
  Add proxy login support (FreeTubeApp#7996)
  Migrate the History view to the composition API (FreeTubeApp#8064)
  Fix player button hiding (FreeTubeApp#8065)
  Translated using Weblate (Norwegian Bokmål)
  Translated using Weblate (Indonesian)
  Fix playback rate reset when video ends (FreeTubeApp#7718)
  Skip Electron binary download in CI as we do not run it (FreeTubeApp#8063)
  Feat: Display player overlay controls on keyboard interaction (FreeTubeApp#7757)
  Translated using Weblate (Hungarian)
  Translated using Weblate (Czech)
  Translated using Weblate (Estonian)
  Translated using Weblate (French)
  Bump electron from 37.4.0 to 38.1.0 (FreeTubeApp#8025)
  Translated using Weblate (Dutch)
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (German)
  Translated using Weblate (Breton)
  Translated using Weblate (Italian)
  Translated using Weblate (Chinese (Simplified Han script))
  Support exporting single playlists as a list of video URLs (FreeTubeApp#8054)
  ...

# Conflicts:
#	src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants