· rangkumin.tech

Astral releases ty 1.0.0, the first stable version of its Python type checker, with built-in Pydantic, Django, attrs and pytest support

Astral released ty 1.0.0, the first stable version of its Python type checker and language server, and now recommends it for production use. The release brings a new generics solver, built-in support for Pydantic, Django, attrs and pytest, and a clearer versioning policy.

Why it matters

According to Astral's release notes, ty is the fastest type checker on 16 of 18 of its CLI benchmark projects, 1.46 times faster than Pyrefly and 3.56 times faster than Zuban. It also passes 95% of test files in Python's typing conformance suite, up from 29% at beta, compared with 57% for mypy by Astral's measure.

Adoption tooling was added as well: automatic fixes with --fix, suppression generation with --add-ignore, and diagnostic baselines in preview. There is return type inference for unannotated functions, stricter checking rules, and editor features such as Go to Implementation and call hierarchies.

Astral introduced a versioning policy: patch releases are limited to bug fixes, while minor releases may change type-checking behavior and introduce new type errors. Teams can install it with uv tool install ty@latest or the VS Code extension, then pin the minor version in CI so check results do not shift unexpectedly.

Sources

Choose English or Indonesian. Up to two editions a day. Unsubscribe anytime.