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 xterm #464

Merged
merged 1 commit into from
Jun 30, 2022
Merged

fix(deps): update xterm #464

merged 1 commit into from
Jun 30, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 29, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
xterm 4.18.0 -> 4.19.0 age adoption passing confidence
xterm-addon-web-links 0.5.1 -> 0.6.0 age adoption passing confidence
xterm-addon-webgl 0.11.4 -> 0.12.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


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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

@UziTech UziTech merged commit ad26c76 into master Jun 30, 2022
@UziTech UziTech deleted the renovate/xterm branch June 30, 2022 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant