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 #517

Merged
merged 1 commit into from
Dec 20, 2022
Merged

fix(deps): update xterm #517

merged 1 commit into from
Dec 20, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 19, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
xterm 5.0.0 -> 5.1.0 age adoption passing confidence
xterm-addon-web-links 0.7.0 -> 0.8.0 age adoption passing confidence
xterm-addon-webgl 0.13.0 -> 0.14.0 age adoption passing confidence

Release Notes

xtermjs/xterm.js

v5.1.0

Compare 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:

  • Less time from drawing a glyph to rendering it
  • Less CPU is used when lots of glyphs are used
  • Essentially unlimited space for glyphs, which is good for certain use cases but will also let us explore things like "perfect" dotted and curvy underlines in the future

Here is an example of a 512x512 texture atlas page right after the terminal has loaded and printed a powerline-based prompt:

image

And here is the 1024x1024 page after a lot of glyphs have rendered:

image

Slash and triangle custom glyphs (#​4313) via @​Tyriar

Eight new powerline extra custom glyphs are supported:

image

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.

const term = new Terminal({ scrollOnUserInput: false });

🐞 Bug fixes

🏎️ Performance

📝 Documentation and internal improvements

🛑 Breaking changes

  • There is a new allowNonHttpProtocols property on ILinkHandler which 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.
    // before 5.1.0
    const term = new Terminal({
      linkHandler: {
        ...
      }
    };
    
    // after 5.1.0
    const term = new Terminal({
      linkHandler: {
        // If you explicitly support and sanitize the links
        allowNonHttpProtocols: true,
        ...
      }
    };

🎉 New real-world use cases


📥 Addons

xterm-addon-attach
xterm-addon-canvas
xterm-addon-serialize
xterm-addon-webgl
xterm-addon-web-links
  • Major rework of the addon (#​4288) via @​jerch. This adds support for more URLs, fixes underlines sometimes being incorrect and changes the regex. There will be regressions in previous behavior with this but overall it's in a much better state. If you find any problems please report them to us.
  • Add 1024 character limit (#​4251) via @​Tyriar

🤝 Compatible addon versions

  • xterm-addon-attach@0.7.0
  • xterm-addon-fit@0.6.0
  • xterm-addon-ligatures@0.6
  • xterm-addon-search@0.10.0
  • xterm-addon-serialize@0.9.0
  • xterm-addon-unicode11@​0.4.0
  • xterm-addon-web-links@0.8.0
  • xterm-addon-webgl@0.14.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.

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


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

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

@renovate renovate bot changed the title fix(deps): update dependency xterm to v5.1.0 fix(deps): update xterm Dec 19, 2022
@UziTech UziTech merged commit 3625c5a into master Dec 20, 2022
@UziTech UziTech deleted the renovate/xterm branch December 20, 2022 01:48
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