This repository was archived by the owner on Aug 18, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 82
Release 1.20.0 #406
Merged
Merged
Release 1.20.0 #406
Changes from 27 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
b78dfe7
Start Release 1.20.0
greyscaled 89a8324
Initial draft
greyscaled f67977e
fixup! Initial draft
greyscaled f5a0baa
fix: Code completion language
greyscaled 79eff77
Edit changelog
81b6bd4
Merge branch 'release-1.20' of https://github.com/cdr/docs into relea…
00fcede
Fix formatting
fe60943
Update wording
3dc1af8
Update Templates doc (#409)
40c11bc
Add info re: service banners (#411)
b38f8dc
chore: add CODER_RUNTIME var to docs (#410)
c2fd20f
Fix formatting
fd7f221
Merge branch 'release-1.20' of https://github.com/cdr/docs into relea…
5822d4c
Update CODER_RUNTIME definition
f2e8799
update security section
jawnsy de23fd3
Updates based on review
c747ee8
Edit text
3534591
Remove TLS
fd146fe
Fix formatting
904f8d4
Add docs re: browser security features (#412)
3b20a5b
Apply suggestions from review
0315ce7
Apply changes based on review
e3560d7
fixup! Apply changes based on review
greyscaled bb598cc
Merge branch 'main' into release-1.20
0b23dea
1.20 Feat: Code Completion docs (#399)
Emyrk ac6205e
Add docs for nodeSelector and tolerations (#398)
Emyrk 359b53e
Add kube annotations to wac template docs (#414)
Emyrk 491f91e
Reword crypto APIs line
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
title: Browser Security | ||
description: Learn about Coder's browser security options. | ||
--- | ||
|
||
Coder offers two browser security features that you can choose to enable. These | ||
are available under **Manage** > **Admin** > **Infrastructure**. | ||
|
||
## HTTP Strict Transport Security | ||
|
||
If you are serving Coder over HTTPS, we recommend enabling the | ||
**Strict-Transport-Security Header** option, which adds the [HTTP Strict | ||
Transport Security] header to responses. This browser feature requires future | ||
requests to occur over HTTPS. | ||
|
||
[http strict transport security]: | ||
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security | ||
|
||
 | ||
|
||
## Secure Cookie | ||
|
||
The **Secure Cookie** option controls the [`secure` property of cookies] that | ||
Coder issues. This prevents browsers from sending sensitive cookies, such as | ||
those containing credentials, over unencrypted (HTTP) connections. We recommend | ||
enabling this setting if you are serving Coder over HTTPS. | ||
|
||
[`secure` property of cookies]: | ||
https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies | ||
|
||
 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
title: "1.20.0" | ||
description: "Released on 06/16/2021" | ||
--- | ||
|
||
### Breaking changes ❗ | ||
|
||
There are no breaking changes in 1.20.0. | ||
|
||
### Features ✨ | ||
|
||
- web: **Alpha**. Added the ability to set a site-wide workspace template policy | ||
at **Manage > Admin > Templates > Template Policy**. If not set, Coder uses | ||
the provided default. | ||
- web: Added the `node-selector`, `tolerations`, and `annotations` fields to | ||
workspace templates. | ||
- other: Added a new JSON schema for writing Coder workspace as code templates | ||
with code completion and syntax checking. | ||
- web: Added a service banner that's displayed to all users of the system. The | ||
message can be used with existing messages. It can be dismissed by each user | ||
at any point and will not be shown again until there is a new message. | ||
- web: Added text wrapping to system banners. | ||
- infra: Added a `CODER_RUNTIME` environment variable that indicates whether a | ||
workspace is CVM-enabled or not. | ||
- web: Updated UI to display decommissioned workspaces that are awaiting | ||
deletion. | ||
- web: Added ability to filter the audit log by the _auto-off_ action. | ||
|
||
### Bug fixes 🐛 | ||
|
||
- web: Fixed bug causing duplicate fetch requests on page load. | ||
- web: Fixed issue causing private dev URLs to load as blank pages for | ||
unauthorized users (users will now see an error page). | ||
|
||
### Security updates 🔐 | ||
|
||
- web: Require administrative permissions to view workspaces belonging to other | ||
users; previously, users could view others' workspace metadata | ||
- web: Added content security policy (CSP) to help protect against cross-site | ||
scripting attacks. | ||
- web: Added opt-in for HTTP Strict Transport Security. This setting can be | ||
managed at **Manage > Admin > Infrastructure > HTTP Strict Transport | ||
Security**. | ||
- web: Added opt-in for secure cookies. This setting can be managed at | ||
**Manage > Admin > Infrastructure > Secure Cookie**. | ||
- web: Use strong cryptographic APIs to generate random numbers in backend and | ||
frontend. | ||
greyscaled marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- infra: Upgraded control plane containers from Red Hat UBI 8.3 to 8.4, and | ||
switch from ubi to ubi-minimal to reduce image contents. | ||
- infra: Enable read-only root filesystem for control plane containers, by | ||
default. You can override this with the Helm `coderd.securityContext` setting. | ||
- web: Resolved CVE-2021-23364 in browserslist. | ||
- web: Resolved CVE-2021-23358 in underscore. | ||
- web: Resolved CVE-2020-7753 in trim. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
title: "Workspace template code completion" | ||
description: "Learn how to use code completion when creating workspace templates." | ||
state: beta | ||
--- | ||
|
||
Coder provides a [JSON Schema](https://json-schema.org/) for workspace templates | ||
that enables code completion and syntax checking. | ||
|
||
## Requirements | ||
|
||
You must have the [YAML extension by Red | ||
Hat](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) | ||
installed to use this feature. | ||
|
||
## How to use | ||
|
||
Create a file called `coder.yaml`, and add the following to the top (be sure to | ||
replace the `<deployment_url>` placeholder with your Coder deployment URL): | ||
|
||
```yaml | ||
# yaml-language-server: $schema=https://<deployment_url>/api/private/template/schemas/wac.schema.json | ||
|
||
# Write your YAML config here | ||
``` | ||
|
||
At this point, you can use the code completion and syntax checking features. | ||
|
||
## Keyboard shortcuts | ||
|
||
Some keyboard shortcuts you may find helpful include: | ||
|
||
- Document outlining (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>O</kbd>) | ||
- Auto completion (<kbd>Ctrl</kbd> + <kbd>Space</kbd>) | ||
|
||
See the [YAML extension by Red Hat | ||
docs](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) | ||
for additional shortcuts. | ||
|
||
 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.