Records Architecture decision

ADR-122

Changeset-Driven Releases

Accepted Decided 2026-11-09 Source file

Context

Commit filtering makes Chatto release notes difficult to control. The repository also contains independently released products and shared modules. Release intent must be explicit for each unit, without coupling their version schedules.

Decision

This repository-wide decision replaces release-please with Sweet Release for all nine release units listed in the release guide. Each unit owns a manifest and Markdown change notes. Chatto retains its synchronized server, client, frontend, and desktop release group from ADR-118.

Preserve existing versions, changelogs, and tag prefixes. Treat the migration commit as a baseline rather than a new release. Prepare separate PRs per unit from main. After selected CI checks succeed, tag the full push range. Keep artifact publication in the existing tag workflows. Component GitHub release notes never claim Latest; only the highest stable Chatto release can claim it.

Consequences

Authors must write notes for each affected release unit. Commit titles no longer select versions or changelog content. Dependency updates are explicit; Sweet does not propagate releases to consumers. Maintainers review generated PRs.

Sweet 0.3.0 bumps prerelease baselines to ordinary stable versions. Authling's next release may be stable. Component release notes and artifact publication are separate jobs and must both be checked.

Amendment: publication from the tagging run (2026-11-21)

Tag workflows no longer publish artifacts. CI calls Sweet's tag.yml with GITHUB_TOKEN after the checks, so tag pushes start no workflow. The same CI run publishes each tagged version from Sweet's tag outputs. The outputs give prerelease and highest for each tag, and sweet github release publishes the GitHub releases. Thus publication always starts from a checked commit, a manual tag push cannot start a build, and publication needs no personal token. CI also tags pushes to release-* branches. Release preparation stays on main. The tag and publication jobs are in release-gate.yml, which ci.yml calls after all checks. See the release guide.

Records that name this record

Esc