unstale

npm / node-pty

node-pty

What changed in node-pty 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-29.

3 breaking3 new APIs and options3 behavior and defaults1 tooling8 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

node-pty 118 changes

Breaking changes 3

New APIs and options 3

  • An opt-in experimental option enables shipping and using conpty.dll and OpenConsole.exe with the module.

    1.1.0release notes

  • An accessor named ptsName was added.

    1.0.0release notes

  • An accessor named pty was added.

    1.0.0release notes

Behavior and default changes 3

  • The conpty named pipe buffer size is changed to 128KiB.

    1.1.0release notes

  • Writes to non-blocking ptys are handled directly instead of being wrapped through Node's tty API.

    1.1.0release notes

  • The write API supports Buffer input.

    1.1.0release notes

Tooling 1

  • Prebuilds are included in the published package.

    1.1.0release notes

Fixes and other changes 8

  • Partial writes are handled when a non-blocking write returns EAGAIN.

    1.1.0release notes

  • The PtyClear implementation is restored when using conpty.dll.

    1.1.0release notes

  • The program name is now ensured to be part of child process arguments.

    1.0.0release notes

  • Parsing of the closeFDs option was corrected.

    1.0.0release notes

  • A fix was made for controlling the terminal on macOS.

    1.0.0release notes

  • IO handles are disconnected during PtyKill.

    1.0.0release notes

  • A fix was made for retrieving the process name on macOS.

    1.0.0release notes

  • The winpty conin pipe is explicitly opened in write-only mode.

    1.0.0release notes