From 7aa087ae34d323a88df9517f1cd1f577095f1a7b Mon Sep 17 00:00:00 2001 From: Asher Date: Thu, 3 Mar 2022 14:46:17 -0600 Subject: [PATCH] release: v4.1.0 (#4946) * release: bump version to 4.1.0 * Rename VS Code to Code in changelog * Catch up changelog * Add release as valid semantic tag --- .github/semantic.yaml | 3 ++ CHANGELOG.md | 61 ++++++++++++++++++++++++++++++++------- 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 +- 10 files changed, 62 insertions(+), 21 deletions(-) diff --git a/.github/semantic.yaml b/.github/semantic.yaml index 27a663ed..55d345cc 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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c4d25b7..93e10f48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,15 +22,54 @@ VS Code v99.99.999 ## [Unreleased](https://github.com/coder/code-server/releases) -VS Code v0.00.0 +Code v0.00.0 ### Changed - Add here +## [4.1.0](https://github.com/coder/code-server/releases/tag/v4.1.0) - 2022-03-03 + +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.2 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 use + 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 the other workspace is 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 releases on arm machines. + ## [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 @@ -41,7 +80,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). @@ -57,7 +96,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 @@ -79,11 +118,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 @@ -99,7 +138,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 @@ -115,7 +154,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 @@ -129,13 +168,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 diff --git a/ci/helm-chart/Chart.yaml b/ci/helm-chart/Chart.yaml index c68fb2b2..814d53e3 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.2.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 # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 4.0.2 +appVersion: 4.1.0 diff --git a/ci/helm-chart/values.yaml b/ci/helm-chart/values.yaml index f3777199..91df6bc8 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.1.0' 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 8bec1e9c..7e0c0c24 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 f02649af..ef4ba16c 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.1.0 docs](https://img.shields.io/static/v1?label=Docs&message=see%20v4.1.0%20&color=blue)](https://github.com/coder/code-server/tree/v4.1.0/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 5ae803d5..170de027 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.1.0/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 b404919c..17d99f3a 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.1.0](https://img.shields.io/badge/AppVersion-4.1.0-informational?style=flat-square)](https://img.shields.io/badge/AppVersion-4.1.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.0.2"` | +| image.tag | string | `"4.1.0"` | | imagePullSecrets | list | `[]` | | ingress.enabled | bool | `false` | | nameOverride | string | `""` | diff --git a/docs/manifest.json b/docs/manifest.json index 8f026507..875fd904 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -1,5 +1,5 @@ { - "versions": ["v4.0.2"], + "versions": ["v4.1.0"], "routes": [ { "title": "Home", diff --git a/package.json b/package.json index 759cfe02..d279add6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "code-server", "license": "MIT", - "version": "4.0.2", + "version": "4.1.0", "description": "Run VS Code on a remote server.", "homepage": "https://github.com/coder/code-server", "bugs": { -- GitLab