Pyrefly v0.50.0
Status : BETA
Release date: 26 January 2026
Pyrefly v0.50.0 bundles 183 commits from 27 contributors.
✨ New & Improved
| Area | What’s new |
| :---- | :---- |
| Language Server | - Hovering or requesting signature help for constructor calls now shows the instance type instead of -> None
- Structured comment headers (e.g., # Title ----) now create hierarchical folding regions and outline symbols in editors. This can be enabled with the commentFoldingRanges setting that is now available in VSCode’s settings UI
- Go-to-definition now works for intermediate submodule components (e.g., clicking on b or c in a.b.c.D), improving navigation in complex module hierarchies
- Inlay hints now available for variables created from tuple unpacking (e.g. x, y = (a, b))
- Type variable bounds, constraints, and defaults are now shown when formatting generic types.
- Previously, reveal_type showed identical signatures for functions with different type variable restrictions |
| | Type narrowing now works for when using / checks, including inherited keys and empty |
| | Better support for detecting and renaming editable installed packages |
| | The command now accepts JSON values, making error suppression more flexible and scriptable. |