Skip to content

Bump pyrefly from 0.55.0 to 0.56.0#1585

Merged
github-actions[bot] merged 1 commit intomainfrom
dependabot/pip/pyrefly-0.56.0
Mar 11, 2026
Merged

Bump pyrefly from 0.55.0 to 0.56.0#1585
github-actions[bot] merged 1 commit intomainfrom
dependabot/pip/pyrefly-0.56.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 11, 2026

Bumps pyrefly from 0.55.0 to 0.56.0.

Release notes

Sourced from pyrefly's releases.

v0.56.0

Pyrefly v0.56.0

Status : Beta
Release date: March 09, 2026
Pyrefly v0.56.0 bundles 248 commits from 22 contributors.


✨ New & Improved

Area What’s new
Type Checking - Limit the width of inferred return types to prevent large unions. - Comparison checks involving Any now yields Any (not bool), matching gradual typing expectations and avoiding overly-confident boolean results
Language Server - IDE diagnosticMode now includes an experimental workspace mode. When set to workspace, Pyrefly publishes diagnostics for all files in a project once any file from that project is opened. - Support added for the TSP typeServer/getPythonSearchPaths message. - Relative imports now work for go-to-definition and completions (including site-packages), reducing “can’t resolve import” / missing navigation cases
Type Errors - Default severities have been tuned to reduce noise: implicit-import errors downgraded to warning; unreachable and redundant-condition errors default to warning (are configurable back to errors if desired) - New error code `non-convergent-recursion`, read the docs
Performance Improvements - Added dedicated thread pool for LSP operations to prevent blocking main thread during rechecks

🐛 bug fixes

We closed 33 bug issues this release 👏

  • #2612: Fixed an issue where lambda expressions with default parameters were not recognized in missing-argument checks.
  • #2605: Fixed a false positive error in an untyped classmethod with *args.
  • #2385: Prevented builtins wildcard imports from shadowing existing definitions during static scope setup.
  • #2618: Fixed a StrEnum classmethod being treated as enum members.
  • #2590: Blocked subscripting generic functions/callables to prevent unsupported operations.
  • #2514: Fixed a not-callable false positive with enum methods.
  • #2609: Fixed a bad-param-name-override false positive for Sequence.__contains__.
  • #2668: Fixed dict.setdefault on an unpinned dict always making the dict nullable.
  • #2527: Fixed a no-matching-overload issue related to nested type aliases.
  • #2543: Fixed a problem when using class definition on top of a ClassVar.
  • And more!

Thank-you to all our contributors who found these bugs and reported them! Did you know this is one of the most helpful contributions you can make to an open-source project? If you find any bugs in Pyrefly we want to know about them! Please open a bug report issue here


📦 Upgrade

pip install --upgrade pyrefly==0.56.0

How to safely upgrade your codebase

Upgrading the version of Pyrefly you're using or a third-party library you depend on can reveal new type errors in your code. Fixing them all at once is often unrealistic. We've written scripts to help you temporarily silence them. After upgrading, follow these steps:

... (truncated)

Commits
  • 7bf1ed3 Support extracting narrow checks for all (literal) facet chains
  • 029b612 fix Support Enum with custom __new__ #2747 (#2763)
  • f6a2117 Fix double-counting cls with class_getitem and @​classmethod (#2772)
  • 7ec2f40 Fix variance inference fixpoint to correctly propagate inherited contravariance
  • 65741ef Add failing variance inference testcase
  • ff72f08 fix PANIC Sorry, Pyrefly crashed, this is always a bug in Pyrefly itself #272...
  • 86d8a0a Extend facet narrowing cross-check to attr chains
  • ada95d5 Add file stats to SubTaskTelemetry
  • ad6cd62 fix Unary operator for int not applicable for Literal of bool #2750 (#2762)
  • 65bb170 Add telemetry for newly added code actions
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pyrefly](https://github.com/facebook/pyrefly) from 0.55.0 to 0.56.0.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](facebook/pyrefly@0.55.0...0.56.0)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 0.56.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 11, 2026
@github-actions github-actions bot enabled auto-merge March 11, 2026 22:53
@github-actions github-actions bot merged commit d394178 into main Mar 11, 2026
15 checks passed
@github-actions github-actions bot deleted the dependabot/pip/pyrefly-0.56.0 branch March 11, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants