github facebook/pyrefly 0.24.2
Pyrefly v0.24.2

latest releases: 0.31.1, 0.31.0, 0.30.0...
one month ago

Status: ALPHA

Release date: 2025-07-15

Pyrefly 0.24.2 bundles 290 commits from 26 contributors

📝 Changelog

  • Type System Enhancements: Improved handling of type() and bool() for narrowing, and the behavior for match statements w/ class patterns
  • Dataclass Transform: Full support for dataclass_transform
  • Interpreter Query Optimization: Significant reduction in import times and memory usage by optimizing search path handling and deduplication of search path entries.
  • Error Handling and Reporting: Introduced CLI flags to configure error severity for individual error codes (--error, --warn, --ignore) and improved error message clarity.
  • Semantic Tokens: Fixed issues with semantic tokens on the first line and improved deduplication logic.
  • Binop Support: Fixed issues with operations like float * bool and complex * bool.
  • Workspace Symbols: Implemented workspace symbol support using the fuzzy search infrastructure for auto-import.
  • Configuration Improvements: Added --typeshed-path CLI flag for custom typeshed modifications and improved config handling logic.

📦 Upgrade

pip install --upgrade pyrefly==0.24.2

🖊️ Contributors this release

@ndmitchell, @yangdanny97, @stroxler, @rchen152, @migeed-z, @connernilsen, @dluo, @MaggieMoss, @rubmary, @xaskii, @kinto0, @grievejia, @SamChou19815, @melvinhe, @lianne, @krikera, @dluo, @Abel981, @fangyi-zhou, @Alex-Aron, @zpao, @slawlor, @diliop, @arnav-jain1, @samwgoldman

Don't miss a new pyrefly release

NewReleases is sending notifications on new releases.