This repository was archived by the owner on Dec 19, 2024. It is now read-only.
chore(deps): update dependency xterm to v5 #65
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.18.0->5.3.0Release Notes
xtermjs/xterm.js (xterm)
v5.3.0Compare Source
🚀 Features
scrollLines,scrollPages,scrollToLine,scrollToTopandscrollToBottom(#4482, #4714) via @tisilent, @TyriarminimumContrastRationow applies 50% of the contrast ratio to dimmed text (#4672) via @Tyrira📦 API
tracelog level (#4687, 4709) via @Tyriarloggerdelegate option (#4563, #4564) via @Tyriar. This new API allows the embedder to define the logging behavior, instead of always using toconsoleignoreBracketedPasteModeoption that allows explicitly disabling bracketed paste mode, regardless of whether the shell enables it or not (#4636) via @TyriarcursorInactiveStyleoption (#4657) via @tisilent🐞 Bug fixes
📝 Documentation and internal improvements
CSSStyleSheetweb API (#4611, ##4619, #4678, #4680) via @SimonSiefke, @Tyriar@ts-checkin JS files (#4723, #4724) via @Tyriar@typescript-eslint/no-useless-constructor(#4725) via @Tyriar@typescript-eslint/no-confusing-void-expression(#4726) via @Tyriar@playwright/testas the integration test runner (#4735) via @Tyriar🎉 New real-world use cases
📥 Addons
xterm-addon-canvas
xterm-addon-image
xterm-addon-ligatures
xterm-addon-serialize
xterm-addon-webgl
🤝 Compatible addon versions
xterm-addon-attach0.9.0xterm-addon-canvas0.5.0xterm-addon-fit0.8.0xterm-addon-image0.5.0xterm-addon-ligatures0.7.0xterm-addon-search0.13.0xterm-addon-serialize0.11.0xterm-addon-unicode110.6.0xterm-addon-web-links0.9.0xterm-addon-webgl0.16.0🌐 Website
Pull from https://github.com/xtermjs/xtermjs.org/pulls?q=is%3Apr+sort%3Aupdated-desc+is%3Aclosed
v5.2.1Compare Source
🐞 Bug fixes
v5.2.0Compare Source
🚀 Features
📦 API
Improved Windows workarounds with the new windowsPty option (#4539) via @Tyriar
🐞 Bug fixes
📝 Documentation and internal improvements
4542
windowsModehas been deprecated in favor ofwindowsPty🎉 New real-world use cases
📥 Addons
xterm-addon-canvas
xterm-addon-search
xterm-addon-webgl
🤝 Compatible addon versions
xterm-addon-attach@...xterm-addon-fit@...xterm-addon-ligatures@...xterm-addon-search@...xterm-addon-serialize@...xterm-addon-unicode11@​...xterm-addon-web-links@...xterm-addon-webgl@...v5.1.0Compare Source
🚀 Features
Multiple texture atlas page support (#4244, #4252, #4274) via @Tyriar
Instead of there being a hard cap of 1024x1024 on the size of the texture atlas backing the canvas and webgl renderers, multiple textures are now supported. Each individual texture is now 512x512 which allows faster uploading to the GPU and will continually merge until the maximum of 4096x4096 is reached.
The benefits in simple terms of this change are:
Here is an example of a 512x512 texture atlas page right after the terminal has loaded and printed a powerline-based prompt:
And here is the 1024x1024 page after a lot of glyphs have rendered:
Slash and triangle custom glyphs (#4313) via @Tyriar
Eight new powerline extra custom glyphs are supported:
New option scrollOnUserInput (#4289) via @JasonXJ
You can now specify whether to scroll to the bottom of the terminal on user input, previously this was the default and only behavior. This new setting is enabled by default.
🐞 Bug fixes
Terminal.openis called (#4151) via @TyriarCSI 0 mvia @JasonXJ🏎️ Performance
📝 Documentation and internal improvements
allowProposedApi(#4125) via @BattlefieldDuck🛑 Breaking changes
allowNonHttpProtocolsproperty onILinkHandlerwhich forces the embedder to opt-in to non-http(s) protocols. This is a breaking change in a minor release as it could improve security of embedders.🎉 New real-world use cases
📥 Addons
xterm-addon-attach
xterm-addon-canvas
xterm-addon-serialize
xterm-addon-webgl
xterm-addon-web-links
🤝 Compatible addon versions
[email protected][email protected][email protected][email protected][email protected]xterm-addon-unicode11@​0.5.0[email protected][email protected]v5.0.0Compare Source
v5 is here! This is our largest release in a long time, maybe ever 👀
Since this was a major version bump, we used the opportunity to clean up the API and make other breaking changes. Many of these changes enabled a significant reduction in the
xtermmodule bundle size which went from 379kb to 265kb for a 30% reduction!🚀 Features
Underline style and color support (#3921, #3976, #3980, #4053, #4068, #4074, #4077, #4109) via @Tyriar
Underline style and color sequences such as
CSI 4:2m STfor double underlines are now supported:Some work was also done to improve underline rendering overall, characters with long descenders don't overlap with the underline:
Hyperlink escape sequence support (#4005, #4087, #4088) via @Tyriar, @jerch
Building upon the improved underline rendering, hyperlink escapes outlined in this gist are now supported. They will be rendered using a dashed underline (like
CSI 4:5m ST):Along with this is a new
linkHandleroption which allows controling hover, leave and activate events, for example to show a custom tooltip. VS Code's implementation looks like this:Smooth scroll support (#3940) via @Tyriar
The new
smoothScrollDurationallows setting a duration in milliseconds to animate scroll between the origin and target positions. This is most useful when using a physical mouse (not a trackpad) to help not disorient the user when scrolling with the mouse wheel.Canvas renderer addon (#3949, #3950, #3954, #3959, #3961, #3981) via @Tyriar
The canvas renderer has moved into an addon, significantly reducing the bundle size of the
xtermmodule. This used to be the default renderer and is now recommended only as a fallback to the webgl addon if that does not work for some reason (eg. no webgl2 support).New VT feature support (#4093, #4095, #4098)via @jerch
xterm.js handles several new VT sequences:
Other features
ITheme.selectionInactiveBackgroundwill now change the selection color when the terminal is not focusedparserandbufferAPIs are now stable (#3951) via @Tyriar🐞 Bug fixes
allowTransparencyfrom its initial value in theTerminalconstructor (#3899) via @TyriarcursorStyle(#3900) via @Tyriar📝 Documentation and internal improvements
Terminal.disposeis called (#3958) via @TyriarwindowsModeoption for the version of Windows 11 that it's recommended to be disabled on (#3967) via @Tyriar🛑 Breaking changes
bellSoundandbellStyleoptions as well as the previously builtin sound have been removed (#3941) via @Tyriar. This reduces the bundle size while still allowing the embedder to support the terminal bell via theTerminal.onBellAPIThe link matcher API
registerLinkMatcherandderegisterLinkMatcherhave been removed in favor of the link provider API (#3944) via @Tyriar.The
allowProposedApioption now defaults tofalse, set this totrueto opt-in to proposed API usage if you understand the implications (#3945) via @TyriarThe deprecated
addMarkerAPI has been removed in favor ofregisterMarker(#3946) via @Tyriar. They are functionally equivalent.The deprecated
getOptionandsetOptionAPIs have been removed in favor ofoptions(#3947) via @TyriarThe deprecated
writeUtf8API has been removed in favor ofwrite(#3947) via @Tyriar.ISelectionPositionhave been removed from the API in favor ofIBufferRange(#3952) via @Tyriarcolsandrowsoptions can now only be set in the constructor (#3960, #3972, #4078) via @Tyriar, @silamonITheme.selectionhas been renamed toselectionBackgroundfor consistency (#3964) via @TyriarThe
Terminal.optionsgetter now returns aRequired<ITerminalOptions>instead of justITerminalOptionsfor better correctness. Along with this changefastScrollModifiernow accepts'none'instead ofundefined🎉 New real-world use cases
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.