---
title: Versioning and upgrades
description: What semantic versioning covers in RelKit, how deprecations and migrations work, and what has to be true before RelKit reaches 1.0.
sidebar:
  icon: git-branch
---

RelKit is not at 1.0 yet. This page says what you can rely on today, what you can rely on from 1.0,
how upgrades work, and what has to be true before 1.0 ships. All RelKit packages share one version.

## What semantic versioning covers

From 1.0, **Core** features follow [semantic versioning](https://semver.org/): an incompatible change
ships only in a major release, new features ship in minor releases and fixes in patch releases. The
[Core and Labs](/docs/maturity) page lists which features are Core.

Semantic versioning covers:

- the documented APIs of Core packages, as listed in the [API reference](/docs/api),
- the `relkit` CLI's commands and flags,
- the `RELKIT_*` [error codes](/docs/errors) and what each one means.

It does not cover **Labs** features, which can change or disappear in any release, or anything the
documentation does not describe. Labs APIs carry the `@experimental` tag, and their docs pages show a
Labs badge.

Before 1.0, minor releases can contain breaking changes. The breaking changes of the plan that leads
to 1.0 ship together in one release, `0.9.0`, preceded by a beta. After it, 0.x releases do not
break Core without the deprecation window below.

## Deprecations

A deprecated Core API keeps working for at least one minor release before it is removed. While it
works, using it prints a warning that carries a `RELKIT_DEPRECATED_*` code, names the replacement and
links to the code's docs page. RelKit prints each deprecation warning once per process, so a
deprecated call in a hot path does not flood your log.

For example, importing `@relkit/app` prints
[`RELKIT_DEPRECATED_APP_PACKAGE`](/docs/errors/relkit-deprecated-app-package), and
passing Better Auth options to `defineBetterAuthService` prints
[`RELKIT_DEPRECATED_BETTER_AUTH_OPTIONS`](/docs/errors/relkit-deprecated-better-auth-options).
The [error codes index](/docs/errors) lists every deprecation code.

## Upgrades and migrations

Every breaking change ships with an automated migration and a migration note:

1. The changelog entry for the change links a section of a migration guide, and a release check fails
   when a breaking change has no such link or no `relkit migrate` rule behind it.
2. `relkit migrate` previews the changes it will make, applies them with `--write`, and undoes them
   with `--rollback <receipt>`.
3. Changes the migration cannot apply are listed with their file and line, so you finish them by hand.

To upgrade, update the `relkit` and `@relkit/*` packages together, run `relkit migrate`, and run
`relkit check`. The [RelKit 0.9 migration guide](/guides/migrate/relkit-0-9) walks through the one
breaking release before 1.0. Each release's notes are in the
[changelog](https://github.com/rel-kit/relkit/blob/main/CHANGELOG.md).

## What 1.0 means

RelKit reaches 1.0 when Core reaches 1.0, and not before all of these are true:

- **Core is complete.** Every feature the [maturity table](/docs/maturity) lists as Core is
  implemented, documented and tested on every Tier 1 runtime: Bun, and Node 22 and 24.
- **The creation canary is green on Tier 1 runtimes.** `create-relkit` creates every template on the
  latest Bun and on Node, and each project's tests and dev server pass, every night.
- **The Railway newcomer test passes.** A newcomer who follows the
  [Railway guide](/docs/modules/deployment/railway) from a new project deploys without steps missing
  from the guide, in under 15 minutes.
- **The metrics targets are met.** `create` succeeds 100% of the time on the latest Bun for all
  templates; a newcomer reaches a first route in under 5 minutes; the HTTP test suite passes on Bun
  and Node; and the two [development-loop budgets](/docs/benchmarks) hold for a 100-function app in
  the reference container on the reference machine, judged by the median of three runs: a save is
  serving again in under 1 second at p95, and `relkit check` adds at most 260 MiB to the peak memory
  of the project's own `tsc`.

Until Core reaches 1.0, RelKit adds no new feature areas: bug fixes and hardening continue in both
Core and Labs.

### Where each criterion stands

The reference machine decides the two development-loop criteria. The GitHub runner measures in the
same container on every release candidate and guards against regressions; its values are shown for
comparison.

{/* Generated by apps/docs/scripts/generate.ts from the metrics report, the development-loop reports and the coverage check. Do not edit. */}

| Criterion                                                                                                    | Current value                                                                     | Host                                                                             | Measured                    | Status          |
| ------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | --------------------------- | --------------- |
| Every Core feature has tests on every Tier 1 runtime it offers                                               | Of 29 features, Bun: 28 (1 not offered), Node 22: 26 (3 not offered), Node 24: 29 | Coverage check of the repository                                                 | At every build of this page | Met             |
| The Core features' tests pass on every Tier 1 runtime, nightly                                               | passed                                                                            | GitHub Actions runner                                                            | 2026-12-03                  | Met             |
| Every template is created on the latest Bun, nightly                                                         | 5 of 5 templates                                                                  | GitHub Actions runner                                                            | 2026-12-01                  | Met             |
| Every template is created and served on Node 22 and 24, nightly                                              | 5 of 5 templates                                                                  | GitHub Actions runner                                                            | 2026-12-02                  | Met             |
| A newcomer deploys to Railway in under 15 minutes                                                            | 1 min 40 s                                                                        | Apple silicon Mac                                                                | 2026-11-06                  | Met             |
| A newcomer reaches a first route in under 5 minutes                                                          | 12 s                                                                              | github-actions ubuntu24 20261122.23.1                                            | 2026-12-02                  | Met             |
| The HTTP test suite passes on Bun and Node                                                                   | Bun 1.3.10, Node 22, Node 24                                                      | GitHub Actions runner                                                            | 2026-12-02                  | Met             |
| Save-to-serving p95 for a 100-function app, in the reference container: under 1000 ms                        | 909 ms                                                                            | Reference machine: Apple M1 Pro, 10 cores                                        | 2026-12-02                  | Met             |
| The same, on the GitHub runner                                                                               | 1253 ms, over the limit                                                           | github-actions ubuntu24 20261122.23.1 (AMD EPYC 9V74 80-Core Processor, 4 cores) | 2026-12-02                  | Does not decide |
| Peak memory `relkit check` adds to `tsc` for a 100-function app, in the reference container: at most 260 MiB | 198.8 MiB                                                                         | Reference machine: Apple M1 Pro, 10 cores                                        | 2026-12-02                  | Met             |
| The same, on the GitHub runner                                                                               | 213.6 MiB, within the limit                                                       | github-actions ubuntu24 20261122.23.1 (AMD EPYC 9V74 80-Core Processor, 4 cores) | 2026-12-02                  | Does not decide |

Of these 9 criteria: 9 met, 0 not met, 0 without data.

## Target date

The target for 1.0 is **the quarter after `0.9.0` ships**. If a criterion above is not met by then,
1.0 waits for it and this page states the new date.
