Agent Workflows You Can Trust, live webinar Dec 15Register now

Extended Support in 2.40

v2.40 · December 1, 2026

What's new in 2.40

Coder 2.40 is our next ESR, so teams can stay on one version for a full year with critical fixes and security patches. This release also tracks AI spend and budgets by the organization that did the work, logs every step of a database upgrade, brings AI budgets into Terraform, and addresses hundreds of accessibility issues ahead of our refreshed VPAT.

Coder 2.40 is our next Extended Support Release (ESR)

Teams with strict change windows can standardize on 2.40 for up to the next 12 months. You get critical bug fixes and security patches without updating to a new feature release every month. ESR is available to Premium customers.

  • Supported until December 2027: 2.40 gets critical bug fixes and security patches for 12 months from its December 1 release.
  • Still on 2.29? Upgrade now: The 2.29 ESR reaches end of support on December 2, 2026. Upgrade to 2.34 using the 2.29 → 2.34 guide, then to 2.40. 2.34 stays supported until June 2027.

Learn more in our documentation.

Track AI spend by organization

In deployments with several organizations, AI spend is now tracked to the organization where the work happens. Before, it could land on a different organization that the user also belonged to. This means one organization never uses up another organization's budget and makes per-team chargeback straightforward. This requires a Premium license (AI Governance). Learn more in our documentation.

Follow every Coder upgrade with migration progress logging

Database migrations used to run silently when the server started, so admins couldn't tell whether an upgrade was progressing or stuck. `coder server` now logs each step. Available in Community and Premium.

  • See what's pending: The server logs how many migrations will run, plus each step's position and duration.
  • Spot stuck upgrades fast: Every 10 seconds during a lock wait or a long step, the server logs the connection state and which sessions are blocking it.
  • Know how it ended: Each run logs one outcome line, such as committed or rolled back. A failure names the migration that failed and the PostgreSQL error code, without the SQL or row values.

Accessibility improvements across Coder

Coder partnered with Deque, a digital accessibility specialist and contributor to the WCAG standards, and identified areas of improvements in Coder UX. In the 2.40 release we are addressing over 500 issues, focusing on the most impactful.

The fixes cover screen reader labels, keyboard navigation, visible focus, color contrast and target sizes. This work supports a refreshed VPAT for WCAG 2.2 Level A and AA and Section 508, expected by the end of the year. Available in Community and Premium.

Manage AI budgets with Terraform

terraform-provider-coderd v0.0.31 adds coderd_ai_group_budget and coderd_ai_user_budget_override, so platform teams can review and version AI Gateway spend limits alongside the rest of their Coder configuration. This requires a Premium license (AI Governance).

Release signing updates

Coder releases are now signed with both the existing GPG release key and a new hardware-backed key, and macOS binaries use a new Apple signing certificate. Existing verification keeps working; see Verify releases for details.

Breaking Changes

  • #31932: API responses and `coder list -o json` now redact agent environment variable values. Scripts that need them should read them inside the workspace.
  • #32381: The pre-rename AI Gateway Prometheus metric names are removed. Switch dashboards and alerts to `coder_ai_gateway_*` and `coder_ai_gateway_proxy_*` before upgrading.
  • #32474: The AI spend CSV export adds a `client` column and splits rows by client. Scripts expecting one row per user, group, model and provider should sum across clients.
  • #31633: Workspace apps no longer receive the visitor's Coder session token. Apps that used it to call the Coder API should switch to the OAuth2 provider.

Please note: Coder 2.41 ships on Thursday, January 7, 2027.

View the full changelog on GitHub. If you have questions or feedback, join the conversation on Discord!