Skip to content

Commit f4fc2eb

Browse files
jsjoeiocode-asher
andauthored
release: 4.5.1 (#5354)
* chore(release): bump version to 4.5.1 * chore: bump helm chart * chore: update CHANGELOG * Revert "chore: bump helm chart" This reverts commit 703b03b. * chore: bump helm chart to 3.0.0 * revert: remove bad change to manifes.json icon * fix(ci): add package.json.version to code cachekey Before this, creating a release sometimes prevented vscode from rebuilding and using the cache instead. Now we use the package.json.version in the cache key to "bust" the cache if the package.json version is updated (aka a release). Fixes #5316 * Update .github/workflows/ci.yaml Co-authored-by: Asher <ash@coder.com> * fixup: formatting * Revert "refactor: remove version check e2e test" This reverts commit b23c398. Co-authored-by: Asher <ash@coder.com>
1 parent de317a0 commit f4fc2eb

File tree

9 files changed

+55
-12
lines changed

9 files changed

+55
-12
lines changed

.github/workflows/ci.yaml

+9-3
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,20 @@ jobs:
143143
id: vscode-rev
144144
run: echo "::set-output name=rev::$(git rev-parse HEAD:./lib/vscode)"
145145

146-
# We need to rebuild when we have a new version of Code or when any of
147-
# the patches changed. Use VSCODE_CACHE_VERSION to force a rebuild.
146+
- name: Get version
147+
id: version
148+
run: echo "::set-output name=version::$(jq -r .version package.json)"
149+
150+
# We need to rebuild when we have a new version of Code, when any of
151+
# the patches changed, or when the code-server version changes (since
152+
# it gets embedded into the code). Use VSCODE_CACHE_VERSION to
153+
# force a rebuild.
148154
- name: Fetch prebuilt Code package from cache
149155
id: cache-vscode
150156
uses: actions/cache@v3
151157
with:
152158
path: lib/vscode-reh-web-*
153-
key: vscode-reh-package-${{ secrets.VSCODE_CACHE_VERSION }}-${{ steps.vscode-rev.outputs.rev }}-${{ hashFiles('patches/*.diff') }}
159+
key: vscode-reh-package-${{ secrets.VSCODE_CACHE_VERSION }}-${{ steps.vscode-rev.outputs.rev }}-${{ steps.version.outputs.version }}-${{ hashFiles('patches/*.diff') }}
154160

155161
- name: Build vscode
156162
if: steps.cache-vscode.outputs.cache-hit != 'true'

CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,38 @@ Code v99.99.999
2020
2121
-->
2222

23+
## [4.5.1](https://github.com/coder/code-server/releases/tag/v4.5.1) - 2022-07-18
24+
25+
Code v1.68.1
26+
27+
### Changed
28+
29+
- We now use `release/v<0.0.0>` for the release branch name so it doesn't
30+
conflict with the tag name
31+
- Added `.prettierignore` to ignore formatting files in `lib/vscode`
32+
33+
### Added
34+
35+
- Allow more comprehensive affinity config in Helm chart
36+
- Added custom message in Homebrew PR to make sure code-server maintainers are
37+
tagged
38+
- Allow setting `priorityClassName` via Helm chart
39+
- Added troubleshooting docs to `CONTRIBUTING.md`
40+
41+
### Fixed
42+
43+
- Removed default memory limit which was set via `NODE_OPTIONS`
44+
- Changed output in pipe to make it easier to debug code-server when doing live
45+
edits
46+
- Fixed display-language patch to use correct path which broke in 4.5.0
47+
- Fixed multiple code-server windows opening when using the code-server CLI in
48+
the Integrated Terminal
49+
- Fixed Integrated Terminal not working when web base was not the root path
50+
51+
### Security
52+
53+
- Updated `glob-parent` version in dependencies
54+
2355
## [4.5.0](https://github.com/coder/code-server/releases/tag/v4.5.0) - 2022-06-29
2456

2557
Code v1.68.1

ci/helm-chart/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 2.6.0
18+
version: 3.0.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
23-
appVersion: 4.5.0
23+
appVersion: 4.5.1

ci/helm-chart/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replicaCount: 1
66

77
image:
88
repository: codercom/code-server
9-
tag: '4.5.0'
9+
tag: '4.5.1'
1010
pullPolicy: Always
1111

1212
# Specifies one or more secrets to be used when pulling images from a

docs/collaboration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ As `code-server` is based on VS Code, you can follow the steps described on Duck
6060
code-server --enable-proposed-api genuitecllc.codetogether
6161
```
6262

63-
Another option would be to add a value in code-server's [config file](https://coder.com/docs/code-server/v4.5.0/FAQ#how-does-the-config-file-work).
63+
Another option would be to add a value in code-server's [config file](https://coder.com/docs/code-server/v4.5.1/FAQ#how-does-the-config-file-work).
6464

6565
3. Refresh code-server and navigate to the CodeTogether icon in the sidebar to host or join a coding session.

docs/helm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# code-server Helm Chart
22

3-
[![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.5.0](https://img.shields.io/badge/AppVersion-4.5.0-informational?style=flat-square)](https://img.shields.io/badge/AppVersion-4.5.0-informational?style=flat-square)
3+
[![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.5.1](https://img.shields.io/badge/AppVersion-4.5.1-informational?style=flat-square)](https://img.shields.io/badge/AppVersion-4.5.1-informational?style=flat-square)
44

55
[code-server](https://github.com/coder/code-server) code-server is VS Code running
66
on a remote server, accessible through the browser.
@@ -73,7 +73,7 @@ and their default values.
7373
| hostnameOverride | string | `""` |
7474
| image.pullPolicy | string | `"Always"` |
7575
| image.repository | string | `"codercom/code-server"` |
76-
| image.tag | string | `"4.5.0"` |
76+
| image.tag | string | `"4.5.1"` |
7777
| imagePullSecrets | list | `[]` |
7878
| ingress.enabled | bool | `false` |
7979
| nameOverride | string | `""` |

docs/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"versions": ["v4.5.0"],
2+
"versions": ["v4.5.1"],
33
"routes": [
44
{
55
"title": "Home",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "code-server",
33
"license": "MIT",
4-
"version": "4.5.0",
4+
"version": "4.5.1",
55
"description": "Run VS Code on a remote server.",
66
"homepage": "https://github.com/coder/code-server",
77
"bugs": {

test/e2e/openHelpAbout.test.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1+
import { version } from "../../src/node/constants"
12
import { describe, test, expect } from "./baseFixture"
23

34
describe("Open Help > About", true, [], {}, () => {
45
test("should see code-server version in about dialog", async ({ codeServerPage }) => {
56
// Open using the menu.
67
await codeServerPage.navigateMenus(["Help", "About"])
78

9+
const isDevMode = process.env.VSCODE_DEV === "1"
10+
811
// Look for code-server info div.
9-
const element = await codeServerPage.page.waitForSelector(`div[role="dialog"] >> text=code-server`)
12+
const element = await codeServerPage.page.waitForSelector(
13+
`div[role="dialog"] >> text=code-server: ${isDevMode ? "Unknown" : "v" + version}`,
14+
)
1015
expect(element).not.toBeNull()
1116
})
1217
})

0 commit comments

Comments
 (0)