diff --git a/CHANGELOG.md b/CHANGELOG.md index d58496da7..4e430b4c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,22 @@ Code v99.99.999 ## Unreleased +Code v1.122.0 + +### Changed + +- Update to Code 1.122.0 + +### Fixed + +- `--app-name` will now affect window titles within the editor (it is now used + as the value for `${appName}` in the title template) as well as some other + places like the help > about dialog. + +### Added + +- App name can now be set with the `CODE_SERVER_APP_NAME` environment variable. + ## [4.121.0](https://github.com/coder/code-server/releases/tag/v4.121.0) - 2026-05-20 Code v1.121.0 diff --git a/lib/vscode b/lib/vscode index 987c95975..6a49527b9 160000 --- a/lib/vscode +++ b/lib/vscode @@ -1 +1 @@ -Subproject commit 987c9597516278c9fcf10d963a0592ce1384ab93 +Subproject commit 6a49527b96e326fe62fbdb56f60e16877c9aa724 diff --git a/patches/app-name.diff b/patches/app-name.diff index 5675d1646..32cb90ed0 100644 --- a/patches/app-name.diff +++ b/patches/app-name.diff @@ -20,7 +20,7 @@ Index: code-server/lib/vscode/src/vs/server/node/serverEnvironmentService.ts /* ----- server setup ----- */ -@@ -120,6 +121,7 @@ export interface ServerParsedArgs { +@@ -124,6 +125,7 @@ export interface ServerParsedArgs { 'disable-getting-started-override'?: boolean, 'locale'?: string 'link-protection-trusted-domains'?: string[], diff --git a/patches/copilot.diff b/patches/copilot.diff index 3a847cef0..c525d33a2 100644 --- a/patches/copilot.diff +++ b/patches/copilot.diff @@ -2,8 +2,8 @@ Index: code-server/lib/vscode/build/gulpfile.extensions.ts =================================================================== --- code-server.orig/lib/vscode/build/gulpfile.extensions.ts +++ code-server/lib/vscode/build/gulpfile.extensions.ts -@@ -294,6 +294,29 @@ export const compileCopilotExtensionBuil - gulp.task(compileCopilotExtensionBuildTask); +@@ -291,6 +291,29 @@ export const compileCopilotExtensionBuil + task.task(compileCopilotExtensionBuildTask); /** + * Compiles the built-in copilot extension with proper `.vscodeignore` filtering @@ -26,7 +26,7 @@ Index: code-server/lib/vscode/build/gulpfile.extensions.ts + return Promise.resolve(); + }) +)); -+gulp.task(compileCopilotExtensionFullBuildTask); ++task.task(compileCopilotExtensionFullBuildTask); + +/** * Compiles the extensions for the build. @@ -36,15 +36,15 @@ Index: code-server/lib/vscode/build/lib/extensions.ts =================================================================== --- code-server.orig/lib/vscode/build/lib/extensions.ts +++ code-server/lib/vscode/build/lib/extensions.ts -@@ -24,6 +24,7 @@ import { getProductionDependencies } fro +@@ -21,6 +21,7 @@ import { getProductionDependencies } fro import { type IExtensionDefinition, getExtensionStream } from './builtInExtensions.ts'; import { fetchUrls, fetchGithub } from './fetch.ts'; import { createTsgoStream, spawnTsgo } from './tsgo.ts'; +import { prepareBuiltInCopilotRipgrepShim } from './copilot.ts'; - import vzip from 'gulp-vinyl-zip'; + import watcher from './watch/index.ts'; import { createRequire } from 'module'; -@@ -492,6 +493,116 @@ export function packageCopilotExtensionS +@@ -483,6 +484,116 @@ export function packageCopilotExtensionS ).pipe(util2.setExecutableBit(['**/*.sh'])); } diff --git a/patches/display-language.diff b/patches/display-language.diff index 1517e8eb4..526272fe5 100644 --- a/patches/display-language.diff +++ b/patches/display-language.diff @@ -18,7 +18,7 @@ Index: code-server/lib/vscode/src/vs/server/node/serverServices.ts import { ProtocolConstants } from '../../base/parts/ipc/common/ipc.net.js'; import { IConfigurationService } from '../../platform/configuration/common/configuration.js'; import { ConfigurationService } from '../../platform/configuration/common/configurationService.js'; -@@ -358,6 +358,9 @@ export async function setupServerService +@@ -359,6 +359,9 @@ export async function setupServerService socketServer.registerChannel('mcpManagement', new McpManagementChannel(mcpManagementService, (ctx: RemoteAgentConnectionContext) => getUriTransformer(ctx.remoteAuthority))); diff --git a/patches/sourcemaps.diff b/patches/sourcemaps.diff index d9c896345..615edca9d 100644 --- a/patches/sourcemaps.diff +++ b/patches/sourcemaps.diff @@ -6,7 +6,7 @@ Index: code-server/lib/vscode/build/gulpfile.reh.ts =================================================================== --- code-server.orig/lib/vscode/build/gulpfile.reh.ts +++ code-server/lib/vscode/build/gulpfile.reh.ts -@@ -261,10 +261,15 @@ function packageTask(type: string, platf +@@ -255,10 +255,15 @@ function packageTask(type: string, platf const destination = path.join(BUILD_ROOT, destinationFolderName); return () => { diff --git a/patches/webview.diff b/patches/webview.diff index 59fe37de2..a1ce247be 100644 --- a/patches/webview.diff +++ b/patches/webview.diff @@ -41,7 +41,7 @@ Index: code-server/lib/vscode/src/vs/workbench/services/environment/browser/envi =================================================================== --- code-server.orig/lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts +++ code-server/lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts -@@ -223,7 +223,7 @@ export class BrowserWorkbenchEnvironment +@@ -226,7 +226,7 @@ export class BrowserWorkbenchEnvironment @memoize get webviewExternalEndpoint(): string {