From 5c1db076e886fd6d8c64bfca27c746dbc34f7267 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 22 Aug 2023 15:56:49 +0000 Subject: [PATCH 1/4] add WPL to manifest --- docs/manifest.json | 6 ++++++ docs/templates/process-logging.md | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/manifest.json b/docs/manifest.json index d6c59b477f053..38c6103286346 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -196,6 +196,12 @@ "title": "Terraform Modules", "description": "Reuse code across Coder templates", "path": "./templates/modules.md" + }, + { + "title": "Process Logging", + "description": "Audit commands in workspaces with exectrace", + "path": "./templates/process-logging.md", + "state": "enterprise" } ] }, diff --git a/docs/templates/process-logging.md b/docs/templates/process-logging.md index 066ba943b9d9a..51bf613238a44 100644 --- a/docs/templates/process-logging.md +++ b/docs/templates/process-logging.md @@ -5,10 +5,6 @@ processes executing in the workspace. > **Note:** This feature is only available on Linux in Kubernetes. There are > additional requirements outlined further in this document. -> -> This is an [Enterprise](https://coder.com/docs/v2/latest/enterprise) feature. -> To learn more about Coder Enterprise, please -> [contact sales](https://coder.com/contact). Workspace process logging adds a sidecar container to workspace pods that will log all processes started in the workspace container (e.g., commands executed in @@ -20,6 +16,10 @@ monitoring stack, such as CloudWatch, for further analysis or long-term storage. Please note that these logs are not recorded or captured by the Coder organization in any way, shape, or form. +> This is an [Enterprise](https://coder.com/docs/v2/latest/enterprise) feature. +> To learn more about Coder Enterprise, please +> [contact sales](https://coder.com/contact). + ## How this works Coder uses [eBPF](https://ebpf.io/) (which we chose for its minimal performance From 402a8237236fb8f12f58a1e52e3c4751a825a265 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 22 Aug 2023 16:01:40 +0000 Subject: [PATCH 2/4] docs: add v2.1.1 changelog --- docs/changelogs/README.md | 10 ++++++---- docs/changelogs/v2.1.1.md | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 docs/changelogs/v2.1.1.md diff --git a/docs/changelogs/README.md b/docs/changelogs/README.md index 7b1945aa02a2d..8345df3cbf473 100644 --- a/docs/changelogs/README.md +++ b/docs/changelogs/README.md @@ -9,9 +9,11 @@ These changelogs are currently not kept in sync with GitHub releases. Use [GitHu Run this command to generate release notes: ```sh +export CODER_IGNORE_MISSING_COMMIT_METADATA=1 +export BRANCH=main ./scripts/release/generate_release_notes.sh \ - --old-version=v0.27.0 \ - --new-version=v0.28.0 \ - --ref=$(git rev-parse --short "${ref:-origin/$branch}") \ - > ./docs/changelogs/v0.28.0.md + --old-version=v2.1.0 \ + --new-version=v2.1.1 \ + --ref=$(git rev-parse --short "${ref:-origin/$BRANCH}") \ + > ./docs/changelogs/v2.1.1.md ``` diff --git a/docs/changelogs/v2.1.1.md b/docs/changelogs/v2.1.1.md new file mode 100644 index 0000000000000..d95831e60a2e7 --- /dev/null +++ b/docs/changelogs/v2.1.1.md @@ -0,0 +1,39 @@ +## Changelog + +### Features + +- Add `last_used` search params to workspaces. This can be used to find inactive workspaces (#9230) (@Emyrk) + ![Last used](https://user-images.githubusercontent.com/22407953/262407146-06cded4e-684e-4cff-86b7-4388270e7d03.png) + > You can use `last_used_before` and `last_used_after` in the workspaces search with [RFC3339Nano](RFC3339Nano) datetimes +- Add `daily_cost`` to `coder ls` to show [quota](https://coder.com/docs/v2/latest/admin/quotas) consumption (#9200) (@ammario) +- Added `coder_app` usage to template insights (#9138) (@mafredri) + ![code-server usage](https://user-images.githubusercontent.com/22407953/262412524-180390de-b1a9-4d57-8473-c8774ec3fd6e.png) +- Added documentation for [workspace process logging](http://localhost:3000/docs/v2/latest/templates/process-logging). This enterprise feature can be used to log all system-level processes in workspaces. (#9002) (@deansheather) + + +### Bug fixes + +- Avoid temorary license banner when Coder is upgraded via Helm + button to refresh license entitlements (#9155) (@Emyrk) +- Parameters in the page "Create workspace" will show the display name as the primary field (#9158) (@aslilac) + ![Parameter order](https://user-images.githubusercontent.com/418348/261439836-e7e7d9bd-9204-42be-8d13-eae9a9afd17c.png) +- Fix race in PGCoord at startup (#9144) (@spikecurtis) +- Do not install strace on OSX (#9167) (@mtojek) +- Use proper link to workspace proxies page (#9183) (@bpmct) +- Correctly assess quota for stopped resources (#9201) (@ammario) +- Add workspace_proxy type to auditlog friendly strings (#9194) (@Emyrk) +- Always show add user button (#9229) (@aslilac) +- Correctly reject quota-violating builds (#9233) (@ammario) +- Log correct script timeout for startup script (#9190) (@mafredri) +- Remove prompt for immutable parameters on start and restart (#9173) (@mtojek) +- Server logs: apply filter to log message as well as name (#9232) (@ammario) + +Compare: [`v2.1.0...v2.1.1`](https://github.com/coder/coder/compare/v2.1.0...v2.1.1) + +## Container image + +- `docker pull ghcr.io/coder/coder:v2.1.1` + +## Install/upgrade + +Refer to our docs to [install](https://coder.com/docs/v2/latest/install) or [upgrade](https://coder.com/docs/v2/latest/admin/upgrade) Coder, or use a release asset below. + From 244953ba13dab3459c2a27af7dce040376f20401 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 22 Aug 2023 16:02:27 +0000 Subject: [PATCH 3/4] fmt --- docs/changelogs/v2.1.1.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/changelogs/v2.1.1.md b/docs/changelogs/v2.1.1.md index d95831e60a2e7..2f9b3eb5c3c74 100644 --- a/docs/changelogs/v2.1.1.md +++ b/docs/changelogs/v2.1.1.md @@ -10,7 +10,6 @@ ![code-server usage](https://user-images.githubusercontent.com/22407953/262412524-180390de-b1a9-4d57-8473-c8774ec3fd6e.png) - Added documentation for [workspace process logging](http://localhost:3000/docs/v2/latest/templates/process-logging). This enterprise feature can be used to log all system-level processes in workspaces. (#9002) (@deansheather) - ### Bug fixes - Avoid temorary license banner when Coder is upgraded via Helm + button to refresh license entitlements (#9155) (@Emyrk) @@ -36,4 +35,3 @@ Compare: [`v2.1.0...v2.1.1`](https://github.com/coder/coder/compare/v2.1.0...v2. ## Install/upgrade Refer to our docs to [install](https://coder.com/docs/v2/latest/install) or [upgrade](https://coder.com/docs/v2/latest/admin/upgrade) Coder, or use a release asset below. - From 5e09b03f811ef2c3eddf3c7b1448c3eac2f68cdf Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 22 Aug 2023 16:05:51 +0000 Subject: [PATCH 4/4] fix typo --- docs/changelogs/v2.1.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changelogs/v2.1.1.md b/docs/changelogs/v2.1.1.md index 2f9b3eb5c3c74..78e138428714a 100644 --- a/docs/changelogs/v2.1.1.md +++ b/docs/changelogs/v2.1.1.md @@ -12,7 +12,7 @@ ### Bug fixes -- Avoid temorary license banner when Coder is upgraded via Helm + button to refresh license entitlements (#9155) (@Emyrk) +- Avoid temporary license banner when Coder is upgraded via Helm + button to refresh license entitlements (#9155) (@Emyrk) - Parameters in the page "Create workspace" will show the display name as the primary field (#9158) (@aslilac) ![Parameter order](https://user-images.githubusercontent.com/418348/261439836-e7e7d9bd-9204-42be-8d13-eae9a9afd17c.png) - Fix race in PGCoord at startup (#9144) (@spikecurtis)