From e6e0be90a6f19814bce101ff4be0b4ff9afa1564 Mon Sep 17 00:00:00 2001 From: "electron-builder-release-bot[bot]" <236325277+electron-builder-release-bot[bot]@users.noreply.github.com> Date: Sat, 30 May 2026 03:16:06 +0000 Subject: [PATCH] chore(deploy): Release (next) --- .changeset/few-falcons-grin.md | 9 -- .changeset/six-rice-knock.md | 5 - .changeset/sweet-worlds-study.md | 8 -- .changeset/wild-roses-carry.md | 5 - CHANGELOG.md | 133 ++++++++++++++++++ packages/app-builder-lib/CHANGELOG.md | 25 ++++ packages/app-builder-lib/package.json | 2 +- packages/app-builder-lib/src/macPackager.ts | 16 ++- packages/app-builder-lib/src/version.ts | 2 +- packages/builder-util-runtime/CHANGELOG.md | 7 + packages/builder-util-runtime/package.json | 2 +- packages/builder-util/CHANGELOG.md | 19 +++ packages/builder-util/package.json | 2 +- packages/dmg-builder/CHANGELOG.md | 19 +++ packages/dmg-builder/package.json | 2 +- .../CHANGELOG.md | 19 +++ .../package.json | 2 +- .../src/SquirrelWindowsTarget.ts | 12 +- packages/electron-builder/CHANGELOG.md | 21 +++ packages/electron-builder/package.json | 2 +- .../CHANGELOG.md | 16 +++ .../package.json | 2 +- .../CHANGELOG.md | 16 +++ .../package.json | 2 +- .../electron-forge-maker-nsis/CHANGELOG.md | 16 +++ .../electron-forge-maker-nsis/package.json | 2 +- .../electron-forge-maker-snap/CHANGELOG.md | 16 +++ .../electron-forge-maker-snap/package.json | 2 +- packages/electron-publish/CHANGELOG.md | 17 +++ packages/electron-publish/package.json | 2 +- packages/electron-updater/CHANGELOG.md | 16 +++ packages/electron-updater/package.json | 2 +- test/src/mac/MacTargetHelperTest.ts | 11 +- 33 files changed, 384 insertions(+), 48 deletions(-) delete mode 100644 .changeset/few-falcons-grin.md delete mode 100644 .changeset/six-rice-knock.md delete mode 100644 .changeset/sweet-worlds-study.md delete mode 100644 .changeset/wild-roses-carry.md diff --git a/.changeset/few-falcons-grin.md b/.changeset/few-falcons-grin.md deleted file mode 100644 index 33e193da1b5..00000000000 --- a/.changeset/few-falcons-grin.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"builder-util-runtime": patch -"electron-builder": patch -"app-builder-lib": patch -"builder-util": patch -"dmg-builder": patch ---- - -fix: harden generated-file output, argument construction, and download validation diff --git a/.changeset/six-rice-knock.md b/.changeset/six-rice-knock.md deleted file mode 100644 index 71c26341609..00000000000 --- a/.changeset/six-rice-knock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"app-builder-lib": patch ---- - -fix: properly parse and pass through `mas` configs to overwrite `mac` config when target is `mas` or `mas-dev` diff --git a/.changeset/sweet-worlds-study.md b/.changeset/sweet-worlds-study.md deleted file mode 100644 index 0c0f4e6abd6..00000000000 --- a/.changeset/sweet-worlds-study.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"electron-builder-squirrel-windows": patch -"builder-util-runtime": patch -"app-builder-lib": patch -"builder-util": patch ---- - -fix(codeql): resolving GH CodeQL alerts diff --git a/.changeset/wild-roses-carry.md b/.changeset/wild-roses-carry.md deleted file mode 100644 index e356492a47e..00000000000 --- a/.changeset/wild-roses-carry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"app-builder-lib": patch ---- - -chore: provide better error messaging when electron version in devDependencies or electronVersion property are not pinned diff --git a/CHANGELOG.md b/CHANGELOG.md index 962beea8213..19c800dc9f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,136 @@ +# [](https://github.com/electron-userland/electron-builder/compare/v26.0.20...v) (2026-05-30) + + +### Bug Fixes + +* incorrect cache name set when `ELECTRON_BUILDER_CACHE` env var is present ([#9293](https://github.com/electron-userland/electron-builder/issues/9293)) ([e5f5799](https://github.com/electron-userland/electron-builder/commit/e5f5799fbb193a7a8700fcaaf1ab9e79c9c694ce)) +* `parseNameVersion` correctly splits scoped packages with `link:` paths ([#9653](https://github.com/electron-userland/electron-builder/issues/9653)) ([a69928f](https://github.com/electron-userland/electron-builder/commit/a69928f28cd33a487a3158bd5c3ad040906d3c30)) +* add cache corruption/extraction detection to prevent malformed toolsets ([#9735](https://github.com/electron-userland/electron-builder/issues/9735)) ([3d2f660](https://github.com/electron-userland/electron-builder/commit/3d2f66032675540a6ec3699496b02ba5d70214ed)) +* add corepack to e2e docker images for running e2e updater tests ([#9331](https://github.com/electron-userland/electron-builder/issues/9331)) ([8805806](https://github.com/electron-userland/electron-builder/commit/8805806cd249fc7674a5b84b2efd68e6fc0c0df3)) +* add signing queue for Windows packager to avoid concurrent signing issues with AzureTrustedSigning ([#9454](https://github.com/electron-userland/electron-builder/issues/9454)) ([b66832d](https://github.com/electron-userland/electron-builder/commit/b66832d6fc633b4b12ccdffc0501c6d31b48a85e)) +* add toolset lockfile for operations that leverage system utils that don't support parallelism (e.g. hdiutil, WiX, etc.) ([#9761](https://github.com/electron-userland/electron-builder/issues/9761)) ([7955d66](https://github.com/electron-userland/electron-builder/commit/7955d66682ac5c6c7e74d7c33221d033241294c1)) +* after-install.tpl: Fix stdio redirects in update-alternative invocation ([#9536](https://github.com/electron-userland/electron-builder/issues/9536)) ([ec9e2db](https://github.com/electron-userland/electron-builder/commit/ec9e2dbbd864f0858cf0d3b719ad75a84c59f29c)) +* aliased packages not packaged with the correct name ([#9492](https://github.com/electron-userland/electron-builder/issues/9492)) ([25b5dd2](https://github.com/electron-userland/electron-builder/commit/25b5dd2b4a87554640c99ffef376af8703f69a3d)) +* allow `npm list` to work on yarn berry and bun project setups ([#9443](https://github.com/electron-userland/electron-builder/issues/9443)) ([e70da99](https://github.com/electron-userland/electron-builder/commit/e70da99e34c1cc913b237c5a58456bf752a378bc)) +* allow home dir when it's symlinked from `/var/home` ([#9389](https://github.com/electron-userland/electron-builder/issues/9389)) ([0cd0831](https://github.com/electron-userland/electron-builder/commit/0cd0831ec1c23b4fb4d701c10d586cb83d4ed2ed)) +* allow mac entitlement files to be referenced to outside the workspace ([#9756](https://github.com/electron-userland/electron-builder/issues/9756)) ([e22295f](https://github.com/electron-userland/electron-builder/commit/e22295f74f0e6e1059a13ee87b63f44955e0d95f)) +* always pass through resolved artifact url to `electron/get` to avoid env var overrides ([#9755](https://github.com/electron-userland/electron-builder/issues/9755)) ([35c2c7a](https://github.com/electron-userland/electron-builder/commit/35c2c7aad9b97e227b4d3dfba3762550d8a32e1f)) +* always use package key-value refs when reading from dependency list instead of required package `name` ([#9583](https://github.com/electron-userland/electron-builder/issues/9583)) ([dde4309](https://github.com/electron-userland/electron-builder/commit/dde4309b9114e06d0826e8badc2cb968ceb75642)) +* **appimage:** add entry for patched appimage toolset bundle to resolve issues on Ubuntu 25.1.0 ([#9673](https://github.com/electron-userland/electron-builder/issues/9673)) ([3958d8b](https://github.com/electron-userland/electron-builder/commit/3958d8b6cb7b74458ea541738af6ac753d2cf83a)) +* **appimage:** add tests for applauncher and util, validate env vars, and skip unexpected mime types ([#9723](https://github.com/electron-userland/electron-builder/issues/9723)) ([bd35730](https://github.com/electron-userland/electron-builder/commit/bd3573018f01d24e4da86e060f1201964a6d3ada)) +* **appimage:** fix compression mapping and add per-target squashfs algorithm override ([#9730](https://github.com/electron-userland/electron-builder/issues/9730)) ([8a98647](https://github.com/electron-userland/electron-builder/commit/8a98647f79c19fff7e7f5347d0a1ff80db18520e)) +* **appimage:** fix mime type directory in AppDir ([#9589](https://github.com/electron-userland/electron-builder/issues/9589)) ([8940ec6](https://github.com/electron-userland/electron-builder/commit/8940ec63bac6450ed9b7c5e761954f08e6fa4242)) +* **appimage:** resolve toolset with relative directory path ([#9610](https://github.com/electron-userland/electron-builder/issues/9610)) ([52dc667](https://github.com/electron-userland/electron-builder/commit/52dc6676f8fb8157e60a55df8021988bf6c48286)) +* **appimage:** use /usr/bin/env in hashbang so it works in non FHS distros ([#9664](https://github.com/electron-userland/electron-builder/issues/9664)) ([f71b101](https://github.com/electron-userland/electron-builder/commit/f71b101be964bdcc2b84fcf281441372105def00)) +* avoid system path on Windows for cache when user is `system` OR cache path includes `system32` ([#9776](https://github.com/electron-userland/electron-builder/issues/9776)) ([ab6ada8](https://github.com/electron-userland/electron-builder/commit/ab6ada8dc2ca375687a8e89fd367b34e4f7a62e5)) +* **build:** Revert "remove ci-info" commit ([#9398](https://github.com/electron-userland/electron-builder/issues/9398)) ([f8580dc](https://github.com/electron-userland/electron-builder/commit/f8580dcadc4fc1383b8d9661dc4c5bebec67cb9f)) +* change default value of disable_wayland depending on electron version (in order to support `electron` >38) ([#9337](https://github.com/electron-userland/electron-builder/issues/9337)) ([f4d7924](https://github.com/electron-userland/electron-builder/commit/f4d7924a082fbb9113d52782430f82b1f0ffcb52)) +* change root path for `electron/rebuild` ([#9376](https://github.com/electron-userland/electron-builder/issues/9376)) ([45a1683](https://github.com/electron-userland/electron-builder/commit/45a1683400b6525998256d83059ce7b562098eb1)) +* check if custom nsis and/or nsis resources paths is not purely an whitespace string ([#9420](https://github.com/electron-userland/electron-builder/issues/9420)) ([05e0bc7](https://github.com/electron-userland/electron-builder/commit/05e0bc7becf4057e7f7794597a57f33d23894f4b)) +* cleanup `actool` output file handle after `spawn` ([#9373](https://github.com/electron-userland/electron-builder/issues/9373)) ([1607820](https://github.com/electron-userland/electron-builder/commit/160782067f904b61d53eb28368aea58022fe1717)) +* **codeql:** resolving GH CodeQL alerts ([#9783](https://github.com/electron-userland/electron-builder/issues/9783)) ([4866737](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63)) +* convert file path via `vm.toVmFile()` in AzureTrusted signing to mirror Signtool ([#9676](https://github.com/electron-userland/electron-builder/issues/9676)) ([5c945b2](https://github.com/electron-userland/electron-builder/commit/5c945b21f775b8dead1d5afb508517c43c31ef6e)) +* converting all node collector logic to *not* use `Promise.All`. Migrate to for-loop ([#9414](https://github.com/electron-userland/electron-builder/issues/9414)) ([e34be3b](https://github.com/electron-userland/electron-builder/commit/e34be3b3e8486c20cac316b4ae978ce275ea9cf7)) +* deleting default macOS appPlist keys using extendInfo ([#9481](https://github.com/electron-userland/electron-builder/issues/9481)) ([cb5b9c6](https://github.com/electron-userland/electron-builder/commit/cb5b9c6e47686b0329dbf808b36587a82db03d3b)) +* **dmg:** migrate python path search from `which` => `command -v` ([#9377](https://github.com/electron-userland/electron-builder/issues/9377)) ([82c07af](https://github.com/electron-userland/electron-builder/commit/82c07af19f7f3447f3a693a641bad7261e6b924f)) +* do not bundle source files when using `extraMetadata.name` override in Yarn Berry ([#9683](https://github.com/electron-userland/electron-builder/issues/9683)) ([9bc2626](https://github.com/electron-userland/electron-builder/commit/9bc26260e1e1b314325227fac7c58ac6085d1fe0)) +* **docker:** reconnect wine to wine64 via symlink and correctly set up wine + mono ([#9734](https://github.com/electron-userland/electron-builder/issues/9734)) ([fe51703](https://github.com/electron-userland/electron-builder/commit/fe5170314ae22adfd6af30feaf7ae426d6b98e31)) +* double check "hoisted" mode for each node module, verify through filesystem check instead of `require`/`import-meta-resolve` methods ([#9401](https://github.com/electron-userland/electron-builder/issues/9401)) ([241c53a](https://github.com/electron-userland/electron-builder/commit/241c53a598d9eb566de06059b4aa2f2d97d8712c)) +* **electron-updater:** filter draft releases out when calling `PrivateGitHubProvider.getLatestVersionInfo` ([#9694](https://github.com/electron-userland/electron-builder/issues/9694)) ([a5d8ab9](https://github.com/electron-userland/electron-builder/commit/a5d8ab9436dd7db0c58a08cf9594e47613c4fc8e)) +* ensure correct dependency graph extraction order and yarn berry _dependencies support ([#9439](https://github.com/electron-userland/electron-builder/issues/9439)) ([bdfc76b](https://github.com/electron-userland/electron-builder/commit/bdfc76bf18cb02a38aa7b3624c9fb865c910c393)) +* force `electron/get`'s internal `got` downloader to respect http(s) proxies ([#9754](https://github.com/electron-userland/electron-builder/issues/9754)) ([b8c6a15](https://github.com/electron-userland/electron-builder/commit/b8c6a1545b61d3c285f28d39100e9c7ff4e4192f)) +* GitLab auth token differs between fetching channel yaml & API requests ([#9703](https://github.com/electron-userland/electron-builder/issues/9703)) ([4bcf68a](https://github.com/electron-userland/electron-builder/commit/4bcf68abc957faae827ca50fa5c1bed3ddf7c956)) +* handle pnpm deduped dependencies correctly in node module collector ([#9618](https://github.com/electron-userland/electron-builder/issues/9618)) ([b348df0](https://github.com/electron-userland/electron-builder/commit/b348df0ba409fee488288ead097ac900141a6dad)) +* harden generated-file output, argument construction, and download validation ([#9778](https://github.com/electron-userland/electron-builder/issues/9778)) ([d6a5aee](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798)) +* improving filtering for log redactor ([#9736](https://github.com/electron-userland/electron-builder/issues/9736)) ([56d8331](https://github.com/electron-userland/electron-builder/commit/56d83314596803e4c3973b3c2a4eb2b838eb0edf)) +* leverage app name instead of product name for linux executable name ([#9346](https://github.com/electron-userland/electron-builder/issues/9346)) ([d193871](https://github.com/electron-userland/electron-builder/commit/d19387174365c85968034149be43d80a39e7335f)) +* lint to unblock CI and move linter to enabled runner ([#9608](https://github.com/electron-userland/electron-builder/issues/9608)) ([4e83aeb](https://github.com/electron-userland/electron-builder/commit/4e83aeb610aad811413bfd626656dabc081957a3)) +* **mac:** `electronLanguages` config filtering is not correctly applied for MacOS apps ([#9779](https://github.com/electron-userland/electron-builder/issues/9779)) ([5b83914](https://github.com/electron-userland/electron-builder/commit/5b839143bb44819609218acfe79c2dd1ea48e662)) +* **mac:** `extraFiles` output to branded Electron app name ([#9729](https://github.com/electron-userland/electron-builder/issues/9729)) ([6d3798e](https://github.com/electron-userland/electron-builder/commit/6d3798e59b2c7149d5127ac61ec4a216c33b2bc1)) +* **mac:** handle `process.env.CSC_KEY_PASSWORD = undefined` cert password to parse as empty string fallback ([#9359](https://github.com/electron-userland/electron-builder/issues/9359)) ([d8ad468](https://github.com/electron-userland/electron-builder/commit/d8ad468cbf13ffb46889bbe0ba9f8c6d8ec1ac8f)) +* make update info have a deterministic ordering of files ([#9758](https://github.com/electron-userland/electron-builder/issues/9758)) ([5dbba8c](https://github.com/electron-userland/electron-builder/commit/5dbba8c4aa7becc357f9b5439c55641aedf2e18b)) +* node 14 vs 15+ `promisify` warning on `child_process.exec` ([#9374](https://github.com/electron-userland/electron-builder/issues/9374)) ([ef364d3](https://github.com/electron-userland/electron-builder/commit/ef364d32c4fa78200249916af934b5235e04ba3e)) +* **normalizePackageData:** check `bd` variable instead of string "bd" ([#9669](https://github.com/electron-userland/electron-builder/issues/9669)) ([b072e92](https://github.com/electron-userland/electron-builder/commit/b072e92bd31b84df506deaf6156cc6109c7ef0f5)) +* **nsis:** allow $INSTDIR to be removed ([#9520](https://github.com/electron-userland/electron-builder/issues/9520)) ([cf10da8](https://github.com/electron-userland/electron-builder/commit/cf10da8d4988399232e5db62fe533789bdc816b2)) +* **nsis:** removing windows azure trusted signing preflight checks to use tool logging ([#9687](https://github.com/electron-userland/electron-builder/issues/9687)) ([a4f2d98](https://github.com/electron-userland/electron-builder/commit/a4f2d98a64087a0fc822e574d033b7770697b09e)) +* **nsis:** safely copy UserProgramFiles path ([#9769](https://github.com/electron-userland/electron-builder/issues/9769)) ([a356198](https://github.com/electron-userland/electron-builder/commit/a356198ec7c54c7795659342bff36d9a5162cd93)) +* only use hardlinks during unit tests (or explicitly override) to avoid breaking debian builds where /opt is on a different drive ([#9397](https://github.com/electron-userland/electron-builder/issues/9397)) ([da1d768](https://github.com/electron-userland/electron-builder/commit/da1d7687c6d2d2db8e319e371ba001c946bf130c)) +* Optional dep's path cannot find in newest npm ([#9274](https://github.com/electron-userland/electron-builder/issues/9274)) ([38c2085](https://github.com/electron-userland/electron-builder/commit/38c2085e9a344812d32611d197d1df66d6644b45)), closes [#9259](https://github.com/electron-userland/electron-builder/issues/9259) +* **pkg:** support arm64-only MAS submissions by setting correct `hostArchitectures` ([#9409](https://github.com/electron-userland/electron-builder/issues/9409)) ([b81c253](https://github.com/electron-userland/electron-builder/commit/b81c2539c4da4630b9e955f3afa6ec76cb30447b)) +* pnpm "Invalid string length" errors during node module collection (removes `--long` arg) ([#9470](https://github.com/electron-userland/electron-builder/issues/9470)) ([d38ae8e](https://github.com/electron-userland/electron-builder/commit/d38ae8e666ca3769dfa091643ef816632f6e206f)) +* pnpm collector returning zero modules ([#9535](https://github.com/electron-userland/electron-builder/issues/9535)) ([88070e9](https://github.com/electron-userland/electron-builder/commit/88070e95e602aa1e6985d770cb4c279fea58a4a6)) +* post-process parent directories of unpacked files ([#9419](https://github.com/electron-userland/electron-builder/issues/9419)) ([1c94529](https://github.com/electron-userland/electron-builder/commit/1c945290a38cc4b6070a4e756db58354aee5e683)) +* prevent double progress bar from displaying in console ([#9743](https://github.com/electron-userland/electron-builder/issues/9743)) ([2583fd1](https://github.com/electron-userland/electron-builder/commit/2583fd17b1ef6d752b00df7302294dc13d3dfb9d)) +* prevent install-app-deps infinite recursion in npm workspaces ([#9692](https://github.com/electron-userland/electron-builder/issues/9692)) ([a821ae8](https://github.com/electron-userland/electron-builder/commit/a821ae8bff54aff563c39414e1134dfad862814a)) +* properly collect node_modules when they're ESM and we're node>=16 ([#9380](https://github.com/electron-userland/electron-builder/issues/9380)) ([ec0a851](https://github.com/electron-userland/electron-builder/commit/ec0a85179b4508c372667f55e395d8b27c58a046)) +* properly resolve package `version --> path` within pnpm virtual store ([#9698](https://github.com/electron-userland/electron-builder/issues/9698)) ([fb92196](https://github.com/electron-userland/electron-builder/commit/fb921963168cf654e05e5230b2ca1280a326667c)) +* provide support for pnpm 11 ([#9720](https://github.com/electron-userland/electron-builder/issues/9720)) ([7751ace](https://github.com/electron-userland/electron-builder/commit/7751acea613f1a85d1585edabd7a77bb0699af78)) +* quote tempBatFile path in cmd.exe args to support paths with spaces ([#9566](https://github.com/electron-userland/electron-builder/issues/9566)) ([769b608](https://github.com/electron-userland/electron-builder/commit/769b6080a7258205e2ea7cac74526765b80f7e0f)) +* refactor mac/mas/mas-dev logic flows within MacPackager ([#9567](https://github.com/electron-userland/electron-builder/issues/9567)) ([2c4cfa4](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2)) +* respect electron_builder_binaries_mirror in downloadArtifact ([#9631](https://github.com/electron-userland/electron-builder/issues/9631)) ([0c8fc41](https://github.com/electron-userland/electron-builder/commit/0c8fc415debf0dc7e19e8ffd9c06db100ef41f11)) +* restore duplicate dependency and workspace tree resolution ([#9548](https://github.com/electron-userland/electron-builder/issues/9548)) ([aec9157](https://github.com/electron-userland/electron-builder/commit/aec9157b5124acf9409a46461eca86cb1212831b)) +* search app directory before package directory to respect two-package.json project setups ([#9450](https://github.com/electron-userland/electron-builder/issues/9450)) ([39ae6a7](https://github.com/electron-userland/electron-builder/commit/39ae6a7fb7109e8ab865fd1438592440110f4b71)) +* search for actual path in hoisted mode for pnpm since it can still return virtual paths via CLI ([#9392](https://github.com/electron-userland/electron-builder/issues/9392)) ([65eecac](https://github.com/electron-userland/electron-builder/commit/65eecac1bec8fb5667621bdba4f1d2b1c75230b5)) +* skip Netlify PR deploy workflow on forks ([#9474](https://github.com/electron-userland/electron-builder/issues/9474)) ([858b5c5](https://github.com/electron-userland/electron-builder/commit/858b5c5580013b8a2c7827026354d080c4dc6e21)) +* **squirrel-windows:** remove spurious default vendor warning ([#9595](https://github.com/electron-userland/electron-builder/issues/9595)) ([5d4651d](https://github.com/electron-userland/electron-builder/commit/5d4651dbb29d0730d0fb3be96de79d9348c0a99c)) +* update `fpm` to v1.17.0 ([#9381](https://github.com/electron-userland/electron-builder/issues/9381)) ([6171472](https://github.com/electron-userland/electron-builder/commit/617147281ceb53e9d40be852678131d2832abd79)) +* update and fix `ci-info` import for detecting CI ([#9356](https://github.com/electron-userland/electron-builder/issues/9356)) ([2e0837b](https://github.com/electron-userland/electron-builder/commit/2e0837b279156ad5b60a71d1e2733b495c192f5a)) +* update dmg-builder toolset for usage on older macos (decoupling from homebrew packages) ([#9738](https://github.com/electron-userland/electron-builder/issues/9738)) ([0a46eb1](https://github.com/electron-userland/electron-builder/commit/0a46eb1869fa8d77b2f7e8bf47376d60e7d640b2)) +* update dmgbuilder toolset to 1.2.2 and add mac_alias test case ([#9740](https://github.com/electron-userland/electron-builder/issues/9740)) ([26ce28c](https://github.com/electron-userland/electron-builder/commit/26ce28c79ef42a7f80a91e9a68eba22dc4ca8150)) +* update pr-labeler config to correct syntax ([#9471](https://github.com/electron-userland/electron-builder/issues/9471)) ([4df70dc](https://github.com/electron-userland/electron-builder/commit/4df70dceac5f754c0ad45ae2ae7545fc781c9af6)) +* update the `dmgbuild` hex regex to be case insensitive ([#9487](https://github.com/electron-userland/electron-builder/issues/9487)) ([c3af390](https://github.com/electron-userland/electron-builder/commit/c3af390ec67becfe548a8c83f0d3ba828c28b751)) +* **updater:** don't throw on releases with non-semver tags when collecting full changelog ([#9550](https://github.com/electron-userland/electron-builder/issues/9550)) ([8aee1e6](https://github.com/electron-userland/electron-builder/commit/8aee1e6944afae05a60d2a392743a78f818ee6de)) +* use `["workspaces", "list", "--json"]` instead of `workspaceRoot` for yarn v2+ package manager ([#9415](https://github.com/electron-userland/electron-builder/issues/9415)) ([4d24ebd](https://github.com/electron-userland/electron-builder/commit/4d24ebd79ea33d8d9afa4a4bf18af90e968d0ff3)) +* Use `yarn config --json` to parse yarn berry (output varies v2-4) ([#9371](https://github.com/electron-userland/electron-builder/issues/9371)) ([2f3e7e1](https://github.com/electron-userland/electron-builder/commit/2f3e7e1e67dd30c4987c33172ca6857ee0a2fc14)) +* use correct types for makeUniversalApp (e.g. `undefined` instead of potentially `null`) ([#9416](https://github.com/electron-userland/electron-builder/issues/9416)) ([ada111e](https://github.com/electron-userland/electron-builder/commit/ada111ebe82d9487c27441969ab15899bafad4c9)) +* utilize a js helper `dynamic-import.js` for trying `await import` and `require` ([#9299](https://github.com/electron-userland/electron-builder/issues/9299)) ([9f06a85](https://github.com/electron-userland/electron-builder/commit/9f06a859f9c82b305d0a43c5b6e8c47d1c7451f1)) +* validate package version w/ `semver` when traversing directories in search of a matching node module ([#9424](https://github.com/electron-userland/electron-builder/issues/9424)) ([e3f3592](https://github.com/electron-userland/electron-builder/commit/e3f3592cfa8043c646d1791fa7f41feb45556ea9)) +* Windows build fails with spawn EINVAL after Node.js security fix ([#9489](https://github.com/electron-userland/electron-builder/issues/9489)) ([3022f0f](https://github.com/electron-userland/electron-builder/commit/3022f0f840c893d14beb82d638bedb8ed27d7ae6)) +* Windows node module collection fails for PMs with whitespace in filepath ([#9695](https://github.com/electron-userland/electron-builder/issues/9695)) ([9967672](https://github.com/electron-userland/electron-builder/commit/99676722552714a97c2285b170230ef941d411c0)) +* **win:** rebuild app exe if header of the asar has changed ([#9607](https://github.com/electron-userland/electron-builder/issues/9607)) ([02a9105](https://github.com/electron-userland/electron-builder/commit/02a9105d1c4420e418d740dfa0bbbd22d5b44735)) +* **win:** recover signing queue after transient errors ([#9657](https://github.com/electron-userland/electron-builder/issues/9657)) ([65e5318](https://github.com/electron-userland/electron-builder/commit/65e5318c50eeefa41b61415a0917e26709bb602a)) +* wrap any node_modules collector in a `.bat` when on Windows and the file path has a space in it ([#9759](https://github.com/electron-userland/electron-builder/issues/9759)) ([139ac27](https://github.com/electron-userland/electron-builder/commit/139ac274e840ed53281807d6cc7c57fd31e91809)) + + +### Features + +* add `size` option to DmgOptions for explicit DMG filesystem size ([#9543](https://github.com/electron-userland/electron-builder/issues/9543)) ([bfee115](https://github.com/electron-userland/electron-builder/commit/bfee115b185fa4dcb14b0fae6ccee1adc4d4590e)) +* add beta support for snap `core24` ([#9517](https://github.com/electron-userland/electron-builder/issues/9517)) ([059fffd](https://github.com/electron-userland/electron-builder/commit/059fffd5b9aabd72e9a8b592b9b7cef4a9e063ef)) +* add support for dmgbuild's `badge-icon` configuration ([#9513](https://github.com/electron-userland/electron-builder/issues/9513)) ([b1d6e24](https://github.com/electron-userland/electron-builder/commit/b1d6e2417001977d12dc8365e6c5ceb5ac9d49c9)) +* add the CLI command to clear electron-builder's default cache directory ([#9739](https://github.com/electron-userland/electron-builder/issues/9739)) ([0361243](https://github.com/electron-userland/electron-builder/commit/0361243edcef6807ae81f18ae7e083c796dcab94)) +* adding additional toolsets support for win-codesign/windows-kits ([#9430](https://github.com/electron-userland/electron-builder/issues/9430)) ([1b39a8e](https://github.com/electron-userland/electron-builder/commit/1b39a8e23c019a0e61fbe1fe5e973113036d255b)) +* adding bun node_module collector support ([#9357](https://github.com/electron-userland/electron-builder/issues/9357)) ([811d13d](https://github.com/electron-userland/electron-builder/commit/811d13d730fe78ee2e721b7c537e8b3e5579a4f0)) +* allow target specific build options to override top-level publish configuration ([#9425](https://github.com/electron-userland/electron-builder/issues/9425)) ([5f962f9](https://github.com/electron-userland/electron-builder/commit/5f962f9cae875da1208caa96fe040b2fe9224ea7)) +* allowing negative patterns to be provided for `signExts` as signing overrides ([#9335](https://github.com/electron-userland/electron-builder/issues/9335)) ([16c8fa1](https://github.com/electron-userland/electron-builder/commit/16c8fa19b288770a6d24164e562a353877e59536)) +* **app-builder-lib:** Allow local nsis-resources via env var `ELECTRON_BUILDER_NSIS_RESOURCES_DIR` ([#9333](https://github.com/electron-userland/electron-builder/issues/9333)) ([6a49f85](https://github.com/electron-userland/electron-builder/commit/6a49f85c69a22844729033f023249975f47a28f1)) +* **appimage:** Launch with `--no-sandbox` only when necessary ([#9590](https://github.com/electron-userland/electron-builder/issues/9590)) ([ed422f3](https://github.com/electron-userland/electron-builder/commit/ed422f36540a93e9bd2a19bc7a5e729bf2b033ea)) +* **appimage:** support static appimage runtime via `toolsets` property ([#9558](https://github.com/electron-userland/electron-builder/issues/9558)) ([c18f0eb](https://github.com/electron-userland/electron-builder/commit/c18f0eb26bd9ba366b45e0ff9e85cdee0daba4ef)) +* Check for `\S` Silent Flag when executing NSIS Uninstaller ([#9282](https://github.com/electron-userland/electron-builder/issues/9282)) ([836a15c](https://github.com/electron-userland/electron-builder/commit/836a15c6c70abf8582aaa63603e14f77d5fa3f89)) +* **electron-publish:** add gitlab publisher ([#9209](https://github.com/electron-userland/electron-builder/issues/9209)) ([6fd391d](https://github.com/electron-userland/electron-builder/commit/6fd391d9e8390c00c8b0674d8ac3a5b7b6f0f19f)) +* Expanding `${arch}` macro for `mac.binaries` in case of unpacked files within universal builds ([#9263](https://github.com/electron-userland/electron-builder/issues/9263)) ([08773af](https://github.com/electron-userland/electron-builder/commit/08773afadfe10911ed1dff084fefe1024c5a74d8)) +* **flatpak:** use configuration for `executableArgs` ([#9530](https://github.com/electron-userland/electron-builder/issues/9530)) ([d56550f](https://github.com/electron-userland/electron-builder/commit/d56550f75828ef3c097377264336794f2f65da86)) +* improve detecting pm and support bun ([#9262](https://github.com/electron-userland/electron-builder/issues/9262)) ([c51f962](https://github.com/electron-userland/electron-builder/commit/c51f96272517c08a09504445fb31e61326e0c381)) +* migrate `electronDownload` to use `electron/get` instead of `app-builder` ([#8827](https://github.com/electron-userland/electron-builder/issues/8827)) ([c82bec1](https://github.com/electron-userland/electron-builder/commit/c82bec161d07b1df8adc5cd80a495c4ff0829373)) +* migrate to `resedit` npm package from `app-builder-bin`s usage of `rcedit.exe` ([#9717](https://github.com/electron-userland/electron-builder/issues/9717)) ([403706b](https://github.com/electron-userland/electron-builder/commit/403706be7efd887ce3f2fb4d86c854b733262dff)) +* **nsis:** adding `nsis` toolset configuration for makensis ([#9768](https://github.com/electron-userland/electron-builder/issues/9768)) ([2181fd0](https://github.com/electron-userland/electron-builder/commit/2181fd02850101002fd82e463b9e0ed93d44fc7b)) +* **nsis:** allow disabling signing without disabling editing the executable ([#9708](https://github.com/electron-userland/electron-builder/issues/9708)) ([3199d18](https://github.com/electron-userland/electron-builder/commit/3199d186678cc26917b47e7ef39c7ca10ab3a89a)) +* **nsis:** detect Windows version and exclude Windows 7 compatibility logic when on Windows 8+ ([#9564](https://github.com/electron-userland/electron-builder/issues/9564)) ([13d8535](https://github.com/electron-userland/electron-builder/commit/13d85355b6d37bd82d5153d260ba11de71323875)) +* pass release notes to GitHub/GitLab release body ([#9581](https://github.com/electron-userland/electron-builder/issues/9581)) ([b7df0bc](https://github.com/electron-userland/electron-builder/commit/b7df0bcef5790814fd6df187346dcec625dc681e)) +* Provide progress updates for multiple range differential downloads ([#9448](https://github.com/electron-userland/electron-builder/issues/9448)) ([3533a3e](https://github.com/electron-userland/electron-builder/commit/3533a3eb5af01416db3ecac703d6da031b05e615)) +* replace legacy `linux-tools-mac` toolset with v1.0.0 (arm64 + x64 bundles) for deb/tar builds on macOS ([#9767](https://github.com/electron-userland/electron-builder/issues/9767)) ([9a31b4e](https://github.com/electron-userland/electron-builder/commit/9a31b4eac3155a9eea9bca9593fd616aa1098b73)) +* support `corepack` `packageManager` and add related unit tests ([#9309](https://github.com/electron-userland/electron-builder/issues/9309)) ([b741b72](https://github.com/electron-userland/electron-builder/commit/b741b726daeb06080ab1cf46a93d318fd89ae4e7)) +* support Icon Composer icons for macOS ([#9279](https://github.com/electron-userland/electron-builder/issues/9279)) ([b6a34c0](https://github.com/electron-userland/electron-builder/commit/b6a34c00c35e42dc279a55d672558ea7badc7fcd)) +* update `dmgbuild` and migrate to portable `dmgbuild` python bundle ([#9516](https://github.com/electron-userland/electron-builder/issues/9516)) ([9b1dbb2](https://github.com/electron-userland/electron-builder/commit/9b1dbb2f56662b2072662ed7432228e1c4437640)) +* **windows:** add `capabilities` macro for `AppxOptions` ([#9437](https://github.com/electron-userland/electron-builder/issues/9437)) ([3fa2d89](https://github.com/electron-userland/electron-builder/commit/3fa2d894ac609d0d819d7adb80ff50bfca08039f)) + + +### Performance Improvements + +* optimize duplicate checking in asar packager using Set ([#9386](https://github.com/electron-userland/electron-builder/issues/9386)) ([7f7113d](https://github.com/electron-userland/electron-builder/commit/7f7113dc435a427ca4ff041fb138512ac0bdeaaa)) +* **pnpm:** memoize package resolution and skip downward search in flat virtual store ([#9732](https://github.com/electron-userland/electron-builder/issues/9732)) ([a2fc793](https://github.com/electron-userland/electron-builder/commit/a2fc7932b6955744a394e24b5da5c1ce03e68067)) + + + # [](https://github.com/electron-userland/electron-builder/compare/v26.0.20...v) (2026-05-29) diff --git a/packages/app-builder-lib/CHANGELOG.md b/packages/app-builder-lib/CHANGELOG.md index e4c559715f3..efb537ecd44 100644 --- a/packages/app-builder-lib/CHANGELOG.md +++ b/packages/app-builder-lib/CHANGELOG.md @@ -1,5 +1,30 @@ # app-builder-lib +## 26.12.1 + +### Patch Changes + +- Fix: harden generated-file output, argument construction, and download validation _[`#9778`](https://github.com/electron-userland/electron-builder/pull/9778) [`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [@mmaietta](https://github.com/mmaietta)_ +- Fix: properly parse and pass through `mas` configs to overwrite `mac` config when target is `mas` or `mas-dev` _[`#9567`](https://github.com/electron-userland/electron-builder/pull/9567) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [@mmaietta](https://github.com/mmaietta)_ +- Fix(codeql): resolving GH CodeQL alerts _[`#9783`](https://github.com/electron-userland/electron-builder/pull/9783) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [@mmaietta](https://github.com/mmaietta)_ +- Chore: provide better error messaging when electron version in devDependencies or electronVersion property are not pinned _[`#9785`](https://github.com/electron-userland/electron-builder/pull/9785) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6) [@mmaietta](https://github.com/mmaietta)_ + +
Updated 5 dependencies + + + +[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) + + + +- `builder-util-runtime@9.6.2` +- `builder-util@26.12.1` +- `dmg-builder@26.12.1` +- `electron-builder-squirrel-windows@26.12.1` +- `electron-publish@26.12.1` + +
+ ## 26.12.0 ### Minor Changes diff --git a/packages/app-builder-lib/package.json b/packages/app-builder-lib/package.json index bdd67343632..b1efd14ef8c 100644 --- a/packages/app-builder-lib/package.json +++ b/packages/app-builder-lib/package.json @@ -1,7 +1,7 @@ { "name": "app-builder-lib", "description": "electron-builder lib", - "version": "26.12.0", + "version": "26.12.1", "main": "out/index.js", "files": [ "out", diff --git a/packages/app-builder-lib/src/macPackager.ts b/packages/app-builder-lib/src/macPackager.ts index ce375e20359..d0bca38e0bd 100644 --- a/packages/app-builder-lib/src/macPackager.ts +++ b/packages/app-builder-lib/src/macPackager.ts @@ -1,7 +1,21 @@ import { SignOptions } from "@electron/osx-sign/dist/cjs/types" import { Identity } from "@electron/osx-sign/dist/cjs/util-identities" import { makeUniversalApp } from "@electron/universal" -import { Arch, AsyncTaskManager, copyFile, deepAssign, exec, exists, getArchSuffix, InvalidConfigurationError, log, orIfFileNotExist, sanitizeDirPath, unlinkIfExists, use } from "builder-util" +import { + Arch, + AsyncTaskManager, + copyFile, + deepAssign, + exec, + exists, + getArchSuffix, + InvalidConfigurationError, + log, + orIfFileNotExist, + sanitizeDirPath, + unlinkIfExists, + use, +} from "builder-util" import { MemoLazy, Nullish } from "builder-util-runtime" import * as fs from "fs/promises" import { mkdir, readdir } from "fs/promises" diff --git a/packages/app-builder-lib/src/version.ts b/packages/app-builder-lib/src/version.ts index afdd653d373..049a62bdbc3 100644 --- a/packages/app-builder-lib/src/version.ts +++ b/packages/app-builder-lib/src/version.ts @@ -1 +1 @@ -export const PACKAGE_VERSION = "26.12.0" +export const PACKAGE_VERSION = "26.12.1" diff --git a/packages/builder-util-runtime/CHANGELOG.md b/packages/builder-util-runtime/CHANGELOG.md index 32d5c0edbb0..a9d50fa9d98 100644 --- a/packages/builder-util-runtime/CHANGELOG.md +++ b/packages/builder-util-runtime/CHANGELOG.md @@ -1,5 +1,12 @@ # builder-util-runtime +## 9.6.2 + +### Patch Changes + +- Fix: harden generated-file output, argument construction, and download validation _[`#9778`](https://github.com/electron-userland/electron-builder/pull/9778) [`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [@mmaietta](https://github.com/mmaietta)_ +- Fix(codeql): resolving GH CodeQL alerts _[`#9783`](https://github.com/electron-userland/electron-builder/pull/9783) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [@mmaietta](https://github.com/mmaietta)_ + ## 9.6.1 ### Patch Changes diff --git a/packages/builder-util-runtime/package.json b/packages/builder-util-runtime/package.json index 62c29053ced..e8da5ec67b7 100644 --- a/packages/builder-util-runtime/package.json +++ b/packages/builder-util-runtime/package.json @@ -1,6 +1,6 @@ { "name": "builder-util-runtime", - "version": "9.6.1", + "version": "9.6.2", "main": "out/index.js", "author": "Vladimir Krivosheev", "license": "MIT", diff --git a/packages/builder-util/CHANGELOG.md b/packages/builder-util/CHANGELOG.md index 7e0ddd76b7b..a9cd15c55fe 100644 --- a/packages/builder-util/CHANGELOG.md +++ b/packages/builder-util/CHANGELOG.md @@ -1,5 +1,24 @@ # builder-util +## 26.12.1 + +### Patch Changes + +- Fix: harden generated-file output, argument construction, and download validation _[`#9778`](https://github.com/electron-userland/electron-builder/pull/9778) [`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [@mmaietta](https://github.com/mmaietta)_ +- Fix(codeql): resolving GH CodeQL alerts _[`#9783`](https://github.com/electron-userland/electron-builder/pull/9783) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [@mmaietta](https://github.com/mmaietta)_ + +
Updated 1 dependency + + + +[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) + + + +- `builder-util-runtime@9.6.2` + +
+ ## 26.12.0 ### Minor Changes diff --git a/packages/builder-util/package.json b/packages/builder-util/package.json index f8386b260d5..d705763f589 100644 --- a/packages/builder-util/package.json +++ b/packages/builder-util/package.json @@ -1,6 +1,6 @@ { "name": "builder-util", - "version": "26.12.0", + "version": "26.12.1", "main": "out/util.js", "author": "Vladimir Krivosheev", "license": "MIT", diff --git a/packages/dmg-builder/CHANGELOG.md b/packages/dmg-builder/CHANGELOG.md index 57774a40593..d5a2d824f6a 100644 --- a/packages/dmg-builder/CHANGELOG.md +++ b/packages/dmg-builder/CHANGELOG.md @@ -1,5 +1,24 @@ # dmg-builder +## 26.12.1 + +### Patch Changes + +- Fix: harden generated-file output, argument construction, and download validation _[`#9778`](https://github.com/electron-userland/electron-builder/pull/9778) [`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [@mmaietta](https://github.com/mmaietta)_ + +
Updated 2 dependencies + + + +[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6) + + + +- `app-builder-lib@26.12.1` +- `builder-util@26.12.1` + +
+ ## 26.12.0 ### Patch Changes diff --git a/packages/dmg-builder/package.json b/packages/dmg-builder/package.json index 05190c993a1..ceff3750a88 100644 --- a/packages/dmg-builder/package.json +++ b/packages/dmg-builder/package.json @@ -1,6 +1,6 @@ { "name": "dmg-builder", - "version": "26.12.0", + "version": "26.12.1", "main": "out/dmgUtil.js", "author": "Vladimir Krivosheev", "license": "MIT", diff --git a/packages/electron-builder-squirrel-windows/CHANGELOG.md b/packages/electron-builder-squirrel-windows/CHANGELOG.md index 08882263a9e..6f5a5bc47be 100644 --- a/packages/electron-builder-squirrel-windows/CHANGELOG.md +++ b/packages/electron-builder-squirrel-windows/CHANGELOG.md @@ -1,5 +1,24 @@ # electron-builder-squirrel-windows +## 26.12.1 + +### Patch Changes + +- Fix(codeql): resolving GH CodeQL alerts _[`#9783`](https://github.com/electron-userland/electron-builder/pull/9783) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [@mmaietta](https://github.com/mmaietta)_ + +
Updated 2 dependencies + + + +[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6) + + + +- `app-builder-lib@26.12.1` +- `builder-util@26.12.1` + +
+ ## 26.12.0 ### Patch Changes diff --git a/packages/electron-builder-squirrel-windows/package.json b/packages/electron-builder-squirrel-windows/package.json index 95fd71f54f6..f298e3e3c38 100644 --- a/packages/electron-builder-squirrel-windows/package.json +++ b/packages/electron-builder-squirrel-windows/package.json @@ -1,6 +1,6 @@ { "name": "electron-builder-squirrel-windows", - "version": "26.12.0", + "version": "26.12.1", "main": "out/SquirrelWindowsTarget.js", "author": "Vladimir Krivosheev", "license": "MIT", diff --git a/packages/electron-builder-squirrel-windows/src/SquirrelWindowsTarget.ts b/packages/electron-builder-squirrel-windows/src/SquirrelWindowsTarget.ts index 04d972062c0..64364c2e1cc 100644 --- a/packages/electron-builder-squirrel-windows/src/SquirrelWindowsTarget.ts +++ b/packages/electron-builder-squirrel-windows/src/SquirrelWindowsTarget.ts @@ -69,24 +69,24 @@ export default class SquirrelWindowsTarget extends Target { try { canonicalBaseDir = await fs.promises.realpath(resolvedBaseDir) - } - catch { + } catch { canonicalBaseDir = resolvedBaseDir } try { canonicalTargetPath = await fs.promises.realpath(resolvedTargetPath) - } - catch { + } catch { // Target may not exist yet; resolve the parent to handle symlinks/junctions consistently try { const resolvedTargetParent = path.dirname(resolvedTargetPath) const canonicalTargetParent = await fs.promises.realpath(resolvedTargetParent) const relativeFromResolvedParent = path.relative(resolvedTargetParent, resolvedTargetPath) - if (isEmptyOrSpaces(relativeFromResolvedParent) || + if ( + isEmptyOrSpaces(relativeFromResolvedParent) || path.isAbsolute(relativeFromResolvedParent) || relativeFromResolvedParent.split(path.sep).includes("..") || - /[\0\r\n]/.test(relativeFromResolvedParent)) { + /[\0\r\n]/.test(relativeFromResolvedParent) + ) { throw new InvalidConfigurationError(`${description} contains invalid path segments`) } canonicalTargetPath = path.resolve(canonicalTargetParent, relativeFromResolvedParent) diff --git a/packages/electron-builder/CHANGELOG.md b/packages/electron-builder/CHANGELOG.md index 821dc198073..a64eb2090de 100644 --- a/packages/electron-builder/CHANGELOG.md +++ b/packages/electron-builder/CHANGELOG.md @@ -1,5 +1,26 @@ # electron-builder +## 26.12.1 + +### Patch Changes + +- Fix: harden generated-file output, argument construction, and download validation _[`#9778`](https://github.com/electron-userland/electron-builder/pull/9778) [`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [@mmaietta](https://github.com/mmaietta)_ + +
Updated 4 dependencies + + + +[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6) + + + +- `builder-util-runtime@9.6.2` +- `app-builder-lib@26.12.1` +- `builder-util@26.12.1` +- `dmg-builder@26.12.1` + +
+ ## 26.12.0 ### Patch Changes diff --git a/packages/electron-builder/package.json b/packages/electron-builder/package.json index 90493800f0b..105772d4c2a 100644 --- a/packages/electron-builder/package.json +++ b/packages/electron-builder/package.json @@ -1,7 +1,7 @@ { "name": "electron-builder", "description": "A complete solution to package and build a ready for distribution Electron app for MacOS, Windows and Linux with “auto update” support out of the box", - "version": "26.12.0", + "version": "26.12.1", "main": "out/index.js", "files": [ "out" diff --git a/packages/electron-forge-maker-appimage/CHANGELOG.md b/packages/electron-forge-maker-appimage/CHANGELOG.md index d2120baa1f9..e368f2abe11 100644 --- a/packages/electron-forge-maker-appimage/CHANGELOG.md +++ b/packages/electron-forge-maker-appimage/CHANGELOG.md @@ -1,5 +1,21 @@ # electron-forge-maker-appimage +## 26.12.1 + +### Patch Changes + +
Updated 1 dependency + + + +[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6) + + + +- `app-builder-lib@26.12.1` + +
+ ## 26.12.0 ### Patch Changes diff --git a/packages/electron-forge-maker-appimage/package.json b/packages/electron-forge-maker-appimage/package.json index 4b62d6478fb..29e6fafa313 100644 --- a/packages/electron-forge-maker-appimage/package.json +++ b/packages/electron-forge-maker-appimage/package.json @@ -1,6 +1,6 @@ { "name": "electron-forge-maker-appimage", - "version": "26.12.0", + "version": "26.12.1", "main": "main.js", "author": "Vladimir Krivosheev", "license": "MIT", diff --git a/packages/electron-forge-maker-nsis-web/CHANGELOG.md b/packages/electron-forge-maker-nsis-web/CHANGELOG.md index 82a69eae3b9..d58eb5182bc 100644 --- a/packages/electron-forge-maker-nsis-web/CHANGELOG.md +++ b/packages/electron-forge-maker-nsis-web/CHANGELOG.md @@ -1,5 +1,21 @@ # electron-forge-maker-nsis-web +## 26.12.1 + +### Patch Changes + +
Updated 1 dependency + + + +[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6) + + + +- `app-builder-lib@26.12.1` + +
+ ## 26.12.0 ### Patch Changes diff --git a/packages/electron-forge-maker-nsis-web/package.json b/packages/electron-forge-maker-nsis-web/package.json index bc329781ce7..2df4cad8e9f 100644 --- a/packages/electron-forge-maker-nsis-web/package.json +++ b/packages/electron-forge-maker-nsis-web/package.json @@ -1,6 +1,6 @@ { "name": "electron-forge-maker-nsis-web", - "version": "26.12.0", + "version": "26.12.1", "main": "main.js", "author": "Vladimir Krivosheev", "license": "MIT", diff --git a/packages/electron-forge-maker-nsis/CHANGELOG.md b/packages/electron-forge-maker-nsis/CHANGELOG.md index 6f1ce899c98..ae880d5df76 100644 --- a/packages/electron-forge-maker-nsis/CHANGELOG.md +++ b/packages/electron-forge-maker-nsis/CHANGELOG.md @@ -1,5 +1,21 @@ # electron-forge-maker-nsis +## 26.12.1 + +### Patch Changes + +
Updated 1 dependency + + + +[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6) + + + +- `app-builder-lib@26.12.1` + +
+ ## 26.12.0 ### Patch Changes diff --git a/packages/electron-forge-maker-nsis/package.json b/packages/electron-forge-maker-nsis/package.json index 613a53c7ba3..2d4892e9587 100644 --- a/packages/electron-forge-maker-nsis/package.json +++ b/packages/electron-forge-maker-nsis/package.json @@ -1,6 +1,6 @@ { "name": "electron-forge-maker-nsis", - "version": "26.12.0", + "version": "26.12.1", "main": "main.js", "author": "Vladimir Krivosheev", "license": "MIT", diff --git a/packages/electron-forge-maker-snap/CHANGELOG.md b/packages/electron-forge-maker-snap/CHANGELOG.md index 6224cca6774..a08621eaaf5 100644 --- a/packages/electron-forge-maker-snap/CHANGELOG.md +++ b/packages/electron-forge-maker-snap/CHANGELOG.md @@ -1,5 +1,21 @@ # electron-forge-maker-snap +## 26.12.1 + +### Patch Changes + +
Updated 1 dependency + + + +[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6) + + + +- `app-builder-lib@26.12.1` + +
+ ## 26.12.0 ### Patch Changes diff --git a/packages/electron-forge-maker-snap/package.json b/packages/electron-forge-maker-snap/package.json index 13c01bf04e7..861e31b0c10 100644 --- a/packages/electron-forge-maker-snap/package.json +++ b/packages/electron-forge-maker-snap/package.json @@ -1,6 +1,6 @@ { "name": "electron-forge-maker-snap", - "version": "26.12.0", + "version": "26.12.1", "main": "main.js", "author": "Vladimir Krivosheev", "license": "MIT", diff --git a/packages/electron-publish/CHANGELOG.md b/packages/electron-publish/CHANGELOG.md index 8b442da8495..17eac5eea42 100644 --- a/packages/electron-publish/CHANGELOG.md +++ b/packages/electron-publish/CHANGELOG.md @@ -1,5 +1,22 @@ # electron-publish +## 26.12.1 + +### Patch Changes + +
Updated 2 dependencies + + + +[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) + + + +- `builder-util-runtime@9.6.2` +- `builder-util@26.12.1` + +
+ ## 26.12.0 ### Minor Changes diff --git a/packages/electron-publish/package.json b/packages/electron-publish/package.json index b0dd2483667..866194725ac 100644 --- a/packages/electron-publish/package.json +++ b/packages/electron-publish/package.json @@ -1,6 +1,6 @@ { "name": "electron-publish", - "version": "26.12.0", + "version": "26.12.1", "main": "out/index.js", "author": "Vladimir Krivosheev", "license": "MIT", diff --git a/packages/electron-updater/CHANGELOG.md b/packages/electron-updater/CHANGELOG.md index dc71ef7ae98..2d4b3519e49 100644 --- a/packages/electron-updater/CHANGELOG.md +++ b/packages/electron-updater/CHANGELOG.md @@ -1,5 +1,21 @@ ## 4.3.0 +## 6.8.7 + +### Patch Changes + +
Updated 1 dependency + + + +[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) + + + +- `builder-util-runtime@9.6.2` + +
+ ## 6.8.6 ### Patch Changes diff --git a/packages/electron-updater/package.json b/packages/electron-updater/package.json index a81d5e788ab..4a78a073b5c 100644 --- a/packages/electron-updater/package.json +++ b/packages/electron-updater/package.json @@ -1,6 +1,6 @@ { "name": "electron-updater", - "version": "6.8.6", + "version": "6.8.7", "description": "Cross platform updater for electron applications", "main": "out/main.js", "author": "Vladimir Krivosheev", diff --git a/test/src/mac/MacTargetHelperTest.ts b/test/src/mac/MacTargetHelperTest.ts index 791cff2b06b..c75177975c3 100644 --- a/test/src/mac/MacTargetHelperTest.ts +++ b/test/src/mac/MacTargetHelperTest.ts @@ -93,7 +93,16 @@ describe("MacTargetHelper", () => { }) describe("getNotarizeOptions", () => { - const envKeys = ["APPLE_ID", "APPLE_APP_SPECIFIC_PASSWORD", "APPLE_TEAM_ID", "APPLE_API_KEY", "APPLE_API_KEY_ID", "APPLE_API_ISSUER", "APPLE_KEYCHAIN", "APPLE_KEYCHAIN_PROFILE"] + const envKeys = [ + "APPLE_ID", + "APPLE_APP_SPECIFIC_PASSWORD", + "APPLE_TEAM_ID", + "APPLE_API_KEY", + "APPLE_API_KEY_ID", + "APPLE_API_ISSUER", + "APPLE_KEYCHAIN", + "APPLE_KEYCHAIN_PROFILE", + ] afterEach(() => { for (const key of envKeys) {