Skip to content

Bump pyrefly from 0.51.2 to 0.52.0#260

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/pyrefly-0.52.0
Open

Bump pyrefly from 0.51.2 to 0.52.0#260
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/pyrefly-0.52.0

Conversation

@dependabot
Copy link
Contributor

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

Bumps pyrefly from 0.51.2 to 0.52.0.

Release notes

Sourced from pyrefly's releases.

Pyrefly v0.52.0 (speed skate ⛸️)

Status : BETA
Release date: 09 February 2026

Pyrefly v0.52.0 bundles 250 commits from 23 contributors.


📈 Performance Improvements

As we’ve been watching Winter Olympic athletes racing for gold, we’ve been inspired by their dedication to keep pushing our own bobsled towards our goals of making Pyrefly as performant as possible. Just as milliseconds count in speed skating, they also matter when it comes to type checking diagnostics! With this release, Pyrefly users can benefit from a range of speed and memory improvements, which we’ve summarised below. But this is just the first lap, the race isn’t over! We’re committed to ongoing performance improvements and adding robust testing to prevent regressions, so stay tuned for more performance updates coming soon.

18x Faster Updated Diagnostics After Saving a File

We’ve significantly improved the speed at which type errors and diagnostics appear in your editor after saving a file. Thanks to fine-grained dependency tracking and streaming diagnostics, Pyrefly now updates error messages almost instantly,even in large codebases. In edge cases that previously took several seconds, updates now typically complete in under 200ms. For a deep dive into how we achieved this, check out our latest blog post.

2–3x Faster Initial Indexing Time

The initial indexing process (i.e. when Pyrefly scans your project and builds its internal type map) has been optimized for speed. This means you can start working with type-aware features much sooner, even in massive repositories.

40–60% Less Memory Usage

We’ve made significant improvements to Pyrefly’s memory efficiency. The language server now uses 40–60% less RAM during both initial indexing and incremental type checking. This allows Pyrefly to scale to larger projects and run more smoothly on resource-constrained machines.

Edge case exponential memory blow up contained

A critical bug that caused exponential memory usage when handling unions of dictionary types has been resolved. This fix ensures that Pyrefly remains stable and performant, even when working with complex type structures.


✨ New & Improved

Area What’s new
Type System Added support for template strings (PEP 750) Type narrowing enhancements: dict.get narrowing and safer negative narrowing
Language Server Users can now automatically transform from ... import * statements into explicit imports for names used in the file Improved auto-complete for match Literal patterns Further support for type hierarchy now available in IDE Go-to definition on __all__ entries now brings you to the definition See all of the new features in more detail in our updated IDE supported features page

🐛 bug fixes

We closed 13 bug issues this week 👏

  • #713 - Fixed unsound narrowing for isinstance and type[T]
  • #289 - Expanded key-existence narrowing to dict-like types so "key" in mapping now makes mapping.get("key") return the value type (not None).
  • #2248 - Fixed augmented assignment (+=) when __iadd__ is missing to correctly fall back to __add__ and ignore __getattr__, aligning with Python runtime semantics.
  • 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

... (truncated)

Commits

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.51.2 to 0.52.0.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](https://github.com/facebook/pyrefly/commits/0.52.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants