# Versioning

- Page: https://koobiq.io/en/main/versioning/overview

Our releases follow the versioning described in the [Semver spec](http://semver.org/).

## Versioning

**MAJOR**

Contains significant new features and changes and may include breaking changes.
Upgrading takes effort from developers and involves changes that are incompatible
with previous versions: in the API, file paths, component behavior and/or dependencies.
Components deprecated earlier are removed in a new major version.

For example:

- The names of exported entry points change;
- Public interfaces (@Inputs/@Outputs) change or are renamed;
- CSS changes that affect styles outside a component;
- A peer dependency moves to a new major version;
- A visual change in a component that could affect the public API.

**MINOR**

Includes small features and changes.
Upgrading does not require any action from developers.
Minor versions may deprecate components.
Full backward compatibility is kept.

For example:

- Something is added to a component's template. This includes elements, attributes and classes.

**PATCH**

Contains bug fixes. Upgrading takes no effort from developers.

For example:

- package dependencies are updated;
- the project structure changes;
- improvements and fixes.

**No release**

- Dev dependencies are updated
- Tests or examples are added
- Examples are updated
- Internal documentation is updated

## Compatibility

| Koobiq | Angular | TypeScript | Node.js                 |
| ------ | ------- | ---------- | ----------------------- |
| 21.x   | 21.x    | 5.9        | 20.19, 22.12 or 24+     |
| 20.x   | 20.x    | 5.8–5.9    | 20.19, 22.12 or 24+     |
| 19.x   | 19.x    | 5.5–5.8    | 18.19.1, 20.11.1 or 22+ |
| 18.x   | 18.x    | 5.4–5.5    | 18.19.1, 20.11.1 or 22+ |

TypeScript and Node.js follow the requirements of the Angular release.

## Release frequency

We follow a time-based release schedule that consists of:

- One major release every six months
- One to three minor releases for each major release
- Patch releases shipped as urgent fixes when needed

## Support policy

Every major release is supported for about 12 months.
We distinguish two stages of support for major releases:

| Status | Period   | Description                                                      |
| ------ | -------- | ---------------------------------------------------------------- |
| Active | 6 months | Regular minor releases                                           |
| LTS    | 6 months | Patch releases that fix critical issues, and compatible features |

Our support policy covers every part of the design system,
including the codebase, the Figma design kits and our documentation.

We recommend always staying on the active version.
When a version moves from the active stage to LTS (long-term support),
projects should start migrating to the new active major version.
That said, we are always ready to consider critical fixes for earlier versions too.
