Release Notes
Released on 2026-07-17.
Bug fixes
- Avoid recursive protocol structural comparisons (#26721)
LSP server
- Render Google docstrings as structured Markdown (#26599)
Library support
- Pydantic: Collect field metadata through subscripted generic
Annotatedaliases (#26885)
Diagnostics
- Avoid extending own-line suppressions in
--add-ignore(#26808)
Core type checking
- Derive descriptor setter domains for protocols (#26683)
- Enforce declared receiver TypeVar domains (#26863)
- Infer
isinstanceresults for aliases and type variables (#26961) - Infer
isinstanceresults for fixed class tuples (#26935) - Narrow inline list and set membership checks (#26955)
- Narrow tagged unions by tag truthiness (#26887)
- Narrow walrus expression values (#26949)
- Project intersections in
to_instance(#26892) - Remove inferable TypeVar artifacts recursively (#26787)
- Respect mixin receiver domains in method overrides (#26941)
- Support
TypeVarTupleandUnpack(#25240)
Performance
- Deduplicate completion labels (#26890)
- Only collect expected types for files open in the editor (#25546)
- Parallelize subtype hierarchy search (#26875)
- Share heap-backed parser names with CharStr (#26594)
- Use the new incremental checker from the
ignorecrate (#26933)
Contributors
- @MichaReiser
- @denyszhak
- @lerebear
- @dhruvmanila
- @charliermarsh
- @BurntSushi
- @Aethryl
- @carljm
- @ibraheemdev
Install ty 0.0.61
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ty/releases/download/0.0.61/ty-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ty/releases/download/0.0.61/ty-installer.ps1 | iex"Download ty 0.0.61
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>