5.2.0
π Features
π¦ API
-
Improved Windows workarounds with the new windowsPty option (#4539) via @Tyriar
const term = new Terminal({ windowsPty: { backend: 'conpty', buildNumber: 19000 } });
π Bug fixes
- Fix performance issue related to hovering links (#4341) via @Tyriar
- Fix exception by validating rows are correct when rendering (#4346) via @Tyriar
- Improve rendering of dotted underline (#4350) via @Tyriar
- Invalidate links after resizing (#4358) via @Tyriar
- Fix texture atlas exception thrown when changing options (#4390) via @Tyriar
- Show hollow cursor when unfocused, regardless of cursor type (#4443) via @tisilent
- Fix out of sync link underlines after resizing on Windows (#4458) via @Tyriar
- Fix a lifecycle issue with decorations (#4465) via @Tyriar
- Rerender in the DOM renderer after options change (#4475) via @kelvinhammond
- Fix DECRQM reports and add DECBKM (#4478) via @jerch
- Fix links not working when using a screen reader (#4491) via @jerch
- Ensure decorations in the top layer render on top of decorations in the bottom layer (#4516) via @jeanp413
- Avoid triggering a reflow while rendering search decorations (#4521) via @jeanp413
- Don't apply dim to background color (#4525) via @Tyriar
- Fix exception and performance issue when rendering link underlines (#4546) via @jerch
π Documentation and internal improvements
- Remove unused buffer code (#4335) via @jerch
- Explore a different accessibility view (#4340, #4375, #4376, #4377, #4381, #4382, #4383, #4389, #4395, #4398, #4400, #4402, #4406, #4413, #4427, #4536) via @meganrogge, @Tyriar
- Update CI containers to Ubuntu 20.04 (#4347) via @silamon
- Update CI containers to use Node 18 (#4542) via @silamon
4542 - Remove unused imports (#4361) via @Eugeny
- Replace dom helper with HTMLElement.remove() (#4364) via @Tyriar
- Show proper parameter hints when calling createInstance (#4393) via @Tyriar
- Correct registerMarker API docs (#4464) via @Tyriar
- Add FAQ to new issue report (#4512) via @Tyriar
- Fix buffer corruption for utf8 transport in demo (#4527) via @jerch
β οΈ Deprecations
windowsMode
has been deprecated in favor ofwindowsPty
// Before 5.2 term = new Terminal({ windowsMode: true }); // After 5.2 term = new Terminal({ windowsPty: { backend: 'conpty', buildNumber: 19000 } });
π New real-world use cases
- graSSHopper (#4356) via @Coding-Kiwi
- DomTerm (#4456) via @Tyriar
π₯ Addons
xterm-addon-canvas
- Fix rendering of underline on wide characters (#4352) via @Tyriar
- Update selection properly after changing themes (#4353) via @Tyriar
- Update selection properly after a resize (#4355) via @Tyriar
- Correct cell background color after clearing formatting (#4438) via @jerch
- Fix rendering of 0xE0BB and 0xE0BF powerline symbols (#4451) via @Starwort
- Fix rendering of cursor leaving artifacts on Firefox (#4500) via @Tyriar
- Disallow glyphs to exceed texture atlas size (#4508) via @Tyriar
- Don't apply dim to background color (#4525) via @Tyriar
- Fix blacked out content (#4533) via @Tyriar
xterm-addon-search
xterm-addon-webgl
- Fix rendering of underline on wide characters (#4352) via @Tyriar
- Fix loadCell exception (#4403) via @meganrogge
- Fix rendering of 0xE0BB and 0xE0BF powerline symbols (#4451) via @Starwort
- Fix rendering of cursor leaving artifacts on Firefox (#4500) via @Tyriar
- Disallow glyphs to exceed texture atlas size (#4508) via @Tyriar
- Don't apply dim to background color (#4525) via @Tyriar
- Fix blacked out content (#4530) via @jerch
π€ Compatible addon versions
xterm-addon-attach@...
xterm-addon-fit@...
xterm-addon-ligatures@...
xterm-addon-search@...
xterm-addon-serialize@...
xterm-addon-unicode11@...
xterm-addon-web-links@...
xterm-addon-webgl@...