From 2202476d04e086c6d7728b427d08ab23e9a7ff85 Mon Sep 17 00:00:00 2001 From: Asher Date: Thu, 3 Mar 2022 18:47:25 +0000 Subject: [PATCH 1/4] release: bump version to 4.0.3 --- CHANGELOG.md | 7 +++++++ ci/helm-chart/Chart.yaml | 4 ++-- ci/helm-chart/values.yaml | 2 +- docs/MAINTAINING.md | 1 - docs/README.md | 2 +- docs/collaboration.md | 2 +- docs/helm.md | 4 ++-- docs/manifest.json | 2 +- package.json | 2 +- 9 files changed, 16 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c4d25b71382..6a4f7e48f830 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,13 @@ VS Code v0.00.0 - Add here +## [4.0.3](https://github.com/coder/code-server/releases/tag/v4.0.3) - 2022-03-03 + +VS Code v1.63.0 + +### Changed +### Fixed + ## [4.0.2](https://github.com/coder/code-server/releases/tag/v4.0.2) - 2022-01-27 VS Code v1.63.0 diff --git a/ci/helm-chart/Chart.yaml b/ci/helm-chart/Chart.yaml index c68fb2b20c4e..c1bcc1cd8ac2 100644 --- a/ci/helm-chart/Chart.yaml +++ b/ci/helm-chart/Chart.yaml @@ -15,9 +15,9 @@ 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: 2.1.0 +version: 2.1.1 # 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.0.2 +appVersion: 4.0.3 diff --git a/ci/helm-chart/values.yaml b/ci/helm-chart/values.yaml index f37771999fe2..3cfb338eb182 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.0.2' + tag: '4.0.3' pullPolicy: Always # Specifies one or more secrets to be used when pulling images from a diff --git a/docs/MAINTAINING.md b/docs/MAINTAINING.md index 8bec1e9c4d7f..7e0c0c24812a 100644 --- a/docs/MAINTAINING.md +++ b/docs/MAINTAINING.md @@ -34,7 +34,6 @@ as well as share our workflow for maintaining the project. Current maintainers: - @code-asher -- @TeffenEllis - @jsjoeio Occasionally, other Coder employees may step in time to time to assist with code-server. diff --git a/docs/README.md b/docs/README.md index f02649af76c6..7be681f18fb4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,6 @@ # code-server -[!["GitHub Discussions"](https://img.shields.io/badge/%20GitHub-%20Discussions-gray.svg?longCache=true&logo=github&colorB=purple)](https://github.com/coder/code-server/discussions) [!["Join us on Slack"](https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen)](https://coder.com/community) [![Twitter Follow](https://img.shields.io/twitter/follow/CoderHQ?label=%40CoderHQ&style=social)](https://twitter.com/coderhq) [![codecov](https://codecov.io/gh/coder/code-server/branch/main/graph/badge.svg?token=5iM9farjnC)](https://codecov.io/gh/coder/code-server) [![See v4.0.2 docs](https://img.shields.io/static/v1?label=Docs&message=see%20v4.0.2%20&color=blue)](https://github.com/coder/code-server/tree/v4.0.2/docs) +[!["GitHub Discussions"](https://img.shields.io/badge/%20GitHub-%20Discussions-gray.svg?longCache=true&logo=github&colorB=purple)](https://github.com/coder/code-server/discussions) [!["Join us on Slack"](https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen)](https://coder.com/community) [![Twitter Follow](https://img.shields.io/twitter/follow/CoderHQ?label=%40CoderHQ&style=social)](https://twitter.com/coderhq) [![codecov](https://codecov.io/gh/coder/code-server/branch/main/graph/badge.svg?token=5iM9farjnC)](https://codecov.io/gh/coder/code-server) [![See v4.0.3 docs](https://img.shields.io/static/v1?label=Docs&message=see%20v4.0.3%20&color=blue)](https://github.com/coder/code-server/tree/v4.0.3/docs) Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and access it in the browser. diff --git a/docs/collaboration.md b/docs/collaboration.md index 5ae803d5b937..454cbb7d6222 100644 --- a/docs/collaboration.md +++ b/docs/collaboration.md @@ -60,6 +60,6 @@ As `code-server` is based on VS Code, you can follow the steps described on Duck code-server --enable-proposed-api genuitecllc.codetogether ``` - Another option would be to add a value in code-server's [config file](https://coder.com/docs/code-server/v4.0.2/FAQ#how-does-the-config-file-work). + Another option would be to add a value in code-server's [config file](https://coder.com/docs/code-server/v4.0.3/FAQ#how-does-the-config-file-work). 3. Refresh code-server and navigate to the CodeTogether icon in the sidebar to host or join a coding session. diff --git a/docs/helm.md b/docs/helm.md index b404919c5917..694ecfa82ba1 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.0.2](https://img.shields.io/badge/AppVersion-4.0.2-informational?style=flat-square)](https://img.shields.io/badge/AppVersion-4.0.2-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.0.3](https://img.shields.io/badge/AppVersion-4.0.3-informational?style=flat-square)](https://img.shields.io/badge/AppVersion-4.0.3-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.0.2"` | +| image.tag | string | `"4.0.3"` | | imagePullSecrets | list | `[]` | | ingress.enabled | bool | `false` | | nameOverride | string | `""` | diff --git a/docs/manifest.json b/docs/manifest.json index 8f0265078ddd..33625ec5fbf3 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -1,5 +1,5 @@ { - "versions": ["v4.0.2"], + "versions": ["v4.0.3"], "routes": [ { "title": "Home", diff --git a/package.json b/package.json index 759cfe0236f9..573754f98148 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "code-server", "license": "MIT", - "version": "4.0.2", + "version": "4.0.3", "description": "Run VS Code on a remote server.", "homepage": "https://github.com/coder/code-server", "bugs": { From 3060bf3de2df5db2d61af6717ccf28b11b11d323 Mon Sep 17 00:00:00 2001 From: Asher Date: Thu, 3 Mar 2022 18:48:34 +0000 Subject: [PATCH 2/4] Rename VS Code to Code in changelog --- CHANGELOG.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a4f7e48f830..581e146b4b90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,7 @@ VS Code v99.99.999 ## [Unreleased](https://github.com/coder/code-server/releases) -VS Code v0.00.0 +Code v0.00.0 ### Changed @@ -30,14 +30,14 @@ VS Code v0.00.0 ## [4.0.3](https://github.com/coder/code-server/releases/tag/v4.0.3) - 2022-03-03 -VS Code v1.63.0 +Code v1.63.0 ### Changed ### Fixed ## [4.0.2](https://github.com/coder/code-server/releases/tag/v4.0.2) - 2022-01-27 -VS Code v1.63.0 +Code v1.63.0 ### Fixed @@ -48,7 +48,7 @@ VS Code v1.63.0 ## [4.0.1](https://github.com/coder/code-server/releases/tag/v4.0.1) - 2022-01-04 -VS Code v1.63.0 +Code v1.63.0 code-server has been rebased on upstream's newly open-sourced server implementation (#4414). @@ -64,7 +64,7 @@ implementation (#4414). settings file (we rely on the already-existing query object instead). - The marketplace override environment variables `SERVICE_URL` and `ITEM_URL` have been replaced with a single `EXTENSIONS_GALLERY` variable that - corresponds to `extensionsGallery` in VS Code's `product.json`. + corresponds to `extensionsGallery` in Code's `product.json`. ### Added @@ -86,11 +86,11 @@ implementation (#4414). ## [3.12.0](https://github.com/coder/code-server/releases/tag/v3.12.0) - 2021-09-15 -VS Code v1.60.0 +Code v1.60.0 ### Changed -- Upgrade VS Code to 1.60.0. +- Upgrade Code to 1.60.0. ### Fixed @@ -106,7 +106,7 @@ Undocumented (see releases page). ## [3.10.2](https://github.com/coder/code-server/releases/tag/v3.10.2) - 2021-05-21 -VS Code v1.56.1 +Code v1.56.1 ### Added @@ -122,7 +122,7 @@ VS Code v1.56.1 ## [3.10.1](https://github.com/coder/code-server/releases/tag/v3.10.1) - 2021-05-17 -VS Code v1.56.1 +Code v1.56.1 ### Fixed @@ -136,13 +136,13 @@ VS Code v1.56.1 ## [3.10.0](https://github.com/coder/code-server/releases/tag/v3.10.0) - 2021-05-10 -VS Code v1.56.0 +Code v1.56.0 ### Changed -- Update to VS Code 1.56.0 (#3269). +- Update to Code 1.56.0 (#3269). - Minor connections refactor (#3178). Improves connection stability. -- Use ptyHostService (#3308). This brings us closer to upstream VS Code. +- Use ptyHostService (#3308). This brings us closer to upstream Code. ### Added From fada7649412e5dc7e0d00acf7f9ff58bcc2ce7ec Mon Sep 17 00:00:00 2001 From: Asher Date: Thu, 3 Mar 2022 19:09:22 +0000 Subject: [PATCH 3/4] Catch up changelog --- CHANGELOG.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 581e146b4b90..4addc20e9f47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,9 +32,42 @@ Code v0.00.0 Code v1.63.0 +### Added + +- Support for injecting GitHub token into Code so extensions can make use of it. + This can be done with the `GITHUB_TOKEN` environment variable or `github-auth` + in the config file. +- New flag `--socket-mode` allows setting the mode (file permissions) of the + socket created when using `--socket`. +- The version of Code bundled with code-server now appears when using the + `--version` flag. For example: `4.0.3 + 5cdfe74686aa73e023f8354a9a6014eb30caa7dd with Code 1.63.0`. If you have been + parsing this flag for the version you might want to use `--version --json` + instead as doing that will be more stable. + ### Changed + +- The workspace or folder passed on the CLI will now use the same redirect + method that the last opened workspace or folder uses. This means if you pass + something like `code-server /path/to/dir` you will now get a query parameter + added (like so: `my-domain.tld?folder=/path/to/dir`), making it easier to edit + by hand and making it consistent with the last opened and menu open behaviors. +- The folder/workspace query parameter no longer has encoded slashes, making + them more readable and editable by hand. This was only affecting the last + opened behavior, not opens from the menu. + ### Fixed +- Fix web sockets not connecting when using `--cert`. +- Prevent workspace state collisions when opening a workspace that shares the + same file path with another workspace on a different machine that shares the + same domain. This was causing files opened in one workspace to be "re-"opened + in the other workspace when that workspace was first opened. +- Pin the Express version which should make installing from npm work again. +- Propagate signals to code-server in the Docker image which means it should + stop more quickly and gracefully. +- Fix missing argon binaries in the standalone release on arm machines. + ## [4.0.2](https://github.com/coder/code-server/releases/tag/v4.0.2) - 2022-01-27 Code v1.63.0 From 97361d916cb1a5cfb4ddd352165f551a2aa26fcd Mon Sep 17 00:00:00 2001 From: Asher Date: Thu, 3 Mar 2022 19:11:52 +0000 Subject: [PATCH 4/4] Add release as valid semantic tag --- .github/semantic.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/semantic.yaml b/.github/semantic.yaml index 27a663ed5662..55d345cc2ac9 100644 --- a/.github/semantic.yaml +++ b/.github/semantic.yaml @@ -61,3 +61,6 @@ types: # implementations. For example, if a commit adds a fix + test, it's a fix # commit. If a commit is simply bumping coverage, it's a test commit. - test + + # A new release. + - release