Please note that we are using Electron 7 in the book. The Electron project has moved to a 12-week release cadence starting on May 13, 2019. You can see the official announcement on the Electron blog post at https://electronjs.org/blog/12-week-cadence.
Having shorter release cycles means you are getting features, bug fixes, and security fixes faster. However, that also means there will most probably be newer versions of the Electron released once this book is out.
The good news is the Electron team is going to support the last three major versions. Be sure to check the schedule and more details by visiting https://electronjs.org/docs/tutorial/support#supported-versions. Besides that, it is relatively easy to upgrade your application project to the latest version of the Electron. You can do that by running the following command:
npm install electron@latest
It is highly recommended to watch the Electron team blog for more details on each release: https://electronjs.org/blog.