Skip to content

Update xterm.js to 6.1.0-beta.220 - #317936

Merged
Anthony Kim (anthonykim1) merged 5 commits into
mainfrom
anthonykim1/updateXtermMay21
May 26, 2026
Merged

Anthony Kim (anthonykim1) merged 5 commits into
mainfrom
anthonykim1/updateXtermMay21

Conversation

@anthonykim1

Copy link
Copy Markdown
Contributor

Resolves: #317740

@anthonykim1 Anthony Kim (anthonykim1) added this to the 1.122.0 milestone May 22, 2026
Copilot AI review requested due to automatic review settings May 22, 2026 06:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the VS Code terminal’s xterm.js dependency set to newer 6.1.0 beta builds (and matching addon betas), picking up upstream fixes referenced in #317740, and adjusts the clipboard addon integration for the updated addon API surface.

Changes:

  • Bump @xterm/xterm to 6.1.0-beta.220 and update related @xterm/* addon versions across root/remote/web packages and lockfiles.
  • Adjust the clipboard addon handler typings in XtermTerminal to match the updated @xterm/addon-clipboard type exports.
Show a summary per file
File Description
src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts Updates clipboard addon import and handler callback parameter types to align with the updated addon typings.
package.json Bumps xterm.js and addons to the newer beta versions used by desktop builds.
package-lock.json Lockfile refresh for updated xterm.js/addons and related dependency graph adjustments.
remote/package.json Bumps xterm.js, addons, and headless xterm for remote (REH) builds.
remote/package-lock.json Lockfile refresh for remote package dependency updates.
remote/web/package.json Bumps xterm.js and addons for web-remote packaging.
remote/web/package-lock.json Lockfile refresh for remote web package dependency updates.

Copilot's findings

Files not reviewed (2)
  • remote/package-lock.json: Language not supported
  • remote/web/package-lock.json: Language not supported
  • Files reviewed: 4/7 changed files
  • Comments generated: 0

}
this._clipboardAddon = this._instantiationService.createInstance(ClipboardAddon, undefined, {
async readText(type: ClipboardSelectionType): Promise<string> {
async readText(type: string): Promise<string> {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? Did the type signature change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Api shape changed.

Also what's wrong with #317927 ? Why make a new PR?

Same reason. Thanks for the interest

@niclimcy

Nicholas Lim (niclimcy) commented May 22, 2026 •

Copy link
Copy Markdown

Also what's wrong with #317927 ? Why make a new PR?

@anthonykim1
Anthony Kim (anthonykim1) marked this pull request as ready for review May 26, 2026 04:36
@anthonykim1
Anthony Kim (anthonykim1) enabled auto-merge (squash) May 26, 2026 04:40
auto-merge was automatically disabled May 26, 2026 15:44

Pull request was closed

@anthonykim1
Anthony Kim (anthonykim1) enabled auto-merge (squash) May 26, 2026 15:45
@anthonykim1
Anthony Kim (anthonykim1) merged commit 103a85a into main May 26, 2026
81 checks passed
@anthonykim1
Anthony Kim (anthonykim1) deleted the anthonykim1/updateXtermMay21 branch May 26, 2026 23:51
@Tyriar

Copy link
Copy Markdown
Contributor

Nicholas Lim (@niclimcy) there's a CI check that bans any 3p changes to dependencies to help avoid supply chain attacks:

Screenshot 2026-05-27 at 7 09 36 AM

@tjx666

Copy link
Copy Markdown
Contributor

when will this land in stable version?really need this fix

@Tyriar

Copy link
Copy Markdown
Contributor

YuTengjing (@tjx666) looks like 1.222 was released yesterday, so probably in ~6 days

@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Jul 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update xterm.js to latest

7 participants