Versioning is a good way to let your users or other developers know what to expect from updates to your project.
Although each developer is free to choose their own approach, there is a popular versioning standard – SemVer. It’s easy to understand and use.
The Major number changes with big updates when there are changes that are incompatible with previous versions. These can be breaking changes, such as removal of deprecated functionality.
The Minor number is for new features without crucial changes to existing ones. You can safely update to a new minor version.
Patch changes bring bug fixes. It’s recommended to update the patch version as soon as possible to avoid errors.
With such standard it’s easy to say which updates you should or shouldn’t install.
TrackLab versioning
I try to stick to SemVer when releasing new versions of TrackLab. TrackLab’s major version is 0, which means it is still in development and everything can change.
Major version zero (0.y.z) is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable.
For example, now I’m developing a migration from IndexedDB to SQLite. That’s quite a big change. Although I’m trying to make this future update as seamless as possible, anything may happen.
I’m going to keep both databases – IndexedDB and SQLite – until version 1.0.0. When will it be released? When I finish all main features. Here is a roadmap:
- MVP (0.1.0)
- Languages (0.2.0)
- Actions (0.3.0)
- Tags (0.4.0)
- Metrics (0.5.0) <- in progress
- Rules (0.6.0)
- Experiments (0.7.0)
- Finish (1.0.0)
The problem with database migration is that you won’t be able to update from version 0.4.x to 1.x.x directly. You should update to version with both databases first (0.5.x – 0.7.x) and then to 1.x.x. It’s a real breaking change, so the change of major version is justified in this case.

