Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps pyrefly from 0.46.3 to 0.50.1.

Release notes

Sourced from pyrefly's releases.

Pyrefly v0.50.0

Status : BETA
Release date: 26 January 2026

Pyrefly v0.50.0 bundles 183 commits from 27 contributors.


✨ New & Improved

Area What’s new
Language Server - Hovering or requesting signature help for constructor calls now shows the instance type instead of -> None - Structured comment headers (e.g., # Title ----) now create hierarchical folding regions and outline symbols in editors. This can be enabled with the commentFoldingRanges setting that is now available in VSCode’s settings UI - Go-to-definition now works for intermediate submodule components (e.g., clicking on b or c in a.b.c.D), improving navigation in complex module hierarchies - Inlay hints now available for variables created from tuple unpacking (e.g. x, y = (a, b)) - Type variable bounds, constraints, and defaults are now shown when formatting generic types. - Previously, reveal_type showed identical signatures for functions with different type variable restrictions
Type Checking Type narrowing now works for TypedDict when using in/not in checks, including inherited keys and empty TypedDicts
File Structure/Detection Better support for detecting and renaming editable installed packages
Error Reporting The suppress command now accepts JSON values, making error suppression more flexible and scriptable.

🐛 bug fixes

We closed 30 bug issues this week 👏

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.50.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:

  1. pyrefly check --suppress-errors
  2. run your code formatter of choice
  3. pyrefly check --remove-unused-ignores
  4. Repeat until you achieve a clean formatting run and a clean type check.

This will add # pyrefly: ignore comments to your code, enabling you to silence errors and return to fix them later. This can make the process of upgrading a large codebase much more manageable.

... (truncated)

Commits
  • f9a063d Bump version to 0.50.1
  • ecde5ae Fix a bug in narrow limit
  • 7aaabbd Add a test case showing lots of facet narrows
  • bf4bb21 fix flaky diagnostic streaming test, attempt 2
  • 876c078 don't run transaction in a loop
  • dfecc04 support "hint" severity for pyright migration
  • ee730b7 Resolve attribute access callees via types when go-to-definitions are empty
  • 664c2d4 turn off streaming for tdeps
  • cf7c58c Bump the default stack size to 10MB
  • 0a03618 Document gap in annotations_forward_refs conformance test
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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.46.3 to 0.50.1.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](facebook/pyrefly@0.46.3...0.50.1)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 0.50.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 Feb 1, 2026
@dependabot dependabot bot requested a review from amyreese as a code owner February 1, 2026 10:52
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 1, 2026
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. 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