Repository navigation
Pyrefly v0.24.2
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()andbool()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 * boolandcomplex * bool. - Workspace Symbols: Implemented workspace symbol support using the fuzzy search infrastructure for auto-import.
- Configuration Improvements: Added
--typeshed-pathCLI 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