2016-05-17 18:20:25 +00:00
|
|
|
# Electron Versioning
|
|
|
|
|
2016-05-19 09:28:24 +00:00
|
|
|
If you are a seasoned Node developer, you are surely aware of `semver` - and
|
|
|
|
might be used to giving your dependency management systems only rough guidelines
|
|
|
|
rather than fixed version numbers. Due to the hard dependency on Node and
|
|
|
|
Chromium, Electron is in a slightly more difficult position and does not follow
|
2016-06-01 00:51:09 +00:00
|
|
|
semver. You should therefore always reference a specific version of Electron.
|
2016-05-17 18:20:25 +00:00
|
|
|
|
|
|
|
Version numbers are bumped using the following rules:
|
|
|
|
|
2016-05-19 09:28:24 +00:00
|
|
|
* Major: For breaking changes in Electron's API - if you upgrade from `0.37.0`
|
|
|
|
to `1.0.0`, you will have to update your app.
|
|
|
|
* Minor: For major Chrome and minor Node upgrades; or significant Electron
|
|
|
|
changes - if you upgrade from `1.0.0` to `1.1.0`, your app is supposed to
|
|
|
|
still work, but you might have to work around small changes.
|
|
|
|
* Patch: For new features and bug fixes - if you upgrade from `1.0.0` to
|
|
|
|
`1.0.1`, your app will continue to work as-is.
|
|
|
|
|
|
|
|
If you are using `electron-prebuilt`, we recommend that you set a fixed version
|
|
|
|
number (`1.1.0` instead of `^1.1.0`) to ensure that all upgrades of Electron are
|
|
|
|
a manual operation made by you, the developer.
|