From 7bc454eed8c9efb7502648195dc9967d59e7267a Mon Sep 17 00:00:00 2001 From: Steven Masley Date: Mon, 2 Mar 2026 10:23:09 -0600 Subject: [PATCH] chore: version is 2.31 not 1.31 (#22494) --- cli/testdata/coder_server_--help.golden | 2 +- cli/testdata/server-config.yaml.golden | 2 +- codersdk/deployment.go | 2 +- docs/reference/cli/server.md | 2 +- enterprise/cli/testdata/coder_server_--help.golden | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cli/testdata/coder_server_--help.golden b/cli/testdata/coder_server_--help.golden index a23783913d..930d735049 100644 --- a/cli/testdata/coder_server_--help.golden +++ b/cli/testdata/coder_server_--help.golden @@ -395,7 +395,7 @@ NETWORKING OPTIONS: --host-prefix-cookie bool, $CODER_HOST_PREFIX_COOKIE (default: false) Recommended to be enabled. Enables `__Host-` prefix for cookies to guarantee they are only set by the right domain. This change is - disruptive to any workspaces built before release 1.31, requiring a + disruptive to any workspaces built before release 2.31, requiring a workspace restart. NETWORKING / DERP OPTIONS: diff --git a/cli/testdata/server-config.yaml.golden b/cli/testdata/server-config.yaml.golden index fb801b6d7d..85cd1ca407 100644 --- a/cli/testdata/server-config.yaml.golden +++ b/cli/testdata/server-config.yaml.golden @@ -183,7 +183,7 @@ networking: sameSiteAuthCookie: lax # Recommended to be enabled. Enables `__Host-` prefix for cookies to guarantee # they are only set by the right domain. This change is disruptive to any - # workspaces built before release 1.31, requiring a workspace restart. + # workspaces built before release 2.31, requiring a workspace restart. # (default: false, type: bool) hostPrefixCookie: false # Whether Coder only allows connections to workspaces via the browser. diff --git a/codersdk/deployment.go b/codersdk/deployment.go index e2c4bb65e7..34ade7561c 100644 --- a/codersdk/deployment.go +++ b/codersdk/deployment.go @@ -2913,7 +2913,7 @@ func (c *DeploymentValues) Options() serpent.OptionSet { }, { Name: "__Host Prefix Cookies", - Description: "Recommended to be enabled. Enables `__Host-` prefix for cookies to guarantee they are only set by the right domain. This change is disruptive to any workspaces built before release 1.31, requiring a workspace restart.", + Description: "Recommended to be enabled. Enables `__Host-` prefix for cookies to guarantee they are only set by the right domain. This change is disruptive to any workspaces built before release 2.31, requiring a workspace restart.", Flag: "host-prefix-cookie", Env: "CODER_HOST_PREFIX_COOKIE", Value: serpent.BoolOf(&c.HTTPCookies.EnableHostPrefix), diff --git a/docs/reference/cli/server.md b/docs/reference/cli/server.md index 52e202f5c2..2881341470 100644 --- a/docs/reference/cli/server.md +++ b/docs/reference/cli/server.md @@ -1067,7 +1067,7 @@ Controls the 'SameSite' property is set on browser session cookies. | YAML | networking.hostPrefixCookie | | Default | false | -Recommended to be enabled. Enables `__Host-` prefix for cookies to guarantee they are only set by the right domain. This change is disruptive to any workspaces built before release 1.31, requiring a workspace restart. +Recommended to be enabled. Enables `__Host-` prefix for cookies to guarantee they are only set by the right domain. This change is disruptive to any workspaces built before release 2.31, requiring a workspace restart. ### --terms-of-service-url diff --git a/enterprise/cli/testdata/coder_server_--help.golden b/enterprise/cli/testdata/coder_server_--help.golden index 7656a6436a..b6f3f6bd61 100644 --- a/enterprise/cli/testdata/coder_server_--help.golden +++ b/enterprise/cli/testdata/coder_server_--help.golden @@ -396,7 +396,7 @@ NETWORKING OPTIONS: --host-prefix-cookie bool, $CODER_HOST_PREFIX_COOKIE (default: false) Recommended to be enabled. Enables `__Host-` prefix for cookies to guarantee they are only set by the right domain. This change is - disruptive to any workspaces built before release 1.31, requiring a + disruptive to any workspaces built before release 2.31, requiring a workspace restart. NETWORKING / DERP OPTIONS: