# Compatibility in 1.x

Rook follows [Semantic Versioning](https://semver.org/). A 1.x minor release can add
backward-compatible features. A patch release can fix bugs. Changes that break the public contract
require a new major version. See the [changelog](https://github.com/QWERN-9876r/RookLang/blob/HEAD/CHANGELOG.md#upgrading-from-080) for the move
from 0.8.0.

- **Language.** The syntax and behavior in this specification and the [component design](https://github.com/QWERN-9876r/RookLang/blob/HEAD/docs/components.md)
  are stable where they describe implemented features and carry no experimental label. This
  includes `struct` values, [sharing structures across threads](../../../reference/language/classes/index.md#shared-structures-in-goroutines),
  mutexes and `Struct` snapshots. Experimental features can change in 1.x. They include
  [server markup and components](../../../reference/server/index.md), `rooklang/server` and the strict shared-access check.
- **Tools.** The commands `rook build`, `rook check`, `rook run`, `rook fmt` and `rook init`,
  their documented options and the exit statuses for success and failure are public, except for
  experimental features. Diagnostic wording, formatting, debug dumps from `rook ast` and
  `rook tokens`, and the trace event format can evolve.
- **Package.** The public APIs are the exports and TypeScript signatures of `rooklang`,
  `rooklang/browser`, `rooklang/vite`, `rooklang/bun` and `rooklang/bun/register`, except for
  options specific to experimental features. `RookError` and `Struct` are public exports of
  `rooklang/runtime`. The helpers prefixed with `$$` and the entry point
  `rooklang/runtime/flatbuffers` are compiler implementation details.
- **Build output.** Keep the compiler and runtime on the same package version and rebuild all
  Rook modules, including generated workers and declarations, when upgrading. The emitted
  JavaScript, generated `.fbs` schemas, the layout of shared memory and the worker protocol are
  implementation details and can change between releases.

