Upgrading¶
This page lists, per release, what an upgrade changes for you: database migrations, new permissions, new configuration keys and changed defaults. A release that isn't listed changed none of these.
How you upgrade depends on where the server runs: see Updating on Docker Compose and Kubernetes. Migrations are applied by database migrate: the migrate service in Docker Compose, or the init-container on Kubernetes. The server never migrates its own database on startup. Releases before 0.236.0 are not covered here; their notes, where there are any, are in the Updating sections linked above and in the changelog.
Unreleased¶
Migrations. One, applied by database migrate like any other:
| Migration | What it adds |
|---|---|
AddProjectSecrets |
StoredSecrets.ProjectEntityId, a foreign key to the project's config row, so a project's own secret values are deleted with the project. Existing rows keep it empty and read as before. |
Permissions. secrets.read and secrets.write now apply inside a project. A project binding whose role carries them can read and write that project's own secrets (GET and PUT /api/projects/{name}/secrets) without any global grant. The built-in admin role carries both, so an existing binding with the admin role gains them in its project when you upgrade. The same goes for a custom role you gave them to. The installation's secret routes (/api/config/secrets, /api/config/secret-values and the config export, import and changes) still need the global permission. See Access control.
Configuration. A sandbox.secrets.env or repo_env value may now be "${NAME}" next to the existing "secretName:key". The command then gets the stored secret NAME in its environment: the project's own value if the project has one, otherwise the installation's. A project's registry tokens (registries[].token: "${NAME}") and its machine identity's auth also use the project's own value first. A project that stores no secrets resolves exactly as before. Shared entities such as trackers, connections and agents only ever use installation secrets.
Defaults. The server now masks sandbox output lines and a failed command's last lines before they reach the live drawer and the run trail. Before, only the trace and model calls were masked.
0.236.1¶
- Migrations: none.
- Permissions, configuration, defaults: no change. The release fixes how a finished series shows its last question.
0.236.0¶
Migrations. Three, applied by database migrate like any other:
| Migration | What it adds |
|---|---|
AddPersonalAccessTokens |
the table for personal access tokens |
AddSpecDialogTranscriptRead |
the record of each time an admin reads someone's Work it out transcript |
AddRunCancelledBy |
who cancelled a run, shown beside the reason on the run page |
Permissions. admin.repair is new. It allows the admin repairs and configuration changes (/api/admin/repairs, /api/admin/config-changes). The built-in admin role holds it. A custom role holds it only once you add it. It is global only, so a project binding can't grant it. See Access control.
Configuration. role_mapping.personal_token_max_days (90) sets the longest lifetime of a personal access token. It is edited in the Access studio's Tokens pane. Creating a token needs the secret store's master key (AGENTSMITH_SECRET_MASTER_KEY), because the server keeps only a keyed hash of each token. See Personal access tokens.
New endpoints. The server speaks MCP at /api/mcp for operators and at /api/mcp/admin for admins. The admin endpoint needs admin.assistant, and its repairs need admin.repair. Both are under /api, which the ingress already routes to the server, so nothing changes in the deployment. MCP OAuth discovery needs an authority and dialogue.dashboard_url; without them, use a personal access token. See Connect an agent over MCP.
Defaults. No changed default.