Release Notes
Released on 2026-06-04.
Bug fixes
- Avoid treating
sys.implementation.versionlikesys.version_info(#25608) - Fix anchor point for override diagnostics (#25621)
LSP server
- Show type alias value on hover (#25381)
Performance
- Add caching for pattern match narrowing (#25613)
- Compact retained definition and expression identities (#25606)
- Reuse expression cache for TypedDict union inference (#25643)
- Upgrade Salsa (#25545)
Core type checking
- Enable narrowing for unions of TypedDict (#25188)
Contributors
Install ty 0.0.44
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ty/releases/download/0.0.44/ty-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ty/releases/download/0.0.44/ty-installer.ps1 | iex"Download ty 0.0.44
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>