nodecg / dashboard

A standalone application for viewing a NodeCG Dashboard.
11 stars 3 forks source link

Update electron-builder to the latest version πŸš€ #124

Open greenkeeper[bot] opened 7 years ago

greenkeeper[bot] commented 7 years ago

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](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

greenkeeper[bot] commented 6 years ago

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] commented 6 years ago

Version 20.15.1 just got published.

Update to this version instead πŸš€

greenkeeper[bot] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

Version 20.16.2 just got published.

Update to this version instead πŸš€

greenkeeper[bot] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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