HACKING.md: Document one more place to look when major-upgrading Electron

This commit is contained in:
Ronan Jouchet 2021-10-04 09:32:52 -04:00
parent 0d99ce4916
commit 05e2439c56
1 changed files with 3 additions and 2 deletions

View File

@ -117,12 +117,13 @@ but is painful to do manually. Do yourself a favor and install a
## Maintainers corner
### Deps: major-updating Electron
### Deps: major-upgrading Electron
When a new major [Electron release](https://github.com/electron/electron/releases) occurs,
1. Wait a few weeks to let it stabilize. Never upgrade Nativefier to a `.0.0`.
2. Thoroughly digest the new version's [breaking changes](https://www.electronjs.org/docs/breaking-changes),
2. Thoroughly digest the new version's [breaking changes](https://www.electronjs.org/docs/breaking-changes)
(also via the [Releases page](https://github.com/electron/electron/releases), the content is different),
grepping our codebase for every changed API.
- If called for by the breaking changes, perform the necessary API changes
3. Bump `src/constants.ts` / `DEFAULT_ELECTRON_VERSION` & `DEFAULT_CHROME_VERSION`