Versioning and releases¶
What a Skopia version number tells you, where releases are listed, and how to find out which version you are running.
What a version number means¶
Skopia follows Semantic Versioning: MAJOR.MINOR.PATCH. Before 1.0, semver's rule for early versions applies, so a breaking change can arrive in a minor release.
| Release | What it can contain | Example |
|---|---|---|
| Patch | Fixes only: nothing new, nothing that breaks | 0.5.0 → 0.5.1 |
| Minor | New features or changed behavior; before 1.0, also breaking changes | 0.5.0 → 0.6.0 |
| Major | After 1.0, any breaking change | 1.4.2 → 2.0.0 |
A change is breaking when something that worked with the previous release stops working, or quietly changes meaning, without Skopia carrying it over on load. For a user, that means:
- a saved
.h5adthat the new release reads differently, such as an.obsor.unskey whose meaning changed; - for scripts, a removed or renamed Python import path, REST route or request field, environment variable or config key.
A key that is renamed and migrated when the file loads is not breaking for saved files: files written before the rename from xcell to Skopia carry xcell_* keys, and Skopia renames them to skopia_* on load. The rename is still breaking for a script that reads the old name. Moving a menu item or changing a default is a change, not a break; the changelog says which default changed and why.
Numbers go in sequence, with no skipped numbers, and the lower parts reset (0.5.3 → 0.6.0, not 0.6.3). Version 1.0.0 will be declared when the saved-file layout and the Python API are meant to stay stable.
Before you update, read the release's entries in the Changelog. Each entry starts with Fixed: for a fix, Breaking: for a breaking change, or neither for a feature or change.
Where releases are listed¶
Tagged releases are on the Releases page of the GitHub repository, each with its section of the changelog.
git pull, as in Update to the latest version, follows the main branch, which can be ahead of the last release. To run a specific release instead, from inside the skopia/ folder:
Replace v0.7.0 with the release you want. git checkout main returns to the latest code; run pixi install again after switching.
Which version am I running?¶
- In the app: the version is shown under the Skopia name in the header. Hover it to see the commit the frontend was started from.
-
In a terminal, from inside the
skopia/folder:This prints the version, and fails if the files that state it disagree.
Skopia also records the build in what it writes, so a result can be traced to the code that made it. Every step of the analysis record stores the build that ran it, an exported .h5ad stores the build that wrote it in uns['skopia_provenance'], and an exported notebook names its build. The build label reads:
| Label | Meaning |
|---|---|
0.7.0 |
The release itself, at its tag |
0.7.0+g1a2b3c4 |
A later commit, 1a2b3c4, after release 0.7.0 |
0.7.0+g1a2b3c4.dirty |
That commit with uncommitted changes in the checkout |