pyrefly breaking changes
pyrefly 1.5.0 (November 19, 2026) is its newest release with breaking changes, 7 of them. The first: Renamed unreachable-code. Every breaking API change we have recorded in pyrefly on PyPI: 7 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.5.2, released December 3, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
pyrefly 1.5.0 breaking changes
- Renamed
unreachable-code
The unreachable-code diagnostic is now named inactive-code, so configs or suppression comments using the old name must be updated. github.com - Behavior changed
Warnings such as uses of deprecated APIs, redundant-cast and unnecessary-type-conversion now print by default. To hide them, set min-severity to error in your config or pass --min-severity=error. github.com - Behavior changed
A required-version mismatch now exits with code 4 instead of 1. Scripts that check the exit code must be updated. github.com - Behavior changed
Postponed and string annotations look names up in the class body first, and uninitialized names and illegal circular references in eagerly evaluated annotations are now reported. Code that checked cleanly may now show new errors. github.com - Behavior changed
unused-import, unused-parameter and unused-variable are now error kinds, so disable-type-errors-in-ide, project includes and generated-code filtering hide them, and they appear in notebook cells. github.com - Behavior changed
A directory argument now uses the config found in that directory and honors its project-excludes, so excluded files are no longer checked. github.com - Default changed
unreachable
Unreachable code is now an IDE-only hint by default. Set unreachable to "warn" or "error" to keep it visible on the command line. github.com
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.