You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6532d25
Browse filesBrowse the repository at this point in the historyBrowse files
fix!: set the minimum supported Coder version to 2.29.0 (#1186)
The extension now requires Coder server 2.29.0 or later and Coder CLI
2.29.0 or later. It checks the server version at login and again when
it resolves the CLI binary, and shows an upgrade message for older
deployments. All compatibility code for older versions is removed. The
server and CLI capabilities are now worked out separately, so a CLI
whose version can't be read gets the baseline features instead of
borrowing the server version.
- Add `MIN_SUPPORTED_CODER_VERSION` and `requireSupportedServerVersion`,
and use them in `LoginCoordinator` and `CliManager`
- Reject CLIs with a known version below 2.29.0 in `cliFeatureSet`;
a CLI with an unknown version gets the baseline features
- Remove CLI feature flags that are always on at 2.29.0: `cliLogin`,
`proxyLogDirectory`, `wildcardSSH`, `buildReason`, `cliUpdate`,
`keyringAuth`, `sshCommand`, `supportBundle`
- Remove the `coder vscodessh` ProxyCommand, the REST API workspace
update path and the "Incompatible Server" modal from remote setup
- Always pass `--use-keyring`, `--log-dir` and `start --reason`
- Remove `coder.sharedWorkspacesSupported` and the shared workspaces
`onQueryRejected` probe
- Show the "Open Settings" keyring hint only when the CLI failed to
store the credentials
- Remove the `unsupported_cli` and `incompatible_server` telemetry
values
- Add a Compatibility section to the README
Closes#1180
Copy file name to clipboardExpand all lines: package.json
+4-9Lines changed: 4 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -76,14 +76,14 @@
76
76
"scope": "application"
77
77
},
78
78
"coder.binarySource": {
79
-
"markdownDescription": "Used to download the Coder CLI which is necessary to make SSH connections. The If-None-Match header will be set to the SHA1 of the CLI and can be used for caching. Absolute URLs will be used as-is; otherwise this value will be resolved against the deployment domain. Defaults to downloading from the Coder deployment.",
79
+
"markdownDescription": "Used to download the Coder CLI which is necessary to make SSH connections. The If-None-Match header will be set to the SHA1 of the CLI and can be used for caching. Absolute URLs will be used as-is; otherwise this value will be resolved against the deployment domain. Defaults to downloading from the Coder deployment. The supplied CLI must be version 2.29.0 or newer.",
80
80
"type": "string",
81
81
"default": "",
82
82
"scope": "application",
83
83
"ignoreSync": true
84
84
},
85
85
"coder.binaryDestination": {
86
-
"markdownDescription": "The path to the Coder CLI binary or the directory containing it. When set to a file path (e.g., `/usr/bin/coder`), the extension checks its version and downloads a replacement if it does not match the server (and downloads are enabled). When set to a directory, the extension looks for the CLI inside it (downloading if enabled). Defaults to the value of `CODER_BINARY_DESTINATION` if not set, otherwise the extension's global storage directory.\n\nSupports `${env:VAR}`, `${userHome}`, and a leading `~`.",
86
+
"markdownDescription": "Path to a Coder CLI 2.29.0+ executable or its directory. With `#coder.enableDownloads#` enabled, missing binaries or versions that differ from the server are downloaded automatically. Defaults to `CODER_BINARY_DESTINATION`, then the extension's global storage directory.\n\nSupports `${env:VAR}`, `${userHome}`, and a leading `~`.",
87
87
"type": "string",
88
88
"default": "",
89
89
"scope": "application",
@@ -214,7 +214,7 @@
214
214
"ignoreSync": true
215
215
},
216
216
"coder.useKeyring": {
217
-
"markdownDescription": "Store session tokens in the OS keyring (macOS Keychain, Windows Credential Manager) instead of a file. Requires Coder CLI 2.29.0 or later; 2.32.0 or later to sign in with the CLI's existing session. Has no effect on Linux.\n\nThe keyring entry is shared with the `coder` CLI: signing in here also signs in the CLI, and signing out asks whether to sign out the CLI too.",
217
+
"markdownDescription": "Store session tokens in the OS keyring (macOS Keychain, Windows Credential Manager) instead of a file. Requires Coder CLI 2.32.0 or later to sign in with the CLI's existing session. Has no effect on Linux.\n\nThe keyring entry is shared with the `coder` CLI: signing in here also signs in the CLI, and signing out asks whether to sign out the CLI too.",
218
218
"type": "boolean",
219
219
"default": true,
220
220
"scope": "application"
@@ -402,15 +402,10 @@
402
402
"contents": "Sign in to view and manage Coder tasks.\n[Login](command:coder.login)",
403
403
"when": "!coder.authenticated && coder.loaded"
404
404
},
405
-
{
406
-
"view": "sharedWorkspaces",
407
-
"contents": "Shared workspaces require Coder 2.27.0 or newer.",
0 commit comments