Immutable
release. Only release title and notes can be modified.
Release Notes
Released on 2026-06-18.
Bug fixes
- Fix bound TypeVar default cycle recovery (#26124)
- Support
Annotated[Any, ...]as a class base (#26133)
LSP server
- Suggest keyword-only arguments between variadic parameters (#26134)
Core type checking
- Avoid assuming classes with
AnyorUnknownbases are descriptors (#26120) - Infer simpler types in complex lambda cycles (#26137)
- Preserve exact class objects during identity narrowing (#26117)
Diagnostics
- Preserve unpacking diagnostics for nested assignment targets (#26121)
Performance
- Compact indexed AST node storage (#25998)
- Discard dead DNF branches in intersection building (#26144)
Documentation
- Remove broken gradual guarantee link (#3806)
Contributors
Install ty 0.0.51
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ty/releases/download/0.0.51/ty-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ty/releases/download/0.0.51/ty-installer.ps1 | iex"Download ty 0.0.51
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>