Skip to content

Releases: microsoft/node-pty

0.7.3

11 Nov 22:13
Compare
Choose a tag to compare

Bug fixes

  • Fix a winpty native exception that could sometimes occur when calling Terminal.kill on Windows #160 via @Tyriar
  • Swallow a safe to ignore JS exception that could occur when calling Terminal.kill on Windows #160 via @Tyriar

Documentation

0.7.2

27 Oct 18:36
Compare
Choose a tag to compare

This release exposes a native object on the module on Linux and macOS which gives direct access to the native node module backing node-pty. Note that this is not public API and should not be relied upon, it will likely be removed in the future. #153 via @Tyriar

0.7.1

03 Oct 20:56
Compare
Choose a tag to compare

Bug fixes

  • All console processes running inside the pty should now be killed when killing the pty. This issue was observed frequently when running web servers via node-pty #122 via @the-ress, @Tyriar
  • Ship symbols in the npm package for crash reporting purposes #139 via @implausible

0.7.0

21 Aug 17:54
Compare
Choose a tag to compare

Enhancements

  • The exit code is now correctly emitted on Windows #75, #116 via @Tyriar

Bug fixes

  • spawn options are now optional on Windows #115 via @Tyriar
  • pid is now exposed on ITerminal in the TS declaration #119 via @Tyriar
  • Throw Node.JS exceptions instead of native exceptions when resize fails #136 via @Tyriar

Documentation

Internal improvements

0.6.10

12 Jul 19:53
Compare
Choose a tag to compare

Bug fixes

  • Fixed a compile issue on FreeBSD #108 via @rse

0.6.9

10 Jul 00:15
Compare
Choose a tag to compare

Enhancements

  • Documented all ITerminal members with jsdoc #107 via @Tyriar

Bug fixes

  • Prevent potential race condition by not resuming the data stream immediately, it is now left up to consumers to either call ITerminal.on('data', ...) or ITerminal.resume() to resume the stream #99 via @Tyriar, @hexa00
  • Improve exception reporting on Windows and prevent possible pointer leaks #102 via @Tyriar, @rprichard
  • Added on and other event emitter function to typings #105 via @Tyriar, @rollandjb

0.6.8

12 Jun 21:30
Compare
Choose a tag to compare

Bug fixes

  • Fixed command line formed arguments (string) when running shells that contain a space in their path on Windows #91
  • Fixed constructor type checking on Windows #92

0.6.6

22 May 03:17
Compare
Choose a tag to compare

TypeScript type definitions are now correctly linked in the package.json file.

0.6.5

17 May 17:48
Compare
Choose a tag to compare

0.6.4

23 Apr 18:28
Compare
Choose a tag to compare

New

  • Add simple type checks to Terminal constructor to make some common problems more obvious #59
  • Added a minimal demo to get a terminal running in Electron with the help of xterm.js #55

Bug fixes

  • Correctly expose the process ID of the shell process on Windows #67
  • Use cfsetispeed and cfsetospeed over cfsetspeed to cover Solaris #77 via @jerch
  • Fix possible buffer overrun #61 via @jerch