artifacthub helm/coder-v2/coder 2.40.0
v2.40.0

2 hours ago

Changelog

Note

This is a mainline Coder release. We advise enterprise customers without a staging environment to install our latest stable release while we refine this version. Learn more about our Release Schedule.

BREAKING CHANGES

  • Agent environment variable values are redacted (#31932)

    API responses and coder list -o json now redact agent environment variable values.

    Migration: Scripts that need them should read them inside the workspace.

  • Legacy AI Gateway Prometheus metric names are removed (#32381)

    The pre-rename AI Gateway Prometheus metric names are removed.

    Migration: Switch dashboards and alerts to coder_ai_gateway_* and coder_ai_gateway_proxy_* before upgrading.

  • AI spend CSV export adds a client column (#32474)

    The AI spend CSV export adds a client column and splits rows by client.

    Migration: Scripts expecting one row per user, group, model and provider should sum across clients.

  • Workspace apps no longer receive Coder session tokens (#31633)

    Workspace apps no longer receive the visitor's Coder session token.

    Migration: Apps that used it to call the Coder API should switch to the OAuth2 provider.

SECURITY

  • Require a setup token to create the first user on a tunnel (#32324, 88d3494)
  • Add dbcrypt support for oauth_extra (#32344, f66c82d)
  • Add optional Cloud KMS dual signing for release GPG signatures (#32209, b83a339)
  • Sign darwin binaries with an Apple signing key in Google Cloud KMS (#32211, a8ed5a1)

Features

AI Governance

Organization-scoped spend and budgets
  • Limit effective group resolution to an organization (#31119, eb38759)
  • Use the resolved organization for AI Gateway budgets and cost (1/2) (#31120, 15365c6)
  • Price AI Gateway token usage with the request organization (2/2) (#31121, 5baa8ef)
  • Server: Send the chat organization in Coder Agents AI Gateway requests (#31583, 8d5026c)
  • Resolve the chat organization for Coder Agents AI Gateway requests (#31584, c83914f)
  • Add per-organization AI spend endpoint (#32202, c236edc)
  • Dashboard: Show AI spend per organization (#32204, 4a7d214)
  • Add organization member AI spend endpoint (#32203, dcbe84a)
AI spend overview
Unpriced models
  • Scope unpriced AI models to an organization and its prices (#31752, d611c60)
  • Add organization unpriced AI models endpoint (#31753, 3211ca0)
  • Paginate the organization unpriced AI models endpoint (#32170, 13381e3)
Detailed spend reports
AI Gateway sessions and data retention
  • Show and filter by organization in AI Gateway sessions API (#32057, 4bccdc4)
  • Dashboard: Add organization filter to AI Gateway sessions list (#32260, a50d929)
  • Dashboard: Show organizations on the AI Gateway session summary (#32313, 35bd24e)
  • Add an AI Gateway data retention endpoint (#32659, dfe6402)
  • Limit the AI spend date pickers to the AI Gateway retention (#32684, e6674dd)
  • Limit the AI sessions date picker to the AI Gateway retention (#32660, 4a8ec29)

AI Gateway & Model Providers

  • Add option to disable the embedded AI Gateway (#31967, 0a7ef88)
  • Add GPT-6.2 Astra and GPT-6.2 Sol to Agents and AI Gateway (#32370, feea5ab)
  • Record AI Gateway interception start and end (#29726, c3e125f)

Coder Agents

Queued messages and steering
Skills
  • Let organization members turn off organization skills in chats (#31134, d1f308d)
  • Add organization skill opt-out controls to the dashboard (#31135, 82920b5)
  • Turn typed skill aliases into chips (#31126, 4790b0e)
  • Add display names to project skill actions (#31747, 4866d0f)
  • Honor disable-model-invocation in uploaded skill content (#31159, 7c7e2e7)
  • Show automatic use for personal and organization skills (#31160, b5faac9)
Chat quality of life
  • Show each turn's attachments in the chat action bar (#31145, 94b3c41)
  • Implement new compaction bar and content (#31395, d85ce55)
  • Compaction popover iconography (#31397, b1b0f4c)
  • Compaction popover accordions (#31471, 989ead4)
  • Dashboard: Explain project instructions and skills in their empty states (#31404, d5a0391)
  • Dashboard: Open project chat actions on right-click (#31475, fb68a95)
  • Dashboard: Show organization avatar in project details (#31872, 80978fa)
  • Render Markdown in Agents chat user messages (#31586, 1a963c6)
  • Dashboard: Show cited sources in the message action bar (#32148, acafa54)
  • Dashboard: Warn when workspace logs are truncated in Agents chat (#32305, 61ea77f)
  • Dashboard: Clarify that chat costs are estimates (#32415, 72a36f2)
Chat overview card
  • Dashboard: Add the chat overview card view (#31409, 6031db7)
  • Dashboard: List non-idle subagents in the overview card (#31410, 8075cc6)
  • Show the overview card in Coder Agents chats (#31412, 2c96f05)
MCP integration
  • Move MCP server sign-in to Agents settings and simplify the + menu (#31396, 036d286)
  • Graduate MCP tool search from experiments (#31327, 1acacc9)
  • Dashboard: Choose automatic or manual OAuth2 client registration for MCP servers (#31560, 7767511)
  • Register MCP OAuth2 clients when MCP server configs are updated (#31559, ba06887)
  • Record the OAuth2 client registration method of MCP server configs (#31558, d70ce38)
Tool results and media
  • Send tool result media to providers like user files (#31383, 5cbf086)
  • Server: Count only text toward the in-process tool result cap (#31386, 661b7db)
  • Return raw MCP results from workspace MCP tools (#31385, e0e6acc)
Computer use (Experimental)
  • Use the Anthropic computer use toolset for Claude 4.8 and later (#31521, b6dc715)
  • Allow computer use on Claude models from AWS Bedrock AI providers (#31745, f8ab27f)
  • Run computer use on OpenAI-compatible AI providers (#31895, 082668f)
ACP subagents (Experimental)
  • Dashboard: Show known ACP subagent client icons (#31571, b159585)
Metrics and tracing
  • Add response_size_bytes metric to chatd (#29816, 2255794)
  • Adopt OpenTelemetry GenAI semantic conventions for Coder Agents traces (#32411, 74a15cb)

Workspaces & Templates

  • Expose the workspace template to agent commands (#31606, 540552f)
  • Add rootless Podman starter template and EKS Auto Mode guidance (#30804, a9643ff)
  • Scope browser-only connections to a template (#30578, 734a0ca)
  • Show the prebuilds user in the Workspaces Owner filter (#31827, 73cf6bf)
  • Dashboard: Support Shift-click and Shift-drag workspace selection (#30008, bb7e368)
  • Server: Protect pending jobs only while the provisioner queue is moving (#32099, b0ae8ad)

CLI

  • Add JSON output to coder provisioner keys create (#30152, 3def3bf)
  • Add JSON output to coder tokens create (#30135, 32e1f25)
  • Add output formats to coder organizations members edit-roles (#30145, bd268cb)
  • Honor --use-keyring together with --global-config (#32392, d807abc)

Workspace & Platform

Database migration visibility
Connection diagnostics and monitoring
Pubsub health
Web terminal

Dashboard

Licensing and deployment settings
  • Dashboard: Show service accounts as requiring Premium (#31373, 0785302)
  • Dashboard: Add empty, error, and no-permission states to Licenses page (#30909, 31e8ff8)
  • Group Premium deployment options in their own section when unlicensed (#31460, f0ddf43)
Unified filters
  • Dashboard: Use the unified filter combobox on the users page (#29809, f776c02)
  • Dashboard: Migrate audit log filters to FilterCombobox (#31783, 2939dfa)
  • Dashboard: Migrate organization member filters to FilterCombobox (#31786, c1fec5f)
Codernauts
  • Dashboard: Add difficulty levels to the Codernauts game (#31612, d347486)
  • Dashboard: Add 5-second rewind to the Codernauts game (#31613, 0fbe705)

Bug fixes

Security & Auth

  • Server: Anchor CSRF exemption patterns (#31125, 0fd0775)
  • Confine read_skill_file reads to the skill directory (#31462, f10eabb)
  • Bump gomarkdown/markdown to fix GHSA-cv23-7vc5-jfh7 (#31439, f6b2776)
  • Bound workspace agent responses and stop relaying agent 401s (#30183, 79e3601)
  • Dashboard: Require password before sign in (#31643, 542ee6f)
  • Only add the session token to trusted app links in coder open app (#31721, 34a14cb)
  • Examples: Use patched enterprise-base inner image (#31800, f32f8da)
  • Server: Verify chat workspace before storing agent git refs (#31494, 0399d86)
  • Dashboard: Respect chat queue action permissions (#30736, c16c3da)
  • Dashboard: Gate template routes and actions by permissions (#31948, a3e2e8e)
  • Server: Fix 500 errors on list endpoints for API keys with ID-scoped allow lists (#32145, 05d8c8d)
  • Server: Let only one request create the first user (#32417, cf68914)
  • Provisioner: Redact sensitive -var values from command logs and spans (#32533, 9aeea1b)
  • Reject glob characters in the SSH hostname prefix (#32570, f45d527)
  • Keep the provisioner key secret out of request paths and logs (#32532, c484ad2)
  • Bump Go version from 1.26.10 to 1.26.11 (#32091, 348c2b3)

AI Gateway & Providers

  • Server: Return 500, not 403, when AI Gateway authorization hits a database error (#31617, 1ec94c7)
  • Count unpriced AI model usage by when it was recorded (#31751, 8c5921d)
  • Search AI Gateway models and clients by substring (#32159, 3795d72)
  • fix(aibridge): correlate Responses API tool results followed by developer messages (#32053, 0b50834)
  • Dashboard: Link to provider API key creation from provider form (#32127, 0bea881)
  • fix(aibridge): correlate other client-run tool result types (#32390, cba1647)
  • Return an empty list from the AI Gateway models and clients endpoints (#32517, 490bb5f)
  • Dashboard: Retain providers during background refresh (#32593, 5868cf9)
  • Dashboard: Retain sessions during background refresh (#32594, 39f0dce)
  • Fall back to the default provider icon when the image fails to load (#32555, 4d888e5)
  • Show the AI settings sidebar links together once they load (#32793, c52f2c1)
  • Handle the AI Gateway retention on the Spend page and match its title (#32790, 7f2d30f)

Coder Agents & Chat

  • Dashboard: Show pinned and unloaded chats in project sidebar folders (#31343, cc79cc4)
  • Keep OpenAI web searches in later turns (#31355, 48a3d3f)
  • Return a partial page from read_file instead of an error (#31470, ea79a98)
  • Upgrade chat filters (#31563, eba39ae)
  • Server: Keep wait_agent waiting on a paused child (#29292, c3436cb)
  • Resolve skillchip selected state (#31614, c267c1e)
  • Dashboard: Highlight the composer on a project's New chat (#31403, e9e8d34)
  • Server: Validate tool inputs against schemas (#31541, 788c38a)
  • Make compaction threshold saves visible per model (#31391, 1fa51bb)
  • Dashboard: Preserve failure labels for sub-agent tool calls (#31740, e742f7d)
  • Server: Keep the full message in fallback chat titles (#29949, 3e76fee)
  • Resolve truncation in <DiffFileHeader /> (#31887, 58886fc)
  • Dashboard: Unify Markdown spacing, align lists and table columns (#31749, 6ba6df2)
  • Server: Remember quickgen parameter rejections per model (#31493, acbcd0e)
  • Use theme git colors in the agents diff viewer (#31867, d3de82f)
  • Use one route-aware media rule for files and tool results (#31384, 7a12022)
  • Replay OpenAI web searches inline without item IDs (#31743, d4edf16)
  • Dashboard: Drop deep link params from new chat URLs (#32068, f610e9a)
  • Server: Shorten tool input validation errors (#32078, decaf6e)
  • Dashboard: Correct diff viewer colors across all themes (#32073, 362f360)
  • Dashboard: Skip chat list refetch on diff status events (#32080, bd4f8c9)
  • Server: Skip validation for unexpired chat git tokens (#31921, a48a8c0)
  • Run queued messages on the chat's model when theirs is unavailable (#31632, 3086d4f)
  • Dashboard: Let swipe-back reach the chat list from a notification (#31299, 158fd06)
  • Send only changed chat history over the stream (#29662, d639ced)
  • Dashboard: Persist workspace upload drafts (#32221, f1c5983)
  • Take chat state from the stream only (#30478, fe0b6e5)
  • Dashboard: Quote verbatim prompt and thinking text (#32332, c14e700)
  • Dashboard: Keep organization skills visible across many organizations (#32410, d3a57ec)
  • Dashboard: Stop agent logs from snapping back while scrolling (#29302, 2b2d811)
  • Server: Prefer native subagents over ACP harnesses (#32604, 5f5c30e)
  • Dashboard: Keep literal list numbers and single tildes in chat Markdown (#32606, 6b2a051)
  • Resume workspace context push after coderd rejects it (#32534, d1487f6)

Workspaces, Templates & CLI

  • Prompt instead of defaulting when a previous parameter option is removed (#30797, 4fd3d7e)
  • Dashboard: Use the active version on the parameters page when it is required (#30906, 9f41c06)
  • Database: Lock the workspaces row when claiming a prebuild (#31518, 5557383)
  • Provisioner: Interrupt terraform again before killing it (#31685, d970150)
  • Dashboard: Validate template version metadata before activation (#31739, e34f281)
  • Server: Store import module archives outside the transaction (#31576, 2138549)
  • Write agent host entries with config-ssh --no-wildcard (#31192, fb6d287)
  • Make SSH connection hints consistent across CLI, dashboard and docs (#31188, ae6b1fa)
  • Server: Tighten up database connection errors (#31850, b0fe0ba)
  • Keep in-flight builds from blocking the prebuild hard limit (#30060, 5563b74)
  • Provisioner: Detect text file busy in init -json output (#31688, c3ed640)
  • Wait for dynamic parameter evaluation before creating a workspace (#32147, e6a57f3)
  • Bump bundled terraform to 1.17.2 (#32110, 872105c)
  • Timeout agent dial in coder support bundle so unreachable agents wont hang (#31697, a1751d1)
  • Dashboard: Prevent template Source Code tab from overflowing the page (#32173, 2697760)
  • Database: Match workspace requester by owner ID when sorting (#32188, c3ff770)
  • Dashboard: Migrate template filters to FilterCombobox (#31781, 935e0b5)
  • Keep dynamic parameter edits after a submit attempt (#32355, 55fd0ab)
  • Agent SSH: Report ssh disconnect when the connection closes (#32353, 5d5d8b1)
  • Refuse unknown built-in PostgreSQL data versions (#32489, 462b474)
  • Dashboard: Surface template builder organization and create errors on their fields (#32492, 37b6f90)
  • Server: Attribute template builder create errors to request fields (#32559, 0ecf0d8)
  • CLI: Terminate port ranges at the maximum port (#32578, 2e94c74)
  • CLI: Warn when support bundle agent is missing (#32579, 76ba226)
  • Close silent ssh connections when keep-alives stop (#32601, 326a0bd)
  • Agent SSH: Stop counting a session when its connection closes (#32679, e3a4cb4)

Dashboard & Accessibility

  • Dashboard: Hide Disabled badge on premium upsell (#30691, 975c396)
  • Dashboard: Add visible focus indicators on the Agents page (#30689, 53d6dc7)
  • Dashboard: Make tooltips with links keyboard and screen reader accessible (#30424, 22281e8)
  • Dashboard: Add visible keyboard focus to audit log rows, menus, and comboboxes (#30354, 30898d5)
  • Dashboard: Use shared Checkbox in ModuleCard (#30540, ce7f38c)
  • Dashboard: Give screen readers the meaning of hidden icons (#31587, d726605)
  • Dashboard: Raise focus indicator contrast to 3:1 (#31567, 24faf30)
  • Dashboard: Identify text fields with placeholder text (#30504, 069b19d)
  • Dashboard: Stop marking every crumb as the current page (#31601, 85f2a27)
  • Dashboard: Expose inbox notifications as a list (#31602, bb72d39)
  • Dashboard: Add data table long description to user engagement chart (#31611, 26e37a7)
  • Dashboard: Mark table name cells as row headers (#31575, 7801f13)
  • Dashboard: Announce toast severity to screen readers (#31637, d1e2c95)
  • Dashboard: Name the emoji icon preview (#31638, a2c6552)
  • Dashboard: Own admin settings menu items directly by the menu (#31635, 9839406)
  • Dashboard: Make keyboard-inaccessible controls operable by keyboard (#31656, 42640dc)
  • Dashboard: Return focus when the chat search dialog closes (#31393, 3e1e037)
  • Dashboard: Mark up the build timeline as data tables (#30820, 19f588f)
  • Give icon tooltip triggers a button role and name (#30819, da45d9f)
  • Dashboard: Link template names instead of making rows buttons (#31857, e28c59c)
  • Dashboard: Make hover tooltips hoverable and persistent (#30891, 6a95ba2)
  • Dashboard: Associate Filter validation error with search box (#31642, 39f5514)
  • Dashboard: Associate customization errors with their fields (#31644, 7f9bc09)
  • Dashboard: Meet 24px target size in the shared Link component (#30844, 24b21ed)
  • Dashboard: Name row menus and column help after their subject (#31961, 388e396)
  • Dashboard: Give repeated session controls unique names (#31962, 7d4664c)
  • Dashboard: Mark the current template builder step with aria-current (#31854, 8381f6f)
  • Dashboard: Expose session threads as an ordered list (#31853, e6a795b)
  • Dashboard: Toggle audit log diffs with a real disclosure button (#31858, 8f4731f)
  • Dashboard: Use a real radio group for base template cards (#31865, 6358834)
  • Dashboard: Give cmdk search inputs an accessible name (#31873, 7b43e1a)
  • Dashboard: Keep only list items in timeline breadcrumbs (#31942, ac9a4d9)
  • Dashboard: Expose the date range picker trigger as a combobox (#31940, 51e2717)
  • Dashboard: Render the compact workspace sharing list as one table (#31941, 5543b31)
  • Dashboard: Stop dropdown menus hiding the page from assistive technology (#31969, ad532d0)
  • Dashboard: Move the Autocomplete clear button out of the trigger (#31856, bb76cfc)
  • Dashboard: Render build sidebar rows as links, not buttons inside links (#31870, f883e6e)
  • Dashboard: Make accessible names contain visible labels (#32016, 30526a3)
  • Dashboard: Nest settings and template builder headings under their parents (#32017, 5804695)
  • Dashboard: Name the provider type icon in the AI Gateway provider filter (#32013, 03fd134)
  • Dashboard: Make scrollable agent logs and tool call input keyboard focusable (#32018, a3469f1)
  • Dashboard: Hide the AI spend bar from the profile menu's accessibility tree (#32023, 9ed1f0a)
  • Dashboard: Show the dropdown highlight ring only for keyboard navigation (#30682, e207d7d)
  • Dashboard: Let agent metadata values grow with text spacing (#32055, d4f49f5)
  • Dashboard: Mark visual headings up as headings (#32136, 65c6b4b)
  • Dashboard: Keep keyboard focus clear of sticky headers (#32190, f3cf09f)
  • Dashboard: Include visible text in sharing control names (#32137, 2639ce4)
  • Dashboard: Stop exposing the empty notifications region to screen readers (#32141, 7ef8d90)
  • Dashboard: Keep page header subtitles and help tooltips out of headings (#32138, 9bc8cdf)
  • Dashboard: Expose template builder steps as an ordered list (#32139, 9f9057d)
  • Dashboard: Announce copy, loading, and error status messages (#32143, 241ec8d)
  • Dashboard: Meet 24px target size for the workspace sharing indicator (#32321, 7d98748)
  • Dashboard: Keep workspace sharing usable at 320px (#31408, 8d5ad46)
  • Dashboard: Include descriptions in login type option names (#32049, b504eea)
  • Dashboard: Name the notifications inbox button (#32048, 806c3a9)
  • Dashboard: Keep copy confirmation until the user's next interaction (#32319, 7a4c4ac)
  • Dashboard: Expose the agent chat panel toggle's expanded state (#32409, a6ca18a)
  • Dashboard: Describe inbox action links with notification content (#32317, 9110cc5)
  • Dashboard: Name View details links after their template or module (#32320, beba6a3)
  • Dashboard: Show truncated filter labels and options in a tooltip (#32054, a065cd2)
  • Dashboard: Expose search shortcut via aria-keyshortcuts (#32408, 422090c)
  • Dashboard: Add visible labels to the port forward listening port controls (#32383, 7809665)
  • Dashboard: Scroll menus that do not fit the viewport (#32385, 6e02a6a)
  • Dashboard: Keep floating content within the viewport at 320px (#31348, c9e8f2c)
  • Dashboard: Address remaining WCAG audit follow-ups (#32281, 130ff0d)
  • Dashboard: Add navigation semantics to pagination and deployment banner (#32354, 3fc801a)
  • Dashboard: Raise light theme warning text and icon contrast (#32047, d8b78b2)
  • Dashboard: Convey selected and current state to screen readers (#32020, 964ceed)
  • Dashboard: Group role checkboxes under the Roles label (#32195, fddcc1a)
  • Dashboard: Open workspaces from the name link, not a role-less focusable row (#32196, f0f00c3)
  • Dashboard: Mark emoji picker category labels as headings (#32407, c004d65)
  • Dashboard: Stop announcing parent breadcrumb links as the current page (#32460, eb4fde8)
  • Let popovers scroll with the wheel inside dialogs (#32412, 485f678)
  • Dashboard: Make inbox mark as read buttons distinguishable (#32466, f986716)
  • Dashboard: Show build reason tooltip when the build link is focused (#31988, 7494333)
  • Dashboard: Move selection checkboxes out of table header cells (#32322, 91eb5ed)
  • Dashboard: Build chip changes on the last emitted query (#32484, dbb096a)
  • Dashboard: Give the login page a non-empty document title (#32327, 6a132ae)
  • Dashboard: Name MultiSelectCombobox inputs and stop announcing the highlighted option as selected (#32551, 56aed06)
  • Dashboard: Fix workspace sharing popover a11y issues (#32472, e53ffc9)
  • Dashboard: Dedupe useFilter updates against live search params (#32586, 6603069)
  • Dashboard: Give session timeline toggles unique names and expanded state (#32459, ec3e0ba)
  • Dashboard: Show the select all workspaces label on hover and focus (#32325, 6c46c47)
  • Dashboard: Retain tokens during background refresh (#32576, 777b77d)
  • Dashboard: Keep agents chat list and organization names available at 320px (#32446, b3cb458)
  • Dashboard: Name port forward rows by port and expose share level limits (#32548, 5c7829f)
  • Dashboard: Allow zooming on the Agents page (#32464, 35b7c5c)
  • Dashboard: Expose build timeline breadcrumb as navigation (#32465, b6adca3)
  • Dashboard: Stop using browser APIs newer than the browserslist floor (#31950, 1884f73)
  • Dashboard: Show the composer focus ring only for keyboard focus (#31392, ebedf5c)
  • Dashboard: Make the include shared scope toggle keyboard accessible (#32384, 45508f6)
  • Dashboard: Title the appearance page after its Theme heading (#32666, f32b92b)
  • Dashboard: Name the user engagement chart's active dot (#32665, a42d075)
  • Dashboard: Announce empty command results to screen readers (#32667, 917c3e2)
  • Dashboard: Expose session timeline toggle hierarchy (#32669, 5edcd8c)
  • Dashboard: Add click alternatives to dragging in the agents sidebar (#32670, 9a01095)
  • Dashboard: Name the Inbox popover dialog (#32672, 411f1b0)
  • Dashboard: Announce and name the dialog the trigger opens (#32673, 587e14f)
  • Dashboard: Name row action menus after their row (#32674, 31ebc69)
  • Dashboard: Filter static filter options by the typed query (#32685, 52d2130)
  • Dashboard: Keep View docs out of the subtitle text block (#32386, 738cbb1)

ACP Subagents & Computer Use (Experimental)

  • Route ACP diagnostics through Coder logging (#31405, 78a681f)
  • Server: Add ACP subagent prompt guidance (#31498, 846daa8)
  • Pick the Anthropic computer use tool version from the model on every platform (#31657, ff40ec6)

Documentation

  • Documentation: Add Coder Agents projects page (#30684, a135a34)
  • Document ACP subagents (#31430, 3a53891)
  • Add the coder-workspace-status plugin to the Claude Desktop page (#31480, 3184d73)
  • Update title from 'Template' to 'Templates' (#31553, 4e8c5bf)
  • Remove about/screenshots page (#31465, 5bdd6c3)
  • Documentation: Reframe Coder Agents intro around self-hosting (#31619, 40f2cd9)
  • Add quick paths to the install landing page and retire the CLI page (#31513, 3edce9f) → Install Coder
  • Documentation: Clarify who confirms bulk workspace actions (#31137, 4013755)
  • Documentation: Add bring your own MCP servers guide for Coder Agents (#31495, effc49e)
  • Explain git identity and credentials in shared workspaces (#31152, 731f0c6)
  • Refresh the release calendar and install versions for v2.39.0 (#31715, dfb500f) → Releases
  • Add the 2.40 Not Released row and trim 2.33 from the calendar (#31750, a9772b9) → Releases
  • Point download links to coder.com/downloads (#31205, 9aa8b97)
  • Promote the AI sections and Templates to the top level of the sidebar (#31645, a7f3e3b)
  • Redistribute tutorials and rename top-level sidebar sections (#31647, f97eee3)
  • Rename the user-guides folder to workspaces (#31650, a988af5)
  • Add migration guide from Ona (formerly Gitpod) to Coder (#31204, f55e12e)
  • Add Claude Code subscription sign-in guide for workspaces (#31805, 5e71193)
  • Fix broken AWS HA and Red Hat OpenShift links (#31933, ad3818e)
  • Document JetBrains Air for AI Gateway in JetBrains IDEs (#32052, 661cfac)
  • Add guide for self-hosting a STUN server (#31996, 71ab161)
  • Inherit feature states from ancestor routes in the docs sidebar (#31975, 1271dcb)
  • Remove accredited and per-framework retention claims (DOCS-1218) (#30777, 0f2a243)
  • Add guidance for high-concurrency prebuilt workspace claims (#31991, 7340da6)
  • Document patch release and backport policy (#31993, 6e2ff20)
  • Document how AI Gateway assigns a request's organization (#31925, 4ac8f0a)
  • Add sandbox agents guide and startup time tips (#32280, ed9e9a8)
  • Add Migrate to Coder section and Microsoft Dev Box migration guide (#31979, e0b74e6)
  • Explain how the init script obtains the workspace agent (#31976, df7f207)
  • Document 2-second sandbox startup with prebuilt workspaces (#32391, 3617b3d)
  • Explain how to keep a workspace running without a connection (#32315, 690d107)
  • Refocus sandbox agents intro on Coder's approach (#32451, 5f61a04)
  • Add Verify Coder releases page (#31983, 01b0a23)
  • Add provisioner metrics and a metrics signpost page (#31977, feb6e80)
  • Add an air-gapped K3s install tutorial (#31869, eabd63b)
  • List AI Gateway before Agent Firewall in the AI Governance sidebar (#32554, 013d00e)
  • Use provisioner key env var in VM and Docker provisioner examples (#32626, aa8a770) → External provisioners
  • Describe support channels and what to include in a support request (#31992, eb922f8) → Support
  • Add how-to for rolling out a security update to every workspace (#31982, e28931c)
  • List what air-gapped templates and workspaces download (#32457, 1465f64) → Air-gapped deployments
  • Add disaster recovery page (#32356, 933efa5)
  • Turn the install landing pages into cards (#32405, 7d505ae) → Install Coder
  • Document the AI Gateway Spend page (#32798, 95797e0)
  • Document raw JSON as objects and byte fields as base64 strings (#30123, 585485c)
  • Correct invalid and nonexistent Swagger parameters (#30124, 6de3d92)
  • List every enum value the API can return in the Swagger spec (#30122, 7301cee)
  • Document WebSocket routes as 101 responses in the Swagger spec (#30125, 579b999)
  • Resolve docs and code conflicts found in the main docs audit (#32158, 1baff57)

Performance improvements

  • Render template files with shiki instead of monaco (#31868, 24d0e36)
  • Reuse import-time lock file and cache terraform version (#29825, b798061)
  • Database: Index workspace_app_stats by session_ended_at (#31766, 78e1b28)
  • Use the build parameter index in GetTemplateParameterInsights (#31765, 3728e7a)
  • Database: Batch chat authz fetch in GetChatDiffStatusesByChatIDs (#31880, c303114)
  • Server: Poll merged PRs hourly (#31922, 5c9d74e)
  • Validate chat transitions from the locked row (#30886, d412c38)
  • Dashboard: Keep mobile dropdown variables off the root on desktop (#29596, 4e46ea8)
  • Dashboard: Scroll markdown code blocks natively (#31365, 1f5915c)

Compare: bb8912dc460119a62f0bea45ec944d6b6d00b92e...v2.40.0

Container image

  • docker pull ghcr.io/coder/coder:v2.40.0

Install/upgrade

Refer to our docs to install or upgrade Coder, or use a release asset below.

Don't miss a new coder release

NewReleases is sending notifications on new releases.