unstale

npm / app-builder-lib

app-builder-lib

What changed in app-builder-lib 25 to 26, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

5 breaking3 security2 deprecations24 new APIs and options3 performance17 behavior and defaults10 tooling81 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

app-builder-lib 26120 changes

Breaking changes 3

  • The legacy setting now routes to @electron/rebuild sequential mode.

    26.15.0release notes

  • Removes preflight checks because the TrustedSigning module has its own logging.

    26.9.1release notes

  • The default value of disable_wayland now depends on the Electron version to support Electron versions greater than 38.

    26.2.0release notes

Security 3

  • electron-updater: Uncontrolled search path elements within AppImage built by app-builder-lib

    26.15.0security advisory

  • Hardens generated-file output, argument construction, and download validation.

    26.12.1release notes

  • A CLI action can clear the electron-builder default cache directory; environment variable overrides are intentionally ignored for security.

    26.11.0release notes

Deprecations 1

  • The release warns about implicit publishing in CI.

    26.4.1release notes

New APIs and options 14

  • Adds an opt-in flag to align the installed .desktop filename with desktopName and StartupWMClass; it will become the default in v27.

    26.15.0release notes

  • Makes the Wine 11 bundle available through the toolsets.wine setting; the legacy 4.0.1 bundle remains the default on macOS.

    26.15.0release notes

  • On Linux with legacy config, setting USE_SYSTEM_WINE=true uses system wine instead.

    26.15.0release notes

  • Adds a configuration option to skip ASAR integrity computation.

    26.13.0release notes

  • Adds toolset configuration for makensis.

    26.12.0release notes

  • Adds the snapcraft configuration property, including support for core24 snapcraft, while maintaining backward compatibility.

    26.12.0release notes

  • Per-target squashfs algorithm overrides are added, alongside a fix to compression mapping.

    26.11.0release notes

  • A configuration property allows disabling signing without disabling executable editing.

    26.11.0release notes

  • Pass release notes to the GitHub or GitLab release body with this option.

    26.9.0release notes

  • Pass a release name to GitHub or GitLab releases with this option.

    26.9.0release notes

  • Adds the optional capabilities configuration property.

    26.7.0release notes

  • Adds an option for explicitly controlling DMG filesystem size.

    26.7.0release notes

  • Adds support for dmgbuild's badge-icon configuration.

    26.5.0release notes

  • The environment variable allows local NSIS resources to be used.

    26.2.0release notes

Performance 3

  • Toolset archives are persisted in a predictable cache path so repeated builds and offline environments skip the @electron/get network round-trip.

    26.15.3release notes

  • Package resolution is memoized and downward search is skipped in a flat virtual store.

    26.11.0release notes

  • Optimizes duplicate checking in the asar packager using Set.

    26.3.2release notes

Behavior and default changes 17

  • Replaces png2icons with wasm-vips Lanczos3 resampling for high-quality icon conversion.

    26.15.2release notes

  • A timeout is added to spawnAndWriteWithOutput.

    26.14.0release notes

  • DMG builds now support the APFS filesystem.

    26.13.0release notes

  • Linux desktop entries now use desktopName from package.json for StartupWMClass.

    26.13.0release notes

  • AppImage builds now bundle FUSE2 runtime libraries for x64 and ia32, matching the Go implementation.

    26.13.0release notes

  • Missing platform-specific optional packages now produce a warn-level log with an actionable suggestion to add them to optionalDependencies.

    26.12.0release notes

  • Adds locking for operations using system utilities that do not support parallelism, such as hdiutil and WiX.

    26.12.0release notes

  • Update info now has a deterministic ordering of files.

    26.12.0release notes

  • Mac entitlement files can now be linked from outside the workspace.

    26.11.1release notes

  • Additional validation covers compression levels, vendor toolsets, and invalid configurations.

    26.11.0release notes

  • electronDownload now uses the official electron/get package, providing better support for mirrors.

    26.10.0release notes

  • When necessary, the application now starts with --no-sandbox.

    26.9.0release notes

  • NSIS detects the Windows version and excludes Windows 7 compatibility logic when it is not needed.

    26.9.0release notes

  • Flatpak executableArgs now uses configuration.

    26.6.0release notes

  • Platform-specific build options can now override top-level publish configuration.

    26.4.0release notes

  • Allows negative patterns in signExts as signing overrides.

    26.3.0release notes

  • Icon Composer icons are supported for macOS.

    26.2.0release notes

Tooling 9

  • When signAndEditExecutable is false, the tool logs an actionable hint to use signExecutable: false to preserve icon and metadata.

    26.13.1release notes

  • Provides better error messaging when the Electron version in devDependencies or the electronVersion property is not pinned.

    26.12.1release notes

  • The legacy toolset is replaced with v1.0.0 for macOS deb/tar builds that package or extract Linux archives.

    26.12.0release notes

  • Adds support for pnpm v11.

    26.10.0release notes

  • Support for a static appimage runtime is added via a new toolset.

    26.8.0release notes

  • Latest artifacts for win-codesign tooling can now be pulled from electron-builder-binaries.

    26.8.0release notes

  • Updates dmgbuild and migrates to a portable dmgbuild Python bundle.

    26.6.0release notes

  • Adds bun node module collector support.

    26.3.0release notes

  • Supports corepack and the packageManager field.

    26.3.0release notes

Fixes and other changes 70

  • Uses native zip on macOS to preserve .framework symlinks and fix Squirrel.Mac auto-update validation.

    26.15.2release notes

  • Retries package installation on transient network errors.

    26.15.2release notes

  • The configured launchUiVersion string is now respected.

    26.15.0release notes

  • Signing is skipped when no certificate is found, and ad-hoc signing with hardenedRuntime now produces a warning.

    26.15.0release notes

  • Nested dependencies are now properly resolved when nodeLinker is set to hoisted.

    26.14.0release notes

  • A CJS resolver is used to reliably resolve package subpaths in pnpm projects.

    26.14.0release notes

  • Unloads the AppArmor profile when removing.

    26.13.1release notes

  • Restores getToolPath() on WindowsSignToolManager and improves the public API.

    26.13.1release notes

  • Suppresses expected npm list stderr from user-visible warnings when collecting dependencies for Yarn projects using resolutions.

    26.13.1release notes

  • Validates makensis stderr and installer file size after build to catch truncated output caused by low disk space.

    26.13.1release notes

  • Accepts transitive dependencies resolved outside their declared range by package manager overrides.

    26.13.1release notes

  • Corrects the path used by update-alternatives --remove.

    26.13.1release notes

  • NSIS web builds no longer append the architecture macro to paths with explicit URLs.

    26.13.0release notes

  • NSIS now uses exact findstr /B matching to avoid false-positive “app cannot be closed” dialogs when a sibling process name contains the app name.

    26.13.0release notes

  • Properly parses and passes through mas configs to overwrite mac config when the target is mas or mas-dev.

    26.12.1release notes

  • Stops incorrectly converting the INSTDIR runtime variable to double-$$.

    26.12.1release notes

  • Fixes applying the electronLanguages option for the Mac platform.

    26.12.0release notes

  • Safely copies the UserProgramFiles path.

    26.12.0release notes

  • Avoids using the system path for the cache when the user is system or the path is system32.

    26.12.0release notes

  • Its internal got downloader now respects HTTP and HTTPS proxies.

    26.11.1release notes

  • The resolved artifact URL is always passed through to avoid environment variable overrides.

    26.11.1release notes

  • Collector paths containing spaces are now wrapped in a .bat on Windows.

    26.11.1release notes

  • Cache corruption and extraction detection prevents malformed 7z extractions.

    26.11.0release notes

  • On macOS, extraFiles are copied to the productFilename .app instead of Electron.app.

    26.11.0release notes

  • The signing queue recovers after transient errors.

    26.11.0release notes

  • Fixes bundling source files when using extraMetadata.name with Yarn Berry.

    26.9.1release notes

  • Includes the workspace root when checking for installed dependencies, preventing infinite npm install recursion when run from a workspace member's postinstall in npm workspaces.

    26.9.1release notes

  • Properly resolves package version-to-path mappings within the pnpm virtual store.

    26.9.1release notes

  • Fixes node module collection failures when the package manager executable's path contains spaces.

    26.9.1release notes

  • The AppImage hashbang uses /usr/bin/env so it works on non-FHS distributions.

    26.9.0release notes

  • A patched AppImage toolset bundle entry resolves issues on Ubuntu 25.1.0.

    26.9.0release notes

  • Binary downloads now respect the custom binaries mirror instead of falling back to electron_mirror.

    26.9.0release notes

  • Package name and version parsing now correctly splits scoped packages that use link paths.

    26.9.0release notes

  • On Windows, the app exe is regenerated when the asar header changes so asar integrity properly matches.

    26.8.2release notes

  • Filtering now uses startsWith matching for more generous electronLanguages matches.

    26.8.2release notes

  • The node module collector now handles pnpm deduped dependencies correctly.

    26.8.2release notes

  • Fixes mksquashfs ENOENT errors when appimage tool paths are relative.

    26.8.2release notes

  • Fixes the MIME type directory in AppDir.

    26.8.1release notes

  • Reads the package key instead of package from, preventing package-version strings from being mislabeled.

    26.8.1release notes

  • The msiWrapped target now throws a more helpful error.

    26.8.0release notes

  • Fixes Windows build failures when the Node.js path contains spaces.

    26.8.0release notes

  • Fixes stdio redirects in the update-alternative invocation.

    26.7.0release notes

  • Improves detection of npm duplicate entries and correlates _dependencies against duplicated dependencies; the npm collector also covers Yarn Berry.

    26.7.0release notes

  • Fixes the badge-icon property.

    26.6.0release notes

  • Allows $INSTDIR to be removed in NSIS.

    26.6.0release notes

  • Fixes the pnpm collector returning zero modules.

    26.6.0release notes

  • Fixes Windows builds failing with spawn EINVAL after a Node.js security fix.

    26.5.0release notes

  • Aliased packages are packaged with the correct name.

    26.4.1release notes

  • Default macOS appPlist keys can now be deleted by setting them to Nullish in extendInfo.

    26.4.1release notes

  • Fixes “Invalid string length” errors during node module collection with pnpm.

    26.4.1release notes

  • Parent directories of unpacked files are post-processed to avoid overeager unpacking.

    26.4.1release notes

  • The app directory is searched before the package directory, respecting two-package.json project setups.

    26.4.0release notes

  • A signing queue for the Windows packager avoids concurrent signing with AzureTrustedSigning.

    26.4.0release notes

  • Disabling Corepack strict mode, with an optional override, allows npm list to work in Yarn Berry and Bun project setups.

    26.4.0release notes

  • Adds support for Yarn Berry _dependencies when extracting the dependency graph.

    26.3.6release notes

  • Ensures the dependency graph is extracted in the correct order.

    26.3.6release notes

  • Checks whether custom NSIS and/or NSIS resource paths contain only whitespace.

    26.3.5release notes

  • Package versions are validated when traversing directories in search of a matching node module.

    26.3.5release notes

  • Sets the correct hostArchitectures in the distribution XML to support arm64-only MAS submissions.

    26.3.4release notes

  • Corrects the types for makeUniversalApp, including using undefined instead of null.

    26.3.4release notes

  • Uses projectRoot instead of workspaceRoot for the yarn*berry package manager.

    26.3.4release notes

  • Checks yarn hoisted mode for each node module, accounting for Yarn Classic not permanently hoisting modules.

    26.3.3release notes

  • Allows the home directory when it is symlinked from /var/home.

    26.3.2release notes

  • Returns the actual path in hoisted mode instead of a virtual path.

    26.3.2release notes

  • Passes workspaceRoot when forwarding projectRootPath to electron/rebuild.

    26.3.1release notes

  • Properly collects ESM node_modules when building with Node.js 16 or later.

    26.3.1release notes

  • Uses JSON output to parse Yarn Berry configuration, accommodating output variations across versions 2–4.

    26.3.1release notes

  • On macOS, handles an undefined certificate password by falling back to an empty string.

    26.3.0release notes

  • Fixes the import used for detecting CI.

    26.3.0release notes

  • Fixes the uninstaller's handling of the silent flag.

    26.2.0release notes

