Release Notes
Released on 2026-01-09.
Bug fixes
- Fix
super()with TypeVar-annotatedselfandclsparameter (#22208) - Only consider fully static pivots when deriving transitive constraints (#22444)
LSP server
- Don't show diagnostics for excluded files (#22455)
- Fix goto definition for relative imports in third-party files (#22457)
- Improve completion ranking based on origin and exact match (#22460)
- Rank top-level module symbols above most other symbols (#22465)
Configuration
- Enable
unused-type-ignore-commentby default (#22474)
Performance
- Improve
UnionBuilderperformance by changingType::is_subtype_ofcalls toType::is_redundant_with(#22337) - Optimize union building for unions with many enum-literal members (#22363)-
Other changes
Contributors
Install ty 0.0.11
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ty/releases/download/0.0.11/ty-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ty/releases/download/0.0.11/ty-installer.ps1 | iex"