Releases: microsoft/node-pty
Releases · microsoft/node-pty
0.7.3
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
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
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
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
Bug fixes
- Fixed a compile issue on FreeBSD #108 via @rse
0.6.9
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
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
TypeScript type definitions are now correctly linked in the package.json
file.
0.6.4
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