Skip to content

Versioning

BlackCat edited this page Nov 29, 2026 · 1 revision

Release channels

TwilightMC uses PEP 440 / classic-Minecraft pre-release notation. The full policy lives in VERSION.md; this page is the practical summary.

Version format

TwilightMC Bolide (vX.Y.ZaN)                    # alpha build N of milestone X.Y.Z
TwilightMC Star   (vX.Y.ZbN)                    # beta build N of milestone X.Y.Z
TwilightMC vX.Y.Z                               # stable
TwilightMC Snapshot vX.Y.Z-ddmmyyyy-<commit>    # rolling build from main
  • X — major: renamed/removed subcommands, changed flag semantics, unreadable on-disk formats, MSRV bump.
  • Y — minor: backwards-compatible features.
  • Z — subupdate: bug fixes and identical-behaviour repairs.
  • aN / bN — Bolide/Star build number for the same milestone.
  • ddmmyyyy — UTC build date (28112026 = 28 November 2026).
  • <commit> — short git hash of the built revision.

Official tags always spell out the full vX.Y.Z; v1.2 is prose shorthand only.

The four channels

Channel Tag Release type Stability
🟢 Stable vX.Y.Z full release supported; bug fixes land on the latest stable minor
🟡 Star vX.Y.ZbN pre-release feature-complete; API and on-disk formats frozen, bug fixes only
🟠 Bolide vX.Y.ZaN pre-release alpha; APIs, flags and layouts can change between builds
🔵 Snapshot rolling snapshot tag pre-release built from main; never patched, always superseded

Legacy alpha-vX.Y.Z and beta-vX.Y.Z-bN tags remain valid and are still recognised by the workflows and the in-app updater.

Ordering

v1.2.3-06112026-6c2d471 < v1.2.3a1 < v1.2.3a2 < v1.2.3b1 < v1.2.3

Same numbers: Stable > Star > Bolide > Snapshot. For Star/Bolide, a higher N is newer. For snapshots, a later date wins; equal dates order by commit hash.

How a release is built

All four channels call the reusable _build.yml workflow. The channel files only own their triggers:

Workflow Trigger Publishes
snapshot.yml push to main, workflow_dispatch rolling snapshot pre-release
alpha.yml alpha-* or vX.Y.ZaN tag TwilightMC Bolide (<tag>), pre-release
beta.yml beta-* or vX.Y.ZbN tag TwilightMC Star (<tag>), pre-release
release.yml plain vX.Y.Z tag TwilightMC <tag>, stable

The pipeline runs:

  1. Verify — cargo fmt --all -- --check, cargo clippy --workspace --all-targets -- -D warnings, cargo test --workspace, then compute the release identity (workspace version + UTC date + short commit).
  2. Build — a seven-target matrix: Windows MSVC, MinGW-GNU and Clang; Linux GCC, Clang and native ARM64; macOS Apple Silicon. Every job rebuilds the Svelte frontend first, compiles both binaries in release mode, stages runtime libraries and the governance docs, then packages .zip (Windows/macOS) or .tar.zst (Linux).
  3. Release — checksums.sha256 is regenerated, and the release is created with gh release create --generate-notes. A rolling snapshot deletes and recreates the snapshot tag; tagged channels never reuse a tag.

A manual snapshot dispatch runs verify + build only and publishes nothing.

Supported targets

Target Platform
x86_64-pc-windows-msvc Windows 64-bit (MSVC, also the Clang build)
x86_64-pc-windows-gnu Windows 64-bit (MinGW-GNU)
x86_64-unknown-linux-gnu Linux 64-bit (GCC, also the Clang build)
aarch64-unknown-linux-gnu Linux ARM64 (Raspberry Pi 4/5, Rock 5, Orange Pi, Asahi)
aarch64-apple-darwin macOS on Apple Silicon

FreeBSD is source-build only: cargo build --release -p twilight-cli. The Tauri GUI stack is not officially supported there.

Deprecation policy

  • A deprecated CLI flag/API is announced in the changelog and keeps working.
  • Stable removals happen no earlier than two minor versions later.
  • Bolide and Snapshot have no deprecation window.
  • Release tags and checksums are immutable; a broken release is fixed by a new Z update. Force-updating a tag is reserved for confirmed supply-chain or security incidents and must be disclosed.

Current line

The workspace version is the numeric part of every artifact (see Cargo.toml). At the time of writing the line is 0.8.0, with v0.8.0b1 as the first Star beta. Check Releases for the newest build of each channel.

Clone this wiki locally