Skip to content

Bump Electron and electron-builder#45

Open
Nedlinin wants to merge 1 commit intopiec:masterfrom
Nedlinin:deps/bump-packages
Open

Bump Electron and electron-builder#45
Nedlinin wants to merge 1 commit intopiec:masterfrom
Nedlinin:deps/bump-packages

Conversation

@Nedlinin
Copy link

@Nedlinin Nedlinin commented Feb 6, 2026

This brings electron and electron-builder up to their newest versions. I found the app a tad bit snappier and no noticeable regressions in a few days of usage.

Note: Might also be worth changing the defaultUserAgent string to show the actual Chromium version being used. Additionally, Electron swapped to Wayland as the default window manager in 38.

Something like:

const defaultUserAgent =
  "Mozilla/5.0 (Wayland; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.96 Safari/537.36";

Edit: A note, only tested this on a single CachyOS/Arch installation using pacman installation.

Copilot AI review requested due to automatic review settings February 6, 2026 15:52
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the app’s Electron runtime and build tooling to newer releases, along with associated lockfile refresh, to keep the desktop client current and improve performance/compatibility.

Changes:

  • Bump electron from ^37.4.0 to ^40.1.0.
  • Bump electron-builder from ^26.0.12 to ^26.7.0 (plus resulting dependency graph updates in package-lock.json).
  • Update prettier to ^3.8.1 and lodash-es to ^4.17.23.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Updates top-level dependency versions for Electron, electron-builder, prettier, and lodash-es.
package-lock.json Regenerates the lockfile to reflect updated dependency graph (notably electron-builder/tooling deps).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +24 to +26
"electron": "^40.1.0",
"electron-builder": "^26.7.0",
"prettier": "^3.8.1"
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

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

The Electron/electron-builder bump pulls in @electron/rebuild@4.x, which (per package-lock) declares an engines requirement of Node ">=22.12.0". Since package.json doesn’t declare a Node version/engines constraint, contributors/build environments running <22.12 may hit install/postinstall failures or engine-strict errors. Consider adding a package.json "engines.node" (and aligning any build docs/CI) to the minimum Node version required by the updated toolchain.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant