Immutable
release. Only release title and notes can be modified.
Release Notes
Released on 2026-07-12.
Bug fixes
- Guard descriptor classification cycles (#26690)
- Respect
init=Falsein dataclass field-order checks (#26749) - Avoid duplicate diagnostics for overloaded TypeIs (#26716)
Library support
- Pydantic: Support custom
__init__methods (#26699) - Pydantic: Support field metadata in
Annotated(#26650)
Core type checking
- Allow unsound equality-based narrowing for builtins (#26414)
- Bind Self in implicit dunder calls (#26711)
- Correct protocol method receiver binding (#26701)
- Exempt ParamSpec callables from the dunder descriptor heuristic (#26696)
- Remove transitive TypeVar artifacts during collection inference (#26714)
LSP server
- Avoid broad invalidation from file check eligibility (#26741)
- Correct how we expand tabs in docstrings (#26679)
- Resolve ambiguity in Google-style docstring parsing in favour of observations from popular projects (#26673)
CLI
Performance
- Cache generic context (#26745)
- Cache known class instances (#26746)
- Reuse common TypedDict constraints through intersections (#26747)
- Use purpose-specific types for completion and module text (#26664)
Contributors
Install ty 0.0.59
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ty/releases/download/0.0.59/ty-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ty/releases/download/0.0.59/ty-installer.ps1 | iex"Download ty 0.0.59
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>