Release Notes
Released on 2026-04-05.
Bug fixes
- Avoid special-casing for
dataclasses.fieldif it's not infield_specifiers(#24397) - Reject unsupported
environment.python-versionvalues in configuration files (#24402) - Respect supported lower bounds from
requires-python(#24401)
Core type checking
- Add support for
types.new_class(#23144) - Fix PEP 695 type aliases in
withstatement (#24395) - Respect
__new__and metaclass__call__return types (#24357) - Treat enum attributes with type annotations as members (#23776)
Contributors
Install ty 0.0.29
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-installer.ps1 | iex"Download ty 0.0.29
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>