Skip to content

chore(deps): update dependency ty to >=0.0.19#334

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

chore(deps): update dependency ty to >=0.0.19#334
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ty-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 10, 2026

This PR contains the following updates:

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

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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)

v0.0.18

Compare Source

Released on 2026-02-20.

Bug fixes
  • Support classes dynamically created via type(...) with cyclic bases (#​22792)
  • Fix incorrect types inferred when unpacking mixed tuples (#​23437)
  • Fix stack overflow for self-referential TypeOf in annotations (#​23407)
  • Fix several server panics that could occur when computing semantic tokens for the current file (#​23403), #​23398, #​23401)
LSP server
  • Add code folding support (#​23393)
  • Add warning message when running ty server interactively (#​23416)
  • Exclude test-related symbols from non-first-party packages in auto-import completions (#​23252)
  • Fix bug where diagnostics could disappear after opening an external file (#​23447)
  • Remove spurious destination for Go-To Definition on variables defined in a loop (#​23391)
  • Use the fully qualified name when "baking" an inlay hint into the source code if the scope already contains a variable with the same name as the unqualified name (#​23265)
  • Resolve TypeVars in call_signature_details parameter types (#​23149)
CLI
  • Add --output-format to ty version (#​23387)
Configuration
  • Add replace-imports-with-any option (#​23122)
  • Support shellexpand for configuration paths (#​23274)
Type checking
  • Add a new diagnostic to detect invalid class patterns in match statements (#​22939)
  • Allow Self in ClassVar type annotations (#​23362)
  • Consider synthesized methods and ClassVar-qualified declarations when determining whether an abstract method has been overridden in a subclass (#​23381)
  • Add a diagnostic when combining Final and ClassVar (#​23365)
  • Fix return type of assert_never (#​23389)
  • Fix assert_type diagnostic messages (#​23342)
  • Ban PEP-613 type alias values from containing type-qualifier special forms (#​23444)
  • Infer LiteralString for f"{literal_str_a} {literal_str_b}" (#​23346)
  • Infer precise types for bit-shift operations on integer literals (#​23301)
  • Make [abstract-method-in-final-class] diagnostics less verbose for classes with many abstract methods (#​23379)
  • Improve diagnostics for abstract @final classes (#​23376)
  • Only perform literal promotion for implicitly inferred literals (#​23107)
  • Parenthesize callable types when they appear in the return annotation of other callable types (#​23327)
  • Consider a call to a generic function returning Never to terminate control flow (#​23419)
  • Support calls to intersection types (#​22469)
  • Validate annotated assignments to attributes on self (#​23388)
  • Treat a bytes-literal type as a subtype of Sequence[<constituent integers in the bytestring>] (#​23329)
  • Allow a string-literal argument to match against an Iterable parameter in type variable inference. (#​23326)
  • Support narrowing from a Callable type returning a TypeGuard type (#​23280)
Performance
  • Consider all code paths as being ambiguously reachable in cases with pathologically large control-flow graphs (#​23399)
Typeshed
Contributors

v0.0.17

Compare Source

Released on 2026-02-13.

Bug fixes
  • Avoid Literal promotion for constrained TypeVars with Literal bounds (#​23209)
  • Fix false positives in TypeVar shadowing checks (#​23222)
Core type checking
  • Support generic protocols (#​21902)
  • Perform control-flow analysis in loops (#​22794)
  • Support typing.Self in attribute annotations (#​23108)
  • Support type narrowing in situations with calls to NoReturn functions (#​23109)
  • Support type narrowing and reachability analysis based on os.name checks (#​23230)
  • Detect overrides of Final class variables in subclasses (#​23180)
  • Fix bound method access on None (#​23246)
  • Fix method calls on subclasses of Any (#​23248)
  • Disallow type variables within PEP-695 type variable bounds and constraints (#​22982)
  • Emit error for attribute access on union where some elements lack the attribute (#​23042)
  • Emit error for invalid typevar defaults (#​23194)
  • Improve display of ParamSpecs in some situations (#​23211)
LSP server
  • Add hover and go-to-declaration support for subscript literals (#​22837)
  • Assign lower completion ranking to deprecated names in auto import (#​23188)
  • Improve spans of references to submodules imported in an __init__.py (#​21795)
  • Include conditional symbols (like datetime.UTC) in auto-import in more cases (#​23249)
  • Support auto-import for symbols in inlay hints (#​22111)
  • Include overload declarations in find-references (#​23215)
Performance
  • Avoid UnionBuilder overhead when creating a new union from the filtered elements of an existing union (#​22352)
Other changes
  • Allow discovering dependencies in system Python environments (#​22994)
  • Apply workspace settings to virtual files (#​23228)
  • Add support for --output-format=junit (#​22125)
  • Use a smaller diagnostic range for inconsistent-mro diagnostics (#​23213)
Contributors

v0.0.16

Compare Source

Released on 2026-02-10.

Bug fixes
  • Allow stringified argument in PEP-613 alias to Optional (#​23200)
  • Fix fuzzer panic on slice expression in unclosed comprehension (#​23146)
  • Fix combinatorial explosion due to fixed-length tuple expansion in overload matching (#​23190)
  • Respect @no_type_check when combined with other decorators (#​23177)
  • Fix diagnostic location for an incorrect sub-call to a specialized ParamSpec (#​23036)
LSP server
  • Assign lower completions ranking to deprecated functions and classes (#​23089)
  • Change goto-def for class constructors to always go to class definition (#​23071)
  • Ensure diagnostic mode is consistent across projects inside the LSP server (#​23121)
  • Don't include the class Foo in autocomplete suggestions when the user is typing out Foo's bases (#​23141)
  • Fix parameter references across files via keyword args (#​23012)
  • Fix wrong inlay hints for overloaded function arguments (#​23179)
  • Support diagnostics in newly created files inside neovim (#​23095)
  • Exclude already-included classes when providing completion suggestions for class bases (#​23085)
CLI
  • Add support for TY_OUTPUT_FORMAT environment variable (#​23123)
  • Fall back to python3 found in $PATH if no environment is found (#​22843)
Type checking
  • Add inconsistent-mro autofix to move Generic[] to the end of the bases list (#​22998)
  • Add precise return-type inference for struct.unpack (#​22562, #​23130)
  • Disallow TypeVars within ClassVars (#​23184)
  • Emit diagnostic on unbound call to abstract @classmethod or @staticmethod (#​23182)
  • Fix false-positive diagnostics when providing the total= keyword to TypedDict classes that had PEP-695 type parameters (#​23114)
  • Narrow both left- and right-hand operands where possible (#​23084)
  • Narrow chained operators (#​23093)
  • Narrow equality subscripts on either operand (#​23104)
  • Recognize __dataclass_transform__ to support SQLModel (#​23070)
  • Relax the attribute narrowing condition to support deeper-nested attribute type narrowing (#​22440)
  • Support constrained TypeVar compatibility across function boundaries (#​23103)
  • Support comparison methods (__gt__, etc.) where a parameter is annotated with a Literal type (#​23100)
  • Support partially specialized type context (#​22748)
  • Use type context when inferring constructor argument types (#​23139)
  • Validate TypedDict constructor calls for generic aliases and type[...] targets (#​23113)
Performance
  • Conservative narrowing places optimization (#​22734)
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.

@claude
Copy link

claude bot commented Feb 10, 2026

PR Review

Type: Automated dependency update (dev dependency)

Changes: Updates ty from >=0.0.15 to >=0.0.16

✅ Assessment

  • Clean minor version bump with bug fixes and type checking improvements
  • Dev dependency only - no production code impact
  • Lock file properly synchronized
  • No code changes required

🧪 Verification

CI should confirm compatibility. The update includes:

  • Bug fixes for type checking edge cases
  • LSP server improvements
  • Performance optimizations

Recommendation: ✅ Safe to merge after CI passes

@renovate renovate bot force-pushed the renovate/ty-0.x branch from 863aa09 to 87a38b4 Compare February 12, 2026 10:35
@renovate renovate bot changed the title chore(deps): update dependency ty to >=0.0.16 chore(deps): update dependency ty to >=0.0.17 Feb 13, 2026
@renovate renovate bot force-pushed the renovate/ty-0.x branch from 87a38b4 to d2e50ba Compare February 13, 2026 13:51
@renovate renovate bot changed the title chore(deps): update dependency ty to >=0.0.17 chore(deps): update dependency ty to >=0.0.18 Feb 21, 2026
@renovate renovate bot force-pushed the renovate/ty-0.x branch from d2e50ba to 718b0fc Compare February 21, 2026 00:49
@renovate renovate bot changed the title chore(deps): update dependency ty to >=0.0.18 chore(deps): update dependency ty to >=0.0.19 Feb 26, 2026
@renovate renovate bot force-pushed the renovate/ty-0.x branch from 718b0fc to 9a15af5 Compare February 26, 2026 12:38
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