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
On this page
Latest version 0.8.7, released November 15, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
sh-syntax 0.8.7 breaking changes
- Signature changed
ArithmExpr
Was type ArithmExpr = BinaryArithm | FlagsArithm | ParenArithm | UnaryArithm | Word; now type ArithmExpr = BinaryArithm | CallArithm | FlagsArithm | ParenArithm | UnaryArithm | Word. npmjs.com - 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 - 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
sh-syntax 0.8.6 breaking changes
- Behavior changed
InputError
InputError now extends TypeError. Code that checks error types for InputError should be reviewed. github.com - 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 - Signature changed
ParseError
Was class ParseError extends Error implements IParseError; now class ParseError extends ShSyntaxError implements IParseError. npmjs.com
sh-syntax 0.8.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 - 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 - Signature changed
Processor.__call
Was (ast: File, options: ShOptions & {originalText: string;}): Promise<string>; now (node: PrintableNode, options?: ShPrintOptions): Promise<string>. npmjs.com - Signature changed
ShPrintOptions.originalText
Was originalText: string; now originalText?: string. npmjs.com - 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
sh-syntax 0.8.4 breaking changes
- Removed
getProcessorSync
getProcessorSync was removed in sh-syntax 0.8.4 npmjs.com - Removed
GetWebAssemblySourceSync
GetWebAssemblySourceSync was removed in sh-syntax 0.8.4 npmjs.com - Removed
parseSync
The root entry is now async-only. Import parse from sh-syntax/sync in place of parseSync. npmjs.com - Removed
printSync
The root entry is now async-only. Import print from sh-syntax/sync in place of printSync. npmjs.com - 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 - 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 - 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 - 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 - 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
sh-syntax 0.8.2 breaking changes
- 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
sh-syntax 0.8.0 breaking changes
- Removed
Node.js 18 or later is now required. Older Node.js versions must be upgraded before using this release. github.com - Removed
Comment.Text
Comment.Text was removed in sh-syntax 0.8.0 npmjs.com - Removed
File.Name
File.Name was removed in sh-syntax 0.8.0 npmjs.com - Removed
File.Stmts
File.Stmts was removed in sh-syntax 0.8.0 npmjs.com - Removed
IParseError.Filename
IParseError.Filename was removed in sh-syntax 0.8.0 npmjs.com - Removed
IParseError.Incomplete
IParseError.Incomplete was removed in sh-syntax 0.8.0 npmjs.com - Removed
IParseError.Pos
IParseError.Pos was removed in sh-syntax 0.8.0 npmjs.com - Removed
IParseError.Text
IParseError.Text was removed in sh-syntax 0.8.0 npmjs.com - Removed
Lit.Value
Lit.Value was removed in sh-syntax 0.8.0 npmjs.com - Removed
Lit.ValueEnd
Lit.ValueEnd was removed in sh-syntax 0.8.0 npmjs.com
And 41 more in this version. Sign up to see every change
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.