Immutable
release. Only release title and notes can be modified.
Release Notes
Released on 2026-07-01.
Bug fixes
- Avoid MRO cycle when collecting NamedTuple fields (#26464)
- Model
intandstrenum value normalization (#26349) - Prefer reflected operators by runtime class (#26434, #26474)
CLI
- Exit with status 130 when interrupted (#26465)
Performance
Core type checking
- Infer generic class pattern capture types (#26479)
- Narrow exact tuples through sequence patterns (#26424)
- Recognize inherited enum member constructors (#26410)
- Respect return-context inference when filtering overloads (#26454)
- Sync vendored typeshed stubs (#26501). Typeshed diff
Contributors
Install ty 0.0.56
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ty/releases/download/0.0.56/ty-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ty/releases/download/0.0.56/ty-installer.ps1 | iex"Download ty 0.0.56
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>