ast-grep-cli breaking changes
ast-grep-cli 0.50.0 (October 9, 2026) is its newest release with breaking changes, 2 of them. The first: Rule schema now rejects null relation fields in ast-grep-cli 0.50.0. Every breaking API change we have recorded in ast-grep-cli on PyPI: 4 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
On this page
Latest version 0.51.3, released November 16, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
ast-grep-cli 0.50.0 breaking changes
- Behavior changed
Rule files that set relation fields to null, which were previously accepted, are now rejected. Remove null relation fields from rule files. github.com - Configuration changed
Custom language libraries are no longer loaded by default and must be explicitly enabled. Users who rely on them must opt in. github.com
ast-grep-cli 0.45.0 breaking changes
- Behavior changed
Ignore files located outside rule_dirs are no longer applied during scans. Check projects that relied on them and move the rules into rule_dirs if needed. github.com
ast-grep-cli 0.41.0 breaking changes
- Default changed
Rules that have no explicit id now get their filename as the default id, so code or configs that depend on the previous default id must set an id explicitly. github.com
Related packages
- @ast-grep/cli on npm
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.