Release Notes
Released on 2025-12-17.
LSP server
- Improve rendering of signatures in hovers (#22007)
Core type checking
- Apply narrowing to
lencalls based on argument size (#22026) - Don't add identical lower/upper bounds multiple times when inferring specializations (#22030)
- Improve
unsupported-baseandinvalid-super-argumentdiagnostics to avoid extremely long lines when encountering verbose types (#22022) - Improve disambiguation of types in many cases (#22019)
- Respect deferred values in keyword arguments etc. for
.pyifiles (#22029) - Handle field specifier functions that accept
**kwargsand recognize metaclass-based transformers as instances ofDataclassInstance(#22018)
Contributors
Install ty 0.0.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ty/releases/download/0.0.3/ty-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ty/releases/download/0.0.3/ty-installer.ps1 | iex"