Skip to content

Releases: microsoft/node-pty

0.7.0

21 Aug 17:54

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

Choose a tag to compare

Bug fixes

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

0.6.9

10 Jul 00:15

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

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

Choose a tag to compare

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

0.6.5

17 May 17:48

Choose a tag to compare

Upgraded to winpty@0.4.3

0.6.4

23 Apr 18:28

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

0.6.3

13 Mar 21:19

Choose a tag to compare

New

  • Allow args to be specified in "CommandLine" format on Windows; a pre-escaped string that will be used as is #41

    var pty = require('pty');
    pty.spawn('cmd', '/d /c "dir "test folder""');
  • Distribute TypeScript declaration files (.d.ts typing files) with the npm module #50

Bug fixes

  • Correctly expose the process ID of the shell process on Windows #45 (not fixed #67)
  • Fix process handle and pointer leaks #49
  • Support building on Alpine Linux #40
  • Support building on FreeBSD #42

Deprecations

  • fork and createTerminal have been deprecated in favor of spawn #43

0.6.2

22 Jan 08:54

Choose a tag to compare

  • Fix crash when calling pty.kill() #34
  • Remove comments from built JS #31
  • Upgrade nan to 2.5.0 #28
  • Remove dependency on extend #29

0.6.1

21 Jan 22:21

Choose a tag to compare

This release fixes an issue with the compiled JS.

  • backspace in Git Bash on Windows should work correctly, not move the cursor to the right #35