Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Update electron-builder to the latest version 🚀 #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Jun 16, 2017

Version 19.4.0 of electron-builder just got published.

Dependency electron-builder
Current Version 18.8.1
Type devDependency

The version 19.4.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of electron-builder.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes 19.4.0

Improved support for AppX assets

AppX assets need to be placed in the appx folder in the buildResources folder (by default this is build).

The assets should follow these naming conventions:

  • Logo: StoreLogo.png
  • Square150x150Logo: Square150x150Logo.png
  • Square44x44Logo: Square44x44Logo.png
  • [Optional] BadgeLogo: BadgeLogo.png
  • Wide310x150Logo: Wide310x150Logo.png
  • [Optional] Square310x310Logo: LargeTile.png
  • [Optional] Square71x71Logo: SmallTile.png
  • [Optional] SplashScreen: SplashScreen.png

All official AppX asset types are supported by the build process. These assets can include scaled assets by using target size and scale in the name. See https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/tiles-and-notifications-app-assets for more information.

Default assets will be used for Logo, Square150x150Logo, Square44x44Logo and Wide310x150Logo if not provided. For assets marked [Optional], these assets will not be listed in the manifest file if not provided.

BREAKING CHANGE: Support for assets being provided in the default build directory with the names 44x44.png, 50x50.png, 150x150.png, 310x150.png is dropped. Please move your assets to the build/appxAssets folder and name them according to the convention above. In general it violates our rules — should be at least one major release before final drop, but.

Bug Fixes

  • electron-updater: No notification in case of an error during signature verification (a9e03ce), closes #1680 #1681

Code Refactoring

  • merge electron-builder-core into electron-builder, transform node-gyp-rebuild bin to subcommand (a8c9ffd)

Features

  • appx: Improve support for AppX assets (666dec7)

BREAKING CHANGES

  • Please use node-gyp-rebuild as electron-buider node-gyp-rebuild now
  • AppX assets

Special thanks to all contributors to this release:

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 16, 2017

Version 19.4.1 just got published.

Update to this version instead 🚀

Release Notes 19.4.1

Bug Fixes

  • deployment: do not publish if Pull Request — support APPVEYOR_PULL_REQUEST_NUMBER (b0fb872)

greenkeeper bot added a commit that referenced this pull request Jun 16, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 16, 2017

Version 19.4.2 just got published.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 18, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 18, 2017

Version 19.5.1 just got published.

Update to this version instead 🚀

Release Notes 19.5.1

macOS Sierra 10.12 is fully supported on CI server to code sign.

Recommended to explicitly set osx_image: xcode8.3 in your .travis.yml or upgrade your custom macOS CI server to macOS Sierra 10.12.

No — it is not a feature. It is bad smell. No, not only Microsoft can implement bad and weird tools and introduce yet another bunches of regressions each release. We are hope that all your issues regarding to codesign macOS application are fixed now.

Another important update — no anymore graphicsmagick dependency if you want to build Linux on macOS. You can remove it to speed up CI build time.

Bug Fixes

  • mac: MacOS Sierra Command failed: codesign; The specified item could not be found in the keychain (239d16d), closes #1457

Features

  • mac: resize icons for Linux using sips on macOS to avoid graphicsmagick dependency (e5817bc)

greenkeeper bot added a commit that referenced this pull request Jun 20, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 20, 2017

Version 19.6.0 just got published.

Update to this version instead 🚀

Release Notes 19.6.0

If you want to build on macOS application for windows, you need to install ... no. Nothing. No need to pollute your developer machine or waste build time on CI server. All required system dependencies (including wine) will be downloaded for you. Except mono, but Squirrel.Windows target in the maintenance mode :)

macOS Sierra (10.12+) is supported, on Travis please set osx_image: xcode8.3.

No plans to support Linux in this way — because for Linux special docker images are provided already.

Yes, it means, that if your app doesn't have native dependencies, you don't need AppVeyor anymore, you can build app for windows on macOS Travis.

Features

greenkeeper bot added a commit that referenced this pull request Jun 20, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 20, 2017

Version 19.6.1 just got published.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 21, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 21, 2017

Version 19.6.3 just got published.

Update to this version instead 🚀

Release Notes 19.6.3

Bug Fixes

  • Runtime error for a build on window feat. electron-compile (forge) (89a55ee), closes #1686

greenkeeper bot added a commit that referenced this pull request Jun 21, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 21, 2017

Version 19.7.1 just got published.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 23, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 23, 2017

Version 19.8.0 just got published.

Update to this version instead 🚀

Release Notes 19.8.0

Features

  • ignore dll/exe files from node_modules if target platform not windows (945a517), closes #1738

greenkeeper bot added a commit that referenced this pull request Jun 30, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 30, 2017

Version 19.11.1 just got published.

Update to this version instead 🚀

Release Notes 19.11.1

Historically, afterPack user handler was called after code signing of main Windows executable. Now this behaviour changed to be more consistent and expected — Windows executable is signed after user afterPack handler.

Bug Fixes

  • nsis: escape space in command (b370006), closes #1758
  • afterPack callback is not called at the same time for windows & mac (087d90b), closes #1689

greenkeeper bot added a commit that referenced this pull request Jul 3, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 3, 2017

Version 19.12.0 just got published.

Update to this version instead 🚀

Release Notes 19.12.0

Bug Fixes

  • deployment: prevent latest-${os}.{yml,json} files from being rewritten (9832788), closes #1772 #1775
  • mas: do not try to build pkg for mas-dev (fe76099), closes #1196
  • channel file name macro doesn't work when channel is latest (e7a8e33), closes #1778
  • correctly compute publisher name using openssl on posix platfoms (84c512f), closes #1773

Features

  • remove jspm, ava, babel keys from package metadata (c020401), closes #1764
  • throw error when GH/BT token contains invalid characters (#1771) (142d154)
  • dmg: hide .VolumeIcon.icns (d56326b), closes #1121

greenkeeper bot added a commit that referenced this pull request Jul 5, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 5, 2017

Version 19.13.0 just got published.

Update to this version instead 🚀

Release Notes 19.13.0

If you app has native dependencies — you can expect a little bit smaller size because now prebuild-install and nan are not included into the production build (because not required).

Bug Fixes

  • TypeError: s.trim is not a function on rpm and deb target (ab64a06), closes #1784

Features

  • deployment: Upload of artifacts should be retried on failure (7ffcd27), closes #1749
  • do not include prebuild-install, nan into production build (98dd77a)
  • remove ./ prefix from file pattern (946dfb6)
  • resolve electron version if specified as latest (0f6cef6), closes #1766

greenkeeper bot added a commit that referenced this pull request Jul 11, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 11, 2017

Version 19.15.5 just got published.

Update to this version instead 🚀

Release Notes 19.15.5

Bug Fixes

  • node-pre-gyp stripped in packed dir (2b1686b), closes #1815

greenkeeper bot added a commit that referenced this pull request Jul 12, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 12, 2017

Version 19.16.0 just got published.

Update to this version instead 🚀

Release Notes 19.16.0

Bug Fixes

  • electron-updater: Electron Updater downloads update multiple times (6e3581f), closes #1788
  • nsis: if unicode disabled, add only english custom translations (88e36db)
  • squirrel.windows: Squirrel Windows mp3 and node (7c8911e), closes #1803

Features

  • s3: Ability to not add "x-amz-acl": "public-read" to the header when uploading artefacts to S3 bucket (203c8c4), closes #1822 #1618

greenkeeper bot added a commit that referenced this pull request Jul 20, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 20, 2017

Version 19.16.1 just got published.

Update to this version instead 🚀

Release Notes 19.16.1

Features

  • skip file copying if source directory doesn't exists (4709439)

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 8, 2018

Version 20.13.2 just got published.

Update to this version instead 🚀

Release Notes 20.13.2

Bug Fixes

  • rename EP_PRELEASE to EP_PRE_RELEASE (4d223bf), closes #2878

greenkeeper bot added a commit that referenced this pull request May 9, 2018
greenkeeper bot added a commit that referenced this pull request May 15, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 15, 2018

Version 20.13.4 just got published.

Update to this version instead 🚀

Release Notes 20.13.4

Bug Fixes

  • msi: put appId in file shortcut to fix notifications in win8/win10 (#2908) (f4212a6), closes #2906

greenkeeper bot added a commit that referenced this pull request May 22, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 22, 2018

Version 20.14.7 just got published.

Update to this version instead 🚀

Release Notes 20.14.7

Bug Fixes

  • do not use optional dependencies because NPM is broken by design (f4099c6), closes #2013
  • mas: rename login helper and set unique id (35c8cee), closes #2719
  • snap: electron-builder constructs snap squashfs files that are incompatible with the snap store (cb5034d), closes #2925 #2888

greenkeeper bot added a commit that referenced this pull request May 26, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 26, 2018

Version 20.15.0 just got published.

Update to this version instead 🚀

Release Notes 20.15.0

Bug Fixes

Features

Performance Improvements

  • snap: avoid file copying during creation snap from template (d49693c)

Thanks to:

greenkeeper bot added a commit that referenced this pull request May 26, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 26, 2018

Version 20.15.1 just got published.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 25, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 25, 2018

Version 20.16.0 just got published.

Update to this version instead 🚀

Release Notes 20.16.0

Bug Fixes

  • archive: compute safe artifact name using standard util (b3f9a13), closes #2984
  • electron-updater: downloading builds(updates) more than once even if downloaded already (6500b35), closes #3007 #3003
  • nsis: Installer not closed when 'runAfterFinish: false' (#2974) (6a08b50), closes #2951
  • nsis: prevent a missing package.7z from nuking the application (e20bbdd), closes #2929 #2859
  • nsis: Update FR message.yml (#2989) (82b542c)
  • Do not run node modules file matcher when node_modules are handled externally (#2975) (ac890d1)
  • node module copying - do not ignore optional deps (70b44ca)
  • The path should be corrected in Windows that when the moduleName is Scoped packages named. (#3002) (0cdb1c4)

Features

Performance Improvements

  • zip: Use default compression level (1b674e4), closes #3032

Thanks to:

20 days without active maintaining and electron-builder have a lot of awesome pull requests and new contributors :) Thank you all.

greenkeeper bot added a commit that referenced this pull request Jun 26, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 26, 2018

Version 20.16.1 just got published.

Update to this version instead 🚀

Release Notes 20.16.2

Features

  • electron-updater: support prereleases in a Github private repository (59aac66), closes #3005 #3037

Thanks to:

greenkeeper bot added a commit that referenced this pull request Jun 26, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 26, 2018

Version 20.16.2 just got published.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 26, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 26, 2018

Version 20.16.4 just got published.

Update to this version instead 🚀

Release Notes 20.16.4

Bug Fixes

  • 20.16.1 Hangs without building the app (0ef803d), closes #3043
  • CLI fails but exit code is 0 (2bdfe3a), closes #2940
  • do not copy nested node modules to root (2803086), closes #3039 #3047
  • AppImage: AppImage content is not correct (resources_1 dir) (b338c91), closes #2958
  • electron-updater: do not rename AppImage file if no version in the name (48a0811), closes #2964

greenkeeper bot added a commit that referenced this pull request Jun 27, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 27, 2018

Version 20.17.0 just got published.

Update to this version instead 🚀

Release Notes 20.17.0

Please try pre-release electron-updater 2.23.0.

Differential updates supported for NSIS (not only web installer). Please note — it is not delta, it is differential update. In short, it means that minimal update size it is block size of compression algo (LZMA2) but huge advantage is that updater is able to avoid full download to update to any version from any version. And this block size cannot be small because compression ratio will degrade.

So, if full installer size is 37 MB, and you simply change version, you can get results like (from electron-updater log):

File has 46 changed blocks
Full: 35,736.42 KB, To download: 917.08 KB (3%)

Please note — the same algo to compute blocks and download is used for all targets (AppImage, NSIS, NSIS Web Installer and soon DMG), but result varies because each target uses different compression algo and code signing algo (e.g. on Windows code signing can significantly change output file every time even if input file is the same).

Current implementation for NSIS has the one minor drawback — block map for current app version is downloaded every time and URL pattern should be the same (my-app-1.0.blockmap and my-app-1.1.blockmap, if you will change pattern for a new version to my-cool-app-1.1.blockmap, full download will be performed). WIll be addressed later.

Features

greenkeeper bot added a commit that referenced this pull request Jun 28, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 28, 2018

Version 20.17.1 just got published.

Update to this version instead 🚀

Release Notes 20.17.1

Bug Fixes

  • x64 prebuilt binaries get overridden by ia32 binaries during dependency rebuild (c0ea484), closes #3038
  • msi: The Directory/@id attribute's value is too long for an identifier (c01cc64), closes #3027

greenkeeper bot added a commit that referenced this pull request Jun 28, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 28, 2018

Version 20.17.2 just got published.

Update to this version instead 🚀

Release Notes 20.17.2

electron-updater 2.23.3 (release).

Bug Fixes

  • AppImage: When unpacking the AppDir from the AppImage, then AppRun is not working correctly (1e6df67), closes #1289
  • symlinks in asarUnpack are not copied (13f21ee), closes #1376
  • electron-updater: fix case of blockmap file extension, detect s3 urls on setFeedURL (369e9c0)
  • electron-updater: ignore unknown powershell errors (a0026a7), closes #2589
  • electron-updater: web installer differential download perMachine (82708a5), closes #2949
  • nsis: Windows NSIS installer defaults to German if system language is not supported by electron-builder (4bc17b4), closes #2517

Features

  • nsis: compute EstimatedSize on build time to reduce installation time (b8f93d1)

greenkeeper bot added a commit that referenced this pull request Jun 28, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 28, 2018

Version 20.18.0 just got published.

Update to this version instead 🚀

Release Notes 20.18.0

Features

  • nsis: env ELECTRON_BUILDER_NSIS_DIR to customize NSIS binaries location (48d7280), closes #3054

greenkeeper bot added a commit that referenced this pull request Jul 3, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 3, 2018

Version 20.19.1 just got published.

Update to this version instead 🚀

Release Notes 20.19.1

Regression "cannot build Linux targets on Windows" is fixed.

Bug Fixes

greenkeeper bot added a commit that referenced this pull request Jul 5, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 5, 2018

Version 20.19.2 just got published.

Update to this version instead 🚀

Release Notes 20.19.2

Electron Build Service is now managed not by Docker Swarm, but using Rancher, enterprise management for Kubernetes.

Bug Fixes

  • electron download option version must be not required (2e7ddb9), closes #3077
  • ELECTRON_BUILDER_NSIS_DIR env var setting (#3068) (703a1fb), closes #3054

Features

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants