Skip to content

Bump pyrefly from 0.58.0 to 0.59.1#1316

Merged
github-actions[bot] merged 1 commit intomainfrom
dependabot/pip/pyrefly-0.59.1
Apr 1, 2026
Merged

Bump pyrefly from 0.58.0 to 0.59.1#1316
github-actions[bot] merged 1 commit intomainfrom
dependabot/pip/pyrefly-0.59.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2026

Bumps pyrefly from 0.58.0 to 0.59.1.

Release notes

Sourced from pyrefly's releases.

Pyrefly v0.59.1

Fixed a performance regression in 0.59.0.

Full Changelog: facebook/pyrefly@0.59.0...0.59.1

Pyrefly v0.59.0

Status : Beta
Release date: March 30, 2026

Pyrefly v0.59.0 bundles 153 commits from 20 contributors.


✨ New & Improved

Area What’s new
Type Checking - You can now use while...else statements with returns in the else clause without triggering a false positive missing-explicit-return error. - Pyrefly now correctly handles type inference for nested empty dictionaries when constructing TypedDict instances, avoiding implicit-any errors. - Error messages now highlight related code with inline labels; for example, an unsupported * operation will show the types of both operands directly in the source snippet
Language Server - LSP hover information for classes now displays constructor signature and docstring. - Support additional LSP functionality for notebooks, including find-references and rename.
Performance - Faster typechecking in large pythonc codebases, up to 2x faster on recent benchmarks on real world projects - Reduced CPU usage through smarter caching of module resolution results - Improved performance of the LSP server by reducing redundant workspace diagnostic publishes.

🐛 bug fixes

We closed 16 bug issues this release 👏

  • #2026: Fixed an issue where recursive bounded generics were incorrectly reported as object, ensuring accurate type checking.
  • #2812: Resolved a false positive invalid-type-var error when persisting the get method of a fully-annotated dict.
  • #2804: Fixed an implicit-any false positive that occurred with TypedDict items, improving code readability.
  • #2868: Pyrefly now correctly recognizes while...else statements with returns in the else clause as exhaustive.
  • #2814: Enhanced hover information for datetime.datetime imports to display constructor signatures and docstrings.
  • #2896: Fixed a bad-argument-type error that occurred when using double-underscore arguments.
  • #2893: Pyrefly now correctly handles dict Literal key types as subtypes of str key types.
  • #2865: Resolved an issue where tuple subclasses with overridden __getitem__ were not recognized.
  • #2871: Fixed a false positive error when using isinstance with type | X.
  • And more! #2444, #1270, #2900, #2862, #2853

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

How to safely upgrade your codebase

... (truncated)

Commits
  • ae2136e Bump version to 0.59.1
  • 47b28d9 fix “Decorator @​X can only be used on methods” is too strict #2610
  • a9ab870 Add Cap'n Proto format support for pysa reports
  • 0eb528b Add new snapshot tests for Any detection and multi-tool suppressions
  • a4373be Phase 3+8: Entity counting and output format
  • e7a3e77 Fix namedtuple field name collision with cls parameter
  • d68c6c5 fix Preserve arity for tuple literals with * #2861 (#2888)
  • 2f4ceba Relax version check in textDocument/didChange to warn instead of reject
  • 1e6ac25 Narrow individual variables in tuple match subjects
  • 8845d57 Fix hidden directory ancestors excluding entire project
  • 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.58.0 to 0.59.1.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](facebook/pyrefly@0.58.0...0.59.1)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 0.59.1
  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 Apr 1, 2026
@github-actions github-actions bot enabled auto-merge April 1, 2026 22:29
@github-actions github-actions bot merged commit f8eb7e8 into main Apr 1, 2026
29 checks passed
@github-actions github-actions bot deleted the dependabot/pip/pyrefly-0.59.1 branch April 1, 2026 22:37
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