npm electron-builder 19.36.0

latest releases: 27.0.0-alpha.7, 27.0.0-alpha.6, 26.15.7...
8 years ago

Differential updater (used for nsis-web for now) now uses content defined chunking (CDC). It means that now differential update size is smaller (4 MB instead of 19 MB in our test). And what is important — when using CDC, archive dictionary size affects update size.

  • dict size 64 MB: Full: 33,744.88 KB, To download: 17,630.3 KB (52%)
  • dict size 16 MB: Full: 33,936.84 KB, To download: 16,175.9 KB (48%)
  • dict size 8 MB: Full: 34,187.59 KB, To download: 8,229.9 KB (24%)
  • dict size 4 MB: Full: 34,628.73 KB, To download: 3,782.97 KB (11%)

So, dictionary size changed from 64 MB to 4 MB. For test app, it increases initial full download size (884 KB), but greatly decreases differential update size. If it affects your app size — it is easy to fix. Some files can be added using different dict size (and even using solid) — this feature is not implemented, but feel free to request (for example, if you have a lot of huge static assets, maybe it worht).

Backward compatibility — electron-updater is designed to handle new (incompatible) version of blockmap, old updater will simply download full new version, so, it is safe to upgrade.

Please note — NodeJS 8.5+ is recommended. NodeJS 6 is still supported and tested, NodeJS 5 and 7 maybe supported, but not tested.

electron-updater 2.11.0 is required.

Bug Fixes

  • Squirrel.Windows: use convertVersion for version in squirrel packageFile (#2178) (349f2d5), closes #1999

Features

  • differential update — use content defined chunking (1dc2e49)

Don't miss a new electron-builder release

NewReleases is sending notifications on new releases.