app-builder-lib 2525 changes

Breaking changes 2

  • Updates the appx identityName for Windows 10.

    25.0.0release notes

  • Adds the electron/rebuild implementation with legacy, parallel, and sequential modes; the default is set to use electron/rebuild.

    25.0.0release notes

Deprecations 1

  • The legacy altool notarization API is deprecated.

    25.0.0release notes

New APIs and options 10

  • Adds support for passing additional arguments to macOS signing.

    25.0.0release notes

  • Adds support for passing additional Light arguments to the MSI target.

    25.0.0release notes

  • Adds a build-process hook with the same payload interface as beforePack and afterPack.

    25.0.0release notes

  • The environment variable is used when notarizing with APPLE_ID.

    25.0.0release notes

  • Adds an option to disable the ASAR sanity check, allowing encrypted ASARs.

    25.0.0release notes

  • Adds a configuration option for setting the MaxVersionTested field in the appx manifest.

    25.0.0release notes

  • Adds a configuration option for setting the MinVersion field in the appx manifest.

    25.0.0release notes

  • Adds the music category to the Linux category options.

    25.0.0release notes

  • Packager subclasses are now exported from the main electron-builder types.

    25.0.0release notes

  • Adds functionality to publish artifacts without performing the rest of the build process.

    25.0.0release notes

Tooling 1

  • The app-builder-bin version was updated to its 5.0-alpha release.

    25.0.0release notes

Fixes and other changes 11

  • Files within ASARs are ordered to produce smaller incremental updates.

    25.0.0release notes

  • Writes the ASAR integrity resource on Windows.

    25.0.0release notes

  • Fixes codeSigningInfo not responding when its arguments change.

    25.0.0release notes

  • Folders named constructor are now included in ASAR archives.

    25.0.0release notes

  • Treats an empty cscLink string the same as null.

    25.0.0release notes

  • Moves disableSanityCheckPackage within checkFileInPackage so it does not bypass checks for non-ASAR usage.

    25.0.0release notes

  • Fixes @electron/remote being placed wrongly into Windows app.asar.

    25.0.0release notes

  • Uses the appInfo description as the primary source for FileDescription on Windows.

    25.0.0release notes

  • Fixes an unstable hdiutil retry mechanism.

    25.0.0release notes

  • Adds a retry mechanism for macOS code signing with electron/osx-sign.

    25.0.0release notes

  • Replaces SYSTEMROOT with $SYSDIR.

    25.0.0release notes