Breaking changes in the context/workspace CLI
Update the CLI, handbook/command builder and consuming scripts together. Old command aliases and automatic configuration migration are not provided.
| Previous setup | Required change |
|---|---|
tsm upgrade, tsm config …, root entity / api | Use tsm cli upgrade, tsm cli config …, tsm app entity … / tsm app request …. Check tsm help for the complete tree. |
~/.tsm/config.yaml or config.json, environment/repository aliases | Register projects, environments, accounts and contexts in ~/.config/tsm/config.yaml. Use tsm context create --help; select contexts explicitly in CI. |
Plaintext ~/.tsm/credentials.json | Log in again using the selected credential backend (OS vault by default). This file is neither imported nor deleted. After verifying the new login, securely remove old secret files and any backups according to your environment policy. The legacy credentials path is not imported. |
name: in tsm-project.yaml | Rename to project:. |
sourceDirectory: custom in tsm-project.yaml | Replace with packages: { directory: custom }. Environment/connection settings belong in the home config. |
| JSON expected from default output (including forms and jexl) | Add -o json or --json before piping to jq or parsing output. The default is a human table. |
| Authenticated artifact publication using a repository alias | Authenticated artifact repository accounts are not implemented in this release. Publication supports anonymous repositories only. Do not substitute application credentials. Retain the previous CLI for authenticated publication until repository accounts are supported. |
Configuration and credential backend files are personal; keep them out of repositories. Changing an environment URL creates a new credential scope: log in for the new endpoint. The old vault record is retained, not migrated to the new endpoint. Log out before removing or redirecting an environment if its old credentials should be deleted.
Before rollout, update CI invocations, developer aliases and scripts that call old commands or parse default output, and verify them against this binary.