Releases and support
This page covers how Cuttlely is versioned, what counts as a breaking change, and which versions get fixes. The changelog lists what changed in each release.
Version 1.7.17 simplifies the PostgreSQL storage upgrade and enables recovery of saved chats, runtime settings and memory notes on replacement web and worker containers. Upgrade guide.
Version 1.7.16 fixes a PostgreSQL migration warning for unchanged bundled skills and updates the Node.js HTTP adapter to address a reverse-proxy path handling vulnerability. Upgrade guide · Security advisory.
Version 1.7.15 adds recovery on empty application disks using PostgreSQL, optionally with S3-compatible file storage. A fresh installation can opt in at first boot. Existing installations have separate procedures for the SQLite application copy and the PostgreSQL side-store cutover. Back up local data and the original installation key before replacing the first instance. Upgrade and disk requirements.
Version 1.7.13 adds direct chief delegation in agent mode, isolates reusable Try profiles by flow and owner, and lets operators configure agent time limits. Harnesses retry after boot failures, and chat locks renew during long turns. Read the Analyst upgrade notes before switching instances.
Version 1.7.12 connects roster over the stdio framing the agent runtime uses; it had never connected since 1.0. Boot is about 60 seconds faster per mixed-model harness (about 2 minutes with two), and the chief’s run_specialist tool now registers. Router traffic is unchanged. Concurrent ETL start, resume, pause and cancel no longer leave a cancelled or paused run running or start a second run for one pipeline. No schema migration or required configuration change is added. The 1.7.11 startup-tool-list fix and the 1.7.10 health-check path and recovery changes still apply. ETL · Upgrade guide.
Version 1.7.11 fixes a cold-start deadlock: the agent runtime’s startup tool list is no longer refused while the runtime status is restarting, so it can answer health and come up. Tool calls and chat completions are still refused until then. No schema migration or required configuration change is added. The 1.7.10 health-check path and recovery changes still apply. #542 · Upgrade guide.
Version 1.7.10 moves the image, Compose and Render health checks to the liveness route /api/v1/ping/live (strict readiness stays /api/v1/ping), adds agent runtime recovery with backoff, cooldown and an in-place stack restart, returns 503 RUNTIME_UNAVAILABLE with Retry-After to agent calls while the runtime is down, fixes a descriptor leak in repeated agent-team runs, and adds default-off Dash Flows storage on Postgres (preview). Other fixes cover the harness profile credential cache and cancelled Dash Flows refreshes. No schema migration or required configuration change is added. Known issue: Orchestrate and A2A outage responses stay as in 1.7.9 (#540). The runtime startup failure in #542 is fixed in 1.7.11. Health checks · Upgrade guide.
Version 1.7.9 adds LangSmith tracing to standalone Harness chatflows, drops imported edges whose endpoints are gone, clarifies instance-operator request errors, and updates the XML parser dependency for a CPU-exhaustion security fix. ETL scans and bookkeeping yield to the server loop, interrupted repository files resume without false duplicate errors, and error-limit failures retain their first cause. An optional host configuration can create the first owner on an empty local-password installation, with a password-hash helper and private audit event. Existing accounts are preserved; owner creation does not grant instance-operator access. No schema migration or required configuration change is added. LangSmith tracing · First owner · Upgrade guide · Merge and documentation audit.
Version 1.7.8 lets Version History select a GitHub repository branch, including names with slashes. The picker shows protected branches, and an existing connection keeps its current behavior until reconnected. Named environment chains retain their configured branch mappings. The homepage release notice is shorter. No schema migration is added. Version History.
Version 1.7.7 fixes agent-team cancellation: stopping one chat cancels only its runtime run and model connection, while another chat using the same specialist continues. It adds no schema migration or configuration change. Harnesses.
Version 1.7.6 improves automatic test inputs in Import & verify, lets signed-in people try an unpublished harness before its first Publish, and keeps draft conversation state separate from runnable profiles. User Management offers one-time password reset links, Disable/Reactivate and View team access. Team lists show pending and disabled accounts correctly, and pending invitation role edits update the existing membership. It adds no schema migration and does not change sign-in configuration, stored role assignments or the enforcement mode. Import and verify · Users and teams.
Version 1.7.5 is a patch that fixes follow-up prompts that sent blank or invalid temperature values, or a temperature for OpenAI reasoning models that do not accept one (#491), Import & verify reporting false output contract mismatches (#494), and Import & verify reporting untested contracts as mismatches (#495). It also lets Version History connect a GitHub repository that already has files or commits (#482). It adds no schema migration and changes no configuration. Version 1.7.4 covered analyst tool readiness, Auto for Analyst storage that was never set, credential rebind on harness import (including a nested credential id and an empty credential slot), Import & verify for imported flows and harnesses, and a fresh-install Try the demo save. It added one startup migration (a nullable importVerify column on flow_version_state). The four product manifests are prepared together; publication and availability are separate maintainer checks. Version 1.7.3 covered the no-answer canvas message, import of flows whose edge target handles carry type segments, quiet retries while editing, a save queue for existing draft and Live saves without new file data, and 65-second keep-alive defaults behind a reverse proxy. Version 1.7.0 uses the security exception below. Back up first and plan the explicit legacy-install panel claim with host-log proof described in Upgrading; only actual verified host CLI bindings grandfather as the default operator; the CLI is emergency recovery. Access-key enforcement remains off by default throughout the 1.7.x line. The support row describes the 1.7.x release line. Tag, image and npm availability are checked separately by the release procedure below. The release tool dates the changelog when cutting the release.
Versions
Section titled “Versions”Cuttlely uses Semantic Versioning: MAJOR.MINOR.PATCH.
- Major (
2.0.0): a breaking change, as defined below. - Minor (
1.1.0): new features and settings that existing installs can ignore. A new setting ships with a default that keeps today’s behavior, unless the change fixes a security problem. - Patch (
1.0.1): fixes only, with no new settings.
The product version is the version in the root package.json, packages/server/package.json, packages/cli/package.json and packages/chat-widget/package.json. The About dialog and GET /api/v1/version report the server package’s version. The cuttlely launcher and @cuttlely/chat use that same version, because the launcher’s default image tag is its own version. The other workspace packages keep their own internal version numbers, which are not the product version.
Each release is an annotated Git tag vX.Y.Z, a GitHub release whose notes come from the changelog, and a Docker image tagged X.Y.Z. The tag push starts .github/workflows/release-image.yml, which builds linux/amd64, records provenance and an SBOM, and adds :latest only for a stable release. linux/arm64 is opt-in through a manual run’s platforms input and is slow under emulation. Apple silicon runs the linux/amd64 image under emulation. Cutting a release covers how a maintainer makes one.
What counts as a breaking change
Section titled “What counts as a breaking change”A change is breaking when an install or a client that follows the docs has to change something to keep working:
- An API route, request field or response field is removed or renamed, or a documented response shape changes.
- A documented status code changes for a request that used to succeed.
- An environment variable or setting is removed or renamed, or its meaning changes.
- A default changes, so an existing install behaves differently after the upgrade without any action from you.
- A path inside the image, the data directory layout or a port changes.
- A database change cannot be undone by restoring the backup taken before the upgrade and starting the previous version.
- The minimum Node version goes up.
These changes are not breaking:
- New routes, fields, settings and canvas cards.
- Layout and wording changes in the app.
- A fix that makes Cuttlely do what its docs already say.
- Internal code names, package names and file layout outside the image.
A security fix can change behavior in a minor or patch release when waiting for the next major would leave installs exposed. The changelog then lists the fix under Upgrade notes / breaking changes, with what to change.
A setting or route that will be removed is marked Deprecated in the changelog in a minor release first. It is removed no sooner than the next major release.
Which versions get fixes
Section titled “Which versions get fixes”| Version | Gets fixes |
|---|---|
Latest minor (1.7.x) |
Yes |
| Older minors and majors | No. Upgrade first. |
1.7.0 uses the security exception: back up before upgrading, arrange operator-only service settings access with host-log proof from the hosting dashboard or Docker/Compose logs, and retain host/CLI recovery. Enforcement stays Off by default. Read the upgrade warnings.
Fixes, including security fixes, ship as a patch release of the latest minor. An older minor does not get a backport. Upgrading within a major is meant to be safe: read the changelog’s upgrade notes and back up first, as Upgrading Cuttlely describes. Every full pnpm verify checks that data from an older release opens on the current code.
The changelog
Section titled “The changelog”Each pull request that changes what users see adds a line to CHANGELOG.md: under the planned ## [X.Y.Z] - Unreleased section when there is one, otherwise under ## [Unreleased]. pnpm release refuses a changelog with lines in both. Use the Keep a Changelog groups: Added, Changed, Deprecated, Removed, Fixed and Security. Anything that needs action from people upgrading also goes under Upgrade notes / breaking changes, with the exact thing to change.
When a release is cut, ## [Unreleased] becomes ## [X.Y.Z] - YYYY-MM-DD. A planned version can be written as ## [X.Y.Z] - Unreleased ahead of time.
Cutting a release
Section titled “Cutting a release”Releases are cut from a maintainer machine with pnpm release. The release image is built and pushed by .github/workflows/release-image.yml after the release tag is pushed.
You need Node 24, pnpm and the GitHub CLI signed in (gh auth status). Docker is needed only for the --local-image fallback.
-
Make sure
CHANGELOG.mdlists everything under## [Unreleased], or under## [X.Y.Z] - Unreleasedfor a planned version. -
Remove draft notes from that section: an intro line that says the notes are a draft, a TODO heading, or a placeholder for work that did not land.
pnpm releasecopies the section body into the GitHub release as it is, so the section has to start with real entries under Added, Changed, Fixed and the other groups. -
Review the model list,
packages/components/models.json, against each provider’s current models and prices, and merge any update first. See Updating the model list. -
Check the docs, the site and the npm READMEs against the product, and merge any fix first, because the npm packages carry the READMEs as they are at the tag. Docs and site sync is the check list.
-
Check out
main, pull, and run a dry run. It changes nothing and prints every check, every command and the release notes:Terminal window pnpm release --dry-run # version from "## [X.Y.Z] - Unreleased"pnpm release minor --dry-run # or major, patch, or an exact X.Y.Z -
Run it for real:
Terminal window pnpm release # push commit and tag, wait for the image, create a draftpnpm release X.Y.Z --publish # wait for the image and publish the GitHub releasepnpm release X.Y.Z --npm # from the tag: publish the npm packagesnpm publish is the last step. It runs only from the annotated tag, after the image and the GitHub release for that version are public. Publish the npm packages is the check list.
pnpm release refuses unless the working tree is clean (untracked files included), the checkout is on main, and main matches origin/main. It also refuses when the tag already exists, when the version is not newer than the last tag, or when CHANGELOG.md has nothing to release.
It then runs these steps, in order:
- Run the full
pnpm verify. - Set the version in
package.json,packages/server/package.json,packages/cli/package.jsonandpackages/chat-widget/package.json. - Date the changelog section, open a fresh
## [Unreleased], and update the compare links. - Commit
Release vX.Y.Zand create the annotated tagvX.Y.Z. - Push the release commit and annotated tag. The tag starts
.github/workflows/release-image.yml. - The workflow builds and starts a
linux/amd64image and waits for its ping. Only after that passes, it builds the rootDockerfileforlinux/amd64, pushesghcr.io/cuttlely/cuttlely:X.Y.Z, records provenance and an SBOM, and also pushes:latestfor a stable version. A pre-release such as1.1.0-rc.1never moves:latest. - Wait, with a bounded timeout and progress lines, for the release-image workflow run for
vX.Y.Zat the release commit to pass and for the versioned image to be available in the registry. An existing versioned image alone does not complete this wait. A local--pushhas already completed, so that path does not wait again. Then create a draft GitHub release with the changelog section as its notes, or publish it when--publishis present.
The image flags are:
--local-imageis the fallback. It keeps the prior maintainer-machine Docker build and start-and-ping check. Add--pushto push that build. The pushed release includeslinux/arm64only when the maintainer’s buildx builder can build it; otherwise it includeslinux/amd64, which Apple silicon runs under emulation.--pushis accepted only with--local-image. When the push completes, the release continues without an anonymous registry wait.--image <name>and--skip-image-checkalso apply only to the local image path. The workflow publishes only toghcr.io/<owner>/<repo>, so a custom--imagerequires--push.--publishpublishes the GitHub release after the workflow registry wait or the completed local push instead of leaving a draft.--localimplies--local-imageand stops after the local build and check, so nothing leaves the machine.
For workflow checks that do not move :latest, push a ci-dryrun-* tag or start workflow_dispatch with a tag beginning ci- or matching X.Y.Z-rc.N. A manual rc tag must equal the version in the checked-out root package.json; manual ci- tags and pushed ci-dryrun-* tags do not use that comparison. Every planned image tag must match the Docker tag grammar ^[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$. A manual run can select another ref; an empty value uses the branch where the run starts. Its platforms input defaults to linux/amd64; choose linux/amd64,linux/arm64 only when the slower emulated arm64 build is wanted.
A run that stopped part way can be started again with the same version. When the release commit is already tagged on this machine, pnpm release X.Y.Z reuses it and skips the steps that are done, for example pnpm release 1.0.0 --publish after a draft run. If the image wait times out, inspect .github/workflows/release-image.yml and run the same command again after the image is available.
The release command pushes the commit and tag atomically. When main requires pull requests, prepare with --local, land the generated version commit through the normal PR checks, and publish the tag afterward. The protected-branch path below preserves that process.
Prepare on a fresh CI runner
Section titled “Prepare on a fresh CI runner”Both full and fast pnpm verify run version-consistency beside the flow-history versioning tests. It checks the hero badge, FAQ title, agent instructions, current README notices, how-to release heading, and Docker/widget example pins against the root package.json version. Missing spots and stale versions fail with file and line diagnostics; past-release sections, changelogs and audit history are excluded. Before preparing the version, add the next headline above the current one in each README, prefixed with **Upcoming** · (translated in each language), and add a ## Upcoming · New in X.Y.Z section to the how-to index. The version bump promotes these headings and updates current install examples. Historical headlines and links keep their original version. The homepage reads the matching English README headline at build time. Keep the designated spots in the single table in scripts/version-consistency.mjs; run node scripts/version-consistency.mjs to check them separately before release preparation.
When a maintainer machine cannot run the full gate, Release preparation (.github/workflows/release-prepare.yml) provides a fresh-runner fallback. It has read-only repository permissions. It does not push commits or tags, publish a GitHub release or image, or publish npm packages.
To verify a pushed branch without preparing a release:
gh workflow run release-prepare.yml --ref your-branch -F prepare=false -f version=1.7.9The workflow also runs the full gate when its own file or the release tool changes in a pull request. Its verification artifact records the exact checked-out commit, mode and result.
After the documentation is merged and main is ready, prepare the release:
gh workflow run release-prepare.yml --ref main -F prepare=true -f version=1.7.9This runs the normal pnpm release 1.7.9 --local command: full verification, the four version bumps, changelog date, release commit, annotated tag, local image build and start-and-ping check. It validates the passing full report against the source commit, checks the release commit’s parent, tag and version files, and exports a small Git bundle plus metadata. The release commit may change the four manifests, the changelog and the designated release notices and install pins. The workflow regenerates each documentation edit from the source commit and checks its exact bytes. Artifacts are kept for seven days.
Download release-preparation-1.7.9 from that successful run. Read metadata.json and verify-report.json: source must equal the current origin/main, and the report must have that head, mode: full and ok: true. If main changed, prepare again. From a clean main synchronized with origin:
release_artifacts=$(mktemp -d)gh run download RUN_ID --name release-preparation-1.7.9 --dir "$release_artifacts"git bundle verify "$release_artifacts/release.bundle"git fetch "$release_artifacts/release.bundle" refs/tags/v1.7.9:refs/tags/v1.7.9git switch -c release/1.7.9 'v1.7.9^{commit}'node scripts/scan-secrets.mjsCUTTLELY_SKIP_VERIFY=1 CUTTLELY_SKIP_HANDOFF_CHECK=1 git -c push.followTags=false push -u origin release/1.7.9gh pr create --base main --head release/1.7.9 --title 'Release v1.7.9' --fillgh pr checks --watchThese local hook exemptions match the release command and apply only to the generated release files after the full gate and image check passed. The separate secret scan and normal remote PR checks still run. push.followTags=false keeps the candidate tag local while the PR is checked.
Merge the PR through the repository’s required checks and reviews. Fetch origin/main, switch back to main, and fast-forward it. Compare its Git tree with the prepared tag’s tree; they must be identical. Confirm that git ls-remote --tags origin refs/tags/v1.7.9 succeeds with no result. Then recreate only the unpublished local annotated tag at the merged release commit, preserving its message. Stop if the trees differ or the remote tag already exists. A published tag stays fixed.
On that clean main, run pnpm release 1.7.9 --publish. The existing resume path performs the normal atomic push, image-workflow wait and GitHub publication. npm publication remains the separate tag-based step.
Docs and site sync
Section titled “Docs and site sync”Do this for every release, before the tag. The release bumps the version files, not the docs. A release is not done until the live site reflects these updates.
- Version pins. Search for the previous version (for 1.3.0,
rg -n '1\.2\.0') and update every example that pins it:packages/cli/README.md,packages/chat-widget/README.md,.env.example,docker-compose.yml,docs/how-to/docker.md,docs/how-to/share-and-embed.md, the latest-stable lines inREADME.md,README.ja.md,README.ko.md,i18n/README-TW.mdandi18n/README-ZH.md, and the “today” row in Which versions get fixes. Leave lines that record what an older release did. A figure measured on an older build says which build it was measured on. - Features. Each headline item in the changelog section is described in
README.md, the how-to guide it belongs to,docs/, the FAQ, and the website home page (changelog / what’s new) where that section covers it, with the same names as the UI. Only touch the docs the change actually affects. Take every fact from the changelog, the merged pull requests and the code. - Translations.
README.ja.mdandREADME.ko.mdcarry the same change in the same structure. Updatei18n/README-TW.mdandi18n/README-ZH.mdwhere they cover the same content, at least the latest-stable pin.node --test scripts/readme-translations.test.mjschecks that the Japanese and Korean links, images and code blocks matchREADME.md, and that every in-page link has an<a id>anchor. It does not check the prose. - Figures. A number on the site or in a README matches the guide that records it, and links to it.
- Live site. After the site deploys, open the home page, the changelog at
/changelog/, the FAQ at/faq/, and the pages that changed, and check that their links answer. The release is not complete until that check passes.
After pnpm release X.Y.Z --npm, check that each published README matches the tag:
dir=$(mktemp -d)npm pack cuttlely@X.Y.Z @cuttlely/chat@X.Y.Z --pack-destination "$dir"tar -xzOf "$dir/cuttlely-X.Y.Z.tgz" package/README.md | diff - <(git show vX.Y.Z:packages/cli/README.md)tar -xzOf "$dir/cuttlely-chat-X.Y.Z.tgz" package/README.md | diff - <(git show vX.Y.Z:packages/chat-widget/README.md)No output means they match. A difference means the package was not packed from the tag. A README that matches the tag but is out of date was missed by the check list above, and is fixed in the next release.
Publish the npm packages
Section titled “Publish the npm packages”GitHub Actions does not publish to npm. Publish from the annotated tag, after the image is in the registry and the GitHub release is published:
pnpm release # bump, tag, wait for the image, and draft the GitHub releasepnpm release X.Y.Z --publish # publish after the image workflow completesgit checkout vX.Y.Z # npm publish reads this tagpnpm release X.Y.Z --npm # publish cuttlely and @cuttlely/chatpnpm release X.Y.Z --npm --dry-run runs the same checks and prints the plan. It does not build or publish.
pnpm release X.Y.Z --npm refuses unless every one of these is true:
HEADis the annotated tagvX.Y.Z.- The working tree is clean, untracked files included.
packages/cli/package.jsonandpackages/chat-widget/package.jsonare both versionX.Y.Z, along with the other version files the release bumps (package.jsonandpackages/server/package.json).- The image
ghcr.io/cuttlely/cuttlely:X.Y.Zis in the registry. The check is an anonymous manifest request. It does not use a registry login. - The GitHub release
vX.Y.Zis published, not a draft. NPM_TOKENis set in the environment.
It then builds the widget, runs npm pack --dry-run for both packages, and publishes them with npm publish ./packages/cli and npm publish ./packages/chat-widget. The ./ is required: a path without it is GitHub shorthand (owner/repo), so npm tries git ls-remote instead of publishing the directory. Auth is a temporary npm userconfig built from NPM_TOKEN. The command does not print the token, and it deletes the file when it finishes. If a run stops after the first package, run the same command again from the same tag: a package version that is already on npm is skipped, because npm never accepts the same version twice.
cuttlely(packages/cli) is the Docker launcher.npx cuttlelyat versionX.Y.Zpullsghcr.io/cuttlely/cuttlely:X.Y.Z, because the default image tag is that package’s own version.@cuttlely/chat(packages/chat-widget) is the embeddable chat widget.
The server itself is not an npm package. The image carries the Python agent runtime. For unattended publication, use a granular NPM_TOKEN scoped to cuttlely and @cuttlely/chat, with Read and write (publish and stage) and Bypass 2FA. Organization-management access is unnecessary. Choose a short expiry and keep the token outside this repository. An email-verified login session has separate publishing requirements. Tokens can be created through the npm website or its documented token API; token creation requires a fresh verification code. Both packages set publishConfig.access to public. There is no npm publish workflow.