Pyrefly v0.46.0
Status : BETA
Release date: December 15, 2025
Pyrefly v0.46.0 bundles 125 commits from 19 contributors.
✨ New & Improved
| Area | What’s new |
| :---- | :---- |
| Language Server | - Call Hierarchy support for the Pyrefly LSP server now implemented. This is a fundamental IDE feature that allows users to explore function call relationships in your IDE.
- Function documentation now available in signature help
- Signature help now uses single-line labels, thereby maintaining compatibility with editors that don't support multi-line labels while still keeping hover tooltips readable
- Variables defined in ALL_CAPS are now correctly highlighted as constants in VSCode and the website sandbox. |
| Type Checking | Implemented PEP 765 warnings. The checker now warns if return, break, or continue statements directly exit a finally block. Starting in Python 3.14, these statements emit a SyntaxWarning because they can silently mask exceptions. |
| | - Added third-party stubs for , , , , , , , , , and to the Pyrefly bundle for better out-of-the-box support for these libraries. - Support for Pydantic “lax mode”. Pyrefly can now model Pydantic’s lax runtime behavior more precisely. As a result, you may see new inferred types such as LaxInt and LaxBool in your IDE, representing the unions of input types that Pydantic accepts at runtime. |
| | Debug symbols are now included in release builds, enabling users to generate usable stack traces in crash reports |