2.0.0: Ember-Electron v2
✨ Woah, a complete rewrite! This version is a major bump and contains many breaking changes - please make sure to read the upgrade guide before updating your version.
Why a rewrite
As the Electron community grew bigger, more and more modules emerged that cover parts of the same operations done by ember-electron - and over time it became clear that this module should depend on other, more popular utility modules than to take care of all possible operations itself.
ember-electron v2 is almost a complete rewrite, using electron-forge to build and package
your desktop applications. It allows ember-electron to focus on the Ember parts of this
module, while the whole Electron community can work together to polish the creation of installers,
the compilation of small packages, and the developer experience around native modules. Fore more info, check out this blog post.
Upgrading
If you are upgrading to version 2.x from 1.x, you will need to make some updates to your
application. The best way to do this is to re-run the blueprint after upgrading
ember-electron
:
ember generate ember-electron
Configuration Upgrade
The biggest change is where your configuration lives - in the past, ember-electron
managed your
configuration, passing it on to internal tools that would take care of the actual creation of
binaries.
Now, ember electron:package
and ember electron:make
use electron-forge
to join forces with
the greater Electron community. All configuration is now done using an electron-forge-config.js
file inside your ember-electron
folder. For details, check out the documentation.
Example Upgrade
To see an upgrade in action, check out how Ghost Desktop moved from ember-electron v1 to v2.