Node.js versions
Node.js follows semantic versioning (SemVer) (https://semver.org/) and it is important to understand how this versioning works in order to choose the best version for the project.
Semantic versioning (SemVer)
When considering semantic versioning, it helps to determine what changes to anticipate as a user, especially whether they might cause disruptions or not. This understanding assists our end users in preparing for potential updates.
Semantic versioning is one of the most popular ways to version software. In the following figure, we can differentiate the elements used to build the release version.
Figure 1.3 – Parts of a semantic version number (source: Devopedia 2020, https://devopedia.org/images/article/279/2766.1593275997.svg)
When a new version is released, the version number is incremented following the SemVer rules:
- Major versions add incompatible API changes
- Minor versions add functionality in a backward...