Skip to content

Commit 733bf61

Browse files
authored
chore: release v1.18.0 (#1191)
1 parent c4dfc7c commit 733bf61

3 files changed

Lines changed: 67 additions & 65 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 62 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -5,79 +5,80 @@
55
from published versions since it shows up in the VS Code extension changelog
66
tab and is confusing to users. Add it back between releases if needed. -->
77

8-
## Unreleased
8+
## [v1.18.0](https://github.com/coder/vscode-coder/releases/tag/v1.18.0) 2026-11-13
99

10-
### Added
10+
### Security
1111

12-
- The experimental Workspaces panel lists workspace agents, metadata and app
13-
status. Updated times expose the full date and time on hover or keyboard focus.
12+
- Sessions, CLI credentials, SSH hosts, and the CLI binary cache are now stored
13+
per deployment origin (scheme, host, and port) instead of per hostname, so a
14+
session for `https://coder.example.com` is never sent to
15+
`http://coder.example.com` or to another port on that host
16+
([GHSA-x24p-7cw4-4qm4](https://github.com/coder/vscode-coder/security/advisories/GHSA-x24p-7cw4-4qm4)).
17+
- The session token and `coder.headerCommand` headers are now sent only to the
18+
deployment, never to a redirect target on another origin or to a
19+
`coder.binarySource` on another host
20+
([GHSA-47qp-vp45-fhjf](https://github.com/coder/vscode-coder/security/advisories/GHSA-47qp-vp45-fhjf)).
21+
- `http://` deployments now use the OS keyring only with Coder CLI 2.39.0 or
22+
later, so they can't read or sign out the session of an `https://`
23+
deployment on the same host. With an older CLI, the session is stored in a
24+
file and a notice says so
25+
([GHSA-g92h-wph3-v9pm](https://github.com/coder/vscode-coder/security/advisories/GHSA-g92h-wph3-v9pm)).
26+
- OAuth sign-in now rejects server metadata with endpoints on another origin or
27+
under a workspace app path (`/@user/...`), and OAuth requests no longer
28+
follow redirects to another origin
29+
([GHSA-frg9-9vj4-2v84](https://github.com/coder/vscode-coder/security/advisories/GHSA-frg9-9vj4-2v84)).
30+
31+
> **Note:** HTTPS deployments on the default port keep their sessions. Any
32+
> other origin (`http://`, or a port other than 443) needs one new sign-in and
33+
> a fresh CLI download.
1434
1535
### Changed
1636

17-
- **Breaking:** the minimum supported Coder server and Coder CLI versions are
18-
both 2.29.0. Compatibility paths for older versions have been removed. The
19-
server minimum is checked at login and during CLI binary resolution, with an
20-
upgrade message for unsupported deployments. Known CLI versions below the
21-
minimum are also rejected; unknown versions use baseline capabilities rather
22-
than the server version. Later features depend on each component's version.
23-
24-
- **Breaking:** the extension no longer follows a redirect to a different
25-
scheme, host or port, and passes `--allow-redirects=false` to Coder CLI 2.38
26-
or later even if `coder.globalFlags` or `CODER_ALLOW_REDIRECTS` allow
27-
redirects. If your deployment URL redirects, for example after a domain move
28-
or from `http://` to `https://`, sign in with the new URL. The error and a
29-
notice at startup offer a **Sign In to …** button.
37+
- **Breaking:** Coder server 2.29.0 or later and Coder CLI 2.29.0 or later are
38+
now required. Older versions show an upgrade message. See
39+
[Compatibility](https://github.com/coder/vscode-coder#compatibility).
40+
- **Breaking:** redirects to a different scheme, host, or port are no longer
41+
followed. With Coder CLI 2.38 or later, the extension also passes
42+
`--allow-redirects=false`, overriding `coder.globalFlags` and
43+
`CODER_ALLOW_REDIRECTS`. If your deployment URL redirects, for example after
44+
a domain move or from `http://` to `https://`, sign in with the new URL using
45+
the **Sign In to …** button.
3046

3147
### Fixed
3248

33-
- Workspace, agent metadata and inbox watchers, and build and agent log
34-
streams, no longer drop the first message a server sends right after
35-
connecting, so metadata and log backlogs show up immediately. Watchers now
36-
also report as connected, which resets their reconnect backoff.
37-
- A session saved for one URL is no longer used for a URL on the same host with
38-
a different scheme or port.
39-
- Each deployment origin (scheme, host, and port) now has its own stored
40-
session, CLI credentials, SSH hosts, and CLI binary cache, so two origins on
41-
one host no longer overwrite each other or connect a window to the wrong
42-
deployment. HTTPS on the default port is unchanged; other origins need one
43-
new login and a fresh CLI download.
44-
- The session token and `coder.headerCommand` headers are now only sent to the
45-
deployment, not to other servers such as a `coder.binarySource` host.
46-
- Sessions for `http://` deployments are saved to the OS keyring only with Coder
47-
CLI 2.39 or later, which keeps them apart from `https://` sessions on the same
48-
host. Signing in with an older CLI shows a notice.
49-
- Fix WebSocket connections that hung when the server never finished the
49+
- Workspace status, agent metadata, inbox notifications, and build and agent
50+
logs no longer miss the first message the server sends after connecting.
51+
- WebSocket connections no longer hang when the server never completes the
5052
handshake. They now time out after 60 seconds and retry.
51-
- `coder.headerCommand` output with an invalid header name is now an error and
52-
stops the connection. Names may only contain letters, digits, and
53-
``!#$%&'*+-.^_`|~``, so whitespace (including tabs and carriage returns) and
54-
`:` are not allowed. An invisible byte order mark at the start of the output,
55-
which some Windows editors and PowerShell add, is ignored.
56-
- OAuth endpoints off the deployment's origin or on a workspace app path are
57-
now refused.
58-
- OAuth sign-in errors are now shown in a dialog, where server text cannot
59-
become a link.
60-
- Notifications show startup script names, app status messages, and Coder CLI
61-
errors as plain text. Template version messages and inbox titles keep
62-
`http(s)://` links; other links show as plain text.
63-
- Pending HTTP requests are canceled when the Coder deployment or account changes,
64-
but preserved during verified same-account token refreshes, including remote windows.
65-
- Canceled OAuth refreshes no longer overwrite replacement credentials or
66-
reopen sign-in prompts.
67-
- Sign in to deployments that use TLS client certificates for transport only.
68-
With `coder.tlsCertFile` or `coder.tlsKeyFile` set and no stored token that
69-
works, the extension tries an empty token, which still signs you in where the
70-
certificate authenticates you, and then CLI credentials and the OAuth or
71-
token prompt. If the empty token replaces an expired session with a different
72-
user, the extension asks first. Submitting the token prompt empty also signs
73-
in where the deployment needs no token.
53+
- `coder.headerCommand` output with an invalid header name now stops the
54+
connection with "Malformed line N from header command output". Header names
55+
may contain only letters, digits, and ``!#$%&'*+-.^_`|~``. A leading byte
56+
order mark, which PowerShell and some Windows editors add, is ignored.
57+
- OAuth sign-in errors now appear in a dialog, so server text can't become a
58+
link.
59+
- Switching to another deployment or account now cancels the previous
60+
session's pending requests, in local and remote windows, and canceled
61+
requests no longer refresh the token or show a sign-in prompt. Token
62+
refreshes for the same account keep pending requests running.
63+
- A canceled OAuth token refresh no longer overwrites newer credentials.
64+
- Setting `coder.tlsCertFile` or `coder.tlsKeyFile` no longer skips token
65+
sign-in, so deployments that use client certificates only for the connection
66+
can sign in. The extension now tries an empty token, which still works where
67+
the certificate signs you in, then the Coder CLI's token, then the OAuth or
68+
token prompt. It asks before signing you in as a different user. Submitting
69+
the token prompt empty also signs you in where the deployment accepts an
70+
empty token.
7471
- An empty session token is no longer passed to `coder login`, which waited a
75-
minute for a pasted token and then failed the connection. It now clears the
76-
token the extension stored for the Coder CLI, leaving the CLI's own session
77-
and the keyring alone. **Remove All** in **Manage Credentials** no longer
78-
signs out the Coder CLI's own session for a deployment with an empty token.
72+
minute for a token and then failed the connection. **Remove All** in **Coder:
73+
Manage Credentials** no longer signs the Coder CLI out of a deployment with
74+
an empty token.
7975
- Clearing or dismissing the token prompt after entering a valid token no
8076
longer signs you in with an empty token.
77+
- Startup script names, app status messages, and Coder CLI errors now appear as
78+
plain text in notifications. Template version messages and inbox titles keep
79+
their `http(s)://` links; other links appear as plain text.
80+
- The **Open Settings** button for `coder.useKeyring` now appears only when the
81+
CLI fails to store your credentials.
8182

8283
## [v1.17.2](https://github.com/coder/vscode-coder/releases/tag/v1.17.2) 2026-10-28
8384

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "coder-remote",
33
"displayName": "Coder",
4-
"version": "1.17.2",
4+
"version": "1.18.0",
55
"description": "Open any workspace with a single click.",
66
"categories": [
77
"Other"

‎src/workspace/agentMetadataTracker.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,10 @@ class WatchedAgent {
9090
}
9191

9292
/**
93-
* Watches agent metadata over SSE. The watched set is declared, not built up:
94-
* `watch` opens the sockets it is missing and releases the rest. Released
95-
* sockets stay open for a while, so watching an agent again is instant.
93+
* Watches agent metadata over WebSockets. The watched set is declared, not
94+
* built up: `watch` opens the sockets it is missing and releases the rest.
95+
* Released sockets stay open for a while, so watching an agent again is
96+
* instant.
9697
*/
9798
export class AgentMetadataTracker implements vscode.Disposable {
9899
private readonly changeEmitter = new vscode.EventEmitter<void>();

0 commit comments

Comments
 (0)