Skip to content

chore(deps): update dependency ty to v0.0.19#504

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ty-0.x
Open

chore(deps): update dependency ty to v0.0.19#504
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ty-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 26, 2026

This PR contains the following updates:

Package Change Age Confidence
ty (changelog) ==0.0.18==0.0.19 age confidence

Release Notes

astral-sh/ty (ty)

v0.0.19

Compare Source

Released on 2026-02-26.

Bug fixes
  • Fix panic in diagnostic rendering when attempting to render a code frame pointing to leading whitespace (#​23458)
  • Fix panics and incorrect inference stemming from incorrectly considering overloads in another file as being associated with a function in the file being checked (#​21977)
  • Fix panic when attempting to narrow the type of a dictionary key that was assigned using a multi-target assignment, e.g. x = y = {"a": 1} (#​23523)
  • Fix infinite hang on mutually recursive TypeAliasType definitions (#​23397)
LSP server
  • Fix inlay hints for starred unpacking targets (#​23454)
Core type checking
  • Fix assignability, subtyping and equivalence checks relating to typing.Generator prior to Python 3.13 (#​23386)
  • Understand that a scope's control flow terminates after await foo() if foo returns typing.Awaitable[typing.Never] or similar (#​23479)
  • Implement stricter handling of calls to instances of type[T] types (#​23472)
  • Support basic type narrowing for case {...}: patterns in match statements (#​23462)
  • Fix bugs that could manifest in incorrect overload evaluation, false-positive complaints regarding assert_type calls or false-positive redundant-cast diagnostics by reimplementing the equivalence type relation as mutual subtyping of top and bottom materializations (#​23428)
  • Fix equality and __contains__ narrowing with PEP-695 type aliases (#​23545)
  • Support _value_ annotations on enum classes (#​22228)
Improvements to diagnostics
  • Improve diagnostics when attempting to specialize non-generic types (#​23516)
  • Render subdiagnostics when --output-format=github is specified (#​23455)
Performance
  • Add a cached method for calculating the intersection of two types (#​23547)
  • Add a cached method for calculating the union of two types (#​23565)
  • Reduce the threshold above which Literal types in unions are upcasted to nominal-instance types in situations where the union type is recursively defined (#​23521)
  • Control flow: isolate the calculation of "loop header reachability" in a dedicated, cached function (#​23520)
Contributors

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants