diff --git a/.changeset/pre.json b/.changeset/pre.json index 1cb5d20263a..dbae5e7b243 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -18,7 +18,10 @@ }, "changesets": [ "early-penguins-share", + "lucky-tigers-do", "many-shoes-look", + "nasty-mangos-yawn", + "real-cougars-watch", "sweet-masks-sparkle", "tiny-cobras-walk", "tricky-files-speak", diff --git a/CHANGELOG.md b/CHANGELOG.md index 76b082dd067..604a449ea6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +# [](https://github.com/electron-userland/electron-builder/compare/v25.1.6...v) (2024-10-10) + + +### Bug Fixes + +* packages in the workspace not being under node_modules ([#8576](https://github.com/electron-userland/electron-builder/issues/8576)) ([3eab714](https://github.com/electron-userland/electron-builder/commit/3eab7143d74262caace81ea05e97617d07daf336)), closes [/github.com/electron-userland/electron-builder/blob/a25d04d5a8e58b447f0462673a4362414da9ed27/packages/app-builder-lib/src/util/appFileCopier.ts#L191-L203](https://github.com//github.com/electron-userland/electron-builder/blob/a25d04d5a8e58b447f0462673a4362414da9ed27/packages/app-builder-lib/src/util/appFileCopier.ts/issues/L191-L203) [/github.com/electron-userland/electron-builder/blob/a25d04d5a8e58b447f0462673a4362414da9ed27/packages/app-builder-lib/src/util/filter.ts#L28-L36](https://github.com//github.com/electron-userland/electron-builder/blob/a25d04d5a8e58b447f0462673a4362414da9ed27/packages/app-builder-lib/src/util/filter.ts/issues/L28-L36) +* add additional default exclusions (`node_gyp_bins`, `pnpm-lock.yaml`, `.obj`) to copy logic ([#8577](https://github.com/electron-userland/electron-builder/issues/8577)) ([e9eef0c](https://github.com/electron-userland/electron-builder/commit/e9eef0c1c7f73a5edfe3026f044c6278641077cb)) +* check if the file already starts with a UTF-8 BOM ([#8551](https://github.com/electron-userland/electron-builder/issues/8551)) ([57cebf4](https://github.com/electron-userland/electron-builder/commit/57cebf4dd4c722456245286d2fd795f7a5fc862c)) +* **deploy:** downgrade changesets/cli to 2.25.0 ([#8574](https://github.com/electron-userland/electron-builder/issues/8574)) ([a25d04d](https://github.com/electron-userland/electron-builder/commit/a25d04d5a8e58b447f0462673a4362414da9ed27)) +* fix the main matcher patterns for !node_modules/@test/xxxx ([#8547](https://github.com/electron-userland/electron-builder/issues/8547)) ([7488456](https://github.com/electron-userland/electron-builder/commit/7488456309d80b88fbf99fb382752078dc8ddefa)) +* pass in platform to electron-rebuild ([#8537](https://github.com/electron-userland/electron-builder/issues/8537)) ([2e84f01](https://github.com/electron-userland/electron-builder/commit/2e84f01351bcfb8f32df17c17bfeeeebb87a713f)) +* Path does not end with the package name ([#8560](https://github.com/electron-userland/electron-builder/issues/8560)) ([4ff778e](https://github.com/electron-userland/electron-builder/commit/4ff778eefd9089b3b38b67156eb39e8cf57fdd83)) +* support including node_modules in other subdirectories ([#8562](https://github.com/electron-userland/electron-builder/issues/8562)) ([b8185d4](https://github.com/electron-userland/electron-builder/commit/b8185d48a75e65932196700e28bf71613dd141b4)), closes [/github.com/electron-userland/electron-builder/blob/e2c79819751454dbd1a939610d66e940b5dfb73d/packages/app-builder-lib/src/util/filter.ts#L60-L62](https://github.com//github.com/electron-userland/electron-builder/blob/e2c79819751454dbd1a939610d66e940b5dfb73d/packages/app-builder-lib/src/util/filter.ts/issues/L60-L62) +* **updater:** Unable to copy file for caching: ENOENT ([#8541](https://github.com/electron-userland/electron-builder/issues/8541)) ([b6d6ea9](https://github.com/electron-userland/electron-builder/commit/b6d6ea993fd3b368d28786c259bb50486aaac417)) + + +### Features + +* allowing additional entries in .desktop file, such as `[Desktop Actions ]` ([#8572](https://github.com/electron-userland/electron-builder/issues/8572)) ([0dbe357](https://github.com/electron-userland/electron-builder/commit/0dbe357ac5b4f3c51d9a6e9d7bbf0b1f142b5746)) +* implement autoupdates for `pacman` ([#8394](https://github.com/electron-userland/electron-builder/issues/8394)) ([ae9221d](https://github.com/electron-userland/electron-builder/commit/ae9221d947c2dedff7b655ddafceb9746f9f4460)) +* migrate `electronDist` to be an electron-builder `Hook` ([#8525](https://github.com/electron-userland/electron-builder/issues/8525)) ([13f55a3](https://github.com/electron-userland/electron-builder/commit/13f55a3ef070d946f5d80dd412a557bd38c98424)) + + + # [](https://github.com/electron-userland/electron-builder/compare/v25.1.6...v) (2024-10-09) diff --git a/packages/app-builder-lib/CHANGELOG.md b/packages/app-builder-lib/CHANGELOG.md index b655a6d1c6e..1b579cd324a 100644 --- a/packages/app-builder-lib/CHANGELOG.md +++ b/packages/app-builder-lib/CHANGELOG.md @@ -1,5 +1,21 @@ # app-builder-lib +## 26.0.0-alpha.1 + +### Patch Changes + +- [#8577](https://github.com/electron-userland/electron-builder/pull/8577) [`e9eef0c1`](https://github.com/electron-userland/electron-builder/commit/e9eef0c1c7f73a5edfe3026f044c6278641077cb) Thanks [@mmaietta](https://github.com/mmaietta)! - fix: add additional default exclusions to copy logic + +- [#8576](https://github.com/electron-userland/electron-builder/pull/8576) [`3eab7143`](https://github.com/electron-userland/electron-builder/commit/3eab7143d74262caace81ea05e97617d07daf336) Thanks [@beyondkmp](https://github.com/beyondkmp)! - fix: packages in the workspace not being under node_modules + +- [#8575](https://github.com/electron-userland/electron-builder/pull/8575) [`dfa35c32`](https://github.com/electron-userland/electron-builder/commit/dfa35c321f6e68c6a102ddc49aa64985fb11d396) Thanks [@doctolivier](https://github.com/doctolivier)! - chore(deps): update @electron/rebuild to v3.7.0 + +- Updated dependencies [[`3eab7143`](https://github.com/electron-userland/electron-builder/commit/3eab7143d74262caace81ea05e97617d07daf336)]: + - builder-util@26.0.0-alpha.1 + - dmg-builder@26.0.0-alpha.1 + - electron-builder-squirrel-windows@26.0.0-alpha.1 + - electron-publish@26.0.0-alpha.1 + ## 26.0.0-alpha.0 ### Major Changes diff --git a/packages/app-builder-lib/package.json b/packages/app-builder-lib/package.json index ce6bc28ed73..130a60dbd3e 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.0.0-alpha.0", + "version": "26.0.0-alpha.1", "main": "out/index.js", "files": [ "out", diff --git a/packages/app-builder-lib/src/util/NodeModuleCopyHelper.ts b/packages/app-builder-lib/src/util/NodeModuleCopyHelper.ts index cdecf6b2391..827c0e8d097 100644 --- a/packages/app-builder-lib/src/util/NodeModuleCopyHelper.ts +++ b/packages/app-builder-lib/src/util/NodeModuleCopyHelper.ts @@ -21,7 +21,8 @@ const excludedFiles = new Set( "binding.gyp", ".npmignore", "node_gyp_bins", - ].concat(excludedNames.split(","))) + ].concat(excludedNames.split(",")) +) const topLevelExcludedFiles = new Set([ "karma.conf.js", diff --git a/packages/app-builder-lib/src/version.ts b/packages/app-builder-lib/src/version.ts index 2f8079cbf4a..42cc78037e1 100644 --- a/packages/app-builder-lib/src/version.ts +++ b/packages/app-builder-lib/src/version.ts @@ -1 +1 @@ -export const PACKAGE_VERSION = "26.0.0-alpha.0" +export const PACKAGE_VERSION = "26.0.0-alpha.1" diff --git a/packages/builder-util/CHANGELOG.md b/packages/builder-util/CHANGELOG.md index 0717a5a1852..2187c886152 100644 --- a/packages/builder-util/CHANGELOG.md +++ b/packages/builder-util/CHANGELOG.md @@ -1,5 +1,11 @@ # builder-util +## 26.0.0-alpha.1 + +### Patch Changes + +- [#8576](https://github.com/electron-userland/electron-builder/pull/8576) [`3eab7143`](https://github.com/electron-userland/electron-builder/commit/3eab7143d74262caace81ea05e97617d07daf336) Thanks [@beyondkmp](https://github.com/beyondkmp)! - fix: packages in the workspace not being under node_modules + ## 26.0.0-alpha.0 ### Major Changes diff --git a/packages/builder-util/package.json b/packages/builder-util/package.json index 232cb328f53..8e51dc7c4e6 100644 --- a/packages/builder-util/package.json +++ b/packages/builder-util/package.json @@ -1,6 +1,6 @@ { "name": "builder-util", - "version": "26.0.0-alpha.0", + "version": "26.0.0-alpha.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 6f85f818d08..2f9624c6345 100644 --- a/packages/dmg-builder/CHANGELOG.md +++ b/packages/dmg-builder/CHANGELOG.md @@ -1,5 +1,13 @@ # dmg-builder +## 26.0.0-alpha.1 + +### Patch Changes + +- Updated dependencies [[`e9eef0c1`](https://github.com/electron-userland/electron-builder/commit/e9eef0c1c7f73a5edfe3026f044c6278641077cb), [`3eab7143`](https://github.com/electron-userland/electron-builder/commit/3eab7143d74262caace81ea05e97617d07daf336), [`dfa35c32`](https://github.com/electron-userland/electron-builder/commit/dfa35c321f6e68c6a102ddc49aa64985fb11d396)]: + - app-builder-lib@26.0.0-alpha.1 + - builder-util@26.0.0-alpha.1 + ## 26.0.0-alpha.0 ### Patch Changes diff --git a/packages/dmg-builder/package.json b/packages/dmg-builder/package.json index c732f391adb..7e659d0633d 100644 --- a/packages/dmg-builder/package.json +++ b/packages/dmg-builder/package.json @@ -1,6 +1,6 @@ { "name": "dmg-builder", - "version": "26.0.0-alpha.0", + "version": "26.0.0-alpha.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 33f5f80eaa2..d159e785ca9 100644 --- a/packages/electron-builder-squirrel-windows/CHANGELOG.md +++ b/packages/electron-builder-squirrel-windows/CHANGELOG.md @@ -1,5 +1,13 @@ # electron-builder-squirrel-windows +## 26.0.0-alpha.1 + +### Patch Changes + +- Updated dependencies [[`e9eef0c1`](https://github.com/electron-userland/electron-builder/commit/e9eef0c1c7f73a5edfe3026f044c6278641077cb), [`3eab7143`](https://github.com/electron-userland/electron-builder/commit/3eab7143d74262caace81ea05e97617d07daf336), [`dfa35c32`](https://github.com/electron-userland/electron-builder/commit/dfa35c321f6e68c6a102ddc49aa64985fb11d396)]: + - app-builder-lib@26.0.0-alpha.1 + - builder-util@26.0.0-alpha.1 + ## 26.0.0-alpha.0 ### Patch Changes diff --git a/packages/electron-builder-squirrel-windows/package.json b/packages/electron-builder-squirrel-windows/package.json index b28ef6430c6..34811e160b5 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.0.0-alpha.0", + "version": "26.0.0-alpha.1", "main": "out/SquirrelWindowsTarget.js", "author": "Vladimir Krivosheev", "license": "MIT", diff --git a/packages/electron-builder/CHANGELOG.md b/packages/electron-builder/CHANGELOG.md index a087f44e920..4ef9a3940e8 100644 --- a/packages/electron-builder/CHANGELOG.md +++ b/packages/electron-builder/CHANGELOG.md @@ -1,5 +1,14 @@ # electron-builder +## 26.0.0-alpha.1 + +### Patch Changes + +- Updated dependencies [[`e9eef0c1`](https://github.com/electron-userland/electron-builder/commit/e9eef0c1c7f73a5edfe3026f044c6278641077cb), [`3eab7143`](https://github.com/electron-userland/electron-builder/commit/3eab7143d74262caace81ea05e97617d07daf336), [`dfa35c32`](https://github.com/electron-userland/electron-builder/commit/dfa35c321f6e68c6a102ddc49aa64985fb11d396)]: + - app-builder-lib@26.0.0-alpha.1 + - builder-util@26.0.0-alpha.1 + - dmg-builder@26.0.0-alpha.1 + ## 26.0.0-alpha.0 ### Patch Changes diff --git a/packages/electron-builder/package.json b/packages/electron-builder/package.json index ea3c4d53900..b33c191d460 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.0.0-alpha.0", + "version": "26.0.0-alpha.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 6575fb61512..04a91e2268c 100644 --- a/packages/electron-forge-maker-appimage/CHANGELOG.md +++ b/packages/electron-forge-maker-appimage/CHANGELOG.md @@ -1,5 +1,12 @@ # electron-forge-maker-appimage +## 26.0.0-alpha.1 + +### Patch Changes + +- Updated dependencies [[`e9eef0c1`](https://github.com/electron-userland/electron-builder/commit/e9eef0c1c7f73a5edfe3026f044c6278641077cb), [`3eab7143`](https://github.com/electron-userland/electron-builder/commit/3eab7143d74262caace81ea05e97617d07daf336), [`dfa35c32`](https://github.com/electron-userland/electron-builder/commit/dfa35c321f6e68c6a102ddc49aa64985fb11d396)]: + - app-builder-lib@26.0.0-alpha.1 + ## 26.0.0-alpha.0 ### Patch Changes diff --git a/packages/electron-forge-maker-appimage/package.json b/packages/electron-forge-maker-appimage/package.json index 48f9d249166..2bd01aa8801 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.0.0-alpha.0", + "version": "26.0.0-alpha.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 cb6cbda0d45..60745e22853 100644 --- a/packages/electron-forge-maker-nsis-web/CHANGELOG.md +++ b/packages/electron-forge-maker-nsis-web/CHANGELOG.md @@ -1,5 +1,12 @@ # electron-forge-maker-nsis-web +## 26.0.0-alpha.1 + +### Patch Changes + +- Updated dependencies [[`e9eef0c1`](https://github.com/electron-userland/electron-builder/commit/e9eef0c1c7f73a5edfe3026f044c6278641077cb), [`3eab7143`](https://github.com/electron-userland/electron-builder/commit/3eab7143d74262caace81ea05e97617d07daf336), [`dfa35c32`](https://github.com/electron-userland/electron-builder/commit/dfa35c321f6e68c6a102ddc49aa64985fb11d396)]: + - app-builder-lib@26.0.0-alpha.1 + ## 26.0.0-alpha.0 ### Patch Changes diff --git a/packages/electron-forge-maker-nsis-web/package.json b/packages/electron-forge-maker-nsis-web/package.json index a8412ec5a2f..f8b1d6de651 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.0.0-alpha.0", + "version": "26.0.0-alpha.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 3bbfb82cdd5..535b58200a1 100644 --- a/packages/electron-forge-maker-nsis/CHANGELOG.md +++ b/packages/electron-forge-maker-nsis/CHANGELOG.md @@ -1,5 +1,12 @@ # electron-forge-maker-nsis +## 26.0.0-alpha.1 + +### Patch Changes + +- Updated dependencies [[`e9eef0c1`](https://github.com/electron-userland/electron-builder/commit/e9eef0c1c7f73a5edfe3026f044c6278641077cb), [`3eab7143`](https://github.com/electron-userland/electron-builder/commit/3eab7143d74262caace81ea05e97617d07daf336), [`dfa35c32`](https://github.com/electron-userland/electron-builder/commit/dfa35c321f6e68c6a102ddc49aa64985fb11d396)]: + - app-builder-lib@26.0.0-alpha.1 + ## 26.0.0-alpha.0 ### Patch Changes diff --git a/packages/electron-forge-maker-nsis/package.json b/packages/electron-forge-maker-nsis/package.json index 4a4d2ea5b1f..768e890864b 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.0.0-alpha.0", + "version": "26.0.0-alpha.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 c4248e55816..25b90c79f48 100644 --- a/packages/electron-forge-maker-snap/CHANGELOG.md +++ b/packages/electron-forge-maker-snap/CHANGELOG.md @@ -1,5 +1,12 @@ # electron-forge-maker-snap +## 26.0.0-alpha.1 + +### Patch Changes + +- Updated dependencies [[`e9eef0c1`](https://github.com/electron-userland/electron-builder/commit/e9eef0c1c7f73a5edfe3026f044c6278641077cb), [`3eab7143`](https://github.com/electron-userland/electron-builder/commit/3eab7143d74262caace81ea05e97617d07daf336), [`dfa35c32`](https://github.com/electron-userland/electron-builder/commit/dfa35c321f6e68c6a102ddc49aa64985fb11d396)]: + - app-builder-lib@26.0.0-alpha.1 + ## 26.0.0-alpha.0 ### Patch Changes diff --git a/packages/electron-forge-maker-snap/package.json b/packages/electron-forge-maker-snap/package.json index b90e24a31a4..55b115f1c07 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.0.0-alpha.0", + "version": "26.0.0-alpha.1", "main": "main.js", "author": "Vladimir Krivosheev", "license": "MIT", diff --git a/packages/electron-publish/CHANGELOG.md b/packages/electron-publish/CHANGELOG.md index 5f020630c25..9d241936404 100644 --- a/packages/electron-publish/CHANGELOG.md +++ b/packages/electron-publish/CHANGELOG.md @@ -1,5 +1,12 @@ # electron-publish +## 26.0.0-alpha.1 + +### Patch Changes + +- Updated dependencies [[`3eab7143`](https://github.com/electron-userland/electron-builder/commit/3eab7143d74262caace81ea05e97617d07daf336)]: + - builder-util@26.0.0-alpha.1 + ## 26.0.0-alpha.0 ### Patch Changes diff --git a/packages/electron-publish/package.json b/packages/electron-publish/package.json index e3e6773d2f7..535a22c5d74 100644 --- a/packages/electron-publish/package.json +++ b/packages/electron-publish/package.json @@ -1,6 +1,6 @@ { "name": "electron-publish", - "version": "26.0.0-alpha.0", + "version": "26.0.0-alpha.1", "main": "out/publisher.js", "author": "Vladimir Krivosheev", "license": "MIT",