xtermjs/xterm.js
### [`v5.1.0`](https://togithub.com/xtermjs/xterm.js/releases/tag/5.1.0)
[Compare Source](https://togithub.com/xtermjs/xterm.js/compare/5.0.0...5.1.0)
#### 🚀 Features
**Multiple texture atlas page support** ([#4244](https://togithub.com/xtermjs/xterm.js/issues/4244), [#4252](https://togithub.com/xtermjs/xterm.js/issues/4252), [#4274](https://togithub.com/xtermjs/xterm.js/issues/4274)) via [@Tyriar](https://togithub.com/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](https://togithub.com/xtermjs/xterm.js/issues/4060) 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](https://user-images.githubusercontent.com/2193314/208488356-a37edd66-7627-4377-821f-719ffa831e4f.png)
And here is the 1024x1024 page after a lot of glyphs have rendered:
![image](https://user-images.githubusercontent.com/2193314/208488767-d272441b-52e4-493c-86bd-f37ced4762f3.png)
**Slash and triangle custom glyphs** ([#4313](https://togithub.com/xtermjs/xterm.js/issues/4313)) via [@Tyriar](https://togithub.com/Tyriar)
Eight new powerline extra custom glyphs are supported:
![image](https://user-images.githubusercontent.com/2193314/208487399-734e8a6f-ac23-47e1-8f55-968363f2e22f.png)
**New option scrollOnUserInput** ([#4289](https://togithub.com/xtermjs/xterm.js/issues/4289)) via [@JasonXJ](https://togithub.com/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.
```ts
const term = new Terminal({ scrollOnUserInput: false });
```
#### 🐞 Bug fixes
- Fix width of upper 1/8 block character ([#4134](https://togithub.com/xtermjs/xterm.js/issues/4134)) via [@Tyriar](https://togithub.com/Tyriar)
- Allow the renderer to be set before `Terminal.open` is called ([#4151](https://togithub.com/xtermjs/xterm.js/issues/4151)) via [@Tyriar](https://togithub.com/Tyriar)
- Fix trusted types in dom renderer ([#4157](https://togithub.com/xtermjs/xterm.js/issues/4157)) via [@Tyriar](https://togithub.com/Tyriar)
- Fix several memory retention issues ([#4185](https://togithub.com/xtermjs/xterm.js/issues/4185)) via [@Tyriar](https://togithub.com/Tyriar)
- Remove check proposed api checks ([#4204](https://togithub.com/xtermjs/xterm.js/issues/4204)) via [@silamon](https://togithub.com/silamon)
- Clear the extended attribute on `CSI 0 m` via [@JasonXJ](https://togithub.com/JasonXJ)
- Fix clipping of italic emoji ([#4237](https://togithub.com/xtermjs/xterm.js/issues/4237)) via [@Tyriar](https://togithub.com/Tyriar)
- Fix some edge cases in screenReaderMode ([#4284](https://togithub.com/xtermjs/xterm.js/issues/4284)) via [@JasonXJ](https://togithub.com/JasonXJ)
- Send corresponding escape code for alt+space and ctrl+alt+space ([#4290](https://togithub.com/xtermjs/xterm.js/issues/4290)) via [@JasonXJ](https://togithub.com/JasonXJ)
- Re-evaluate the link under the cursor instead dropping it completely when the terminal buffer changes ([#4298](https://togithub.com/xtermjs/xterm.js/issues/4298)) via [@jerch](https://togithub.com/jerch)
#### 🏎️ Performance
- Optimizations to prevent blocking the main thread when resizing the buffer ([#4115](https://togithub.com/xtermjs/xterm.js/issues/4115)) via [@jerch](https://togithub.com/jerch)
- Reduce xterm.js start up time by deferring texture atlas warm up to an idle callback ([#4131](https://togithub.com/xtermjs/xterm.js/issues/4131)) via [@Tyriar](https://togithub.com/Tyriar)
- Optimize canvas contexts for frequent reading ([#4137](https://togithub.com/xtermjs/xterm.js/issues/4137), [#4169](https://togithub.com/xtermjs/xterm.js/issues/4169)) via [@Tyriar](https://togithub.com/Tyriar)
- Share rgba vars throughout Color.ts, fast setTheme parseColor ([#4140](https://togithub.com/xtermjs/xterm.js/issues/4140)) via [@Tyriar](https://togithub.com/Tyriar)
- Introduce new IdleTaskQueue and PriorityTaskQueue internal helpers ([#4141](https://togithub.com/xtermjs/xterm.js/issues/4141), [#4143](https://togithub.com/xtermjs/xterm.js/issues/4143), [#4144](https://togithub.com/xtermjs/xterm.js/issues/4144), [#4155](https://togithub.com/xtermjs/xterm.js/issues/4155), [#4293](https://togithub.com/xtermjs/xterm.js/issues/4293)) via [@Tyriar](https://togithub.com/Tyriar)
- Defer paused renderer resize handling to idle callbacks ([#4142](https://togithub.com/xtermjs/xterm.js/issues/4142)) via [@Tyriar](https://togithub.com/Tyriar)
- Optimize critical I/O path for input latency ([#4145](https://togithub.com/xtermjs/xterm.js/issues/4145), [#4153](https://togithub.com/xtermjs/xterm.js/issues/4153), [#4159](https://togithub.com/xtermjs/xterm.js/issues/4159), [#4160](https://togithub.com/xtermjs/xterm.js/issues/4160), [#4194](https://togithub.com/xtermjs/xterm.js/issues/4194)) via [@Tyriar](https://togithub.com/Tyriar), [@jerch](https://togithub.com/jerch), [@silamon](https://togithub.com/silamon)
- Remove unnecessary clipping of texture atlas glyphs ([#4200](https://togithub.com/xtermjs/xterm.js/issues/4200), [#4201](https://togithub.com/xtermjs/xterm.js/issues/4201)) via [@Tyriar](https://togithub.com/Tyriar), [@jerch](https://togithub.com/jerch)
- Fix dropped frame issue caused by decorations ([#4226](https://togithub.com/xtermjs/xterm.js/issues/4226)) via [@Tyriar](https://togithub.com/Tyriar)
- Support multiple texture atlas pages ([#4244](https://togithub.com/xtermjs/xterm.js/issues/4244)) via [@Tyriar](https://togithub.com/Tyriar)
#### 📝 Documentation and internal improvements
- Lint the codebase using putout ([#4118](https://togithub.com/xtermjs/xterm.js/issues/4118)) via [@coderaiser](https://togithub.com/coderaiser)
- Remove special publishing of v5 builds ([#4123](https://togithub.com/xtermjs/xterm.js/issues/4123)) via [@Tyriar](https://togithub.com/Tyriar)
- Correct comment on `allowProposedApi` ([#4125](https://togithub.com/xtermjs/xterm.js/issues/4125)) via [@BattlefieldDuck](https://togithub.com/BattlefieldDuck)
- Move real-world uses section down ([#4152](https://togithub.com/xtermjs/xterm.js/issues/4152)) via [@dstein64](https://togithub.com/dstein64)
- Remove queueMicrotask polyfill ([#4154](https://togithub.com/xtermjs/xterm.js/issues/4154)) via [@Tyriar](https://togithub.com/Tyriar)
- General refactoring ([#4162](https://togithub.com/xtermjs/xterm.js/issues/4162), [#4179](https://togithub.com/xtermjs/xterm.js/issues/4179), [#4205](https://togithub.com/xtermjs/xterm.js/issues/4205), [#4207](https://togithub.com/xtermjs/xterm.js/issues/4207), [#4209](https://togithub.com/xtermjs/xterm.js/issues/4209), [#4210](https://togithub.com/xtermjs/xterm.js/issues/4210), [#4301](https://togithub.com/xtermjs/xterm.js/issues/4301), [#4304](https://togithub.com/xtermjs/xterm.js/issues/4304), [#4328](https://togithub.com/xtermjs/xterm.js/issues/4328)) via [@Tyriar](https://togithub.com/Tyriar)
- Inline dirty row service into input handler ([#4163](https://togithub.com/xtermjs/xterm.js/issues/4163)) via [@Tyriar](https://togithub.com/Tyriar)
- Define all events and emitters consistently ([#4165](https://togithub.com/xtermjs/xterm.js/issues/4165), [#4177](https://togithub.com/xtermjs/xterm.js/issues/4177)) via [@Tyriar](https://togithub.com/Tyriar)
- Bump copyright year ([#4176](https://togithub.com/xtermjs/xterm.js/issues/4176)) via [@Tyriar](https://togithub.com/Tyriar)
- Lint rule for on=event emitter and rename all methods with on prefix to handle ([#4187](https://togithub.com/xtermjs/xterm.js/issues/4187)) via [@Tyriar](https://togithub.com/Tyriar)
- Create theme service ([#4188](https://togithub.com/xtermjs/xterm.js/issues/4188)) via [@Tyriar](https://togithub.com/Tyriar)
- Switch CI agent to Ubuntu 20.04 ([#4192](https://togithub.com/xtermjs/xterm.js/issues/4192)) via [@silamon](https://togithub.com/silamon)
- Fix webgl loading in the demo ([#4193](https://togithub.com/xtermjs/xterm.js/issues/4193)) via [@silamon](https://togithub.com/silamon)
- Create onSpecificOptionChange and onMultipleOptionChange helpers ([#4195](https://togithub.com/xtermjs/xterm.js/issues/4195)) via [@Tyriar](https://togithub.com/Tyriar)
- Add eslint-plugin-jsdoc with minimal comment rules ([#4206](https://togithub.com/xtermjs/xterm.js/issues/4206)) via [@Tyriar](https://togithub.com/Tyriar)
- replit branding change ([#4211](https://togithub.com/xtermjs/xterm.js/issues/4211)) via [@hackermondev](https://togithub.com/hackermondev)
- Revert decoration dispose changes ([#4215](https://togithub.com/xtermjs/xterm.js/issues/4215)) via [@meganrogge](https://togithub.com/meganrogge)
- Change clearing innerText to using replaceChildren to fix testing using jsdom ([#4217](https://togithub.com/xtermjs/xterm.js/issues/4217)) via [@Nokel81](https://togithub.com/Nokel81)
- Fix resize in demo ([#4233](https://togithub.com/xtermjs/xterm.js/issues/4233)) via [@Tyriar](https://togithub.com/Tyriar)
- Cache ICoreBrowserService.isFocused per task ([#4234](https://togithub.com/xtermjs/xterm.js/issues/4234)) via [@Tyriar](https://togithub.com/Tyriar)
- Avoid GC pressure from server data buffer ([#4235](https://togithub.com/xtermjs/xterm.js/issues/4235)) via [@Tyriar](https://togithub.com/Tyriar)
- Add console.image helper ([#4236](https://togithub.com/xtermjs/xterm.js/issues/4236)) via [@Tyriar](https://togithub.com/Tyriar)
- Remove promise and fetch shims and use await for fetch ([#4240](https://togithub.com/xtermjs/xterm.js/issues/4240)) via [@Tyriar](https://togithub.com/Tyriar)
- Remove fill polyfill ([#4249](https://togithub.com/xtermjs/xterm.js/issues/4249)) via [@Tyriar](https://togithub.com/Tyriar)
- New test buttons in the demo ([#4254](https://togithub.com/xtermjs/xterm.js/issues/4254), [#4306](https://togithub.com/xtermjs/xterm.js/issues/4306), [#4311](https://togithub.com/xtermjs/xterm.js/issues/4311), [#4330](https://togithub.com/xtermjs/xterm.js/issues/4330)) via [@Tyriar](https://togithub.com/Tyriar)
- Add custom keymap example to attachCustomKeyEventHandler docs ([#4280](https://togithub.com/xtermjs/xterm.js/issues/4280)) via [@Tyriar](https://togithub.com/Tyriar)
- Dev dependency updates ([#4286](https://togithub.com/xtermjs/xterm.js/issues/4286), [#4287](https://togithub.com/xtermjs/xterm.js/issues/4287)) via [@Tyriar](https://togithub.com/Tyriar), [@dependabot](https://togithub.com/dependabot)
- Fix demo in Epiphany browser ([#4291](https://togithub.com/xtermjs/xterm.js/issues/4291)) via [@jerch](https://togithub.com/jerch)
- Explain danger of XSS more explicitly with the linkHandler API ([#4310](https://togithub.com/xtermjs/xterm.js/issues/4310)) via [@Tyriar](https://togithub.com/Tyriar)
- Point new issue questions at GH discussions ([#4312](https://togithub.com/xtermjs/xterm.js/issues/4312)) via [@Tyriar](https://togithub.com/Tyriar)
- Allow scroll bar interaction in demo in screenReaderMode ([#4315](https://togithub.com/xtermjs/xterm.js/issues/4315)) via [@Tyriar](https://togithub.com/Tyriar)
- Explain object option edge case ([#4322](https://togithub.com/xtermjs/xterm.js/issues/4322)) via [@Tyriar](https://togithub.com/Tyriar)
- Improve IAttributeData jsdoc ([#4327](https://togithub.com/xtermjs/xterm.js/issues/4327)) via [@Tyriar](https://togithub.com/Tyriar)
#### 🛑 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.
```ts
// 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
- Super Terminal ([#4276](https://togithub.com/xtermjs/xterm.js/issues/4276)) via [@bugwheels94](https://togithub.com/bugwheels94)
***
#### 📥 Addons
##### xterm-addon-attach
- Warn/throw on unexpected attach addon socket state ([#4208](https://togithub.com/xtermjs/xterm.js/issues/4208)) via [@Tyriar](https://togithub.com/Tyriar)
##### xterm-addon-canvas
- Share texture atlases between the webgl and canvas renderers ([#4170](https://togithub.com/xtermjs/xterm.js/issues/4170), [#4168](https://togithub.com/xtermjs/xterm.js/issues/4168), [#4182](https://togithub.com/xtermjs/xterm.js/issues/4182)) via [@Tyriar](https://togithub.com/Tyriar)
- Fix glyphs becoming garbled or invisible ([#4189](https://togithub.com/xtermjs/xterm.js/issues/4189)) via [@Tyriar](https://togithub.com/Tyriar)
- Disable canvas ImageBitmap optimization on Safari ([#4219](https://togithub.com/xtermjs/xterm.js/issues/4219)) via [@Tyriar](https://togithub.com/Tyriar)
- Correctly offset minimumContrastRatio check ([#4239](https://togithub.com/xtermjs/xterm.js/issues/4239)) via [@Tyriar](https://togithub.com/Tyriar)
- Fix line height and letter spacing rendering ([#4305](https://togithub.com/xtermjs/xterm.js/issues/4305)) via [@Tyriar](https://togithub.com/Tyriar)
- Fix canvas renderer selection not re-rendering sometimes ([#4325](https://togithub.com/xtermjs/xterm.js/issues/4325)) via [@Tyriar](https://togithub.com/Tyriar)
##### xterm-addon-serialize
- Fallback to default ansi colors when running xterm-headless ([#4196](https://togithub.com/xtermjs/xterm.js/issues/4196)) via [@silamon](https://togithub.com/silamon)
##### xterm-addon-webgl
- Fix glyphs becoming garbled or invisible ([#4180](https://togithub.com/xtermjs/xterm.js/issues/4180), [#4181](https://togithub.com/xtermjs/xterm.js/issues/4181)) via [@Tyriar](https://togithub.com/Tyriar)
- Share texture atlases between the webgl and canvas renderers ([#4170](https://togithub.com/xtermjs/xterm.js/issues/4170), [#4168](https://togithub.com/xtermjs/xterm.js/issues/4168), [#4182](https://togithub.com/xtermjs/xterm.js/issues/4182)) via [@Tyriar](https://togithub.com/Tyriar)
- Enable the webgl renderer on safari 16 and above ([#4255](https://togithub.com/xtermjs/xterm.js/issues/4255)) via [@Tyriar](https://togithub.com/Tyriar)
- Fixes disappearance of characters in webgl renderer ([#4271](https://togithub.com/xtermjs/xterm.js/issues/4271)) via [@jeanp413](https://togithub.com/jeanp413)
- Fix NPE in webgl renderer ([#4326](https://togithub.com/xtermjs/xterm.js/issues/4326)) via [@Tyriar](https://togithub.com/Tyriar)
##### xterm-addon-web-links
- Major rework of the addon ([#4288](https://togithub.com/xtermjs/xterm.js/issues/4288)) via [@jerch](https://togithub.com/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](https://togithub.com/xtermjs/xterm.js/issues/4251)) via [@Tyriar](https://togithub.com/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.
This PR contains the following updates:
5.0.0
->5.1.0
0.7.0
->0.8.0
0.13.0
->0.14.0
Release Notes
xtermjs/xterm.js
### [`v5.1.0`](https://togithub.com/xtermjs/xterm.js/releases/tag/5.1.0) [Compare Source](https://togithub.com/xtermjs/xterm.js/compare/5.0.0...5.1.0) #### 🚀 Features **Multiple texture atlas page support** ([#4244](https://togithub.com/xtermjs/xterm.js/issues/4244), [#4252](https://togithub.com/xtermjs/xterm.js/issues/4252), [#4274](https://togithub.com/xtermjs/xterm.js/issues/4274)) via [@Tyriar](https://togithub.com/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](https://togithub.com/xtermjs/xterm.js/issues/4060) 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](https://user-images.githubusercontent.com/2193314/208488356-a37edd66-7627-4377-821f-719ffa831e4f.png) And here is the 1024x1024 page after a lot of glyphs have rendered: ![image](https://user-images.githubusercontent.com/2193314/208488767-d272441b-52e4-493c-86bd-f37ced4762f3.png) **Slash and triangle custom glyphs** ([#4313](https://togithub.com/xtermjs/xterm.js/issues/4313)) via [@Tyriar](https://togithub.com/Tyriar) Eight new powerline extra custom glyphs are supported: ![image](https://user-images.githubusercontent.com/2193314/208487399-734e8a6f-ac23-47e1-8f55-968363f2e22f.png) **New option scrollOnUserInput** ([#4289](https://togithub.com/xtermjs/xterm.js/issues/4289)) via [@JasonXJ](https://togithub.com/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. ```ts const term = new Terminal({ scrollOnUserInput: false }); ``` #### 🐞 Bug fixes - Fix width of upper 1/8 block character ([#4134](https://togithub.com/xtermjs/xterm.js/issues/4134)) via [@Tyriar](https://togithub.com/Tyriar) - Allow the renderer to be set before `Terminal.open` is called ([#4151](https://togithub.com/xtermjs/xterm.js/issues/4151)) via [@Tyriar](https://togithub.com/Tyriar) - Fix trusted types in dom renderer ([#4157](https://togithub.com/xtermjs/xterm.js/issues/4157)) via [@Tyriar](https://togithub.com/Tyriar) - Fix several memory retention issues ([#4185](https://togithub.com/xtermjs/xterm.js/issues/4185)) via [@Tyriar](https://togithub.com/Tyriar) - Remove check proposed api checks ([#4204](https://togithub.com/xtermjs/xterm.js/issues/4204)) via [@silamon](https://togithub.com/silamon) - Clear the extended attribute on `CSI 0 m` via [@JasonXJ](https://togithub.com/JasonXJ) - Fix clipping of italic emoji ([#4237](https://togithub.com/xtermjs/xterm.js/issues/4237)) via [@Tyriar](https://togithub.com/Tyriar) - Fix some edge cases in screenReaderMode ([#4284](https://togithub.com/xtermjs/xterm.js/issues/4284)) via [@JasonXJ](https://togithub.com/JasonXJ) - Send corresponding escape code for alt+space and ctrl+alt+space ([#4290](https://togithub.com/xtermjs/xterm.js/issues/4290)) via [@JasonXJ](https://togithub.com/JasonXJ) - Re-evaluate the link under the cursor instead dropping it completely when the terminal buffer changes ([#4298](https://togithub.com/xtermjs/xterm.js/issues/4298)) via [@jerch](https://togithub.com/jerch) #### 🏎️ Performance - Optimizations to prevent blocking the main thread when resizing the buffer ([#4115](https://togithub.com/xtermjs/xterm.js/issues/4115)) via [@jerch](https://togithub.com/jerch) - Reduce xterm.js start up time by deferring texture atlas warm up to an idle callback ([#4131](https://togithub.com/xtermjs/xterm.js/issues/4131)) via [@Tyriar](https://togithub.com/Tyriar) - Optimize canvas contexts for frequent reading ([#4137](https://togithub.com/xtermjs/xterm.js/issues/4137), [#4169](https://togithub.com/xtermjs/xterm.js/issues/4169)) via [@Tyriar](https://togithub.com/Tyriar) - Share rgba vars throughout Color.ts, fast setTheme parseColor ([#4140](https://togithub.com/xtermjs/xterm.js/issues/4140)) via [@Tyriar](https://togithub.com/Tyriar) - Introduce new IdleTaskQueue and PriorityTaskQueue internal helpers ([#4141](https://togithub.com/xtermjs/xterm.js/issues/4141), [#4143](https://togithub.com/xtermjs/xterm.js/issues/4143), [#4144](https://togithub.com/xtermjs/xterm.js/issues/4144), [#4155](https://togithub.com/xtermjs/xterm.js/issues/4155), [#4293](https://togithub.com/xtermjs/xterm.js/issues/4293)) via [@Tyriar](https://togithub.com/Tyriar) - Defer paused renderer resize handling to idle callbacks ([#4142](https://togithub.com/xtermjs/xterm.js/issues/4142)) via [@Tyriar](https://togithub.com/Tyriar) - Optimize critical I/O path for input latency ([#4145](https://togithub.com/xtermjs/xterm.js/issues/4145), [#4153](https://togithub.com/xtermjs/xterm.js/issues/4153), [#4159](https://togithub.com/xtermjs/xterm.js/issues/4159), [#4160](https://togithub.com/xtermjs/xterm.js/issues/4160), [#4194](https://togithub.com/xtermjs/xterm.js/issues/4194)) via [@Tyriar](https://togithub.com/Tyriar), [@jerch](https://togithub.com/jerch), [@silamon](https://togithub.com/silamon) - Remove unnecessary clipping of texture atlas glyphs ([#4200](https://togithub.com/xtermjs/xterm.js/issues/4200), [#4201](https://togithub.com/xtermjs/xterm.js/issues/4201)) via [@Tyriar](https://togithub.com/Tyriar), [@jerch](https://togithub.com/jerch) - Fix dropped frame issue caused by decorations ([#4226](https://togithub.com/xtermjs/xterm.js/issues/4226)) via [@Tyriar](https://togithub.com/Tyriar) - Support multiple texture atlas pages ([#4244](https://togithub.com/xtermjs/xterm.js/issues/4244)) via [@Tyriar](https://togithub.com/Tyriar) #### 📝 Documentation and internal improvements - Lint the codebase using putout ([#4118](https://togithub.com/xtermjs/xterm.js/issues/4118)) via [@coderaiser](https://togithub.com/coderaiser) - Remove special publishing of v5 builds ([#4123](https://togithub.com/xtermjs/xterm.js/issues/4123)) via [@Tyriar](https://togithub.com/Tyriar) - Correct comment on `allowProposedApi` ([#4125](https://togithub.com/xtermjs/xterm.js/issues/4125)) via [@BattlefieldDuck](https://togithub.com/BattlefieldDuck) - Move real-world uses section down ([#4152](https://togithub.com/xtermjs/xterm.js/issues/4152)) via [@dstein64](https://togithub.com/dstein64) - Remove queueMicrotask polyfill ([#4154](https://togithub.com/xtermjs/xterm.js/issues/4154)) via [@Tyriar](https://togithub.com/Tyriar) - General refactoring ([#4162](https://togithub.com/xtermjs/xterm.js/issues/4162), [#4179](https://togithub.com/xtermjs/xterm.js/issues/4179), [#4205](https://togithub.com/xtermjs/xterm.js/issues/4205), [#4207](https://togithub.com/xtermjs/xterm.js/issues/4207), [#4209](https://togithub.com/xtermjs/xterm.js/issues/4209), [#4210](https://togithub.com/xtermjs/xterm.js/issues/4210), [#4301](https://togithub.com/xtermjs/xterm.js/issues/4301), [#4304](https://togithub.com/xtermjs/xterm.js/issues/4304), [#4328](https://togithub.com/xtermjs/xterm.js/issues/4328)) via [@Tyriar](https://togithub.com/Tyriar) - Inline dirty row service into input handler ([#4163](https://togithub.com/xtermjs/xterm.js/issues/4163)) via [@Tyriar](https://togithub.com/Tyriar) - Define all events and emitters consistently ([#4165](https://togithub.com/xtermjs/xterm.js/issues/4165), [#4177](https://togithub.com/xtermjs/xterm.js/issues/4177)) via [@Tyriar](https://togithub.com/Tyriar) - Bump copyright year ([#4176](https://togithub.com/xtermjs/xterm.js/issues/4176)) via [@Tyriar](https://togithub.com/Tyriar) - Lint rule for on=event emitter and rename all methods with on prefix to handle ([#4187](https://togithub.com/xtermjs/xterm.js/issues/4187)) via [@Tyriar](https://togithub.com/Tyriar) - Create theme service ([#4188](https://togithub.com/xtermjs/xterm.js/issues/4188)) via [@Tyriar](https://togithub.com/Tyriar) - Switch CI agent to Ubuntu 20.04 ([#4192](https://togithub.com/xtermjs/xterm.js/issues/4192)) via [@silamon](https://togithub.com/silamon) - Fix webgl loading in the demo ([#4193](https://togithub.com/xtermjs/xterm.js/issues/4193)) via [@silamon](https://togithub.com/silamon) - Create onSpecificOptionChange and onMultipleOptionChange helpers ([#4195](https://togithub.com/xtermjs/xterm.js/issues/4195)) via [@Tyriar](https://togithub.com/Tyriar) - Add eslint-plugin-jsdoc with minimal comment rules ([#4206](https://togithub.com/xtermjs/xterm.js/issues/4206)) via [@Tyriar](https://togithub.com/Tyriar) - replit branding change ([#4211](https://togithub.com/xtermjs/xterm.js/issues/4211)) via [@hackermondev](https://togithub.com/hackermondev) - Revert decoration dispose changes ([#4215](https://togithub.com/xtermjs/xterm.js/issues/4215)) via [@meganrogge](https://togithub.com/meganrogge) - Change clearing innerText to using replaceChildren to fix testing using jsdom ([#4217](https://togithub.com/xtermjs/xterm.js/issues/4217)) via [@Nokel81](https://togithub.com/Nokel81) - Fix resize in demo ([#4233](https://togithub.com/xtermjs/xterm.js/issues/4233)) via [@Tyriar](https://togithub.com/Tyriar) - Cache ICoreBrowserService.isFocused per task ([#4234](https://togithub.com/xtermjs/xterm.js/issues/4234)) via [@Tyriar](https://togithub.com/Tyriar) - Avoid GC pressure from server data buffer ([#4235](https://togithub.com/xtermjs/xterm.js/issues/4235)) via [@Tyriar](https://togithub.com/Tyriar) - Add console.image helper ([#4236](https://togithub.com/xtermjs/xterm.js/issues/4236)) via [@Tyriar](https://togithub.com/Tyriar) - Remove promise and fetch shims and use await for fetch ([#4240](https://togithub.com/xtermjs/xterm.js/issues/4240)) via [@Tyriar](https://togithub.com/Tyriar) - Remove fill polyfill ([#4249](https://togithub.com/xtermjs/xterm.js/issues/4249)) via [@Tyriar](https://togithub.com/Tyriar) - New test buttons in the demo ([#4254](https://togithub.com/xtermjs/xterm.js/issues/4254), [#4306](https://togithub.com/xtermjs/xterm.js/issues/4306), [#4311](https://togithub.com/xtermjs/xterm.js/issues/4311), [#4330](https://togithub.com/xtermjs/xterm.js/issues/4330)) via [@Tyriar](https://togithub.com/Tyriar) - Add custom keymap example to attachCustomKeyEventHandler docs ([#4280](https://togithub.com/xtermjs/xterm.js/issues/4280)) via [@Tyriar](https://togithub.com/Tyriar) - Dev dependency updates ([#4286](https://togithub.com/xtermjs/xterm.js/issues/4286), [#4287](https://togithub.com/xtermjs/xterm.js/issues/4287)) via [@Tyriar](https://togithub.com/Tyriar), [@dependabot](https://togithub.com/dependabot) - Fix demo in Epiphany browser ([#4291](https://togithub.com/xtermjs/xterm.js/issues/4291)) via [@jerch](https://togithub.com/jerch) - Explain danger of XSS more explicitly with the linkHandler API ([#4310](https://togithub.com/xtermjs/xterm.js/issues/4310)) via [@Tyriar](https://togithub.com/Tyriar) - Point new issue questions at GH discussions ([#4312](https://togithub.com/xtermjs/xterm.js/issues/4312)) via [@Tyriar](https://togithub.com/Tyriar) - Allow scroll bar interaction in demo in screenReaderMode ([#4315](https://togithub.com/xtermjs/xterm.js/issues/4315)) via [@Tyriar](https://togithub.com/Tyriar) - Explain object option edge case ([#4322](https://togithub.com/xtermjs/xterm.js/issues/4322)) via [@Tyriar](https://togithub.com/Tyriar) - Improve IAttributeData jsdoc ([#4327](https://togithub.com/xtermjs/xterm.js/issues/4327)) via [@Tyriar](https://togithub.com/Tyriar) #### 🛑 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. ```ts // 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 - Super Terminal ([#4276](https://togithub.com/xtermjs/xterm.js/issues/4276)) via [@bugwheels94](https://togithub.com/bugwheels94) *** #### 📥 Addons ##### xterm-addon-attach - Warn/throw on unexpected attach addon socket state ([#4208](https://togithub.com/xtermjs/xterm.js/issues/4208)) via [@Tyriar](https://togithub.com/Tyriar) ##### xterm-addon-canvas - Share texture atlases between the webgl and canvas renderers ([#4170](https://togithub.com/xtermjs/xterm.js/issues/4170), [#4168](https://togithub.com/xtermjs/xterm.js/issues/4168), [#4182](https://togithub.com/xtermjs/xterm.js/issues/4182)) via [@Tyriar](https://togithub.com/Tyriar) - Fix glyphs becoming garbled or invisible ([#4189](https://togithub.com/xtermjs/xterm.js/issues/4189)) via [@Tyriar](https://togithub.com/Tyriar) - Disable canvas ImageBitmap optimization on Safari ([#4219](https://togithub.com/xtermjs/xterm.js/issues/4219)) via [@Tyriar](https://togithub.com/Tyriar) - Correctly offset minimumContrastRatio check ([#4239](https://togithub.com/xtermjs/xterm.js/issues/4239)) via [@Tyriar](https://togithub.com/Tyriar) - Fix line height and letter spacing rendering ([#4305](https://togithub.com/xtermjs/xterm.js/issues/4305)) via [@Tyriar](https://togithub.com/Tyriar) - Fix canvas renderer selection not re-rendering sometimes ([#4325](https://togithub.com/xtermjs/xterm.js/issues/4325)) via [@Tyriar](https://togithub.com/Tyriar) ##### xterm-addon-serialize - Fallback to default ansi colors when running xterm-headless ([#4196](https://togithub.com/xtermjs/xterm.js/issues/4196)) via [@silamon](https://togithub.com/silamon) ##### xterm-addon-webgl - Fix glyphs becoming garbled or invisible ([#4180](https://togithub.com/xtermjs/xterm.js/issues/4180), [#4181](https://togithub.com/xtermjs/xterm.js/issues/4181)) via [@Tyriar](https://togithub.com/Tyriar) - Share texture atlases between the webgl and canvas renderers ([#4170](https://togithub.com/xtermjs/xterm.js/issues/4170), [#4168](https://togithub.com/xtermjs/xterm.js/issues/4168), [#4182](https://togithub.com/xtermjs/xterm.js/issues/4182)) via [@Tyriar](https://togithub.com/Tyriar) - Enable the webgl renderer on safari 16 and above ([#4255](https://togithub.com/xtermjs/xterm.js/issues/4255)) via [@Tyriar](https://togithub.com/Tyriar) - Fixes disappearance of characters in webgl renderer ([#4271](https://togithub.com/xtermjs/xterm.js/issues/4271)) via [@jeanp413](https://togithub.com/jeanp413) - Fix NPE in webgl renderer ([#4326](https://togithub.com/xtermjs/xterm.js/issues/4326)) via [@Tyriar](https://togithub.com/Tyriar) ##### xterm-addon-web-links - Major rework of the addon ([#4288](https://togithub.com/xtermjs/xterm.js/issues/4288)) via [@jerch](https://togithub.com/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](https://togithub.com/xtermjs/xterm.js/issues/4251)) via [@Tyriar](https://togithub.com/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.
This PR has been generated by Mend Renovate. View repository job log here.