Release Notes
Released on 2026-06-10.
Bug fixes
- Avoid panicking on encountering a recursive NamedTuple that references a recursive NewType (#25764)
- Fix out-of-bound panic in notebooks involving suppression comments (#25629)
Core type checking
- Preserve overloads through callable protocol decorators (#25806)
- Sync vendored typeshed stubs (#25779). Typeshed diff
Performance and memory-usage improvements
- Avoid caching specialization-invariant known instances (#25816)
- Avoid resolving overload sets for ordinary functions (#25817)
- Store common definition inference results inline (#25814)
- Use
Box<SystemPath>etc. inFiles(#25554)
Contributors
Install ty 0.0.47
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ty/releases/download/0.0.47/ty-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ty/releases/download/0.0.47/ty-installer.ps1 | iex"Download ty 0.0.47
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo astral-sh/tyYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>