---
title: "ast-grep-cli 0.50.0 Breaking Changes on PyPI | Since.dev"
description: "What each ast-grep-cli release removed, renamed or changed: 4 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/ast-grep-cli
last_updated: 2026-12-04
---

# 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

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

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.41.0](#v-0-41-0) to [0.50.0](#v-0-50-0): 3 breaking changes in 2 versions.

## ast-grep-cli 0.50.0 breaking changes

ast-grep-cli 0.50.0, released October 9, 2026: 2 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](https://github.com/ast-grep/ast-grep/releases/tag/0.50.0)
- **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](https://github.com/ast-grep/ast-grep/releases/tag/0.50.0)

## ast-grep-cli 0.45.0 breaking changes

ast-grep-cli 0.45.0, released July 23, 2026: 1 breaking change.

- **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](https://github.com/ast-grep/ast-grep/releases/tag/0.45.0)

## ast-grep-cli 0.41.0 breaking changes

ast-grep-cli 0.41.0, released February 22, 2026: 1 breaking change.

- **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](https://github.com/ast-grep/ast-grep/releases/tag/0.41.0)

## Related packages

- [@ast-grep/cli](https://since.dev/packages/npm/@ast-grep/cli.md):  on npm

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