Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/brown-boxes-know.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/chatty-points-shop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hot-cars-attack.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/long-wasps-divide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lovely-brooms-move.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lovely-geckos-chew.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/lovely-moose-worry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rotten-bags-carry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rude-donuts-bathe.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/selfish-trees-begin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shaggy-garlics-joke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sharp-elephants-shout.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sixty-mice-accept.md

This file was deleted.

2,065 changes: 2,065 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions packages/app-builder-lib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# app-builder-lib

## 26.0.20

### Patch Changes

- [#9231](https://github.com/electron-userland/electron-builder/pull/9231) [`f262a735`](https://github.com/electron-userland/electron-builder/commit/f262a7358dafe189b5d9bf06d7be43478ee35faa) Thanks [@rastiqdev](https://github.com/rastiqdev)! - fix: add quotation marks around variable in AppArmor profile

- [#9216](https://github.com/electron-userland/electron-builder/pull/9216) [`44b28997`](https://github.com/electron-userland/electron-builder/commit/44b28997f15314730d1bb69303a47dc26f7950d1) Thanks [@taylorhadden](https://github.com/taylorhadden)! - feat(github): Add `tagNamePrefix` option and deprecate `vPrefixedTagName`

- [#9219](https://github.com/electron-userland/electron-builder/pull/9219) [`cf0ac45d`](https://github.com/electron-userland/electron-builder/commit/cf0ac45db79e3e3ff1cef3ad931f7272646d1cb1) Thanks [@beyondkmp](https://github.com/beyondkmp)! - fix(yarn): check for dependencies in both projectDir and appDir during installation

- [#9217](https://github.com/electron-userland/electron-builder/pull/9217) [`e9251f47`](https://github.com/electron-userland/electron-builder/commit/e9251f4725f1f7c14c9792f5af8053dde1793d6a) Thanks [@sabonerune](https://github.com/sabonerune)! - fix(nsis): Fix file associations according to the Windows documentation

- Updated dependencies [[`44b28997`](https://github.com/electron-userland/electron-builder/commit/44b28997f15314730d1bb69303a47dc26f7950d1), [`0ad8f91c`](https://github.com/electron-userland/electron-builder/commit/0ad8f91cd5478a2063eb9e20df47797c8b42d48c), [`9997660e`](https://github.com/electron-userland/electron-builder/commit/9997660e20cbdaa4ddb01d1c6078dea91097d6f0), [`7c7fd6ca`](https://github.com/electron-userland/electron-builder/commit/7c7fd6ca240eda72048835f754adac92c4ab4e8c), [`c54a0609`](https://github.com/electron-userland/electron-builder/commit/c54a0609753a11d032f87e727eccbab1f6836081)]:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]

## 26.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/app-builder-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "app-builder-lib",
"description": "electron-builder lib",
"version": "26.0.19",
"version": "26.0.20",
"main": "out/index.js",
"files": [
"out",
Expand Down
8 changes: 4 additions & 4 deletions packages/app-builder-lib/scheme.json
Original file line number Diff line number Diff line change
Expand Up @@ -1578,6 +1578,10 @@
"$ref": "#/definitions/OutgoingHttpHeaders",
"description": "Any custom request headers"
},
"tagNamePrefix": {
"description": "If defined, sets the prefix of the tag name that comes before the semver number.\ne.g. \"v\" in \"v1.2.3\" or \"test\" of \"test1.2.3\".\nOverrides `vPrefixedTagName`",
"type": "string"
},
"timeout": {
"default": 120000,
"description": "Request timeout in milliseconds. (Default is 2 minutes; O is ignored)",
Expand All @@ -1603,10 +1607,6 @@
"default": true,
"description": "Whether to use `v`-prefixed tag name.",
"type": "boolean"
},
"tagNamePrefix": {
"description": "Sets the prefix of the tag name that comes before the semver number. Overrides vPrefixedTagName.",
"type": "string"
}
},
"required": [
Expand Down
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const PACKAGE_VERSION = "26.0.19"
export const PACKAGE_VERSION = "26.0.20"
23 changes: 23 additions & 0 deletions packages/builder-util-runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# builder-util-runtime

## 9.4.0

### Minor Changes

- [#9211](https://github.com/electron-userland/electron-builder/pull/9211) [`7c7fd6ca`](https://github.com/electron-userland/electron-builder/commit/7c7fd6ca240eda72048835f754adac92c4ab4e8c) Thanks [@FringeNet](https://github.com/FringeNet)! - fix: implement industry-standard cross-origin redirect auth handling

Replace hardcoded service-specific hostname checks with sophisticated cross-origin redirect detection that matches industry standards from Python requests library and Apache HttpClient.

**Key improvements:**

- **Case-insensitive hostname comparison** for robust origin detection
- **HTTP→HTTPS upgrade allowance** on standard ports (80→443) for backward compatibility
- **Proper default port handling** that treats implicit and explicit default ports as equivalent
- **Standards-compliant cross-origin detection** following RFC specifications

**Fixes GitHub issue #9207:** GitHub release asset downloads failing with 403 Forbidden when redirected from `api.github.com` to `release-assets.githubusercontent.com` (Azure backend) or other cloud storage services that don't accept GitHub tokens.

The implementation now handles all cross-origin redirect scenarios while maintaining compatibility with legitimate same-origin redirects and industry-standard HTTP→HTTPS upgrades.

### Patch Changes

- [#9216](https://github.com/electron-userland/electron-builder/pull/9216) [`44b28997`](https://github.com/electron-userland/electron-builder/commit/44b28997f15314730d1bb69303a47dc26f7950d1) Thanks [@taylorhadden](https://github.com/taylorhadden)! - feat(github): Add `tagNamePrefix` option and deprecate `vPrefixedTagName`

## 9.3.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/builder-util-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "builder-util-runtime",
"version": "9.3.3",
"version": "9.4.0",
"main": "out/index.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/builder-util-runtime/src/httpExecutor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ Please double check that your authentication token is correct. Due to security r
// Special case: allow http -> https redirect on same host with standard ports
// This matches the behavior of Python requests library for backward compatibility
// url.port returns an empty string if the port is omitted
// or explicitly set to the default port for a given protocol.
// or explicitly set to the default port for a given protocol.
if (
originalUrl.protocol === "http:" &&
// This can be replaced with `!originalUrl.port`, but for the sake of clarity.
Expand Down
4 changes: 2 additions & 2 deletions packages/builder-util-runtime/src/publishOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ export function githubTagPrefix(options: GithubOptions) {
return options.tagNamePrefix
}
if (options.vPrefixedTagName ?? true) {
return 'v'
return "v"
}
return ''
return ""
}

/**
Expand Down
9 changes: 9 additions & 0 deletions packages/builder-util/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# builder-util

## 26.0.20

### Patch Changes

- [#9182](https://github.com/electron-userland/electron-builder/pull/9182) [`c54a0609`](https://github.com/electron-userland/electron-builder/commit/c54a0609753a11d032f87e727eccbab1f6836081) Thanks [@mmaietta](https://github.com/mmaietta)! - fix: scrubbing more aggressively anything in the logs that MIGHT be password affiliated (handling spaces in secrets)

- Updated dependencies [[`44b28997`](https://github.com/electron-userland/electron-builder/commit/44b28997f15314730d1bb69303a47dc26f7950d1), [`7c7fd6ca`](https://github.com/electron-userland/electron-builder/commit/7c7fd6ca240eda72048835f754adac92c4ab4e8c)]:
- [email protected]

## 26.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/builder-util/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "builder-util",
"version": "26.0.19",
"version": "26.0.20",
"main": "out/util.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/dmg-builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# dmg-builder

## 26.0.20

### Patch Changes

- Updated dependencies [[`f262a735`](https://github.com/electron-userland/electron-builder/commit/f262a7358dafe189b5d9bf06d7be43478ee35faa), [`44b28997`](https://github.com/electron-userland/electron-builder/commit/44b28997f15314730d1bb69303a47dc26f7950d1), [`cf0ac45d`](https://github.com/electron-userland/electron-builder/commit/cf0ac45db79e3e3ff1cef3ad931f7272646d1cb1), [`e9251f47`](https://github.com/electron-userland/electron-builder/commit/e9251f4725f1f7c14c9792f5af8053dde1793d6a), [`c54a0609`](https://github.com/electron-userland/electron-builder/commit/c54a0609753a11d032f87e727eccbab1f6836081)]:
- [email protected]
- [email protected]

## 26.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/dmg-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dmg-builder",
"version": "26.0.19",
"version": "26.0.20",
"main": "out/dmgUtil.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
Expand Down
12 changes: 12 additions & 0 deletions packages/electron-builder-squirrel-windows/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# electron-builder-squirrel-windows

## 26.0.20

### Patch Changes

- [#8959](https://github.com/electron-userland/electron-builder/pull/8959) [`0ad8f91c`](https://github.com/electron-userland/electron-builder/commit/0ad8f91cd5478a2063eb9e20df47797c8b42d48c) Thanks [@beyondkmp](https://github.com/beyondkmp)! - fix: generate stubExecutableExe and sign it for squirrel.windows using new electron-builder-binaries asset

- [#9222](https://github.com/electron-userland/electron-builder/pull/9222) [`9997660e`](https://github.com/electron-userland/electron-builder/commit/9997660e20cbdaa4ddb01d1c6078dea91097d6f0) Thanks [@beyondkmp](https://github.com/beyondkmp)! - fix(squirrel-windows): update loadingGif handling to prioritize user-defined option

- Updated dependencies [[`f262a735`](https://github.com/electron-userland/electron-builder/commit/f262a7358dafe189b5d9bf06d7be43478ee35faa), [`44b28997`](https://github.com/electron-userland/electron-builder/commit/44b28997f15314730d1bb69303a47dc26f7950d1), [`cf0ac45d`](https://github.com/electron-userland/electron-builder/commit/cf0ac45db79e3e3ff1cef3ad931f7272646d1cb1), [`e9251f47`](https://github.com/electron-userland/electron-builder/commit/e9251f4725f1f7c14c9792f5af8053dde1793d6a), [`c54a0609`](https://github.com/electron-userland/electron-builder/commit/c54a0609753a11d032f87e727eccbab1f6836081)]:
- [email protected]
- [email protected]

## 26.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/electron-builder-squirrel-windows/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "electron-builder-squirrel-windows",
"version": "26.0.19",
"version": "26.0.20",
"main": "out/SquirrelWindowsTarget.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
Expand Down
14 changes: 14 additions & 0 deletions packages/electron-builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# electron-builder

## 26.0.20

### Patch Changes

- [#9228](https://github.com/electron-userland/electron-builder/pull/9228) [`d031eeaa`](https://github.com/electron-userland/electron-builder/commit/d031eeaa7eb282e516471eed2e2a764716999b20) Thanks [@choegyumin](https://github.com/choegyumin)! - fix: support option to override `PublishPolicy` in publish command

- [#9227](https://github.com/electron-userland/electron-builder/pull/9227) [`8f0ad06e`](https://github.com/electron-userland/electron-builder/commit/8f0ad06eae4716b7b753301531241166a7333058) Thanks [@choegyumin](https://github.com/choegyumin)! - fix: fix argument names mismatch in publish command to make it work

- Updated dependencies [[`f262a735`](https://github.com/electron-userland/electron-builder/commit/f262a7358dafe189b5d9bf06d7be43478ee35faa), [`44b28997`](https://github.com/electron-userland/electron-builder/commit/44b28997f15314730d1bb69303a47dc26f7950d1), [`7c7fd6ca`](https://github.com/electron-userland/electron-builder/commit/7c7fd6ca240eda72048835f754adac92c4ab4e8c), [`cf0ac45d`](https://github.com/electron-userland/electron-builder/commit/cf0ac45db79e3e3ff1cef3ad931f7272646d1cb1), [`e9251f47`](https://github.com/electron-userland/electron-builder/commit/e9251f4725f1f7c14c9792f5af8053dde1793d6a), [`c54a0609`](https://github.com/electron-userland/electron-builder/commit/c54a0609753a11d032f87e727eccbab1f6836081)]:
- [email protected]
- [email protected]
- [email protected]
- [email protected]

## 26.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/electron-builder/package.json
Original file line number Diff line number Diff line change
@@ -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.0.19",
"version": "26.0.20",
"main": "out/index.js",
"files": [
"out"
Expand Down
3 changes: 2 additions & 1 deletion packages/electron-builder/src/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ export function configureBuildCommand(yargs: yargs.Argv): yargs.Argv {
alias: ["c"],
group: buildGroup,
description:
"The path to an electron-builder config. Defaults to `electron-builder.yml` (or `json`, or `json5`, or `js`, or `ts`), see " + chalk.underline("https://www.electron.build/configuration"),
"The path to an electron-builder config. Defaults to `electron-builder.yml` (or `json`, or `json5`, or `js`, or `ts`), see " +
chalk.underline("https://www.electron.build/configuration"),
})
.group(["help", "version"], "Other:")
.example("electron-builder -mwl", "build for macOS, Windows and Linux")
Expand Down
7 changes: 7 additions & 0 deletions packages/electron-forge-maker-appimage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# electron-forge-maker-appimage

## 26.0.20

### Patch Changes

- Updated dependencies [[`f262a735`](https://github.com/electron-userland/electron-builder/commit/f262a7358dafe189b5d9bf06d7be43478ee35faa), [`44b28997`](https://github.com/electron-userland/electron-builder/commit/44b28997f15314730d1bb69303a47dc26f7950d1), [`cf0ac45d`](https://github.com/electron-userland/electron-builder/commit/cf0ac45db79e3e3ff1cef3ad931f7272646d1cb1), [`e9251f47`](https://github.com/electron-userland/electron-builder/commit/e9251f4725f1f7c14c9792f5af8053dde1793d6a)]:
- [email protected]

## 26.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/electron-forge-maker-appimage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "electron-forge-maker-appimage",
"version": "26.0.19",
"version": "26.0.20",
"main": "main.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/electron-forge-maker-nsis-web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# electron-forge-maker-nsis-web

## 26.0.20

### Patch Changes

- Updated dependencies [[`f262a735`](https://github.com/electron-userland/electron-builder/commit/f262a7358dafe189b5d9bf06d7be43478ee35faa), [`44b28997`](https://github.com/electron-userland/electron-builder/commit/44b28997f15314730d1bb69303a47dc26f7950d1), [`cf0ac45d`](https://github.com/electron-userland/electron-builder/commit/cf0ac45db79e3e3ff1cef3ad931f7272646d1cb1), [`e9251f47`](https://github.com/electron-userland/electron-builder/commit/e9251f4725f1f7c14c9792f5af8053dde1793d6a)]:
- [email protected]

## 26.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/electron-forge-maker-nsis-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "electron-forge-maker-nsis-web",
"version": "26.0.19",
"version": "26.0.20",
"main": "main.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/electron-forge-maker-nsis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# electron-forge-maker-nsis

## 26.0.20

### Patch Changes

- Updated dependencies [[`f262a735`](https://github.com/electron-userland/electron-builder/commit/f262a7358dafe189b5d9bf06d7be43478ee35faa), [`44b28997`](https://github.com/electron-userland/electron-builder/commit/44b28997f15314730d1bb69303a47dc26f7950d1), [`cf0ac45d`](https://github.com/electron-userland/electron-builder/commit/cf0ac45db79e3e3ff1cef3ad931f7272646d1cb1), [`e9251f47`](https://github.com/electron-userland/electron-builder/commit/e9251f4725f1f7c14c9792f5af8053dde1793d6a)]:
- [email protected]

## 26.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/electron-forge-maker-nsis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "electron-forge-maker-nsis",
"version": "26.0.19",
"version": "26.0.20",
"main": "main.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/electron-forge-maker-snap/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# electron-forge-maker-snap

## 26.0.20

### Patch Changes

- Updated dependencies [[`f262a735`](https://github.com/electron-userland/electron-builder/commit/f262a7358dafe189b5d9bf06d7be43478ee35faa), [`44b28997`](https://github.com/electron-userland/electron-builder/commit/44b28997f15314730d1bb69303a47dc26f7950d1), [`cf0ac45d`](https://github.com/electron-userland/electron-builder/commit/cf0ac45db79e3e3ff1cef3ad931f7272646d1cb1), [`e9251f47`](https://github.com/electron-userland/electron-builder/commit/e9251f4725f1f7c14c9792f5af8053dde1793d6a)]:
- [email protected]

## 26.0.19

### Patch Changes
Expand Down
Loading