github coder/coder v2.18.0

latest releases: v2.18.1, v2.17.3
19 days 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

  • Allow disabling notifications (#15509, 576e1f4) (@DanielleMaywood)

    Disables notifications when both $CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT and $CODER_EMAIL_SMARTHOST are unset.
    Drops the default value for $CODER_EMAIL_SMARTHOST.

  • Extract provisioner tags from coder_workspace_tags data source (#15578, 1cdc3e8) (@johnstcn)

    As this effectively blocks template creation if coder_workspace_tags is malformed or references anything other than a Terraform variable or coder_parameter, this is marked as a breaking change.

Features

  • Add prometheus metric for tracking user statuses (#15281, 3de98c2) (@coadler)

    Adds the ability to track total users in the platform by status; admins can track license consumption over time by scraping this endpoint (coderd_api_total_user_count).

  • Add audit logs for user dormancy events (#15298, 088f219) (@coadler)
  • Add user-scoped tailnet API endpoint (api/v2/tailnet) with a new RPC stream for receiving updates on workspaces owned by a specific user 0(#14847, b1298a3) (@ethanndickson)
  • Add Premium features page in deployment settings (#15094, d4131ba) (@jaaydenh)

    Adds a page in deployment settings to preview features available under our Premium license. Some features were previously undiscoverable.
    Image

  • Add support for multiple tunnel destinations in tailnet for CoderVPN (#15409, e5661c2) (@spikecurtis)
  • Add workspace updates controller (#15506, 08216aa) (@spikecurtis)
  • Set DNS hostnames in workspace updates controller (#15507, 916df4d) (@spikecurtis)
  • Add support for WorkspaceUpdates to WebsocketDialer (#15534, 747f7ce) (@spikecurtis)
  • Change port-forward to opportunistically listen on IPv6 (#15640, e6506f0) (@spikecurtis)
  • Add agent exec pkg to enable later replacement of agent process priority management (#15577, bbc549d) (@sreya)
  • CLI: Rotate file logs for coderd (#15438, d6442db) (@defelmnq)

    We already rotated agent logs, this uses the same logic for CODER_LOGGING_HUMAN.

  • Server: Update API to allow filtering provisioner daemons by tags (#15448, 814dd6f) (@SasSwart)

    Prerequisite for several improvements to the UX when no provisioner is available for a job.

  • Server: Add endpoint (/organizations/{org}/provisionerkeys) to fetch provisioner key details (#15505, a518017) (@defelmnq)
  • Examples: Promote module usage in example templates (#15517, f9d6698) (@phorcys420)
  • Helm: Support deploying multiple provisioners in same namespace (#15637, 7876dc5) (@johnstcn)
  • Provisioner: Add support for workspace_owner_login_type (#15499, 4a6b28f) (@johnstcn)

    Enables login_type to be added to the coder_workspace_owner data source in the Coder Terraform provider (terraform-provider-coder/#235).

  • Provisioner: Allow variadic tags in provisionersdk.MutateTags (#15518, aca5be5) (@johnstcn)
  • Provisioner: Implement WorkspaceTagDefaultsFromFile (#15236, bebc38e) (@johnstcn)
  • Dashboard: Add agent connection timings to workspace build timings UI (#15276, e232aee) (@BrunoQuaresma)

    Workspace build timing UI now shows agent connection time in main step of startup.
    Image

  • Dashboard: Warn on provisioner health during builds

    Previously, there was no clean method to diagnose template create issues caused by provisioners.
    This Adds warning alerts to log drawers for templates and template versions when provisioner health issues are encountered.

    Updating a template version with no provisioners:
    Image

    Build Errors for template versions now show tags:
    Image

    Updating a template version with provisioners that are busy or unresponsive:
    Image

    Creating a new template with provisioners that are busy or unresponsive:
    Image

    Creating a new template when there are no provisioners to do the build:
    Image

  • Dashboard: Add current license consumption to general deplyoment settings

    Shows point-in-time license utilization. Later, we will be adding seat utilization over time.
    Image

  • Networking: Add workspace updates support to Controller (#15529, 16992ee) (@spikecurtis)
  • Networking: Add alias with username and short alias to DNS (#15585, 85c3c4c) (@spikecurtis)

Bug fixes

Documentation

Code refactoring

Chores

Compare: v2.17.2...v2.18.0

Container image

  • docker pull ghcr.io/coder/coder:v2.18.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.