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

chore(deps): update dependency xterm to v4.19.0 #114

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 10, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
xterm 4.9.0 -> 4.19.0 age adoption passing confidence

Release Notes

xtermjs/xterm.js

v4.19.0

Compare Source

🚀 Features

  • The minimum contrast ratio feature will now change luminance in the opposite direction if the contrast ratio isn't met (#​3806, #​3808) via @​Tyriar. For example a red foreground on a slightly darker red background will try lighten the color and if the minimumContrastRatio option isn't met when #FFFFFF is reached it will try moving it towards #000000. This can cause somewhat unexpected results by changing explicitly styled whites to blacks for example but it's really good for accessibility.
  • The library now supports parsing #rgb, #rgba, rgb(r, g, b) and rgba(r, g, b, a) color formats (#​3815, #​3819, #​3823) via @​ChaseKnowlden, @​Tyriar
  • Opaque selectionBackground is now supported in the DOM renderer (#​3839) via @​Tyriar
  • The symbol powerline font glyphs now use custom rendering when ITerminalOptions.customGlyphs is enabled (#​3856, #​3862, #​3866) via @​Tyriar
    image
    This has multiple benefits:
    • A patched powerlines font doesn't need to be installed to render the most common characters
    • Ugly lines due to anti-aliasing that can appear no longer do
    • The glyphs always use greyscale anti-aliasing (not sub-pixel)
    • ITerminalOptions.lineHeight is taken into account when rendering the glyph
📦 API
  • The overview ruler is a companion feature to the decorations introduced in 4.18.0 which shows little indicators on the scroll bar (#​3676, #​3687, #​3688, #​3689, #​3693, #​3694, #​3695, #​3697, #​3702, #​3711, #​3723, #​3730, #​3733, #​3738, #​3788, #​3791, #​3792, #​3841) via @​meganrogge, @​Tyriar. To use it, add the overviewRulerOptions property to a decoration's IDecorationOptions and it will automatically show up in the overview ruler.
    const marker = term.addMarker(1);
    const decoration = term.registerDecoration({
      marker,
      x: 5,
      overviewRulerOptions: {
        color: '#FF0000',
        position: 'left'
      }
    });
    decoration.onRender(() => {
      decoration.element.style.backgroundColor = 'red';
    });
    The width of the resulting overview ruler is controlled by ITerminalOptions.overviewRulerWidth.
  • Decorations can now change a cell's background and foreground colors (#​3775, #​3782) via @​Tyriar. When this is set, the minimum contrast ratio feature will also be in effect.
    const decoration = term.registerDecoration({
      marker,
      backgroundColor: '#ff0000',
      foregroundColor: '#ffffff'
    });
  • Decorations can now specify the layer property to allow rendering above the selection (#​3785, #​3800) via @​Tyriar
    const decoration = term.registerDecoration({
      marker,
      layer: 'top'
    });
  • There's a new selectionForeground theme color, when set this will use a static color for selections (#​3813) via @​Tyriar
    const term = new Terminal({
      theme: {
        selectionBackground: '#​000000',
        selectionForeground: '#FFFFFF'
      }
    });

🐞 Bug fixes

📝 Documentation and internal improvements

🎉 New real-world use cases


📥 Addons

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

🤝 Compatible addon versions

  • xterm-addon-attach@0.6.0
  • xterm-addon-fit@0.5.0
  • xterm-addon-ligatures@0.5.3
  • xterm-addon-search@0.9.0
  • xterm-addon-serialize@0.7.0
  • xterm-addon-unicode11@​0.3.0
  • xterm-addon-web-links@0.6.0
  • xterm-addon-webgl@0.12.0

🌐 Website

v4.18.0

Compare Source

📦 API

  • Support buffer decorations (#​1852) via @​meganrogge

    const marker = term.addMarker(1);
    const decoration = term.registerDecoration({ marker, x: 5 });
    decoration.onRender(() => {
      decoration.element.style.backgroundColor = 'red';
    });

    Screen Shot 2022-02-28 at 11 08 39 AM

  • Make registerMarker's cursor offset optional (#​3663) via @​childrentime

    // Before
    const markerAtCursor = term.registerMarker(0);
    
    // After
    const markerAtCursor = term.registerMarker();

🐞 Bug fixes

📝 Documentation and internal improvements

🎉 New real-world use cases


🤝 Compatible addon versions

  • xterm-addon-attach@0.6.0
  • xterm-addon-fit@0.5.0
  • xterm-addon-ligatures@0.5.3
  • xterm-addon-search@0.8.2
  • xterm-addon-serialize@0.6.2
  • xterm-addon-unicode11@​0.3.0
  • xterm-addon-web-links@0.5.1
  • xterm-addon-webgl@0.11.4

v4.17.0

Compare Source

🚀 Features

📦 API

🐞 Bug fixes

📝 Documentation and internal improvements

🎉 New real-world use cases


📥 Addons

xterm-addon-ligatures
xterm-addon-web-links

🤝 Compatible addon versions

  • xterm-addon-attach@0.6.0
  • xterm-addon-fit@0.5.0
  • xterm-addon-ligatures@0.5.2
  • xterm-addon-search@0.8.2
  • xterm-addon-serialize@0.6.1
  • xterm-addon-unicode11@​0.3.0
  • xterm-addon-web-links@0.5.1
  • xterm-addon-webgl@0.11.4

🌐 Website

v4.16.0

Compare Source

Make sure you update your xterm.css file if you have your own copy as there were some changes made there (xtermjs/xterm.js#3579).

🚀 Features

  • Add support for OSC 4/10/11/2 which enables programs to set and report colors within the terminal (#​3524) via @​jerch
📦 API
  • Set multiple options through the Terminal.options API (#​3546, #​3586) via @​silamon
    // before
    term.setOption('rendererType', 'dom');
    term.setOption('fontSize', 12);
    
    // after
    term.options = {
      rendererType: 'dom',
      fontSize: 12
    };
  • The link provider API is no longer marked as experimental (#​3587) 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.5.0
  • xterm-addon-ligatures@0.5.1
  • xterm-addon-search@0.8.2
  • xterm-addon-serialize@0.6.1
  • xterm-addon-unicode11@​...
  • xterm-addon-web-links@0.5.0
  • xterm-addon-webgl@0.11.4

🌐 Website

v4.15.0

Compare Source

🚀 Features

📦 API

🐞 Bug fixes

📝 Documentation and internal improvements

⚠️ Deprecations

Use term.options over term.setOption/getOption:

// before
term.setOption('rendererType', 'dom');

// after
term.options.rendererType = 'dom';

🎉 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.5.1
  • xterm-addon-search@0.8.1
  • xterm-addon-serialize@0.6.1
  • xterm-addon-unicode11@​0.3.0
  • xterm-addon-web-links@0.4.0
  • xterm-addon-webgl@0.11.3

🌐 Website

Pull from https://github.com/xtermjs/xtermjs.org/pulls?q=is%3Apr+sort%3Aupdated-desc+is%3Aclosed

v4.14.1

Compare Source

🐞 Bug fixes

v4.14.0

Compare Source

🚀 Features

📦 API
  • The new readonly modes API exposes the terminal's internal modes (#​3418) via @​Tyriar. These are used for example in the xterm-addon-serialize to enable mode serialization.
    if (terminal.modes.applicationCursorKeysMode) {
      // DECCKM is enabled (CSI ? 1 h)
    }

🐞 Bug fixes

📝 Documentation and internal improvements

🎉 New real-world use cases


📥 Addons

xterm-addon-ligatures
xterm-addon-search
xterm-addon-serialize
xterm-addon-unicode11
xterm-addon-webgl

🤝 Compatible addon versions

  • xterm-addon-attach@0.6.0
  • xterm-addon-fit@0.5.0
  • xterm-addon-ligatures@0.5.1
  • xterm-addon-search@0.8.1
  • xterm-addon-serialize@0.6.0
  • xterm-addon-unicode11@​0.3.0
  • xterm-addon-web-links@0.4.0
  • xterm-addon-webgl@0.11.2

🌐 Website

v4.13.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.5.0
  • xterm-addon-ligatures@0.5.1
  • xterm-addon-search@0.8.0
  • xterm-addon-serialize@0.5.0
  • xterm-addon-unicode11@​0.2.0
  • xterm-addon-web-links@0.4.0
  • xterm-addon-webgl@0.11.1

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

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.


  • If you want to rebase/retry this PR, click this checkbox.

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

@nikukyugamer nikukyugamer merged commit bfee324 into main Oct 10, 2022
@nikukyugamer nikukyugamer deleted the renovate/xterm-monorepo branch October 10, 2022 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant