---
title: "pyrefly 1.5.0 Breaking Changes on PyPI | Since.dev"
description: "What each pyrefly release removed, renamed or changed: 7 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pyrefly
last_updated: 2026-12-04
---

# 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

Latest version `1.5.2`, released December 3, 2026. [Source repository](https://github.com/pyrefly-org/pyrefly)

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

## pyrefly 1.5.0 breaking changes

pyrefly 1.5.0, released November 19, 2026: 7 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](https://github.com/pyrefly-org/pyrefly/releases/tag/1.5.0)
- **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](https://github.com/pyrefly-org/pyrefly/releases/tag/1.5.0)
- **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](https://github.com/pyrefly-org/pyrefly/releases/tag/1.5.0)
- **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](https://github.com/pyrefly-org/pyrefly/releases/tag/1.5.0)
- **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](https://github.com/pyrefly-org/pyrefly/releases/tag/1.5.0)
- **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](https://github.com/pyrefly-org/pyrefly/releases/tag/1.5.0)
- **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](https://github.com/pyrefly-org/pyrefly/releases/tag/1.5.0)

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