Skip to content

Release 1.31.0 #995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion admin/registries/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 3 additions & 13 deletions admin/workspace-management/cvms/management.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -62,17 +58,13 @@ 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.

[workspace process logging]: ../process-logging.md

## 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
Expand All @@ -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
Expand Down
52 changes: 52 additions & 0 deletions changelog/1.31.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
title: "1.31.0"
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.
5 changes: 4 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -561,6 +561,9 @@
{
"path": "./changelog/index.md",
"children": [
{
"path": "./changelog/1.31.0.md"
},
{
"path": "./changelog/1.30.0.md",
"children": [
Expand Down
6 changes: 3 additions & 3 deletions setup/coder-for-docker/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions setup/coder-for-docker/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
# ...
```

Expand Down
19 changes: 8 additions & 11 deletions setup/kubernetes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,14 @@ deprecated features before they are removed from new versions of Kubernetes.

<!-- markdownlint-disable -->

| | 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]:
Expand Down