Skip to content

Release a component

Releasing a component version is a two-step process: first promote a snapshot to a release candidate, then release the RC once it has been reviewed. The released version is immutable — you cannot edit or delete it, ever.

When to release

When the component's interface is stable and downstream consumers need a guaranteed-not-to-change reference. Pre-release iteration should happen on snapshots.

Step 1 — Promote to release candidate

Identify the specific snapshot you want to promote (including its full date-and-sequence suffix) and run:

simkit component promote simscale.test:my-thing:1.0.0-SNAPSHOT-2026-05-15-1
Output
Successfully promoted to release candidate: simscale.test:my-thing:1.0.0-RC-1

The RC reference (1.0.0-RC-1) is assigned automatically. The snapshot itself is unchanged; a new RELEASE_CANDIDATE entry is created in the registry.

Multiple snapshots can be promoted before any RC is released — each promotion increments the RC counter (RC-1, RC-2, …). All RCs for the same semver remain valid; any of them can be released as long as the semver has not yet been released.

Step 2 — Release the RC

After review, release the RC:

simkit component release simscale.test:my-thing:1.0.0-RC-1
Output
Successfully released: simscale.test:my-thing:1.0.0

The registry now has a RELEASED version at 1.0.0. Any subsequent register attempt with the same released version is rejected — bump the version (1.0.1, 1.1.0, 2.0.0) for any future change.

Prerequisites for release

The release command enforces two rules:

  • All declared dependencies must already be released. You cannot release a component that depends on a snapshot or on a release candidate — a release candidate may still be abandoned, so it is no firmer a foundation than a snapshot. Release a dependency graph leaves-first: every dependency reaches RELEASED before anything depending on it does.
  • Dependency integrity — the declared dependencies in the registry must match the ones the component was actually built against.

If either check fails the command reports which dependencies are the problem.

Materials and their schemas

A material's only dependency is its material schema, so the schema is released first and the materials bound to it afterwards — the leaves-first rule above. Referencing a material from a configuration creates no component dependency: a configuration pins the material version it refers to, and overrides or an inline material live in the configuration alone. "Updating water" therefore means releasing water:1.1.0; configurations keep 1.0.0 until they are moved.

Versioning rules at release

  • The new version must be exactly the next valid sequential version per semver. After 1.2.3 you can release 1.2.4, 1.3.0, 2.0.0 — not 1.5.0 skipping minors.
  • A snapshot of the same semver can be re-registered freely while it co-exists with an RC; once the version is released no new snapshots of that semver can be registered.

Suggested workflow

  1. Iterate on snapshots (1.0.0-SNAPSHOT-…) until you're satisfied. Keep downstream consumers on the -SNAPSHOT-latest reference for the dependency so they can co-iterate.
  2. When a version is ready for testing, promote it to a release candidate:
simkit component promote simscale.test:my-thing:1.0.0-SNAPSHOT-<date>-<seq>

You can optionally tag the snapshot in git at this point:

git tag -a my-thing-1.0.0-RC-1 -m "RC for my-thing 1.0.0"
git push origin my-thing-1.0.0-RC-1

New snapshot versions can still be registered while the RC is under review — if a follow-up snapshot looks better, promote it to get RC-2 and release that instead.

  1. When the RC has been tested, release it:
simkit component release simscale.test:my-thing:1.0.0-RC-1

Optionally tag the release in git:

git tag -a my-thing-1.0.0 -m "Release my-thing 1.0.0"
git push origin my-thing-1.0.0
  1. Bump the version for the next iteration (e.g. update reference = "...:1.0.1" on the .kts and continue).
  2. Notify downstream consumers; encourage them to pin to the released version when their next release lines up.

Permissions

You need DEVELOP permission or higher on the component. MEMBER permission or higher on the component group (directly or inherited from a parent group) grants that for every component in the group, and so does being an admin of your organization.

Recovery from a botched release

There is no recovery for a registered released version. If the content is broken, the right move is to bump the version (1.0.1) and release the fix. The broken 1.0.0 stays in the registry forever; consumers move forward.

Cross-references