Skip to content

Commit 7f108c6

Browse files
authored
Merge 6809ded into 5028169
2 parents 5028169 + 6809ded commit 7f108c6

File tree

12 files changed

+44
-37
lines changed

12 files changed

+44
-37
lines changed

CHANGELOG.md

+20-4
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,30 @@ Code v99.99.999
2020
2121
-->
2222

23-
## [4.6.1](https://github.com/coder/code-server/releases/tag/v4.6.1) - 2022-08-31
23+
## [4.7.0](https://github.com/coder/code-server/releases/tag/v4.7.0) - 2022-09-09
24+
25+
Code v1.71.0
26+
27+
### Changed
28+
29+
- Updated Code to 1.71.0
30+
31+
### Removed
32+
33+
- Dropped heartbeat patch because it was implemented upstream
34+
35+
### Fixed
36+
37+
- Add flags --unsafe-perm --legacy-peer-deps in `npm-postinstsall.sh` which ensures installing with npm works correctly
38+
39+
## [4.6.1](https://github.com/coder/code-server/releases/tag/v4.6.1) - 2022-09-31
2440

2541
Code v1.70.2
2642

2743
### Changed
2844

29-
- Updated Code to 1.70.2.
30-
- Updated `argon2` to 0.29.0 which should fix issues on FreeBSD.
45+
- Updated Code to 1.70.2
46+
- Updated `argon2` to 0.29.0 which should fix issues on FreeBSD
3147
- Updated docs to suggest using `npm` instead of `yarn`
3248

3349
### Removed
@@ -36,7 +52,7 @@ Code v1.70.2
3652

3753
### Fixed
3854

39-
- Fixed preservation of `process.execArgv` which means you can pass `--prof` to profile code-server.
55+
- Fixed preservation of `process.execArgv` which means you can pass `--prof` to profile code-server
4056

4157
## [4.6.0](https://github.com/coder/code-server/releases/tag/v4.6.0) - 2022-08-17
4258

ci/build/release-prep.sh

+7-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
set -euo pipefail
1111

