diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3ebbe8774ccf..d4ebf47ecc89 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -136,6 +136,7 @@ jobs: env: DISABLE_V8_COMPILE_CACHE: 1 VERSION: 0.0.0 + VSCODE_ARCH: x64 VSCODE_TARGET: linux-x64 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ELECTRON_SKIP_BINARY_DOWNLOAD: 1 @@ -159,13 +160,13 @@ jobs: cache-dependency-path: | package-lock.json test/package-lock.json - - run: SKIP_SUBMODULE_DEPS=1 npm ci - - run: npm run build + # Get Code's git hash. When this changes it means the content is # different and we need to rebuild. - name: Get latest lib/vscode rev id: vscode-rev run: echo "rev=$(git rev-parse HEAD:./lib/vscode)" >> $GITHUB_OUTPUT + # We need to rebuild when we have a new version of Code, when any of the # patches changed, or when the code-server version changes (since it gets # embedded into the code). Use VSCODE_CACHE_VERSION to force a rebuild. @@ -178,10 +179,21 @@ jobs: - name: Build vscode if: steps.cache-vscode.outputs.cache-hit != 'true' run: | - pushd lib/vscode + cd lib/vscode/build + npm ci + cd .. + source ./build/azure-pipelines/linux/setup-env.sh + # Run preinstall script before root dependencies are installed + # so that v8 headers are patched correctly for native modules. + node build/npm/preinstall.ts npm ci - popd + cd ../.. npm run build:vscode + + # Build the code-server wrapper. + - run: SKIP_SUBMODULE_DEPS=1 npm ci + - run: npm run build + # Push up an artifact containing the linux-x64 release. - run: KEEP_MODULES=1 npm run release - run: tar -czf package.tar.gz release diff --git a/.node-version b/.node-version index 8dfc5cb1af4f..b7179aed06e8 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -24.18.1 +24.20.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a067d5c9bd1..651a69c52e92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,10 +22,19 @@ Code v99.99.999 ## Unreleased +## [4.139.1](https://github.com/coder/code-server/releases/tag/v4.139.1) - 2026-09-26 + +Code v1.139.1 + +### Changed + +- Update to Code 1.139.1 + ### Fixed -- `--idle-timeout-seconds` was only validated when passed as `--idle-timeout-seconds=`; - values of 60 or less passed as `--idle-timeout-seconds ` were silently accepted. +- `--idle-timeout-seconds` was only validated when passed as + `--idle-timeout-seconds=`; values of 60 or less passed as + `--idle-timeout-seconds ` were silently accepted. ## [4.138.0](https://github.com/coder/code-server/releases/tag/v4.138.0) - 2026-09-19 diff --git a/ci/helm-chart/Chart.yaml b/ci/helm-chart/Chart.yaml index e5f23272931f..92a83efe9d05 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: 3.53.0 +version: 3.54.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.138.0 +appVersion: 4.139.1 diff --git a/ci/helm-chart/values.yaml b/ci/helm-chart/values.yaml index 8a6bca53ca72..b7657868b1ea 100644 --- a/ci/helm-chart/values.yaml +++ b/ci/helm-chart/values.yaml @@ -6,7 +6,7 @@ replicaCount: 1 image: repository: ghcr.io/motuslabs/code-server - tag: '4.138.0' + tag: '4.139.1' pullPolicy: Always # Specifies one or more secrets to be used when pulling images from a diff --git a/docs/guide.md b/docs/guide.md index 0aa8901c36a1..c661caae60ea 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -9,6 +9,7 @@ - [Using Let's Encrypt with NGINX](#using-lets-encrypt-with-nginx) - [Using a self-signed certificate](#using-a-self-signed-certificate) - [TLS 1.3 and Safari](#tls-13-and-safari) + - [Cloudflare Rocket Loader](#cloudflare-rocket-loader) - [External authentication](#external-authentication) - [HTTPS and self-signed certificates](#https-and-self-signed-certificates) - [Accessing web services](#accessing-web-services) @@ -269,6 +270,26 @@ than TLS 1.3 you will need to add support for TLS 1.2 since Safari does not support TLS 1.3 for web sockets at the time of writing. If this is the case you should see OSSStatus: 9836 in the browser console. +### Cloudflare Rocket Loader + +If you serve code-server through Cloudflare, disable Rocket Loader for that +hostname. Rocket Loader rewrites inline `