---
title: "sh-syntax 0.8.7 Breaking Changes on npm | Since.dev"
description: "What each sh-syntax release removed, renamed or changed: 72 breaking changes in 6 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/sh-syntax
last_updated: 2026-12-04
---

# sh-syntax breaking changes

sh-syntax 0.8.7 (November 15, 2026) is its newest release with breaking changes, 3 of them. The first: Signature changed ArithmExpr. Every breaking API change we have recorded in sh-syntax on npm: 72 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.8.7`, released November 15, 2026. [Source repository](https://github.com/un-ts/sh-syntax)

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

- From [0.8.0](#v-0-8-0) to [0.8.7](#v-0-8-7): 21 breaking changes in 5 versions.

## sh-syntax 0.8.7 breaking changes

sh-syntax 0.8.7, released November 15, 2026: 3 breaking changes.

- **Signature changed** `ArithmExpr`  

Was type ArithmExpr = BinaryArithm | FlagsArithm | ParenArithm | UnaryArithm | Word; now type ArithmExpr = BinaryArithm | CallArithm | FlagsArithm | ParenArithm | UnaryArithm | Word. [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.7)
- **Signature changed** `Command`  

Was type Command = ArithmCmd | BinaryCmd | Block | CallExpr | CaseClause | CoprocClause | DeclClause | ForClause | FuncDecl | IfClause | LetClause | Subshell | TestClause | TestDecl | TimeClause | WhileClause; now type Command = ArithmCmd... [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.7)
- **Signature changed** `Node`  

Was type Node = ArithmCmd | ArithmExp | ArrayElem | ArrayExpr | Assign | BinaryArithm | BinaryCmd | BinaryTest | Block | BraceExp | CallExpr | CaseClause | CaseItem | CmdSubst | Comment | CoprocClause | CStyleLoop | DblQuoted | DeclClause... [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.7)

## sh-syntax 0.8.6 breaking changes

sh-syntax 0.8.6, released November 14, 2026: 3 breaking changes.

- **Behavior changed** `InputError`  

InputError now extends TypeError. Code that checks error types for InputError should be reviewed. [github.com](https://github.com/un-ts/sh-syntax/releases/tag/v0.8.6)
- **Behavior changed** `ParseError`  

ParseError now extends ShSyntaxError and SyntaxError and reports name "ParseError". Code that checks error types or names should be reviewed. [github.com](https://github.com/un-ts/sh-syntax/releases/tag/v0.8.6)
- **Signature changed** `ParseError`  

Was class ParseError extends Error implements IParseError; now class ParseError extends ShSyntaxError implements IParseError. [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.6)

## sh-syntax 0.8.5 breaking changes

sh-syntax 0.8.5, released November 14, 2026: 5 breaking changes.

- **Behavior changed** `print`  

Printing an AST now outputs the current syntax tree, including edits made to its fields, instead of requiring originalText. Code that depends on the previous output may see different results. [github.com](https://github.com/un-ts/sh-syntax/releases/tag/v0.8.5)
- **Signature changed** `print`  

Was const print: {(text: string, options?: import("./types.ts").ShOptions): Promise\<string>; (ast: import("./ast-types.ts").File, options: import("./types.ts").ShPrintOptions): Promise\<string>;}; now const print: {(text: string, options?... [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.5)
- **Signature changed** `Processor.__call`  

Was (ast: File, options: ShOptions & {originalText: string;}): Promise\<string>; now (node: PrintableNode, options?: ShPrintOptions): Promise\<string>. [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.5)
- **Signature changed** `ShPrintOptions.originalText`  

Was originalText: string; now originalText?: string. [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.5)
- **Signature changed** `sync:print`  

Was const print: {(text: string, options?: import("../types.ts").ShOptions): string; (ast: import("../ast-types.ts").File, options: import("../types.ts").ShPrintOptions): string;}; now const print: {(text: string, options?... [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.5)

## sh-syntax 0.8.4 breaking changes

sh-syntax 0.8.4, released November 12, 2026: 9 breaking changes.

- **Removed** `getProcessorSync`  

getProcessorSync was removed in sh-syntax 0.8.4 [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.4)
- **Removed** `GetWebAssemblySourceSync`  

GetWebAssemblySourceSync was removed in sh-syntax 0.8.4 [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.4)
- **Removed** `parseSync`  

The root entry is now async-only. Import parse from sh-syntax/sync in place of parseSync. [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.4)
- **Removed** `printSync`  

The root entry is now async-only. Import print from sh-syntax/sync in place of printSync. [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.4)
- **Signature changed** `getProcessor`  

Was const getProcessor: (getWasm: GetWebAssemblyInstance | GetWebAssemblySource) => {(text: string, options?: ShOptions): Promise\<File>; (text: string, options?: ShOptions & {print: true;}): Promise\<string>; (ast: File, options: ShOptions... [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.4)
- **Signature changed** `parse`  

Was const parse: (text: string, options?: ShOptions) => Promise\<File>; now const parse: (text: string, options?: import("./types.ts").ShOptions) => Promise\<import("./ast-types.ts").File>. [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.4)
- **Signature changed** `print`  

Was function print(ast: File, options: ShPrintOptions): Promise\<string> function print(text: string, options?: ShOptions): Promise\<string>; now const print: {(text: string, options?: import("./types.ts").ShOptions): Promise\<string>; (ast... [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.4)
- **Signature changed** `processor`  

Was const processor: {(text: string, options?: ShOptions): Promise\<File>; (text: string, options?: ShOptions & {print: true;}): Promise\<string>; (ast: File, options: ShOptions & {originalText: string;}): Promise\<string>;}; now const... [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.4)
- **Signature changed** `walk`  

Was const walk: (value: unknown, walker: (node: Node) => boolean | void) => void; now function walk(value: unknown, enter: WalkEnter): void function walk(value: unknown, visitors: WalkVisitors): void. [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.4)

## sh-syntax 0.8.2 breaking changes

sh-syntax 0.8.2, released November 8, 2026: 1 breaking change.

- **Behavior changed**  

The WASM build moved from TinyGo to standard Go, so the binary is larger and startup is costlier. The async processor now reuses one Go runtime and serializes calls, and its memory does not shrink after a large parse. Code that ran async... [github.com](https://github.com/un-ts/sh-syntax/releases/tag/v0.8.2)

## sh-syntax 0.8.0 breaking changes

sh-syntax 0.8.0, released November 7, 2026: 51 breaking changes.

- **Removed**  

Node.js 18 or later is now required. Older Node.js versions must be upgraded before using this release. [github.com](https://github.com/un-ts/sh-syntax/releases/tag/v0.8.0)
- **Removed** `Comment.Text`  

Comment.Text was removed in sh-syntax 0.8.0 [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.0)
- **Removed** `File.Name`  

File.Name was removed in sh-syntax 0.8.0 [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.0)
- **Removed** `File.Stmts`  

File.Stmts was removed in sh-syntax 0.8.0 [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.0)
- **Removed** `IParseError.Filename`  

IParseError.Filename was removed in sh-syntax 0.8.0 [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.0)
- **Removed** `IParseError.Incomplete`  

IParseError.Incomplete was removed in sh-syntax 0.8.0 [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.0)
- **Removed** `IParseError.Pos`  

IParseError.Pos was removed in sh-syntax 0.8.0 [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.0)
- **Removed** `IParseError.Text`  

IParseError.Text was removed in sh-syntax 0.8.0 [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.0)
- **Removed** `Lit.Value`  

Lit.Value was removed in sh-syntax 0.8.0 [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.0)
- **Removed** `Lit.ValueEnd`  

Lit.ValueEnd was removed in sh-syntax 0.8.0 [npmjs.com](https://www.npmjs.com/package/sh-syntax/v/0.8.0)

And 41 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## 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.
