Versioning and compatibility
The framework
@fellowframework/core, @fellowframework/vue, @fellowframework/build, @fellowframework/cli,
@fellowframework/astro and @fellowframework/ask are released together with the same version and follow semantic
versioning. From 1.0.0 on only major releases break and a patch never changes behaviour except to fix a bug. Every breaking change is listed in fellow docs upgrading and in fellow upgrade:check, together with
its automatic codemod when one is possible. Deprecated APIs keep working for at least one minor release and are
reported by fellow check before they are removed.
Road to 1.0
Fellow is published only as pre-releases of 1.0.0 until its foundations ship stable versions
(see fellow docs adr/0013-versioning-strategy):
| Channel | Version | Entry criteria | What may change |
|---|---|---|---|
| alpha | 1.0.0-alpha.N |
— | Anything, including breaking changes |
| beta | 1.0.0-beta.N |
Validation done: real-agent benchmark, an external developer builds and publishes a module from scratch, security review, a pilot deployment | Fixes and what validation demands; the public contract below is frozen |
| rc | 1.0.0-rc.N |
Nitro 3.0.0 and the next Bun release are stable and pinned | Fixes only |
| stable | 1.0.0 |
No blocking issue during the rc period | Semantic versioning, strictly |
Applications and modules declare fellow: ^1.0.0-alpha.0: a caret range without a pre-release tag (^1.0.0) does
not accept pre-releases.
Releases and commits
Commits follow Conventional Commits, in English: feat: is a minor change,
fix: a patch, feat!: or a BREAKING CHANGE: footer a major change (during pre-releases they only advance the
pre-release number). All @fellowframework/* packages share one version, set in their package.json. Tags and GitHub
releases are never made by hand: on every push to main, the release workflow (.github/workflows/release.yml)
runs the type check and the tests on the pinned Bun and, when v<version> does not exist yet, creates the tag and
the release with the notes of that version from CHANGELOG.md (a pre-release when the version has a label such as
-alpha.1). To release, bump the version in every package (and FELLOW_VERSION in packages/core/src/version.ts) and add its
CHANGELOG.md section in the same commit.
The packages are on npm under the @fellowframework scope. bun run publish:npm publishes them in
dependency order with bun publish, which replaces workspace:* with the released version (npm publish does
not). Each pre-release goes to its channel dist-tag (alpha, beta, rc, from publishConfig.tag); until 1.0.0
latest points at the newest pre-release so that bunx @fellowframework/cli new works. The documentation at
https://fellow.run/docs is built from the docs/ directory of the published @fellowframework/core
(fellow docs astro).
What is part of the public contract
| Surface | Stability rule |
|---|---|
Exports of @fellowframework/core, @fellowframework/core/* subpaths and @fellowframework/vue |
Semver; internal files are not public |
| CLI command names, options and exit codes | Semver; new options are additive |
JSON output (--json) of every command |
Fields are only added in minors; removing or renaming one is breaking |
Diagnostic ids (FW-…) |
Never reused for another meaning; retired ids stay documented |
| MCP tool names and their input schemas | Same rule as CLI commands |
Module manifest (defineModule) |
Fields are additive; fellow module:schema publishes the JSON Schema |
Package format (fellow-package.json, format 1) |
A new format gets a new number; older formats stay installable |
Registry index and fellow.lock.json (format 1) |
Same rule |
| Core migrations | Immutable once released; changes ship as new migrations |
Skills (fellow: ^x.y.z front matter) |
Follow the framework version; fellow upgrade refreshes installed copies |
Modules
A module version is measured on its contracts: routes, pages, events, permissions and schemas.
- Major (minor before 1.0): a contract removed, or made incompatible (required input field, removed output field, removed permission).
- Minor: a contract added, or an optional field added.
- Patch: no contract change.
fellow module:pack --previous <tgz> compares the surfaces and refuses a version that understates the change
(FW-MOD-015). The fellow range of a module states the framework versions it is tested with; module:install
never installs a version whose range excludes the installed framework.
Events
Events carry an explicit version. A breaking change to a payload is a new version of the event, emitted next to
the old one until every consumer has moved; consumers declare the version they read.
Migrations
Migrations are append-only. A released migration is never edited (its checksum is verified by fellow migrate);
module migrations follow the same rule and fellow migrate refuses to downgrade an installed module.