Skip to content

4.9.0

Compare
Choose a tag to compare
@Tyriar Tyriar released this 08 Sep 23:56
· 3699 commits to master since this release
3504e2e

πŸ“¦ API

  • Add number support to fontWeight and fontWeightBold options (#3062) via @IllusionMH, this now matches the types that the CSS style supports.
  • Support optional dispose function on ILink (#3073) via @Tyriar, this allows consumers to be notified when links are no longer needed which was difficult to observe before.

🐞 Bug fixes

  • Fix renderer pausing when Terminal.open is called during an animation (#3008) via @andrew-schlackman
  • Use document role instead of list for the terminal (#3020) via @Tyriar
  • Constructor options are now validated just like when using setOption (#3064) via @IllusionMH
  • Fix rendering of multi-line selection when only top row is visible (#3081) via @Tyriar
  • Fix first/last line of selection sometimes not rendering with the canvas renderer (#3082) via @Tyriar

πŸ“ Documentation and internal improvements

  • Remove the no longer supported Dockerfile from the repo (#3026) via @Tyriar
  • Update to TypeScript 4 (#3059) via @Tyriar

πŸ›‘ Breaking changes

  • getOption('fontWeight') and getOption('fontWeightBold') now returns string | number instead of string:
    // before 4.9.0
    const weight: string = term.getOption('fontWeight');
    
    // after 4.9.0
    const weight: string | number = term.getOption('fontWeight');
    This change accepted as the impact on consumers should be minimal due to the low usage of the API.

πŸŽ‰ New real-world use cases


πŸ“₯ Addons

xterm-addon-serialize

xterm-addon-webgl

  • Expose WebglAddon.clearTextureAtlas API (#3075) via @Tyriar, this is useful to completely clear the atlas when corruption may have happened (eg. when canvas textures are lost after system sleep/resume).
  • Fix rendering of multi-line selection when only top row is visible (#3081) via @Tyriar

🀝 Compatible addon versions