github facebook/pyrefly 0.25.0
Pyrefly v0.25.0

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

Status: ALPHA

Release date: 2025-07-22

Pyrefly 0.25.0 bundles 307 commits from 19 contributors

📝 Changelog

  • Error Handling Improvements:
    • Avoid redundant error messages for positional arguments.
    • Show environment query errors and config loading errors in IDE.
  • Class and Attribute Handling:
    • Changed semantics of class objects initialized on class bodies.
    • Improved handling of read-only class attributes.
  • IDE Enhancements:
    • Support for "jump to definition" on hover.
    • Optimized module path sorting.
  • Type System Enhancements:
    • Improve handling for typing.Self.
  • Configuration and Migration:
    • Added support for ignore_missing_imports in Pyrefly config.
    • Improved config migration logic and added tests for various config options.
  • Error and Warning Enhancements:
    • Warn on deprecated method calls and overloaded calls.
    • Improve error labeling and severity-based color coding.
  • TypedDict Improvements:
    • Check keyword arguments in TypedDict initialization & makeself positional-only.
  • Documentation and Usability:
    • Updated documentation for IDE settings and config options.
  • Miscellaneous:
    • Raise error on variable use-before-assignment.
    • Improved mutable capture for global and nonlocal variables.

📦 Upgrade

pip install --upgrade pyrefly==0.25.0

🖊️ Contributors this release

@rchen152 @stroxler @ndmitchell @yangdanny97 @arthaud @kinto0 @connernilsen @SamChou19815 @rubmary @dluo @migeed-z @samwgoldman @fangyi-zhou @LyricalToxic @melvinhe @grievejia @lolpack

Full Changelog: 0.24.2...0.25.0

Don't miss a new pyrefly release

NewReleases is sending notifications on new releases.