From f841f325ab9d1aa1537e01e16a398a3754f2a81b Mon Sep 17 00:00:00 2001 From: Katie Horne Date: Fri, 20 May 2022 08:48:18 -0500 Subject: [PATCH 1/6] chore: add changelog template --- changelog/1.31.0.md | 14 ++++++++++++++ manifest.json | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 changelog/1.31.0.md diff --git a/changelog/1.31.0.md b/changelog/1.31.0.md new file mode 100644 index 000000000..27cc2d648 --- /dev/null +++ b/changelog/1.31.0.md @@ -0,0 +1,14 @@ +--- +title: "1.31.0" +description: "Released on 05/26/2022" +--- + +### Breaking changes ❗ + +### Features ✨ + +### Bug fixes 🐛 + +### Security updates 🔐 + +### Known issues 🔧 diff --git a/manifest.json b/manifest.json index 72142aa99..7d594d9e6 100644 --- a/manifest.json +++ b/manifest.json @@ -561,6 +561,9 @@ { "path": "./changelog/index.md", "children": [ + { + "path": "./changelog/1.31.0.md" + }, { "path": "./changelog/1.30.0.md", "children": [ From e8602ffe37ab5ede9dd148b1881d2b658c73a872 Mon Sep 17 00:00:00 2001 From: Katie Horne Date: Fri, 20 May 2022 08:52:43 -0500 Subject: [PATCH 2/6] remove alpha flags --- admin/registries/azure.md | 2 +- admin/workspace-management/cvms/management.md | 16 +++------------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/admin/registries/azure.md b/admin/registries/azure.md index a3dc3088f..030518379 100644 --- a/admin/registries/azure.md +++ b/admin/registries/azure.md @@ -39,7 +39,7 @@ username and password and proceed to **step 2** of this guide. > This is currently an **alpha** feature. To use this feature, enable the > feature flag under -> `Manage > Admin > Infrastructure > Azure Registry Authentication`. +> `Manage > Admin > Infrastructure > Azure Container Registry authentication`. AAD Pod Identity allows you to assign an AAD identity to pods in your Azure Kubernetes (AKS) cluster. You can assign Coder an AAD identity with pull access diff --git a/admin/workspace-management/cvms/management.md b/admin/workspace-management/cvms/management.md index 4c6bcdcaf..4480fcd0a 100644 --- a/admin/workspace-management/cvms/management.md +++ b/admin/workspace-management/cvms/management.md @@ -26,14 +26,12 @@ built as a CVM or not. If you would like all newly created workspaces to be CVMs, toggle **Default to container-based virtual machines** to **On**. -> While this toggle changes the default workspace creation setting, users can still -> override this setting. For example, if you enable CVMS and set them as the -> default, a user can still create non-CVM workspaces (and vice versa). +> While this toggle changes the default workspace creation setting, users can +> still override this setting. For example, if you enable CVMS and set them as +> the default, a user can still create non-CVM workspaces (and vice versa). ## Caching -> Cached CVMs are currently an **alpha** feature. - To improve the startup time for CVM-based workspaces, you can enable caching. Cached CVMs require the `shiftfs` kernel to be present on the node. Some @@ -50,8 +48,6 @@ install `shiftfs` on your behalf.** ## Self-contained workspace builds -> Self-contained workspace builds are currently an **alpha** feature. - By default, Coder initializes workspaces by running commands inside the container. Workspaces, however, control the initialization sequence instead when you enable [self-contained workspace builds]. This enables cluster operations @@ -62,8 +58,6 @@ as the `kubectl exec` command. ## Workspace process logging -> Workspace process logging is currently an **alpha** feature. - [Workspace process logging] enables auditing of commands executed inside the workspace container. @@ -71,8 +65,6 @@ workspace container. ## TUN device -> TUN devices currently an **alpha** feature. - Coder allows the creation of custom network interfaces using the Linux TUN device. When using the **Enable TUN device** setting, Coder workspaces will have a `/dev/net/tun` device mounted into the workspace at build time. VPN usage @@ -95,8 +87,6 @@ any data outside the home volume is cleared when the workspace is rebuilt. ## FUSE device -> FUSE devices are currently an **alpha** feature. - Coder allows the creation of custom filesystems using the Linux FUSE userspace filesystem device. By enabling the **Enable FUSE device** setting, Coder workspaces will have a `/dev/fuse` device mounted into the workspace at build From 0eb1332f5980026a7c0ea18cea08bb9c321e8295 Mon Sep 17 00:00:00 2001 From: Katie Horne Date: Fri, 20 May 2022 08:55:24 -0500 Subject: [PATCH 3/6] chore: update Docker versions --- setup/coder-for-docker/local.md | 6 +++--- setup/coder-for-docker/upgrade.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/setup/coder-for-docker/local.md b/setup/coder-for-docker/local.md index 0d1302950..57d015d18 100644 --- a/setup/coder-for-docker/local.md +++ b/setup/coder-for-docker/local.md @@ -52,7 +52,7 @@ Coder for Docker works with the following platforms: -p 7080:7080 \ -v /var/run/docker.sock:/var/run/docker.sock \ -v ~/.coder:/var/run/coder \ - codercom/coder:1.30.0 + codercom/coder:1.31.0 ``` When this process is complete, Coder will print the URL you can use to access @@ -103,7 +103,7 @@ DEVURL_HOST="*.mycompany.com" For example: ```console -docker run --rm -it -p 7080:7080 -v /var/run/docker.sock:/var/run/docker.sock -v ~/.coder:/var/run/coder -e DEVURL_HOST="*.mycompany.com" codercom/coder:1.30.0 +docker run --rm -it -p 7080:7080 -v /var/run/docker.sock:/var/run/docker.sock -v ~/.coder:/var/run/coder -e DEVURL_HOST="*.mycompany.com" codercom/coder:1.31.0 ``` ## Use an external PostgreSQL database @@ -140,7 +140,7 @@ To do so: version: "3.5" services: coder: - image: docker.io/codercom/coder:1.30.0 + image: docker.io/codercom/coder:1.31.0 container_name: coderd restart: unless-stopped ports: diff --git a/setup/coder-for-docker/upgrade.md b/setup/coder-for-docker/upgrade.md index 9dba85e2b..abdd8b241 100644 --- a/setup/coder-for-docker/upgrade.md +++ b/setup/coder-for-docker/upgrade.md @@ -7,7 +7,7 @@ This guide will show you how to upgrade your Coder for Docker deployment. To upgrade, run the following command to download the resources you need, including the latest images (ensure that you're providing the correct version -number in the command, e.g., `1.30.0`): +number in the command, e.g., `1.31.0`): ```console docker run --rm -it \ @@ -27,7 +27,7 @@ If you use Docker Compose to run Coder, here's how to upgrade your deployment: # ... services: coder: - image: docker.io/codercom/coder:1.30.0 + image: docker.io/codercom/coder:1.31.0 # ... ``` From bb268aea6fe4e955c88e6582581502402630431b Mon Sep 17 00:00:00 2001 From: Katie Horne Date: Fri, 20 May 2022 09:32:12 -0500 Subject: [PATCH 4/6] chore: update K8s chart --- setup/kubernetes/index.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/setup/kubernetes/index.md b/setup/kubernetes/index.md index d013030a8..f26fb5456 100644 --- a/setup/kubernetes/index.md +++ b/setup/kubernetes/index.md @@ -29,17 +29,14 @@ deprecated features before they are removed from new versions of Kubernetes. -| | Kubernetes `1.23` | Kubernetes `1.22` | Kubernetes `1.21` | Kubernetes `1.20` | Kubernetes `1.19` | Kubernetes `1.18` | -| ------------ | ----------------- | ----------------- | ----------------- | ----------------- | ----------------- | ----------------- | -| Coder `1.30` | ✅ | ✅ | ✅ | | | | -| Coder `1.29` | ✅ | ✅ | ✅ | | | | -| Coder `1.28` | ✅ | ✅ | ✅ | | | | -| Coder `1.27` | ✅ | ✅ | ✅ | | | | -| Coder `1.26` | | ✅ | ✅ | ✅ | | | -| Coder `1.25` | | ✅ | ✅ | ✅ | | | -| Coder `1.24` | | | ✅ | ✅ | ✅ | | -| Coder `1.23` | | | ✅ | ✅ | ✅ | | -| Coder `1.22` | | | | ✅ | ✅ | ✅ | +| | Kubernetes `1.24` | Kubernetes `1.23` | Kubernetes `1.22` | Kubernetes `1.21` | Kubernetes `1.20` | Kubernetes `1.19` | Kubernetes `1.18` | +| ------------ | ----------------- | ----------------- | ----------------- | ----------------- | ----------------- | ----------------- | ----------------- | +| Coder `1.31` | ✅ | ✅ | ✅ | | | | | +| Coder `1.30` | | ✅ | ✅ | ✅ | | | | +| Coder `1.29` | | ✅ | ✅ | ✅ | | | | +| Coder `1.28` | | ✅ | ✅ | ✅ | | | | +| Coder `1.27` | | ✅ | ✅ | ✅ | | | | +| Coder `1.26` | | | ✅ | ✅ | ✅ | | | [compatible kubernetes cluster]: ../requirements.md [kubernetes upstream version support policy]: From 0a0efff2fb5270133021b0261377d2b721ebed56 Mon Sep 17 00:00:00 2001 From: Katie Horne Date: Tue, 24 May 2022 11:32:28 -0500 Subject: [PATCH 5/6] chore: add changelog --- changelog/1.31.0.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/changelog/1.31.0.md b/changelog/1.31.0.md index 27cc2d648..645a4da9a 100644 --- a/changelog/1.31.0.md +++ b/changelog/1.31.0.md @@ -5,10 +5,48 @@ description: "Released on 05/26/2022" ### Breaking changes ❗ +There are no breaking changes in 1.31.0. + ### Features ✨ +- web: moved the following features and settings from alpha/beta to general + availability; these features and settings are now available by default instead + of requiring users to toggle a feature flag: + - Autostart + - Workspace container runtime settings: + - Cached CVMs + - Auto-loading of the `shiftfs` kernel module + - Self-contained workspace builds + - Workspace process logging + - TUN devices + ### Bug fixes 🐛 +- web: fixed issue where audit logs were not written if a request context was + canceled. +- web: fixed issue with dev URL endpoint to improve the way `coderd` retrieves + status information regarding dev URLs. +- web: fixed issue where users cannot update user account details if the + dotfiles URI is blank. +- infra: Coder tunnel no longer exits after a single connection. +- infra: fixed issue where a lower MTU caused connections to break. +- infra: fixed issue where `coderd` attempts to connect to workspaces that have + been deleted. +- infra: added automatic reconnection if the web terminal disconnects. + ### Security updates 🔐 +There are no security updates in 1.31.0. + ### Known issues 🔧 + +- web: the service banner (if enabled) reappears for all users, even if they've + previously dismissed it. +- web: using the web terminal in Coder can occasionally result in the connection + being reset and needing to be restarted. +- web: the **Switch workspace** drop-down menu shows a workspace's status as + **Building** even though the build process is completed. +- web: users upgrading to v1.24 (or later) into an air-gapped environment cannot + upload their license when prompted. +- web: by default, Coder workspace builds are self-contained; as such, images + that do _not_ contain `curl` will result in the workspace failing to build. From 5f8092a4158bb0884d5ecfb02c4b452cef5fb87a Mon Sep 17 00:00:00 2001 From: Katie Horne Date: Wed, 25 May 2022 10:04:47 -0500 Subject: [PATCH 6/6] chore: update versions array --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 7d594d9e6..2d6d42e5a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "versions": ["v1.30", "v1.29", "v1.28", "v1.27", "v1.26"], + "versions": ["v1.31", "v1.30", "v1.29", "v1.28", "v1.27", "v1.26"], "routes": [ { "path": "./index.md",