From 960db546e49143de277ab3f3a647ad5cb2a05709 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Mon, 24 Oct 2022 13:44:08 -0700 Subject: [PATCH 1/6] chore(release): bump version to 4.8.0 --- ci/helm-chart/Chart.yaml | 2 +- ci/helm-chart/values.yaml | 2 +- docs/helm.md | 4 ++-- docs/manifest.json | 2 +- package.json | 2 +- patches/telemetry.diff | 2 +- test/unit/node/test-plugin/package.json | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ci/helm-chart/Chart.yaml b/ci/helm-chart/Chart.yaml index 6414cd616332..982b7005b0f6 100644 --- a/ci/helm-chart/Chart.yaml +++ b/ci/helm-chart/Chart.yaml @@ -20,4 +20,4 @@ version: 3.2.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 4.7.1 +appVersion: 4.8.0 diff --git a/ci/helm-chart/values.yaml b/ci/helm-chart/values.yaml index a01aaa9d7c5b..0767a69707c0 100644 --- a/ci/helm-chart/values.yaml +++ b/ci/helm-chart/values.yaml @@ -6,7 +6,7 @@ replicaCount: 1 image: repository: codercom/code-server - tag: '4.7.1' + tag: '4.8.0' pullPolicy: Always # Specifies one or more secrets to be used when pulling images from a diff --git a/docs/helm.md b/docs/helm.md index 5cfdbeb0ff09..cf33d82892cf 100644 --- a/docs/helm.md +++ b/docs/helm.md @@ -1,6 +1,6 @@ # code-server Helm Chart -[![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square)](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) [![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![AppVersion: 4.7.1](https://img.shields.io/badge/AppVersion-4.7.1-informational?style=flat-square)](https://img.shields.io/badge/AppVersion-4.7.1-informational?style=flat-square) +[![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square)](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) [![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![AppVersion: 4.8.0](https://img.shields.io/badge/AppVersion-4.8.0-informational?style=flat-square)](https://img.shields.io/badge/AppVersion-4.8.0-informational?style=flat-square) [code-server](https://github.com/coder/code-server) code-server is VS Code running on a remote server, accessible through the browser. @@ -73,7 +73,7 @@ and their default values. | hostnameOverride | string | `""` | | image.pullPolicy | string | `"Always"` | | image.repository | string | `"codercom/code-server"` | -| image.tag | string | `"4.7.1"` | +| image.tag | string | `"4.8.0"` | | imagePullSecrets | list | `[]` | | ingress.enabled | bool | `false` | | nameOverride | string | `""` | diff --git a/docs/manifest.json b/docs/manifest.json index e5e7aae3164c..d123dabad2ae 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -1,5 +1,5 @@ { - "versions": ["v4.7.1"], + "versions": ["v4.8.0"], "routes": [ { "title": "Home", diff --git a/package.json b/package.json index 787e6c3e51ba..9b286a0dc7e2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "code-server", "license": "MIT", - "version": "4.7.1", + "version": "4.8.0", "description": "Run VS Code on a remote server.", "homepage": "https://github.com/coder/code-server", "bugs": { diff --git a/patches/telemetry.diff b/patches/telemetry.diff index a57f2736d960..84b72d6d2aef 100644 --- a/patches/telemetry.diff +++ b/patches/telemetry.diff @@ -3,7 +3,7 @@ Add support for telemetry endpoint To test: 1. Create a RequestBin - https://requestbin.io/ 2. Run code-server with `CS_TELEMETRY_URL` set: - i.e. `CS_TELEMETRY_URL="https://requestbin.io/1ebub9z1" ./code-server-4.7.1-macos-amd64/bin/code-server` + i.e. `CS_TELEMETRY_URL="https://requestbin.io/1ebub9z1" ./code-server-4.8.0-macos-amd64/bin/code-server` 3. Load code-server in browser an do things (i.e. open a file) 4. Refresh RequestBin and you should see logs diff --git a/test/unit/node/test-plugin/package.json b/test/unit/node/test-plugin/package.json index d3ac54843236..57be09429d67 100644 --- a/test/unit/node/test-plugin/package.json +++ b/test/unit/node/test-plugin/package.json @@ -3,7 +3,7 @@ "name": "test-plugin", "version": "1.0.0", "engines": { - "code-server": "^4.7.1" + "code-server": "^4.8.0" }, "main": "out/index.js", "devDependencies": { From 96d36b50dfadce3a95bdd393f2b5d3cd11deda88 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Mon, 24 Oct 2022 13:53:25 -0700 Subject: [PATCH 2/6] chore: update changelog --- CHANGELOG.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6a8479fdf7d..cc91fe0cc1c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,29 @@ Code v99.99.999 --> +## [4.8.0](https://github.com/coder/code-server/releases/tag/v4.8.0) - 2022-10-24 + +Code v1.72.1 + +### Added + +- Support for the Ports panel which leverages code-server's built-in proxy. It + also uses `VSCODE_PROXY_URI` where `{{port}}` is replace when forwarding a port. + Example: `VSCODE_PROXY_URI=https://{{port}}.kyle.dev` would forward an + application running on localhost:3000 to https://3000.kyle.dev +- support for `--disable-workspace-trust` CLI flag +- support for `--goto` flag to open file @ line:column + +### Changed + +- Updated Code to 1.72.1 + +### Fixed + +- Fixed bug in code-server (run with Docker) where PATH was always overwritten +- Enalbed `BROWSER` environment variable +- Patched `asExternalUri` to work so now extensions run inside code-server can use it + ## [4.7.1](https://github.com/coder/code-server/releases/tag/v4.7.1) - 2022-09-30 Code v1.71.2 From 98e735a27543ec24e51637c4c4b27b2f75c208e8 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Mon, 24 Oct 2022 13:53:33 -0700 Subject: [PATCH 3/6] chore: bump helm chart --- ci/helm-chart/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/helm-chart/Chart.yaml b/ci/helm-chart/Chart.yaml index 982b7005b0f6..01a24f0e7397 100644 --- a/ci/helm-chart/Chart.yaml +++ b/ci/helm-chart/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 3.2.3 +version: 3.3.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to From 420ce803d8b677609172543b0f1a1f8bbe4ada79 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Mon, 24 Oct 2022 15:09:24 -0700 Subject: [PATCH 4/6] Update CHANGELOG.md Co-authored-by: Asher --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc91fe0cc1c5..4fe7ef4075e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,7 +40,7 @@ Code v1.72.1 ### Fixed - Fixed bug in code-server (run with Docker) where PATH was always overwritten -- Enalbed `BROWSER` environment variable +- Enabled `BROWSER` environment variable - Patched `asExternalUri` to work so now extensions run inside code-server can use it ## [4.7.1](https://github.com/coder/code-server/releases/tag/v4.7.1) - 2022-09-30 From 0202f1ad26b46eae1b54645fcd42d9a749ea7e70 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Mon, 24 Oct 2022 15:09:30 -0700 Subject: [PATCH 5/6] Update CHANGELOG.md Co-authored-by: Asher --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fe7ef4075e2..b18d14920df6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,7 +41,7 @@ Code v1.72.1 - Fixed bug in code-server (run with Docker) where PATH was always overwritten - Enabled `BROWSER` environment variable -- Patched `asExternalUri` to work so now extensions run inside code-server can use it +- Patched `asExternalUri` to work so now extensions running inside code-server can use it ## [4.7.1](https://github.com/coder/code-server/releases/tag/v4.7.1) - 2022-09-30 From 1e50417e74a8c45b6e5fe6658312ed7bfeb57e30 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Mon, 24 Oct 2022 15:12:39 -0700 Subject: [PATCH 6/6] fixup!: cleanup changelog --- CHANGELOG.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b18d14920df6..0f15a59c20fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,8 +30,11 @@ Code v1.72.1 also uses `VSCODE_PROXY_URI` where `{{port}}` is replace when forwarding a port. Example: `VSCODE_PROXY_URI=https://{{port}}.kyle.dev` would forward an application running on localhost:3000 to https://3000.kyle.dev -- support for `--disable-workspace-trust` CLI flag -- support for `--goto` flag to open file @ line:column +- Support for `--disable-workspace-trust` CLI flag +- Support for `--goto` flag to open file @ line:column +- Added Ubuntu-based images for Docker releases. If you run into issues with + `PATH` being overwritten in Docker please try the Ubuntu image as this is a + problem in the Debian base image. ### Changed @@ -39,9 +42,8 @@ Code v1.72.1 ### Fixed -- Fixed bug in code-server (run with Docker) where PATH was always overwritten - Enabled `BROWSER` environment variable -- Patched `asExternalUri` to work so now extensions running inside code-server can use it +- Patched `asExternalUri` to work so now extensions run inside code-server can use it ## [4.7.1](https://github.com/coder/code-server/releases/tag/v4.7.1) - 2022-09-30