docs: update changelogs and clarify lockstep versioning in AGENTS.md

This commit is contained in:
Mario Zechner 2026-01-10 01:41:48 +01:00
parent d82df76222
commit cf922b01b4
3 changed files with 12 additions and 3 deletions

View file

@ -77,13 +77,20 @@ Use these sections under `## [Unreleased]`:
## Releasing
**Lockstep versioning**: All packages always share the same version number. Every release updates all packages together.
**Version semantics** (no major releases):
- `patch`: Bug fixes and new features
- `minor`: API breaking changes
### Steps
1. **Update CHANGELOGs**: Ensure all changes since last release are documented in the `[Unreleased]` section of each affected package's CHANGELOG.md
2. **Run release script**:
```bash
npm run release:patch # Bug fixes
npm run release:minor # New features
npm run release:major # Breaking changes
npm run release:patch # Fixes and additions
npm run release:minor # API breaking changes
```
The script handles: version bump, CHANGELOG finalization, commit, tag, publish, and adding new `[Unreleased]` sections.