Release Notes
Released on 2025-12-05.
LSP server
- Provide auto-import completion suggestions for modules in more situations (#21799)
- Always register the ty server as a rename provider if the LSP client doesn't support dynamic registration (#21789)
- Support auto-import of re-exported symbols in completion suggestions (#21779)
- Support renaming import aliases (#21792)
Core type checking
- Support
ParamSpec(#21445) - Improve the accuracy of the inferred
Callablesupertype of generic classes (#21798) - Increase the limit on the number of elements in a non-recursively defined literal union (#21683)
- Fix panics on mutually recursive generic protocols by normalizing the bounds/constraints of cyclic type variables (#21800)
Other changes
- Minor improvements to
assert_typediagnostics (#21811) - Fix a panic in recursive + generic type aliases (#21718)
- Fix a panic when instantiating a type variable with invalid constraints (#21663)
Contributors
Install ty 0.0.1-alpha.32
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ty/releases/download/0.0.1-alpha.32/ty-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ty/releases/download/0.0.1-alpha.32/ty-installer.ps1 | iex"