Pyrefly 0.23.0
Status: ALPHA
Release date: 2025-07-07
Pyrefly 0.23.0 bundles 186 commits from 24 contributors. This release introduces significant improvements in type checking, configuration handling, and error management.
📝 Changelog
- Dataclass improvements: Added checks for dataclas field ordering, keyword arguments, and inheritance, aligning with Python's typing specification. Started implementing support for dataclass transforms.
- Error Handling and Suppression: Introduced more robust error handling and suppression options. Error suppression comments can now specify the type of error being suppressed, and are less sensitive to whitespace.
- Go-to-def Enhancements: Added support for resolving a single goto-def request to multiple definitions.
- Configuration and Environment Updates: Better error reporting and support for conda environments.
- Jupyter Notebook Integration: Pyrefly can now work on notebooks in Jupyter Lab, via the jupyterlab-lsp extension.
📦 Upgrade
pip install --upgrade pyrefly==0.23.0
🖊️ Contributors this release
@aahanaggarwal, @yangdanny97, @stroxler, @rchen152, @dluo, @ndmitchell, @connernilsen, @xaskii, @melvinhe, @migeed-z, @TheRustyPickle, @arnav-jain1, @InSyncWithFoo, @rubmary, @arthaud, @samwgoldman, @grievejia, @danielocfb-test, @MaggieMoss, @DavidTolnay, @junhao, @darricklaidin, @kinto0