Skip to content

Commit e5dc516

Browse files
Merge branch 'coder:main' into main
2 parents e3f1397 + 067f1e3 commit e5dc516

8 files changed

Lines changed: 36 additions & 7 deletions

File tree

‎.node-version‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24.20.0
1+
24.21.0

‎CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ Code v99.99.999
2222

2323
## Unreleased
2424

25+
## [4.140.0](https://github.com/coder/code-server/releases/tag/v4.140.0) - 2026-10-02
26+
27+
Code v1.140.0
28+
29+
### Changed
30+
31+
- Update to Code 1.140.0
32+
2533
## [4.139.1](https://github.com/coder/code-server/releases/tag/v4.139.1) - 2026-09-26
2634

2735
Code v1.139.1

‎ci/helm-chart/Chart.yaml‎

Lines changed: 2 additions & 2 deletions
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.54.0
18+
version: 3.55.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.139.1
23+
appVersion: 4.140.0

‎ci/helm-chart/values.yaml‎

Lines changed: 1 addition & 1 deletion
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.139.1'
9+
tag: '4.140.0'
1010
pullPolicy: Always
1111

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

‎docs/guide.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- [Using Let's Encrypt with NGINX](#using-lets-encrypt-with-nginx)
1010
- [Using a self-signed certificate](#using-a-self-signed-certificate)
1111
- [TLS 1.3 and Safari](#tls-13-and-safari)
12+
- [Cloudflare Rocket Loader](#cloudflare-rocket-loader)
1213
- [External authentication](#external-authentication)
1314
- [HTTPS and self-signed certificates](#https-and-self-signed-certificates)
1415
- [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
269270
support TLS 1.3 for web sockets at the time of writing. If this is the case you
270271
should see OSSStatus: 9836 in the browser console.
271272

273+
### Cloudflare Rocket Loader
274+
275+
If you serve code-server through Cloudflare, disable Rocket Loader for that
276+
hostname. Rocket Loader rewrites inline `<script>` tags at the edge and
277+
re-injects them from its own loader, and the re-injected scripts do not carry
278+
the nonce in code-server's Content Security Policy, so the browser blocks them.
279+
The result is a blank page: every request returns HTTP 200 and the server logs
280+
look healthy, and the only console output is `Cannot determine URI for module
281+
id!`.
282+
283+
Scope it with a Configuration Rule rather than turning it off zone-wide:
284+
285+
```
286+
Expression: (http.host eq "code.example.com")
287+
Setting: Rocket Loader -> Off
288+
```
289+
290+
Adding `'unsafe-inline'` to the policy does not help, because CSP ignores it
291+
whenever a nonce or hash is present.
292+
272293
## External authentication
273294

274295
If you want to use external authentication mechanism (e.g., Sign in with

‎lib/vscode‎

Submodule vscode updated 2263 files

‎patches/base-path.diff‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Index: code-server/lib/vscode/src/vs/base/common/network.ts
1010
===================================================================
1111
--- code-server.orig/lib/vscode/src/vs/base/common/network.ts
1212
+++ code-server/lib/vscode/src/vs/base/common/network.ts
13-
@@ -251,7 +251,9 @@ class RemoteAuthoritiesImpl {
13+
@@ -256,7 +256,9 @@ class RemoteAuthoritiesImpl {
1414
return URI.from({
1515
scheme: platform.isWeb ? this._preferredWebSchema : Schemas.vscodeRemoteResource,
1616
authority: `${host}:${port}`,

‎patches/store-socket.diff‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Index: code-server/lib/vscode/src/vs/workbench/api/node/extHostExtensionService.
3131
import { ExtHostDiskFileSystemProvider } from './extHostDiskFileSystemProvider.js';
3232
import nodeModule from 'node:module';
3333
import { assertType } from '../../../base/common/types.js';
34-
@@ -175,6 +177,52 @@ export class ExtHostExtensionService ext
34+
@@ -176,6 +178,52 @@ export class ExtHostExtensionService ext
3535

3636
performance.mark('code/extHost/didInitAPI');
3737

0 commit comments

Comments
 (0)