GitHub
03/13/2026, 8:56 PMty from 0.0.20 to 0.0.21
Release notes
Sourced from ty's releases.
0.0.21
Release Notes
Released on 2026-03-05.
Bug fixes
• Avoid stack overflow with recursive typevar (#23652)
• Fix panic on incomplete except handlers (#23708)
• Allow unions of different-length iterables inunpacking into optional positional parameters (#23124)*args
• Don't replaceattributes withAnyafterobjectnarrowing (#23725)isinstance
LSP server
• Exclude decorators from class/def code folding (#23543)
• Fix handling of non-Python text documents (#23704)
Configuration
• Addselector toallschema (#23721)ty.json
• Fix precedence ofselector in TOML configurations (#23723)all
• Makeselector case-sensitive (#23713)all
Type checking
• Addlint rule (#23648)invalid-enum-member-annotation
• Add a diagnostic for an unused awaitable (#23650)
• Add a diagnostic if ais used to specialize aTypeVar, or vice versa (#23738)ParamSpec
• Add more type-variable default validation (#23639)
• Add unbound type variable detection in annotations (#23641)
• Apply narrowing to walrus values (#23687)
• Do not unioninto unannotated container types (#23718)Unknown
• Avoid inferring generics with negative intersections (#23750)
• More precise types forandnameof an enum (#23683)value
• Better preserve user-provided union order in inferred specializations (#23715)
• Support narrowing in ternary expressions (#23726)
• Validate bare ParamSpec usage in type annotations, and support stringified ParamSpecs as the first argument to(#23625)Callable
Contributors
• `@charliermarsh`
• `@zsol`
• `@Gankra`
• `@MichaReiser`
• `@AlexWaygood`
• `@rizzip`
• `@iksuddle`
• `@dcreager`
• `@BurntSushi`
• `@carljm`... (truncated) Changelog Sourced from ty's changelog.
0.0.21
Released on 2026-03-05.
Bug fixes
• Avoid stack overflow with recursive typevar (#23652)
• Fix panic on incomplete except handlers (#23708)
• Allow unions of different-length iterables inunpacking into optional positional parameters (#23124)*args
• Don't replaceattributes withAnyafterobjectnarrowing (#23725)isinstance
LSP server
• Exclude decorators from class/def code folding (#23543)
• Fix handling of non-Python text documents (#23704)
Configuration
• Addselector toallschema (#23721)ty.json
• Fix precedence ofselector in TOML configurations (#23723)all
• Makeselector case-sensitive (#23713)all
Type checking
• Addlint rule (#23648)invalid-enum-member-annotation
• Add a diagnostic for an unused awaitable (#23650)
• Add a diagnostic if ais used to specialize aTypeVar, or vice versa (#23738)ParamSpec
• Add more type-variable default validation (#23639)
• Add unbound type variable detection in annotations (#23641)
• Apply narrowing to walrus values (#23687)
• Do not unioninto unannotated container types (#23718)Unknown
• Avoid inferring generics with negative intersections (#23750)
• More precise types forandnameof an enum (#23683)value
• Better preserve user-provided union order in inferred specializations (#23715)
• Support narrowing in ternary expressions (#23726)
• Validate bare ParamSpec usage in type annotations, and support stringified ParamSpecs as the first argument to(#23625)Callable
Contributors
• `@charliermarsh`
• `@zsol`
• `@Gankra`
• `@MichaReiser`
• `@AlexWaygood`
• `@rizzip`
• `@iksuddle`
• `@dcreager`
• `@BurntSushi`
• `@carljm`
• `@oconnor663`Commits • `c1ad9f2` Bump version to 0.0.21 (#2973) • `065338a` Add typeshed diff link to changelog during release (#2957) • `fba59f6` Fix renovate
actions/*-artifact updates (#2956)
• `bad4a97` Update actions/download-artifact digest to 70fc10c (<https://redirect.github.com/astral-sh/ty/issues/2933|#…
meltano/meltanoGitHub
03/13/2026, 9:04 PM