Immutable
release. Only release title and notes can be modified.
Release Notes
Released on 2026-07-27.
Bug fixes
LSP server
- Fix ParamSpec declaration hover and type navigation (#27183)
- Implement LSP
textDocument/implementationrequest (#25410) - Introduce shared primitives for parsing backticks in docstrings (#26928)
- Render NumPy docstrings as structured Markdown (#25925)
CLI
Diagnostics
- Add a lint rule for combined abstract and final decorators (#26932)
- Change
--add-ignoreto add space after the colon forty: ignore(#27120) - Fix
missing-override-decoratorsuggestion before Python 3.12 (#27166) - Reuse full call diagnostics for implicit setter calls (#27115)
Configuration
Core type checking
- Decorate only overload implementation signatures (#27147)
- Don't consider known-instance types, generic aliases or non-singleton special-form types to be single-valued (#27137)
- Improve identity comparison inference for singleton types (#27126)
- Improve tuple membership and rich comparison inference (#27164)
- Model walrus bindings from comprehensions (#26466)
- Narrow tagged unions using identity comparisons (#27130)
- Preserve
Selfin__new__calls (#27003) - Preserve receiver constraints when binding overloaded methods (#27038)
- Support generic manual PEP 695 type aliases (#27083)
- Treat bivariance as covariant (#24319)
Performance
- Avoid cycles when resolving
ModuleTypeglobals (#27182) - Avoid expanding optional enum comparisons (#27105)
- Avoid repeated inference when copying mixed
TypedDictunions (#27108) - Improve importer performance (#27159)
- Improve union and intersection builder performance (#27167)
Contributors
- @perfloop-agent
- @carljm
- @lerebear
- @Gankra
- @TrapsterDK
- @MichaReiser
- @thejchap
- @mtshiba
- @denyszhak
- @charliermarsh
- @AlexWaygood
Install ty 0.0.64
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ty/releases/download/0.0.64/ty-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ty/releases/download/0.0.64/ty-installer.ps1 | iex"Download ty 0.0.64
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>