Skip to content

Commit 88c2b74

Browse files
authored
Update Code to 1.134.0 (#7954)
1 parent 4cb856c commit 88c2b74

19 files changed

Lines changed: 54 additions & 33 deletions

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24.18.0
1+
24.18.1

CHANGELOG.md

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

2323
## Unreleased
2424

25+
Code v1.134.0
26+
27+
### Added
28+
29+
- New `--socket-fd` flag that can be used to listen on a file descriptor. In
30+
particular, this allows using code-server with systemd's socket activation.
31+
- New `--vscode-option` repeatable flag that can be used to pass through options
32+
to VS Code. It requires `flag=value` or simply `flag` for booleans. For
33+
example: `--vscode-option enable-sandbox --vscode-option agents=true`. The
34+
`VSCODE_OPTIONS` environment variable may also be used. For example:
35+
`VSCODE_OPTIONS="enable-sandbox agents=true"`. Note that this code-server
36+
simply splits this variable on spaces and is not aware of quoting.
37+
38+
### Changed
39+
40+
- Update to Code 1.134.0
41+
- Remove `--unsafe-perm` from installation scripts. This flag results in an
42+
error when used with npm since v12 and has been a no-op since v7. If you are
43+
installing with a version of npm older than v7 as root, installation may not
44+
work correctly.
45+
2546
## [4.133.0](https://github.com/coder/code-server/releases/tag/v4.133.0) - 2026-08-17
2647

2748
Code v1.133.0

lib/vscode

Submodule vscode updated 1959 files

patches/app-name.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
3232
===================================================================
3333
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
3434
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
35-
@@ -366,8 +366,11 @@ export class WebClientServer {
35+
@@ -363,8 +363,11 @@ export class WebClientServer {
3636
linkProtectionTrustedDomains.push(...this._productService.linkProtectionTrustedDomains);
3737
}
3838

patches/base-path.diff

Lines changed: 9 additions & 9 deletions
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-
@@ -245,7 +245,9 @@ class RemoteAuthoritiesImpl {
13+
@@ -251,7 +251,9 @@ class RemoteAuthoritiesImpl {
1414
return URI.from({
1515
scheme: platform.isWeb ? this._preferredWebSchema : Schemas.vscodeRemoteResource,
1616
authority: `${host}:${port}`,
@@ -111,7 +111,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
111111
===================================================================
112112
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
113113
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
114-
@@ -265,7 +265,9 @@ export class WebClientServer {
114+
@@ -264,7 +264,9 @@ export class WebClientServer {
115115
};
116116

117117
// Prefix routes with basePath for clients
@@ -120,9 +120,9 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
120120
+ const vscodeBase = relativePath(getOriginalUrl(req))
121121
+ const basePath = vscodeBase || getFirstHeader('x-forwarded-prefix') || this._basePath;
122122

123-
const queryConnectionToken = parsedUrl.query[connectionTokenQueryName];
124-
if (typeof queryConnectionToken === 'string') {
125-
@@ -304,10 +306,14 @@ export class WebClientServer {
123+
const queryConnectionTokens = parsedUrl.searchParams.getAll(connectionTokenQueryName);
124+
if (queryConnectionTokens.length === 1) {
125+
@@ -301,10 +303,14 @@ export class WebClientServer {
126126
};
127127

128128
const useTestResolver = (!this._environmentService.isBuilt && this._environmentService.args['use-test-resolver']);
@@ -138,15 +138,15 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
138138
);
139139
if (!remoteAuthority) {
140140
return serveError(req, res, 400, `Bad request.`);
141-
@@ -354,6 +360,7 @@ export class WebClientServer {
141+
@@ -351,6 +357,7 @@ export class WebClientServer {
142142

143143
const productConfiguration: Partial<Mutable<IProductConfiguration>> = {
144144
codeServerVersion: this._productService.codeServerVersion,
145145
+ rootEndpoint: rootBase,
146146
embedderIdentifier: 'server-distro',
147147
voiceWsUrl: this._productService.voiceWsUrl,
148148
extensionsGallery: this._webExtensionResourceUrlTemplate && this._productService.extensionsGallery ? {
149-
@@ -403,7 +410,9 @@ export class WebClientServer {
149+
@@ -400,7 +407,9 @@ export class WebClientServer {
150150
WORKBENCH_AUTH_SESSION: authSessionInfo ? asJSON(authSessionInfo) : '',
151151
WORKBENCH_WEB_BASE_URL: staticRoute,
152152
WORKBENCH_NLS_URL,
@@ -157,7 +157,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
157157
};
158158

159159
// DEV ---------------------------------------------------------------------------------------
160-
@@ -440,7 +449,7 @@ export class WebClientServer {
160+
@@ -437,7 +446,7 @@ export class WebClientServer {
161161
'default-src \'self\';',
162162
'img-src \'self\' https: data: blob:;',
163163
'media-src \'self\';',
@@ -166,7 +166,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
166166
'child-src \'self\';',
167167
`frame-src 'self' https://*.vscode-cdn.net data:;`,
168168
'worker-src \'self\' data: blob:;',
169-
@@ -513,3 +522,70 @@ export class WebClientServer {
169+
@@ -510,3 +519,70 @@ export class WebClientServer {
170170
return void res.end(data);
171171
}
172172
}

patches/clipboard.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Index: code-server/lib/vscode/src/vs/platform/environment/common/argv.ts
7878
===================================================================
7979
--- code-server.orig/lib/vscode/src/vs/platform/environment/common/argv.ts
8080
+++ code-server/lib/vscode/src/vs/platform/environment/common/argv.ts
81-
@@ -146,6 +146,7 @@ export interface NativeParsedArgs {
81+
@@ -147,6 +147,7 @@ export interface NativeParsedArgs {
8282
'disable-chromium-sandbox'?: boolean;
8383
sandbox?: boolean;
8484
'enable-coi'?: boolean;

patches/display-language.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,15 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
153153
===================================================================
154154
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
155155
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
156-
@@ -25,6 +25,7 @@ import { URI } from '../../base/common/u
156+
@@ -24,6 +24,7 @@ import { URI } from '../../base/common/u
157157
import { streamToBuffer } from '../../base/common/buffer.js';
158158
import { IProductConfiguration } from '../../base/common/product.js';
159159
import { isString, Mutable } from '../../base/common/types.js';
160160
+import { getLocaleFromConfig, getBrowserNLSConfiguration } from './remoteLanguagePacks.js';
161161
import { CharCode } from '../../base/common/charCode.js';
162162
import { IExtensionManifest } from '../../platform/extensions/common/extensions.js';
163163
import { ICSSDevelopmentService } from '../../platform/cssDev/node/cssDevService.js';
164-
@@ -401,14 +402,22 @@ export class WebClientServer {
164+
@@ -398,14 +399,22 @@ export class WebClientServer {
165165
};
166166

167167
const cookies = cookie.parse(req.headers.cookie || '');

patches/external-file-actions.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
112112
===================================================================
113113
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
114114
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
115-
@@ -384,6 +384,8 @@ export class WebClientServer {
115+
@@ -381,6 +381,8 @@ export class WebClientServer {
116116
serverBasePath: basePath,
117117
webviewEndpoint: staticRoute + '/out/vs/workbench/contrib/webview/browser/pre',
118118
userDataPath: this._environmentService.userDataPath,
@@ -207,7 +207,7 @@ Index: code-server/lib/vscode/src/vs/workbench/common/contextkeys.ts
207207
===================================================================
208208
--- code-server.orig/lib/vscode/src/vs/workbench/common/contextkeys.ts
209209
+++ code-server/lib/vscode/src/vs/workbench/common/contextkeys.ts
210-
@@ -40,6 +40,9 @@ export const EmbedderIdentifierContext =
210+
@@ -42,6 +42,9 @@ export const EmbedderIdentifierContext =
211211

212212
export const InAutomationContext = new RawContextKey<boolean>('inAutomation', false, localize('inAutomation', "Whether VS Code is running under automation/smoke test"));
213213

patches/getting-started.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
201201
===================================================================
202202
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
203203
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
204-
@@ -388,6 +388,7 @@ export class WebClientServer {
204+
@@ -385,6 +385,7 @@ export class WebClientServer {
205205
userDataPath: this._environmentService.userDataPath,
206206
isEnabledFileDownloads: !this._environmentService.args['disable-file-downloads'],
207207
isEnabledFileUploads: !this._environmentService.args['disable-file-uploads'],
@@ -234,7 +234,7 @@ Index: code-server/lib/vscode/src/vs/workbench/common/contextkeys.ts
234234
===================================================================
235235
--- code-server.orig/lib/vscode/src/vs/workbench/common/contextkeys.ts
236236
+++ code-server/lib/vscode/src/vs/workbench/common/contextkeys.ts
237-
@@ -42,6 +42,7 @@ export const InAutomationContext = new R
237+
@@ -44,6 +44,7 @@ export const InAutomationContext = new R
238238

239239
export const IsEnabledFileDownloads = new RawContextKey<boolean>('isEnabledFileDownloads', true, true);
240240
export const IsEnabledFileUploads = new RawContextKey<boolean>('isEnabledFileUploads', true, true);

patches/integration.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
251251
===================================================================
252252
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
253253
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
254-
@@ -353,6 +353,7 @@ export class WebClientServer {
254+
@@ -350,6 +350,7 @@ export class WebClientServer {
255255
} : undefined;
256256

257257
const productConfiguration: Partial<Mutable<IProductConfiguration>> = {
@@ -326,7 +326,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/parts/dialogs/dialog.ts
326326
===================================================================
327327
--- code-server.orig/lib/vscode/src/vs/workbench/browser/parts/dialogs/dialog.ts
328328
+++ code-server/lib/vscode/src/vs/workbench/browser/parts/dialogs/dialog.ts
329-
@@ -47,8 +47,11 @@ export function createWorkbenchDialogOpt
329+
@@ -54,8 +54,11 @@ export function createWorkbenchDialogOpt
330330

331331
export function createBrowserAboutDialogDetails(productService: IProductService): { title: string; details: string; detailsToCopy: string } {
332332
const detailString = (useAgo: boolean): string => {

0 commit comments

Comments
 (0)