---
title: "node-pty 1.0.0 Breaking Changes on npm | Since.dev"
description: "What each node-pty release removed, renamed or changed: 13 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/node-pty
last_updated: 2026-12-04
---

# 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

Latest version `1.1.0`, released December 22, 2025. 

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.10.0](#v-0-10-0) to [1.0.0](#v-1-0-0): 5 breaking changes in 1 version.
- From [0.9.0](#v-0-9-0) to [1.0.0](#v-1-0-0): 6 breaking changes in 2 versions.

## node-pty 1.0.0 breaking changes

node-pty 1.0.0, released June 12, 2023: 5 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](https://github.com/microsoft/node-pty/releases/tag/1.0.0)
- **Removed** `'node-pty'.IPty.on`  

Use IPty.onData instead. [npmjs.com](https://www.npmjs.com/package/node-pty/v/1.0.0)
- **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](https://github.com/microsoft/node-pty/releases/tag/1.0.0)
- **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](https://github.com/microsoft/node-pty/releases/tag/1.0.0)
- **Signature changed** `'node-pty'.IBasePtyForkOptions.env`  

Was env?: {\[key: string\]: string}; now env?: {\[key: string\]: string | undefined}. [npmjs.com](https://www.npmjs.com/package/node-pty/v/1.0.0)

## node-pty 0.10.0 breaking changes

node-pty 0.10.0, released February 4, 2021: 1 breaking change.

- **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](https://github.com/microsoft/node-pty/releases/tag/0.10.0)

## node-pty 0.9.0 breaking changes

node-pty 0.9.0, released October 22, 2019: 7 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](https://www.npmjs.com/package/node-pty/v/0.9.0)
- **Behavior changed** `encoding`  

Passing null as encoding now yields raw buffers; code that relied on the previous encoding behavior may need review. [github.com](https://github.com/microsoft/node-pty/releases/tag/0.9.0)
- **Signature changed** `'node-pty'.IPty.pid`  

Was pid: number; now readonly pid: number. [npmjs.com](https://www.npmjs.com/package/node-pty/v/0.9.0)
- **Signature changed** `'node-pty'.IPty.process`  

Was process: string; now readonly process: string. [npmjs.com](https://www.npmjs.com/package/node-pty/v/0.9.0)
- **Signature changed** `'node-pty'.IPtyForkOptions`  

Was interface IPtyForkOptions; now interface IPtyForkOptions extends IBasePtyForkOptions. [npmjs.com](https://www.npmjs.com/package/node-pty/v/0.9.0)
- **Signature changed** `'node-pty'.IPtyForkOptions.encoding`  

Was encoding?: string; now encoding?: string | null. [npmjs.com](https://www.npmjs.com/package/node-pty/v/0.9.0)
- **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](https://www.npmjs.com/package/node-pty/v/0.9.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
