Closed renovate[bot] closed 2 years ago
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: xterm-addon-fit@0.5.0
npm ERR! Found: xterm@5.0.0
npm ERR! node_modules/xterm
npm ERR! xterm@"5.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer xterm@"^4.0.0" from xterm-addon-fit@0.5.0
npm ERR! node_modules/xterm-addon-fit
npm ERR! xterm-addon-fit@"0.5.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: xterm@4.19.0
npm ERR! node_modules/xterm
npm ERR! peer xterm@"^4.0.0" from xterm-addon-fit@0.5.0
npm ERR! node_modules/xterm-addon-fit
npm ERR! xterm-addon-fit@"0.5.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /tmp/renovate-cache/others/npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/renovate-cache/others/npm/_logs/2022-09-15T23_48_32_462Z-debug-0.log
This PR contains the following updates:
4.19.0
->5.0.0
Release Notes
xtermjs/xterm.js
### [`v5.0.0`](https://togithub.com/xtermjs/xterm.js/releases/tag/5.0.0) [Compare Source](https://togithub.com/xtermjs/xterm.js/compare/4.19.0...5.0.0) 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 `xterm` module bundle size which went from 379kb to 265kb for a 30% reduction! #### 🚀 Features **Underline style and color support** ([#3921](https://togithub.com/xtermjs/xterm.js/issues/3921), [#3976](https://togithub.com/xtermjs/xterm.js/issues/3976), [#3980](https://togithub.com/xtermjs/xterm.js/issues/3980), [#4053](https://togithub.com/xtermjs/xterm.js/issues/4053), [#4068](https://togithub.com/xtermjs/xterm.js/issues/4068), [#4074](https://togithub.com/xtermjs/xterm.js/issues/4074), [#4077](https://togithub.com/xtermjs/xterm.js/issues/4077), [#4109](https://togithub.com/xtermjs/xterm.js/issues/4109)) via [@Tyriar](https://togithub.com/Tyriar) Underline style and color sequences such as `CSI 4:2m ST` for double underlines are now supported: ![image](https://user-images.githubusercontent.com/2193314/190488671-f25a9613-8ada-455e-b2a2-583bae1dd5e2.png) Some work was also done to improve underline rendering overall, characters with long descenders don't overlap with the underline: ![image](https://user-images.githubusercontent.com/2193314/190488814-d273c868-8323-4b0d-9ade-df6d8c3bfb16.png) **Hyperlink escape sequence support** ([#4005](https://togithub.com/xtermjs/xterm.js/issues/4005), [#4087](https://togithub.com/xtermjs/xterm.js/issues/4087), [#4088](https://togithub.com/xtermjs/xterm.js/issues/4088)) via [@Tyriar](https://togithub.com/Tyriar), [@jerch](https://togithub.com/jerch) Building upon the improved underline rendering, hyperlink escapes [outlined in this gist](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda) are now supported. They will be rendered using a dashed underline (like `CSI 4:5m ST`): ![image](https://user-images.githubusercontent.com/2193314/190489364-8e06128e-e6fd-4364-bbad-25decbeb9c00.png) Along with this is a new `linkHandler` option which allows controling hover, leave and activate events, for example to show a custom tooltip. VS Code's implementation looks like this: ![image](https://user-images.githubusercontent.com/2193314/190490180-00e5aa4a-34b6-435a-a5a2-e8daf1ab6009.png) **Smooth scroll support** ([#3940](https://togithub.com/xtermjs/xterm.js/issues/3940)) via [@Tyriar](https://togithub.com/Tyriar) The new `smoothScrollDuration` allows 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](https://togithub.com/xtermjs/xterm.js/issues/3949), [#3950](https://togithub.com/xtermjs/xterm.js/issues/3950), [#3954](https://togithub.com/xtermjs/xterm.js/issues/3954), [#3959](https://togithub.com/xtermjs/xterm.js/issues/3959), [#3961](https://togithub.com/xtermjs/xterm.js/issues/3961), [#3981](https://togithub.com/xtermjs/xterm.js/issues/3981)) via [@Tyriar](https://togithub.com/Tyriar) The canvas renderer has moved into an addon, significantly reducing the bundle size of the `xterm` module. 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](https://togithub.com/xtermjs/xterm.js/issues/4093), [#4095](https://togithub.com/xtermjs/xterm.js/issues/4095), [#4098](https://togithub.com/xtermjs/xterm.js/issues/4098))via [@jerch](https://togithub.com/jerch) xterm.js handles several new VT sequences: - SGR-pixels mouse reports support ([#4093](https://togithub.com/xtermjs/xterm.js/issues/4093)) via [@jerch](https://togithub.com/jerch) - DECRQM support - ANSI and DEC private mode reporting ([#4095](https://togithub.com/xtermjs/xterm.js/issues/4095)) via [@jerch](https://togithub.com/jerch) - Protection flag support ([#4098](https://togithub.com/xtermjs/xterm.js/issues/4098)) via [@jerch](https://togithub.com/jerch) **Other features** - Powerline semi-circle glyphs are now custom rendered ([#3891](https://togithub.com/xtermjs/xterm.js/issues/3891)) via [@sbatten](https://togithub.com/sbatten) - Inactive selection background ([#3965](https://togithub.com/xtermjs/xterm.js/issues/3965)) via [@Tyriar](https://togithub.com/Tyriar) - `ITheme.selectionInactiveBackground` will now change the selection color when the terminal is not focused - Support setting extended ansi colors 16-255 ([#3905](https://togithub.com/xtermjs/xterm.js/issues/3905), [#3909](https://togithub.com/xtermjs/xterm.js/issues/3909)) via [@silamon](https://togithub.com/silamon), [@Tyriar](https://togithub.com/Tyriar) - The `parser` and `buffer` APIs are now stable ([#3951](https://togithub.com/xtermjs/xterm.js/issues/3951)) via [@Tyriar](https://togithub.com/Tyriar) - Rendering should now work when opening xterm.js in a popout window ([#4069](https://togithub.com/xtermjs/xterm.js/issues/4069)) via [@mihaip](https://togithub.com/mihaip) #### 🐞 Bug fixes - Fix an exception when markers are deleted ([#3888](https://togithub.com/xtermjs/xterm.js/issues/3888), [#3901](https://togithub.com/xtermjs/xterm.js/issues/3901)) via [@Tyriar](https://togithub.com/Tyriar) - Make corner box glyphs uniformly round ([#3895](https://togithub.com/xtermjs/xterm.js/issues/3895)) via [@Tyriar](https://togithub.com/Tyriar) - Fix changing `allowTransparency` from its initial value in the `Terminal` constructor ([#3899](https://togithub.com/xtermjs/xterm.js/issues/3899)) via [@Tyriar](https://togithub.com/Tyriar) - Throw when setting an invalid `cursorStyle` ([#3900](https://togithub.com/xtermjs/xterm.js/issues/3900)) via [@Tyriar](https://togithub.com/Tyriar) - Allow markers in the alt buffer ([#3924](https://togithub.com/xtermjs/xterm.js/issues/3924)) via [@silamon](https://togithub.com/silamon) - Retain hue when minimum contrast ratio flips luminance ([#3929](https://togithub.com/xtermjs/xterm.js/issues/3929)) via [@Tyriar](https://togithub.com/Tyriar) - Remove shift+backspace -> ^H binding ([#3935](https://togithub.com/xtermjs/xterm.js/issues/3935)) via [@Tyriar](https://togithub.com/Tyriar) - Fix disabling the webgl addon in the demo ([#3988](https://togithub.com/xtermjs/xterm.js/issues/3988)) via [@Tyriar](https://togithub.com/Tyriar) - Improve deletion handling on Android ([#4007](https://togithub.com/xtermjs/xterm.js/issues/4007)) via [@ink404](https://togithub.com/ink404) - Fix performance regression introduced with decoration support ([#4080](https://togithub.com/xtermjs/xterm.js/issues/4080)) via [@Tyriar](https://togithub.com/Tyriar) #### 📝 Documentation and internal improvements - Update CI macOS base image ([#3906](https://togithub.com/xtermjs/xterm.js/issues/3906)) via [@silamon](https://togithub.com/silamon) - Fix dev container docker build ([#3907](https://togithub.com/xtermjs/xterm.js/issues/3907)) via [@silamon](https://togithub.com/silamon) - Add theme picker to demo ([#3922](https://togithub.com/xtermjs/xterm.js/issues/3922)) via [@Tyriar](https://togithub.com/Tyriar) - Improve texture atlas presentation in demo ([#3923](https://togithub.com/xtermjs/xterm.js/issues/3923), [#3985](https://togithub.com/xtermjs/xterm.js/issues/3985)) via [@Tyriar](https://togithub.com/Tyriar) - Support overviewRulerWidth in demo ([#3927](https://togithub.com/xtermjs/xterm.js/issues/3927)) via [@Tyriar](https://togithub.com/Tyriar) - Fix test-api running unit tests as well as API tests ([#3934](https://togithub.com/xtermjs/xterm.js/issues/3934)) via [@Tyriar](https://togithub.com/Tyriar) - v5 release preparations ([#3942](https://togithub.com/xtermjs/xterm.js/issues/3942), [#3943](https://togithub.com/xtermjs/xterm.js/issues/3943), [#3953](https://togithub.com/xtermjs/xterm.js/issues/3953), [#3956](https://togithub.com/xtermjs/xterm.js/issues/3956), [#3957](https://togithub.com/xtermjs/xterm.js/issues/3957), [#3999](https://togithub.com/xtermjs/xterm.js/issues/3999)) via [@Tyriar](https://togithub.com/Tyriar) - Clarify in docs you shouldn't use the object after `Terminal.dispose` is called ([#3958](https://togithub.com/xtermjs/xterm.js/issues/3958)) via [@Tyriar](https://togithub.com/Tyriar) - Fix mocha test explorer support ([#3966](https://togithub.com/xtermjs/xterm.js/issues/3966)) via [@silamon](https://togithub.com/silamon) - Add note to the `windowsMode` option for the version of Windows 11 that it's recommended to be disabled on ([#3967](https://togithub.com/xtermjs/xterm.js/issues/3967)) via [@Tyriar](https://togithub.com/Tyriar) - Fix demo when loading webgl addon throws ([#3983](https://togithub.com/xtermjs/xterm.js/issues/3983)) via [@silamon](https://togithub.com/silamon) - Add ANSI colors test button to demo ([#3991](https://togithub.com/xtermjs/xterm.js/issues/3991)) via [@deepanshu44](https://togithub.com/deepanshu44) - The TypeScript output target is now es2015 (was es5) ([#3992](https://togithub.com/xtermjs/xterm.js/issues/3992)) via [@SvanT](https://togithub.com/SvanT), this resulted in a 17% reduction in bundle size - Fix some typos ([#4055](https://togithub.com/xtermjs/xterm.js/issues/4055)) via [@GreenMashimaro](https://togithub.com/GreenMashimaro) - Fix lgtm.io recommendations ([#4089](https://togithub.com/xtermjs/xterm.js/issues/4089)) via [@Tyriar](https://togithub.com/Tyriar) - Add CodeQL analysis to CI ([#4090](https://togithub.com/xtermjs/xterm.js/issues/4090)) via [@Tyriar](https://togithub.com/Tyriar) #### 🛑 Breaking changes - `bellSound` and `bellStyle` options as well as the previously builtin sound have been removed ([#3941](https://togithub.com/xtermjs/xterm.js/issues/3941)) via [@Tyriar](https://togithub.com/Tyriar). This reduces the bundle size while still allowing the embedder to support the terminal bell via the `Terminal.onBell` API ```ts // before 5.0.0 term = new Terminal({ bellStyle: 'sound' }); // after 5.0.0 term = new Terminal(); term.onBell(() => { // Play a sound }); ``` - The link matcher API `registerLinkMatcher` and `deregisterLinkMatcher` have been removed in favor of the link provider API ([#3944](https://togithub.com/xtermjs/xterm.js/issues/3944)) via [@Tyriar](https://togithub.com/Tyriar). - The `allowProposedApi` option now defaults to `false`, set this to `true` to opt-in to proposed API usage if you understand the implications ([#3945](https://togithub.com/xtermjs/xterm.js/issues/3945)) via [@Tyriar](https://togithub.com/Tyriar) ```ts // before 5.0.0 term = new Terminal({}); term.someProposedApi(); // after 5.0.0 term = new Terminal({ allowProposedApi: true }); term.someProposedApi(); ``` - The deprecated `addMarker` API has been removed in favor of `registerMarker` ([#3946](https://togithub.com/xtermjs/xterm.js/issues/3946)) via [@Tyriar](https://togithub.com/Tyriar). They are functionally equivalent. - The deprecated `getOption` and `setOption` APIs have been removed in favor of `options` ([#3947](https://togithub.com/xtermjs/xterm.js/issues/3947)) via [@Tyriar](https://togithub.com/Tyriar) ```ts // before 5.0.0 term.setOption('scrollback', 1000); console.log(term.getOption('scrollback')); // after 5.0.0 term.options.scrollback = 1000; console.log(term.options.scrollback); ``` - The deprecated `writeUtf8` API has been removed in favor of `write` ([#3947](https://togithub.com/xtermjs/xterm.js/issues/3947)) via [@Tyriar](https://togithub.com/Tyriar). ```ts const arr = new Uint8Array(10); // before 5.0.0 term.writeUtf8(arr); // after 5.0.0 term.write(arr); ``` - `ISelectionPosition` have been removed from the API in favor of `IBufferRange` ([#3952](https://togithub.com/xtermjs/xterm.js/issues/3952)) via [@Tyriar](https://togithub.com/Tyriar) - `cols` and `rows` options can now only be set in the constructor ([#3960](https://togithub.com/xtermjs/xterm.js/issues/3960), [#3972](https://togithub.com/xtermjs/xterm.js/issues/3972), [#4078](https://togithub.com/xtermjs/xterm.js/issues/4078)) via [@Tyriar](https://togithub.com/Tyriar), [@silamon](https://togithub.com/silamon) ```ts // before 5.0.0 term.setOption('cols', 10); // after 5.0.0 term.resize(10, term.rows); ``` - `ITheme.selection` has been renamed to `selectionBackground` for consistency ([#3964](https://togithub.com/xtermjs/xterm.js/issues/3964)) via [@Tyriar](https://togithub.com/Tyriar) ```ts // before 5.0.0 term.options.theme = { selection: '#000000' }; // after 5.0.0 term.options.theme = { selectionBackground: '#000000' }; ``` - The `Terminal.options` getter now returns a `RequiredConfiguration
📅 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 has been generated by Mend Renovate. View repository job log here.