Upgrading ink from 7.x to 8.x
Comparison of the public API of ink 7.1.1 and 8.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 0 |
| Changed signatures | 8 |
| Removed class or interface members | 0 |
| Changed class or interface members | 0 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 2 |
| New exports | 0 |
Removed exports
None detected.
Changed signatures
| export | Before | After |
|---|---|---|
ink · useApp | (): Props | (): Props |
ink · useStderr | (): Props | (): Props |
ink · useStdout | (): Props | (): Props |
ink · BoxMetrics | { readonly width: number; readonly height: number; readonly left: number; readonly top: number; } | { readonly width: number; readonly height: number; readonly left: number; readonly top: number; readonly clientWidth: number; readonly clientHeight: number; } |
ink · StdinProps | { readonly stdin: NodeJS.ReadStream; readonly setRawMode: (value: boolean) => void; readonly isRawModeSupported: boolean; } | { readonly stdin: NodeJS.ReadableStream; readonly setRawMode: (isEnabled: boolean) => void; readonly isRawModeSupported: boolean; } |
ink · StderrProps | { readonly stderr: NodeJS.WriteStream; readonly write: (data: string) => void; } | { readonly stderr: NodeJS.WritableStream; readonly write: (data: string) => void; } |
ink · StdoutProps | { readonly stdout: NodeJS.WriteStream; readonly write: (data: string) => void; } | { readonly stdout: NodeJS.WritableStream; readonly write: (data: string) => void; } |
ink · ElementMetrics | { x: number; y: number; width: number; height: number; } | { x: number; y: number; width: number; height: number; clientWidth: number; clientHeight: number; } |
Removed class or interface members
None detected.
Changed class or interface members
None detected.
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
peerDependencies.react | >=19.2.0 | >=19.3.0 |
peerDependencies.@types/react | >=19.2.0 | >=19.3.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading ink from 7 to 8?
Between ink 7.1.1 and 8.0.0, Vigia found 0 removed exports, 8 changed signatures and 0 removed or changed class or interface members.
What became deprecated in ink 8?
0 exports or members are newly marked as deprecated in ink 8.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/ink/upgrade?from=7.1.1&to=8.0.0