node-pty breaking changes
node-pty 1.0.0 (June 12, 2023) is its newest release with breaking changes, 5 of them. The first: Removes the deprecated 'on' API in node-pty 1.0.0. Every breaking API change we have recorded in node-pty on npm: 13 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.1.0, released December 22, 2025.
Packages on npm run on Node.js. Node.js end of life dates.
- From 0.10.0 to 1.0.0: 5 breaking changes in 1 version.
- From 0.9.0 to 1.0.0: 6 breaking changes in 2 versions.
node-pty 1.0.0 breaking changes
- Removed
The deprecated 'on' API was removed in this release. Code that calls it must switch to the newer event pattern shown in the README (onData). github.com - Removed
'node-pty'.IPty.on
Use IPty.onData instead. npmjs.com - Behavior changed
Node.js 14.x is no longer supported and its CI stage was removed; users on Node 14 must upgrade their Node.js version. github.com - Behavior changed
A uid or gid of 0 is no longer ignored as undefined, so passing 0 now applies that user or group to the spawned process. github.com - Signature changed
'node-pty'.IBasePtyForkOptions.env
Was env?: {[key: string]: string}; now env?: {[key: string]: string | undefined}. npmjs.com
node-pty 0.10.0 breaking changes
- Behavior changed
Passing args of any type other than string or string[] now throws an error, so callers passing other types must change them. github.com
node-pty 0.9.0 breaking changes
- Removed
'node-pty'.IPtyForkOptions.experimentalUseConpty
The experimental conpty flag was promoted to stable and renamed; pass useConpty instead of experimentalUseConpty when spawning. npmjs.com - Behavior changed
encoding
Passing null as encoding now yields raw buffers; code that relied on the previous encoding behavior may need review. github.com - Signature changed
'node-pty'.IPty.pid
Was pid: number; now readonly pid: number. npmjs.com - Signature changed
'node-pty'.IPty.process
Was process: string; now readonly process: string. npmjs.com - Signature changed
'node-pty'.IPtyForkOptions
Was interface IPtyForkOptions; now interface IPtyForkOptions extends IBasePtyForkOptions. npmjs.com - Signature changed
'node-pty'.IPtyForkOptions.encoding
Was encoding?: string; now encoding?: string | null. npmjs.com - Signature changed
'node-pty'.spawn
Was function spawn(file: string, args: string[] | string, options: IPtyForkOptions): IPty; now function spawn(file: string, args: string[] | string, options: IPtyForkOptions | IWindowsPtyForkOptions): IPty. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.