---
title: "@ast-grep/cli 0.51.3 Breaking Changes on npm | Since.dev"
description: "What each @ast-grep/cli release removed, renamed or changed: 6 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@ast-grep/cli
last_updated: 2026-11-24
---

# @ast-grep/cli breaking changes

Every breaking API change we have recorded in @ast-grep/cli on npm: 6 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated November 24, 2026

Latest version `0.51.3`, released November 16, 2026. [Source repository](https://github.com/ast-grep/ast-grep)

Its 0.51.3 release requires Node.js 20 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.51.1](#v-0-51-1) to [0.51.3](#v-0-51-3): 4 breaking changes in 2 versions.

## @ast-grep/cli 0.51.3 breaking changes

@ast-grep/cli 0.51.3, released November 16, 2026: 1 breaking change.

- **Removed**  

The npm package now requires Node.js 20 or later, so users on older Node.js versions must upgrade Node.js before installing this release. [github.com](https://github.com/ast-grep/ast-grep/releases/tag/0.51.3)

## @ast-grep/cli 0.51.2 breaking changes

@ast-grep/cli 0.51.2, released November 11, 2026: 3 breaking changes.

- **Behavior changed**  

Column positions reported by the language server are now counted in UTF-16 code units. Editor integrations that assumed another column unit may see different positions. [github.com](https://github.com/ast-grep/ast-grep/releases/tag/0.51.2)
- **Behavior changed** `ast-grep test`  

The test command exits with an error when test IDs do not match any test or when no tests run. Check CI scripts that relied on it passing in those cases. [github.com](https://github.com/ast-grep/ast-grep/releases/tag/0.51.2)
- **Behavior changed** `convert`  

The convert transform keeps digits attached to the surrounding word instead of splitting there. Rules that depend on the old split output may need updating. [github.com](https://github.com/ast-grep/ast-grep/releases/tag/0.51.2)

## @ast-grep/cli 0.51.1 breaking changes

@ast-grep/cli 0.51.1, released November 2, 2026: 2 breaking changes.

- **Behavior changed**  

Rule configs that contain unrecognized top-level keys are now rejected instead of being accepted. Remove or correct those keys in existing rule files. [github.com](https://github.com/ast-grep/ast-grep/releases/tag/0.51.1)
- **Signature changed** `GlobalRules.insert`  

GlobalRules::insert is no longer public and is now marked unsafe, so code calling it must stop using it or wrap the call in an unsafe block. [github.com](https://github.com/ast-grep/ast-grep/releases/tag/0.51.1)

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