12+
CHECKMARK="\xE2\x9C\x94"
13+
DASH="-"
14+
1215
main() {
1316
if [ "${DRY_RUN-}" = 1 ]; then
1417
echo "Performing a dry run..."
@@ -76,11 +79,12 @@ main() {
7679
CODE_SERVER_CURRENT_VERSION=$(node -pe "require('./package.json').version")
7780
# Ask which version we should update to
7881
# In the future, we'll automate this and determine the latest version automatically
79-
echo "Current version: ${CODE_SERVER_CURRENT_VERSION}"
82+
echo -e "$DASH Current version: ${CODE_SERVER_CURRENT_VERSION}"
8083
# The $'\n' adds a line break. See: https://stackoverflow.com/a/39581815/3015595
81-
read -r -p "What version of code-server do you want to update to?"$'\n' CODE_SERVER_VERSION_TO_UPDATE
84+
CODE_SERVER_VERSION_TO_UPDATE=$(git rev-parse --abbrev-ref HEAD | perl -pe '($_)=/([0-9]+([.][0-9]+)+)/')
85+
echo -e "$CHECKMARK Version in branch name"
86+
echo -e "$CHECKMARK Updating to: $CODE_SERVER_VERSION_TO_UPDATE"
8287

83-
echo -e "Great! We'll prep a PR for updating to $CODE_SERVER_VERSION_TO_UPDATE\n"
8488
$CMD rg -g '!yarn.lock' -g '!*.svg' -g '!CHANGELOG.md' -g '!lib/vscode/**' --files-with-matches --fixed-strings "${CODE_SERVER_CURRENT_VERSION}" | $CMD xargs sd "$CODE_SERVER_CURRENT_VERSION" "$CODE_SERVER_VERSION_TO_UPDATE"
8589

8690
$CMD git commit --no-verify -am "chore(release): bump version to $CODE_SERVER_VERSION_TO_UPDATE"

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: 3.2.1
18+
version: 3.2.2
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.6.1
23+
appVersion: 4.7.0

docs/MAINTAINING.md

+2-16
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
- [Workflow](#workflow)
99
- [Milestones](#milestones)
1010
- [Triage](#triage)
11-
- [Project boards](#project-boards)
1211
- [Versioning](#versioning)
1312
- [Pull requests](#pull-requests)
1413
- [Merge strategies](#merge-strategies)
@@ -42,7 +41,7 @@ Occasionally, other Coder employees may step in time to time to assist with code
4241

4342
To onboard a new maintainer to the project, please make sure to do the following:
4443

45-
- [ ] Add to [coder/code-server-reviewers](https://github.com/orgs/coder/teams/code-server-reviewers)
44+
- [ ] Add to [coder/code-server](https://github.com/orgs/coder/teams/code-server)
4645
- [ ] Add as Admin under [Repository Settings > Access](https://github.com/coder/code-server/settings/access)
4746
- [ ] Add to [npm Coder org](https://www.npmjs.com/org/coder)
4847
- [ ] Add as [AUR maintainer](https://aur.archlinux.org/packages/code-server/) (talk to Colin)
@@ -72,7 +71,7 @@ Here are the milestones we use and how we use them:
7271
- "On Deck" -> Work under consideration for upcoming milestones.
7372
- "Backlog Candidates" -> Work that is not yet accepted for the backlog. We wait
7473
for the community to weigh in.
75-
- "<0.0.0>" -> Work to be done for a specific version.
74+
- "<Month>" -> Work to be done for said month.
7675

7776
With this flow, any un-assigned issues are essentially in triage state. Once
7877
triaged, issues are either "Backlog" or "Backlog Candidates". They will
@@ -91,19 +90,6 @@ We use the following process for triaging GitHub issues:
9190
2. If not urgent, add to "Backlog"
9291
3. Otherwise, add to "Backlog Candidate" for future consideration
9392

94-
### Project boards
95-
96-
We use project boards for projects or goals that span multiple milestones.
97-
98-
Think of this as a place to put miscellaneous things (like testing, clean up
99-
stuff, etc). As a maintainer, random tasks may come up here and there. The
100-
project boards give you places to add temporary notes before opening a new
101-
issue. Given that our release milestones function off of issues, we believe
102-
tasks should have dedicated issues.
103-
104-
Project boards also give us a way to separate the issue triage from
105-
bigger-picture, long-term work.
106-
10793
## Versioning
10894

10995
`<major.minor.patch>`

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.6.1/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/latest/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.6.1](https://img.shields.io/badge/AppVersion-4.6.1-informational?style=flat-square)](https://img.shields.io/badge/AppVersion-4.6.1-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.7.0](https://img.shields.io/badge/AppVersion-4.7.0-informational?style=flat-square)](https://img.shields.io/badge/AppVersion-4.7.0-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.6.1"` |
76+
| image.tag | string | `"4.7.0"` |
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.6.1"],
2+
"versions": ["v4.7.0"],
33
"routes": [
44
{
55
"title": "Home",

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "code-server",
33
"license": "MIT",
4-
"version": "4.6.1-1",
4+
"version": "4.7.0",
55
"description": "Run VS Code on a remote server.",
66
"homepage": "https://github.com/coder/code-server",
77
"bugs": {
@@ -87,7 +87,7 @@
8787
"@types/node": "^16.0.0"
8888
},
8989
"dependencies": {
90-
"@coder/logger": "1.1.16",
90+
"@coder/logger": "^3.0.0",
9191
"argon2": "^0.29.0",
9292
"compression": "^1.7.4",
9393
"cookie-parser": "^1.4.5",

src/node/cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ export async function setDefaults(cliArgs: UserProvidedArgs, configArgs?: Config
501501
args.verbose = false
502502
break
503503
case LogLevel.Warn:
504-
logger.level = Level.Warning
504+
logger.level = Level.Warn
505505
args.verbose = false
506506
break
507507
case LogLevel.Error:

test/e2e/extensions/test-extension/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"description": "code-server test extension",
44
"version": "0.0.1",
55
"publisher": "coder",
6+
"license": "MIT",
67
"activationEvents": [
78
"onStartupFinished"
89
],

test/unit/node/test-plugin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "test-plugin",
44
"version": "1.0.0",
55
"engines": {
6-
"code-server": "^4.6.1-1"
6+
"code-server": "^4.7.0"
77
},
88
"main": "out/index.js",
99
"devDependencies": {

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@
201201
lodash "^4.17.19"
202202
to-fast-properties "^2.0.0"
203203

204-
"@coder/logger@1.1.16":
205-
version "1.1.16"
206-
resolved "https://registry.yarnpkg.com/@coder/logger/-/logger-1.1.16.tgz#ee5b1b188f680733f35c11b065bbd139d618c1e1"
207-
integrity sha512-X6VB1++IkosYY6amRAiMvuvCf12NA4+ooX+gOuu5bJIkdjmh4Lz7QpJcWRdgxesvo1msriDDr9E/sDbIWf6vsQ==
204+
"@coder/logger@^3.0.0":
205+
version "3.0.0"
206+
resolved "https://registry.yarnpkg.com/@coder/logger/-/logger-3.0.0.tgz#fd4d2332ca375412c75cb5ba7767d3290b106dec"
207+
integrity sha512-a0TYwulM+LiKBDKK7ZtKrOmOaEDR1yonCEOZbA+lNfVpmn7gWJBRdgg1O5Jj7ElKd4s9/w9udPVJfVxciyHfhA==
208208

209209
"@eslint/eslintrc@^0.4.3":
210210
version "0.4.3"

0 commit comments

Comments
 (0)