Skip to content

Comments

⬆️ Update dependency ty to v0.0.18#1356

Merged
liudger merged 1 commit intomainfrom
renovate/ty-0.x
Feb 21, 2026
Merged

⬆️ Update dependency ty to v0.0.18#1356
liudger merged 1 commit intomainfrom
renovate/ty-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 21, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ty (changelog) ==0.0.17==0.0.18 age adoption passing confidence

Release Notes

astral-sh/ty (ty)

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

Configuration

📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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.

@renovate renovate bot added dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. labels Feb 21, 2026
@codecov
Copy link

codecov bot commented Feb 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.89%. Comparing base (f5152be) to head (01f60e4).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1356   +/-   ##
=======================================
  Coverage   99.89%   99.89%           
=======================================
  Files           6        6           
  Lines         910      910           
  Branches      126      126           
=======================================
  Hits          909      909           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sonarqubecloud
Copy link

@liudger liudger merged commit 8391596 into main Feb 21, 2026
21 checks passed
@renovate renovate bot deleted the renovate/ty-0.x branch February 21, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant