unstale

npm / electron-updater

electron-updater

What changed in electron-updater 5 to 27, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.

163 breaking9 security3 deprecations19 new APIs and options16 behavior and defaults1 tooling20 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.1 on npm

electron-updater 27201 changes

Breaking changes 159

  • Setting this environment variable now fails the build; electron-builder is instead excluded by default from copied node_modules.

    27.0.0upgrade guide

  • Allows catalog signatures to be accepted again through autoUpdater, or per release through win.allowCatalogSignature in a signed latest.yml.

    27.0.0upgrade guide

  • Missing production dependencies now fail the build by default. Set true for v26 warn-only behavior or list specific names to allow; missing optional dependencies remain allowed.

    27.0.0upgrade guide

  • The update feed written to app-update.yml now follows the update-writing targets, which can affect which feed installed applications poll.

    27.0.0upgrade guide

  • Removed as an AppImage tools override; use toolsets.appimage instead.

    27.0.0upgrade guide

  • The default --no-sandbox argument is injected only for the legacy FUSE2 runtime; explicitly set appImage.executableArgs to disable the Chromium sandbox unconditionally.

    27.0.0upgrade guide

  • The option is removed; desktop integration is handled automatically by AppImageLauncher.

    27.0.0upgrade guide

  • The appimage toolset value 1.0.2 is retired.

    27.0.0upgrade guide

  • ASAR options are consolidated under asar; asar: true remains valid but is redundant.

    27.0.0upgrade guide

  • The ordering file is now applied: listed files are packed first in file order, ahead of the default dependencies-first layout; a missing file fails the build.

    27.0.0upgrade guide

  • The former asarUnpack option moves under asar.unpack, including platform-specific options such as mac.asar.unpack.

    27.0.0upgrade guide

  • Replaces autoInstallOnAppQuit; update app code to use the renamed setting.

    27.0.0upgrade guideupgrade guide

  • Adds manual, onQuit, and onNextLaunch install modes. The default onQuit preserves prior behavior; onNextLaunch defers installation until the next launch.

    27.0.0upgrade guide

  • The property is removed without a compatibility alias and replaced by autoInstallEvent.

    27.0.0upgrade guide

  • S3 publishing no longer reads AWS_PROFILE; select a profile through awsCredentials instead.

    27.0.0upgrade guide

  • S3 publishing now requires an explicit credential source; supported values are env, profile, and sso-role-chain, with no ambient-source fallback.

    27.0.0upgrade guide

  • Overrides must return a success result object; returning null is now treated as verification failure and blocks installs on next launch.

    27.0.0upgrade guide

  • A Bitbucket token without a username is now sent as Bearer authentication; set BITBUCKET_USERNAME for credentials requiring Basic authentication.

    27.0.0upgrade guide

  • ASAR options are consolidated under this key. Former flat options move into it, and platform-level asar replaces the root asar object.

    27.0.0upgrade guide

  • When a platform defines asar, it replaces the root asar object entirely; migration merges former root values to preserve the v26 result.

    27.0.0upgrade guide

  • The hyphenated root-level option is removed and moved to mac.helperBundleId.

    27.0.0upgrade guide

  • Native-module options move under this new object; buildDependenciesFromSource, nodeGypRebuild, and npmRebuild are nested here.

    27.0.0upgrade guide

  • Replaces nativeRebuilder and accepts only "sequential" or "parallel"; native modules are always rebuilt with @electron/rebuild.

    27.0.0upgrade guide

  • This deprecated option is removed; migrate-schema converts it to the inverse nativeModules.buildDependenciesFromSource value.

    27.0.0upgrade guide

  • Removed; use CI_COMMIT_TAG to provide the release tag. A build still setting CI_BUILD_TAG fails.

    27.0.0upgrade guide

  • Removed as an FPM executable override; use toolsets.fpm instead.

    27.0.0upgrade guide

  • No longer selects alternate NSIS resources; use toolsets.nsis. The old variable only warns and has no effect.

    27.0.0upgrade guideupgrade guide

  • The custom NSIS binary option is removed and must be supplied through a unified toolsets.nsis bundle.

    27.0.0upgrade guide

  • The setting moves to installerDebugLogging on nsis or nsisWeb; portable has no equivalent.

    27.0.0upgrade guide

  • This DEBUG setting no longer has any effect; DEBUG=electron-builder logs every command that is run.

    27.0.0upgrade guide

  • Root-level directories in package.json is removed; move it under build.directories.

    27.0.0upgrade guide

  • The option is removed; use an explicit fileOptions.files glob to include files excluded by default.

    27.0.0upgrade guide

  • Defaults to true, so web-installer updates are rejected unless it is false; v27+ nsis-web installs opt in automatically.

    27.0.0upgrade guideupgrade guideupgrade guide

  • The default DMG volume filesystem changes from HFS+ to APFS. Set filesystem to HFS+ explicitly if you must support macOS versions before 10.13.

    27.0.0upgrade guide

  • Resolves with an object containing updateFile and packageFile, so app code relying on its previous result must be updated.

    27.0.0upgrade guideupgrade guide

  • Removed as a 7-Zip executable override; use toolsets.sevenZip instead.

    27.0.0upgrade guide

  • Renamed and no longer read; use ELECTRON_BUILDER_DANGEROUSLY_ALLOW_HTTP to permit non-localhost plain-HTTP mirror or download-override URLs.

    27.0.0upgrade guide

  • The Electron download cache is no longer configured with a config key; set this environment variable instead.

    27.0.0upgrade guide

  • Replaces ELECTRON_BUILDER_BINARIES_ALLOW_HTTP; set it to true to permit non-localhost plain-HTTP mirror or download-override URLs.

    27.0.0upgrade guide

  • Removed as an icon-conversion tools bundle override; use toolsets.icons instead.

    27.0.0upgrade guide

  • A built-in command automatically rewrites configuration for v27, including static and reducible programmatic configs; --dry-run previews changes.

    27.0.0upgrade guideupgrade guide

  • Removed as an NSIS compiler bundle override; use toolsets.nsis instead.

    27.0.0upgrade guide

  • Removed as an NSIS resources and plugins directory override; use toolsets.nsis instead.

    27.0.0upgrade guide

  • No longer overrides osslsigncode; use toolsets.winCodeSign. The old variable only warns and has no effect.

    27.0.0upgrade guide

  • No longer overrides rcedit; use toolsets.winCodeSign. The old variable only warns and has no effect.

    27.0.0upgrade guide

  • No longer overrides the Windows SDK or signtool kit directory; use toolsets.winCodeSign. The old variable only warns and has no effect.

    27.0.0upgrade guide

  • Removed as a Wine bundle directory override; use toolsets.wine instead.

    27.0.0upgrade guide

  • The previous production-dependency hard error is removed, but this package is not excluded by default and will ship inside the app if declared as a production dependency.

    27.0.0upgrade guide

  • The previous production-dependency hard error is removed, but this package is not excluded by default and will ship inside the app if declared as a production dependency.

    27.0.0upgrade guide

  • The configuration option is removed; projects relying on electron-compile must migrate to a modern build tool.

    27.0.0upgrade guide

  • The electronDownload configuration is migrated to electronGet, with mirror moved under mirrorOptions.

    27.0.0upgrade guideupgrade guide

  • This replaces electronDownload and is reshaped to @electron/get options.

    27.0.0upgrade guide

  • The force field is removed because @electron/get v5 has no equivalent; clear the cache or use a fresh ELECTRON_BUILDER_CACHE path to force a re-download.

    27.0.0upgrade guide

  • The default compatibility range is now >=2.16; pin a legacy-inclusive range only for legacy embedded updaters.

    27.0.0upgrade guideupgrade guide

  • The default compatibility range is now >=7, so builds write binary block maps for electron-updater 7 and later; ranges including electron-updater 6 retain gzipped JSON maps and warn.

    27.0.0upgrade guide

  • Desktop-entry field codes in executableArgs are now quoted into the launcher and reach the app literally; remove them and configure linux.desktop.entry.Exec if you relied on a field code to receive opened files.

    27.0.0upgrade guide

  • Linux targets other than flatpak now ship and launch through a generated shell script; the desktop entry points to it, with executableArgs and forceX11 injected into the launcher.

    27.0.0upgrade guide

  • Absolute or output-escaping destination paths now throw InvalidConfigurationError instead of copying files outside the packaged app.

    27.0.0upgrade guide

  • Absolute or output-escaping destination paths now throw InvalidConfigurationError instead of copying files outside the packaged app.

    27.0.0upgrade guide

  • NSIS installers now register each file association under a generated, unique ProgID derived from productName and the app GUID, rather than using the association name or extension verbatim.

    27.0.0upgrade guide

  • files, extraResources, and extraFiles are nested under fileOptions at the root and per platform.

    27.0.0upgrade guide

  • This replaces includePdb and defines the default PDB exclusion behavior, including explicit values to preserve layered configuration overrides.

    27.0.0upgrade guide

  • A list replaces defaults rather than extending them; use "default" to retain the built-in exclusions, and null or omission uses those defaults.

    27.0.0upgrade guide

  • Invalid entries, !default, and removal-only lists fail configuration validation before packing.

    27.0.0upgrade guide

  • A matching files pattern now includes .pdb files; use an exclusion pattern or add !pdb to excludedExts to keep them out.

    27.0.0upgrade guide

  • Flatpak builds are now driven natively by electron-builder instead of depending on @malept/flatpak-bundler, and require flatpak 1.12.4+ and flatpak-builder 1.2.2+.

    27.0.0upgrade guide

  • Without flatpak.finishArgs, the app gets Downloads access instead of read/write access to the whole home directory; add narrower grants or restore the needed permissions.

    27.0.0upgrade guide

  • The default base version changes from 20.08 to 26.08.

    27.0.0upgrade guide

  • Destinations must remain inside the app prefix; paths that escape it, including through symlinks, now fail the build.

    27.0.0upgrade guide

  • A directory can no longer be copied onto a symlink to a directory; the build fails instead of copying through the link.

    27.0.0upgrade guide

  • When finishArgs is unset, the default permissions grant access to Downloads instead of the whole home directory, and include notification talk-name only for the Electron base app before 23.08.

    27.0.0upgrade guide

  • The default runtime version changes from 20.08 to 26.08.

    27.0.0upgrade guide

  • Links must remain inside the app prefix; paths that escape it, including through symlinks, now fail the build.

    27.0.0upgrade guide

  • For Electron 16 to 37, useWaylandFlags now adds only --ozone-platform=wayland; from Electron 38 it adds nothing. Electron 12 to 15 and unknown versions still get both flags.

    27.0.0upgrade guide

  • For Electron 16 to 37 this option no longer adds --enable-features=UseOzonePlatform; add the flag to flatpak.executableArgs if needed.

    27.0.0upgrade guide

  • The framework option is removed; Electron is the only supported target framework.

    27.0.0upgrade guide

  • With a non-GitHub provider, suffixed channels now generate update files for their lower channels too; set this to false to retain single-file publishing.

    27.0.0upgrade guide

  • The GitHub option is removed; use tagNamePrefix to control the tag prefix.

    27.0.0upgrade guide

  • The option is replaced by fileOptions.excludedExts; PDB files are excluded by default.

    27.0.0upgrade guide

  • Per-machine NSIS updates started with elevate.exe are not automatically installed on the next launch; call this method to install them.

    27.0.0upgrade guide

  • Per-machine NSIS and NSIS-web builds now set this field in update info, so electron-updater starts updates with elevate.exe.

    27.0.0upgrade guide

  • No longer includes legacy top-level path and sha512; app code reading info.path or info.sha512 should use info.files[0].

    27.0.0upgrade guideupgrade guideupgrade guideupgrade guide

  • The Exec command now runs a generated *-launcher script, affecting custom desktop, AppArmor, and MIME tooling that hard-codes the command.

    27.0.0upgrade guide

  • Removed as a Linux-tools-mac bundle override; use toolsets.linuxToolsMac instead.

    27.0.0upgrade guide

  • Field codes in executableArgs are now literal; remove %F and %U and use linux.desktop.entry.Exec instead.

    27.0.0upgrade guide

  • The flag is removed and syncing is always on; set or omit desktopName to control the installed filename.

    27.0.0upgrade guide

  • This is the replacement location for the removed build.helper-bundle-id option.

    27.0.0upgrade guide

  • macOS signing configuration is consolidated under mac.sign, with signIgnore moving to sign.ignore.

    27.0.0upgrade guide

  • Replaces the old signIgnore option using the canonical @electron/osx-sign name.

    27.0.0upgrade guide

  • macOS signing options move under a single sign object on mac, mas, and masDev; the object is a typed pass-through to @electron/osx-sign.

    27.0.0upgrade guide

  • A custom signing function or module path can no longer coexist with sibling signing fields because sign is a single union.

    27.0.0upgrade guide

  • macOS signing configuration moves to mac.sign.

    27.0.0upgrade guide

  • Universal macOS options including mergeASARs, singleArchFiles, and x64ArchFiles are consolidated under mac.universal.

    27.0.0upgrade guide

  • The bundled default now grants only allow-jit; apps that need the other entitlements must add them in their entitlement plist files.

    27.0.0upgrade guide

  • No longer overrides mksquashfs for legacy snap builds; use toolsets.appimage. The old variable only warns and has no effect.

    27.0.0upgrade guide

  • The msi option replaces squirrelWindows.noMsi with inverse semantics.

    27.0.0upgrade guide

  • Native-module options move to nativeModules.

    27.0.0upgrade guide

  • No longer skips native rebuilds for targets whose platform differs from the host; the rebuild instead uses target prebuilt binaries and logs a warning.

    27.0.0upgrade guide

  • Controls target-format verification of .node addons after packing; mismatches fail by default, while warn logs mismatches and false skips the check.

    27.0.0upgrade guide

  • Native-module options are grouped under nativeModules, and nativeRebuilder is replaced by rebuildMode; the legacy rebuilder is removed.

    27.0.0upgrade guide

  • Packages are filtered by package.json cpu and os fields against the target architecture and platform on every build; incompatible packages are excluded.

    27.0.0upgrade guide

  • v27 requires Node.js 22.12.0 or later, so update local environments, CI, Docker images, and any declared engines range.

    27.0.0upgrade guide

  • This configuration option is removed.

    27.0.0upgrade guide

  • The option is removed and replaced by nativeModules.buildDependenciesFromSource, with inverse semantics.

    27.0.0upgrade guide

  • This configuration option is removed.

    27.0.0upgrade guide

  • The ProgID format changed, so custom NSIS scripts that hard-code the old format need updating.

    27.0.0upgrade guide

  • The installer verifies its app package, affecting workflows that use a package file from another build.

    27.0.0upgrade guide

  • This is the NSIS location for installer debug logging; enabling it requires a log-enabled custom NSIS bundle.

    27.0.0upgrade guide

  • http-parser was removed from the default pacman depends; add it explicitly if the app needs it.

    27.0.0upgrade guide

  • http-parser is removed from the default pacman depends list.

    27.0.0upgrade guide

  • Custom providers using credential headers must override this with the feed URL or null; otherwise downloads fail with ERR_UPDATER_FEED_BASE_URL_NOT_DECLARED.

    27.0.0upgrade guideupgrade guideupgrade guideupgrade guide

  • Providers with publishAutoUpdate: false are skipped when choosing the embedded feed if a later provider receives the manifest; if every provider opts out, the first is still embedded.

    27.0.0upgrade guide

  • electron-updater 7 matches publisherName entries as distinguished names; bare names never match. Entries may list only the certificate attributes to compare, and invalid entries produce a warning and an ERR_UPDATER_INVALID_SIGNATURE failure.

    27.0.0upgrade guide

  • electron-updater 7 rejects updates when app-update.yml, dev-app-update.yml, or the updateConfigPath file has no publisherName. Custom signature-verification callbacks are not called without one.

    27.0.0upgrade guide

  • electron-updater 7 rejects updates whose app-update.yml has no publisherName.

    27.0.0upgrade guide

  • Now takes an options object, requiring app code to update calls to this API.

    27.0.0upgrade guideupgrade guide

  • This replaces nativeRebuilder under nativeModules; the legacy rebuilder value is removed.

    27.0.0upgrade guide

  • For dotted S3 bucket names without a region, region lookup now occurs only when publishing; builds that do not publish leave region unset.

    27.0.0upgrade guide

  • Resource editing always runs, including when signing is disabled; there is no equivalent option to skip it.

    27.0.0upgrade guide

  • Installs with an embedded public key reject unsigned manifests with ERR_UPDATER_MANIFEST_NOT_SIGNED; switching to unsigned manifests after shipping signed ones stops those installs from updating.

    27.0.0upgrade guide

  • Removed as a signtool.exe path override; configure signing through win.sign and toolsets.winCodeSign.

    27.0.0upgrade guide

  • The snap config key is removed and restructured to snapcraft with an explicit base.

    27.0.0upgrade guide

  • Core24 snaps now launch with --no-sandbox by default; vetted publishers can request allow-sandbox explicitly.

    27.0.0upgrade guide

  • Including "default" in plugs now merges the full default set, including browser-support and, without the gnome extension, content-snap plugs; omit it to replace defaults.

    27.0.0upgrade guide

  • The former snap configuration is restructured under snapcraft and requires an explicit base.

    27.0.0upgrade guide

  • When core24 plugs is unset, snaps now request browser-support without allow-sandbox; apps whose publisher has been granted that attribute must request it explicitly to keep Chromium's sandbox.

    27.0.0upgrade guide

  • The default entry now expands to the full default plug set, including applicable content-snap plugs; additional entries are merged and deduplicated by plug name.

    27.0.0upgrade guide

  • The SnapOptions export is removed.

    27.0.0upgrade guide

  • The option is removed; use toolsets.squirrel to pin a version or supply a custom bundle with the required layout.

    27.0.0upgrade guide

  • The noMsi boolean is removed in favor of its inverse, msi.

    27.0.0upgrade guide

  • This configuration option is removed.

    27.0.0upgrade guide

  • Toolset environment-variable overrides are removed; configure custom tool bundles with ToolsetCustom objects on the relevant toolsets key instead.

    27.0.0upgrade guide

  • The "1.0.2" pin is no longer offered; migrate-schema rewrites it to "1.0.3".

    27.0.0upgrade guide

  • This unified toolset bundle replaces customNsisBinary and customNsisResources, providing access to both the NSIS binary and resources.

    27.0.0upgrade guide

  • Use this setting to pin the Squirrel toolset version or provide a custom/local bundle; custom bundles follow normal provisioning.

    27.0.0upgrade guide

  • Null toolset entries are rejected by schema validation; unset entries use latest.

    27.0.0upgrade guide

  • Unset or "latest" now fetches WiX 3.14.1 with native arm64 MSIs.

    27.0.0upgrade guide

  • requestHeaders and addAuthHeader credentials, along with the feed URL query, are not sent to downloads on another origin.

    27.0.0upgrade guideupgrade guide

  • Credential headers and the feed URL query are sent only to the feed's origin. Downloads on another origin need their own authentication, such as a pre-signed URL.

    27.0.0upgrade guide

  • The exported TypeScript path field is now optional; code reading it should use info.files[0].url instead.

    27.0.0upgrade guide

  • The exported TypeScript sha512 field is now optional; code reading it should use info.files[0].sha512 instead.

    27.0.0upgrade guide

  • Publishing now requires signed update manifests unless updateManifest is disabled; configure the signing key or opt out of signed manifests.

    27.0.0upgrade guide

  • When explicitly set, the key list must include a key used to sign the update manifests; a publishing build now fails at build start if it does not.

    27.0.0upgrade guide

  • When updateManifest.publicKey is configured, it must list a key used by the build unless signing keys outside the trust list are explicitly allowed.

    27.0.0upgrade guide

  • Removed; supply a custom FPM through toolsets.fpm. On Windows, an FPM-based target now requires that explicit configuration.

    27.0.0upgrade guide

  • Removed with no environment-variable replacement; configure signing through win.sign and the winCodeSign toolset.

    27.0.0upgrade guide

  • Removed; host-installed Wine is now the default, so the variable can be dropped.

    27.0.0upgrade guide

  • This renamed signature-verification method returns a result object with success or failure and an optional message, rather than null or a string.

    27.0.0upgrade guide

  • This option is removed from GithubOptions and GitlabOptions.

    27.0.0upgrade guide

  • Windows signing is unified under win.sign as a discriminated union supporting signtool, hsm, pkcs11, and azure.

    27.0.0upgrade guide

  • Azure signing's arbitrary extra keys are replaced by an explicit additionalMetadata object.

    27.0.0upgrade guide

  • Windows publisherName must be a distinguished name; a bare name now fails the build, and electron-updater 7 never matches it.

    27.0.0upgrade guide

  • Custom signing hooks must now set publisherName, which is never derived from a certificate for a hook.

    27.0.0upgrade guide

  • The custom Windows signing hook moves here from win.signtoolOptions.sign.

    27.0.0upgrade guide

  • The option is removed; false maps to win.sign: false, while resource editing always runs.

    27.0.0upgrade guide

  • electron-updater 7 rejects Windows updates whose app-update.yml has no publisherName; configure it, sign the build, or disable update-code-signature verification.

    27.0.0upgrade guideupgrade guide

  • NSIS updates are installed only when PowerShell verifies them; unverifiable signatures and catalog signatures are rejected unless catalog-signature opt-in is enabled.

    27.0.0upgrade guide

  • The NSIS updater now installs only when Windows positively verifies the update signature. Verification failures fail closed; catalog signatures are rejected unless explicitly allowed.

    27.0.0upgrade guideupgrade guide

  • Fails closed: an NSIS update that PowerShell cannot verify is rejected instead of installed with a warning.

    27.0.0upgrade guideupgrade guide

Security 5

  • Adds an AppUpdater flag to enforce GPG signature checks when installing .deb or .rpm auto-updates; it defaults to true.

    27.0.0upgrade guide

  • Allows a valid catalog signature when its signer matches publisherName and the verified file is the update file. It defaults to false.

    27.0.0upgrade guide

  • The installer verifies its own copied package against the expected SHA-512; mismatches or failures to copy an explicit --package-file abort installation before removing the installed version, and the local package is left in place.

    27.0.0upgrade guide

  • electron-updater verifies Ed25519-signed update manifests against a trust list embedded in the app before downloading.

    27.0.0upgrade guide

  • Assign a native verifier in the first electron-updater 7 release if PowerShell may be blocked; later such installs cannot receive the release that adds it.

    27.0.0upgrade guide

Deprecations 3

  • files, extraResources, and extraFiles move under fileOptions at the root and in platform sections. Flat keys still apply at runtime with a warning.

    27.0.0upgrade guide

  • The API was renamed; a shim remains until v28. Apps that set it or subclasses that redeclare _verifyUpdateCodeSignature should update their code.

    27.0.0upgrade guideupgrade guide

  • Renames the protected verifier member; subclasses assigning the old name retain compatibility through a deprecated accessor, with a caveat for class-field redeclarations.

    27.0.0upgrade guide

New APIs and options 15

  • Set this to true for a deliberate cutover release signed with an old trusted key while embedding only the new key; the build publishes and logs a warning.

    27.0.0upgrade guide

  • Adds app-defined verification of the downloaded file on every path that can lead to an install.

    27.0.0upgrade guide

  • The deb, rpm, and pacman depends settings now accept the default keyword, allowing projects to extend the built-in dependency list instead of replacing it.

    27.0.0upgrade guide

  • Adds an exported result type naming the downloaded installer and, for NSIS web installers, the optional package file.

    27.0.0upgrade guide

  • An optional manifest field supplies a blockmap URL separate from the installer URL, supporting pre-signed installer URLs. It follows the origin rule and is covered by the manifest signature when present.

    27.0.0upgrade guide

  • Passes extra arguments to flatpak-builder, flatpak build-export, and flatpak build-bundle, enabling builds in unprivileged containers.

    27.0.0upgrade guide

  • Adds a build option to exclude directly declared production dependencies from copied node_modules; defaults to electron and electron-builder.

    27.0.0upgrade guide

  • Set identity to null, or sign to null, to skip signing.

    27.0.0upgrade guide

  • The nsis-web installer verifies its app package; this option opts out of that verification.

    27.0.0upgrade guideupgrade guideupgrade guide

  • Adds an opt-in Cloudflare R2 S3-compatible publish provider with matching electron-updater support.

    27.0.0upgrade guide

  • The options object can defer installation until the next application launch instead of spawning the installer on quit.

    27.0.0upgrade guide

  • The update-downloaded event payload now includes packageFile for web installers alongside downloadedFile.

    27.0.0upgrade guide

  • The hsm and pkcs11 signing modes are introduced in beta; HSM uses signtool on Windows, while PKCS#11 works cross-platform.

    27.0.0upgrade guide

  • A code-signed Windows build that writes app-update.yml needs a publisher name; set this for a custom win.sign.sign hook or a certificate without a CN.

    27.0.0upgrade guide

  • Can be set to false when updates are not Authenticode-signed.

    27.0.0upgrade guide

Behavior and default changes 14

  • The appimage version value 1.0.2 is retired and migrates to 1.0.3.

    27.0.0upgrade guide

  • The boolean remains valid and maps to an empty options object at runtime, but is redundant because ASAR is enabled by default.

    27.0.0upgrade guide

  • Bitbucket publishing uses Basic auth when a username is present and Bearer auth when it is absent; app passwords and API tokens need a username.

    27.0.0upgrade guide

  • The DMG filesystem now defaults to APFS; choose HFS+ only when supporting macOS versions before 10.13.

    27.0.0upgrade guide

  • An explicit include glob that names default-excluded files now overrides the matching default exclusion.

    27.0.0upgrade guide

  • If a flat key and its fileOptions counterpart are set on the same object, fileOptions wins and the build warns about the conflict.

    27.0.0upgrade guide

  • Flatpak install and update commands now use --noninteractive instead of --assumeyes.

    27.0.0upgrade guide

  • The default permissions omit the notifications talk-name in applicable configurations; add it to finishArgs or users can grant it with flatpak override.

    27.0.0upgrade guide

  • Suffixed channels now also generate the corresponding alpha channel file, such as alpha-arm64.yml for beta-arm64.

    27.0.0upgrade guide

  • Per-machine NSIS builds set this in update info, causing updates to start with elevate.exe; with autoInstallEvent: "onNextLaunch", apps call installPendingUpdateIfAvailable().

    27.0.0upgrade guide

  • The ASAR integrity digest is embedded by default; set this option to false when signing or modifying the app after afterPack, or merging separately built architectures yourself.

    27.0.0upgrade guide

  • The default is derived from the target: mas-dev builds use development, while other builds use distribution; an explicit value wins.

    27.0.0upgrade guide

  • Azure Trusted Signing uses the faster signtool /dlib path by default when winCodeSign is unset, null, latest, or at least 1.3.0; older versions use the legacy PowerShell path.

    27.0.0upgrade guide

  • Credentials stay on the feed's origin; serve downloads from that origin or use pre-signed URLs when another origin requires credentials.

    27.0.0upgrade guide

Tooling 1

  • The electron-builder ecosystem migrates to native ES modules; CJS require() continues to work on supported Node.js versions.

    27.0.0upgrade guide

Fixes and other changes 4

  • Use this standard GitLab CI variable to provide the release tag in place of CI_BUILD_TAG.

    27.0.0upgrade guide

  • Unlike the GitHub field, the GitLab option remains functional and continues to control the tag prefix.

    27.0.0upgrade guide

  • Call this when using autoInstallEvent: "onNextLaunch" with NSIS per-machine builds.

    27.0.0upgrade guideupgrade guide

  • An empty tagNamePrefix is now honored, producing unprefixed version tags.

    27.0.0upgrade guide

electron-updater 620 changes

Security 4

  • Differential download requests follow redirects themselves, limit credential headers to same-origin targets, start each multi-range request at the update URL, and follow at most 10 redirects per request.

    6.8.12release notes

  • Redirects to non-HTTP(S) URLs are rejected instead of throwing an uncaught exception.

    6.8.12release notes

  • Stale cached blockmaps are removed when a download produces no new blockmap, keeping the cached blockmap consistent with the cached installer and preventing poisoned differential downloads.

    6.8.10release notes

  • The auto-update flow is hardened against relative paths in PATH, path traversals, and environment variable intercepts.

    6.8.8release notes

New APIs and options 2

  • Provides a custom verification function interface for alternatives to PowerShell-based NSIS signature verification.

    6.0.0release notes

  • Introduces deb and rpm auto-updates as a beta feature.

    6.0.0release notes

Behavior and default changes 2

  • Console logs for autoupdate checks were removed, changing the output produced during those checks.

    6.8.3release notes

  • Download-progress events are now emitted when downloading with the multiple range differential downloader.

    6.8.0release notes

Fixes and other changes 12

  • A cached block map that does not end at the cached installer's size is ignored, and the installed version's block map is fetched from the server to avoid planning a differential download against another release.

    6.8.12release notes

  • Missing and path-valued cached update file names are now rejected.

    6.8.11release notes

  • Multi-range differential downloads now handle bare LF line endings, header terminators split across chunks, and later batches that exceed the watchdog grace period.

    6.8.10release notes

  • Fixes holistic field detection for SHA-256 hash redaction.

    6.8.9release notes

  • The full changelog now includes only release notes up to the latest release.

    6.8.8release notes

  • Fixes the GitLab auth token mismatch between fetching channel YAML and making API requests.

    6.8.5release notes

  • Filters draft releases when determining the latest version for private GitHub releases.

    6.8.5release notes

  • Releases with non-semver tags are ignored when collecting the full changelog.

    6.8.2release notes

  • Uses the appropriate electron-updater cache directory on macOS.

    6.0.0release notes

  • Fixes support for PowerShell constrained language mode.

    6.0.0release notes

  • Updated processes inherit stdio.

    6.0.0release notes

  • Adds a reject in the Windows verifySignature function's handleError handler.

    6.0.0release notes

electron-updater 510 changes

Breaking changes 4

  • Bintray support was removed because the service was sunset.

    5.0.0release notes

  • Authentication is now forced for the local mac squirrel update server.

    5.0.0release notes

  • Certificate validation on Windows now checks the full DN.

    5.0.0release notes

  • Signature verification failures on Windows now fail fast.

    5.0.0release notes

New APIs and options 2

  • Channel support was added for GitHub with prereleases.

    5.0.0release notes

  • Webinstaller files can now be disabled to distinguish them from actual installers.

    5.0.0release notes

Fixes and other changes 4

  • Checks for app-update.yml are removed when auto-updates are not supported.

    5.0.0release notes

  • Fixes were made for server authentication in MacUpdater.

    5.0.0release notes

  • Replacing fs/promises with fs-extra supports legacy Electron versions that use Node.js 12 and below.

    5.0.0release notes

  • Update file paths disregard injected wildcards, and backslash path separators are stripped on Windows.

    5.0.0release notes