Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency xterm to v4 - autoclosed #113

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 17, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
xterm 3.9.2 -> 4.12.0 age adoption passing confidence

Release Notes

xtermjs/xterm.js

v4.12.0

Compare Source

🚀 Features

📦 API
  • Support async parser handlers (#​3222, #​3256, #​3257, #​3267) via @​jerch. This enables for example custom parser handlers to defer heavy work to a worker thread. Note that this will block the terminal and you should generally stay away from this API unless it's a lot of work that would block the UI thread.
    // Handle \x1b[<params>+Z using an asynchronous handler
    terminal.parser.registerCsiHandler({intermediates:'+', final: 'Z'}, async params => {
      await new Promise(res => setTimeout(res, 50));
      return false;
    });
  • Add onBell event API so embedders can handle the bell however they want (#​3290, #​3295) via @​bmf-ribeiro
    terminal.onBell(() => customBellImpl());

🐞 Bug fixes

📝 Documentation and internal improvements

🎉 New real-world use cases


📥 Addons

xterm-addon-ligatures
xterm-addon-webgl

🤝 Compatible addon versions

  • xterm-addon-attach@0.6.0
  • xterm-addon-fit@0.5.0
  • xterm-addon-ligatures@0.5.0
  • xterm-addon-search@0.8.0
  • xterm-addon-serialize@0.5.0
  • xterm-addon-unicode11@&#8203;0.2.0
  • xterm-addon-web-links@0.4.0
  • xterm-addon-webgl@0.11.1

🌐 Website

v4.11.0

Compare Source

🚀 Features

📦 API

🐞 Bug fixes

📝 Documentation and internal improvements

🎉 New real-world use cases

📥 Addons

xterm-addon-serialize
xterm-addon-webgl

🤝 Compatible addon versions

  • xterm-addon-attach@0.6.0
  • xterm-addon-fit@0.5.0
  • xterm-addon-ligatures@0.4.0
  • xterm-addon-search@0.8.0
  • xterm-addon-serialize@0.5.0
  • xterm-addon-unicode11@&#8203;0.2.0
  • xterm-addon-web-links@0.4.0
  • xterm-addon-webgl@0.10.0

v4.10.0

Compare Source

🚀 Features

📦 API
  • New setting to disable the alt click to move cursor feature (#​3181) via @​awmottaz
    new Terminal({
      altClickMovesCursor: false
    });

🐞 Bug fixes

📝 Documentation and internal improvements

🎉 New real-world use cases


📥 Addons

xterm-addon-fit
xterm-addon-ligatures
xterm-addon-search
xterm-addon-serialize

🤝 Compatible addon versions

  • xterm-addon-attach@0.6.0
  • xterm-addon-fit@0.5.0
  • xterm-addon-ligatures@0.4.0
  • xterm-addon-search@0.8.0
  • xterm-addon-serialize@0.4.0
  • xterm-addon-unicode11@&#8203;0.2.0
  • xterm-addon-web-links@0.4.0
  • xterm-addon-webgl@0.9.0

v4.9.0

Compare Source

📦 API
  • Add number support to fontWeight and fontWeightBold options (#​3062) via @​IllusionMH, this now matches the types that the CSS style supports.
  • Support optional dispose function on ILink (#​3073) via @​Tyriar, this allows consumers to be notified when links are no longer needed which was difficult to observe before.

🐞 Bug fixes

📝 Documentation and internal improvements

🛑 Breaking changes

  • getOption('fontWeight') and getOption('fontWeightBold') now returns string | number instead of string:
    // before 4.9.0
    const weight: string = term.getOption('fontWeight');
    
    // after 4.9.0
    const weight: string | number = term.getOption('fontWeight');
    This change accepted as the impact on consumers should be minimal due to the low usage of the API.

🎉 New real-world use cases


📥 Addons

xterm-addon-serialize
xterm-addon-webgl
  • Expose WebglAddon.clearTextureAtlas API (#​3075) via @​Tyriar, this is useful to completely clear the atlas when corruption may have happened (eg. when canvas textures are lost after system sleep/resume).
  • Fix rendering of multi-line selection when only top row is visible (#​3081) via @​Tyriar

🤝 Compatible addon versions

  • xterm-addon-attach@0.6.0
  • xterm-addon-fit@0.4.0
  • xterm-addon-ligatures@0.3.0 (this addon may have issues)
  • xterm-addon-search@0.7.0
  • xterm-addon-serialize@0.4.0
  • xterm-addon-unicode11@&#8203;0.2.0
  • xterm-addon-web-links@0.4.0
  • xterm-addon-webgl@0.9.0

v4.8.1

Compare Source

🐞 Bug fixes

v4.8.0

Compare Source

🐞 Bug fixes

📝 Documentation and internal improvements


🤝 Compatible addon versions

  • xterm-addon-attach@0.6.0
  • xterm-addon-fit@0.4.0
  • xterm-addon-ligatures@0.3.0 (this addon may have issues)
  • xterm-addon-search@0.7.0
  • xterm-addon-serialize@0.3.0
  • xterm-addon-unicode11@&#8203;0.2.0
  • xterm-addon-web-links@0.4.0
  • xterm-addon-webgl@0.8.0

v4.7.0

Compare Source

🐞 Bug fixes

📝 Documentation and internal improvements

🎉 New real-world use cases


🤝 Compatible addon versions

  • xterm-addon-attach@0.6.0
  • xterm-addon-fit@0.4.0
  • xterm-addon-ligatures@0.3.0 (this addon may have issues)
  • xterm-addon-search@0.7.0
  • xterm-addon-serialize@0.3.0
  • xterm-addon-unicode11@&#8203;0.2.0
  • xterm-addon-web-links@0.4.0
  • xterm-addon-webgl@0.8.0

🌐 Website

v4.6.0

Compare Source

🚀 Features

📦 API
  • Add linkTooltipHoverDuration setting, this is a workaround for the old deprecated link matcher system (#​2835) via @​Tyriar
  • There is a new enableProposedApi setting that currently defaults to true, in v5 this will switch to false to require the embedder to opt-in to using the experimental APIs that may break across versions (#​2921) via @​Tyriar

🐞 Bug fixes

📝 Documentation and internal improvements

🎉 New real-world use cases


📥 Addons

xterm-addon-search
xterm-addon-web-links
xterm-addon-webgl

🤝 Compatible addon versions

  • xterm-addon-attach@0.6.0
  • xterm-addon-fit@0.4.0
  • xterm-addon-ligatures@0.3.0 (this addon may have issues)
  • xterm-addon-search@0.7.0
  • xterm-addon-serialize@0.3.0
  • xterm-addon-unicode11@&#8203;0.2.0
  • xterm-addon-web-links@0.4.0
  • xterm-addon-webgl@0.7.0

v4.5.0

Compare Source

🚀 Features

📦 API
  • New experimental link provider API (#​2530, #​2710) via @​jmbockhorst. This flips around how links in the terminal work by asking an addon what links are available at a particular cell when its hovered, instead of pre-parsing the entire viewport using the current link matcher API. The plan is for this to eventually replace the registerLinkMatcher API. You can test this new API by setting the _useLinkProvider parameter on the web links addon.
  • The alternate buffer can now be accessed via the experimental buffer API (#​2713) via @​JavaCS3. This breaks the previous API so if you're an early adopter be sure to update accordingly.

🐞 Bug fixes

📝 Documentation and internal improvements

🛑 Breaking changes

  • The buffer API has changed significantly:
    // before 4.5.0
    const activeBuffer = term.buffer
    
    // after 4.5.0
    const activeBuffer = term.buffer.active

🎉 New real-world use cases


🤝 Compatible addon versions

  • xterm-addon-attach@0.5.0
  • xterm-addon-fit@0.3.0
  • xterm-addon-search@0.6.0
  • xterm-addon-serialize@0.2.0
  • xterm-addon-ligatures@0.2.1
  • xterm-addon-unicode11@&#8203;0.1.1
  • xterm-addon-web-links@0.3.0
  • xterm-addon-webgl@0.6.0

🌐 Website

v4.4.0

Compare Source

🚀 Features

  • A new addon is available that serializes the buffer as a string, allowing restoring the majority of the state to a new terminal by calling Terminal.write(serializedState). See the xterm-addon-serialize section below for more info.
  • A new addon to enable unicode 11 support, which can fix many emoji-width related bugs on modern operating systems. See the xterm-addon-unicode11 section below for more info.
  • Support alt-clicking in multi-line prompts in the normal buffer (#​2670) via @​kumaran-14
📦 API
  • Support for some window manipulation/reporting sequences (#​2393) via @​jerch. These must be enabled explicitly via the new windowOptions option as they have security implications.
  • Allow the thickness of the bar cursor to be configured (#​2590) via @​npezza93
    new Terminal({
      cursorStyle: 'bar',
      cursorBarWidth: 3
    });
  • The parser API is now stable (#​2689) via @​Tyriar

🐞 Bug fixes

  • Speed up double disposing an object (#​2616) via @​sdegutis
  • Implement hidden attribute rendering in DOM renderer (#​2625) via @​Tyriar
  • Fix canvas selection supporting #rrggbbaa color format (#​2629) via @​ivanwonder
  • Improve handling of full width characters in buffer writes (#​2644) via @​jerch
  • Flag lines as being wrapped after a CUP occurs at the end of a line in windowsMode (#​2667) via @​Tyriar
  • Properly separate DOM renderer cursor animations for each terminal to avoid conflicts when multiple terminals are visible with different themes (#​2676) via @​jeffbaier
  • Fix various characters in the DEC graphics charset (#​2679) via @​jerch
  • Remove ; and : from the default wordSeparator option so more URLs are selected fully with double click (#​2680) via @​Tyriar
  • Fix DOM renderer not rendering cursor correctly immediately after changing cursorBlink or cursorStyle (#​2684) via @​Tyriar
  • Handle links safely by removing opener from window (#​2688) via @​Tyriar

📝 Documentation and internal improvements

🛑 Breaking changes

  • APIs starting with add in the experimental parser API have been removed in favor of register as it enters stable status (#​2651) via @​Tyriar

⚠️ Deprecations

  • addMarker is now deprecated, move over to registerMarker which is functionally equivalent (#​2651) via @​Tyriar

🎉 New real-world use cases


📥 Addons

xterm-addon-attach
  • Restore IE compatibility by changing the compile target to ES5 (#​2654) via @​Tyriar
xterm-addon-serialize

This new addon has allows serializing terminal state (text, color and style currently) and writing it to new Terminal objects to restore it (#​2369, #​2618, #​2687) via @​JavaCS3

const t = new Terminal();
const serializeAddon = new SerializeAddon();
t.loadAddon(serializeAddon);
await new Promise(r => t.write('foo \x1b[31mbar', r));
const state = serializeAddon.serialize();
console.log(state); // 'foo \x1b[31mbar'
xterm-addon-unicode11

This new addon can be enabled to resolve unicode character widths based on version 11 of unicode (#​2568) via @​jerch.

const t = new Terminal();
// 🤣 is now single width (unicode 6)
const unicode11Addon = new Unicode11Addon();
t.loadAddon(unicode11Addon);
t.unicode.activeVersion = '11';
// 🤣 is now treated as double width
xterm-addon-webgl

🤝 Compatible addon versions

v4.3.0

Compare Source

The WebGL renderer addon got quite a bit of work done on it this release and is quickly approaching parity with the other renderers. It has also been integrated into VS Code as an experimental option.

From our benchmarks the WebGL renderer renders frames up to 900% faster than the canvas renderer and even more in extreme cases where there are hardware issues with the canvas renderer.

image

Here's a comparison of example frames rendered using the canvas and webgl renderers (Windows 10, Intel Xeon E5-1620 @​ 3.5GHz, AMD FirePro W2100):

webgl1

Faster rendering also means more frames overall and faster commands. The below is a run of ls -lR on the same machine inside the VS Code codebase:

webgl2

Read more about why it's so good in microsoft/vscode#84440 🔥

🚀 Features

  • The new option minimumContrastRatio has been added that dynamically changes the foreground color to improve contrast (#​2563, #​2602) via @​Tyriar

    mcr

📦 API
  • The new onBinary event enabled support for some mouse report events that cannot be expressed in JS strings (UTF8) (#​2566) via @​jerch

🐞 Bug fixes

📝 Documentation and internal improvements

🎉 New real-world use cases


📥 Addons

xterm-addon-search
xterm-addon-webgl

🤝 Compatible addon versions

  • xterm-addon-attach@0.4.0
  • xterm-addon-fit@0.3.0
  • xterm-addon-search@0.4.0
  • xterm-addon-ligatures@0.2.1
  • xterm-addon-web-links@0.2.1
  • xterm-addon-webgl@0.4.1

🌐 Website

v4.2.0

Compare Source

🚀 Features

  • Support several new sequences (#​2360) via @​jerch
    • SL - Scroll left
    • SR - Scroll right
    • DECIC - Insert columns
    • DECDC - Delete columns
📦 API
  • New base scroll sensitivity setting (#​2485) via @​eamodio
    // Scroll 2 times faster than normal
    const term = new Terminal({
      scrollSensitivity: 2
    });
  • Support fast scrolling while holding a modifier key (alt by default) (#​2375) via @​csurquin
    // Scroll 10 times faster than normal when holding alt
    const term = new Terminal({
      fastScrollSensitivity: 10,
      fastScrollModifier: 'alt'
    });
  • Surface the range of a link in its hover callback (#​2470, #​2492) via @​jmbockhorst
    interface ILinkMatcherOptions {
      tooltipCallback?: (event: MouseEvent, uri: string, location: IViewportRange) => boolean | void;
    }

🐞 Bug fixes

📝 Documentation and internal improvements

🛑 Breaking changes

  • Seldom used URXVT and UTF8 mouse encodings have been removed ([#

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot changed the title fix(deps): update dependency xterm to v4 fix(deps): update dependency xterm to v4 - autoclosed Mar 7, 2022
@renovate renovate bot closed this Mar 7, 2022
@renovate renovate bot deleted the renovate/xterm-4.x branch March 7, 2022 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant