Skip to content

5.2.0

Compare
Choose a tag to compare
@Tyriar Tyriar released this 08 Jun 22:01
· 1130 commits to master since this release
cc1089e

πŸš€ 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

⚠️ Deprecations

  • windowsMode has been deprecated in favor of windowsPty
    // Before 5.2
    term = new Terminal({ windowsMode: true });
    // After 5.2
    term = new Terminal({
      windowsPty: {
        backend: 'conpty',
        buildNumber: 19000
      }
    });

πŸŽ‰ New real-world use cases


πŸ“₯ 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

  • Improve search behavior when there are > 1000 results (#4504) via @jeanp413

xterm-addon-webgl

🀝 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@...