Skip to content

Comments

Bump ty from 0.0.17 to 0.0.18#803

Merged
tobiasraabe merged 1 commit intomainfrom
dependabot/uv/ty-0.0.18
Feb 24, 2026
Merged

Bump ty from 0.0.17 to 0.0.18#803
tobiasraabe merged 1 commit intomainfrom
dependabot/uv/ty-0.0.18

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 24, 2026

Bumps ty from 0.0.17 to 0.0.18.

Release notes

Sourced from ty's releases.

0.0.18

Release Notes

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)

... (truncated)

Changelog

Sourced from ty's changelog.

0.0.18

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)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ty](https://github.com/astral-sh/ty) from 0.0.17 to 0.0.18.
- [Release notes](https://github.com/astral-sh/ty/releases)
- [Changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ty@0.0.17...0.0.18)

---
updated-dependencies:
- dependency-name: ty
  dependency-version: 0.0.18
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Feb 24, 2026
@tobiasraabe tobiasraabe added this pull request to the merge queue Feb 24, 2026
Merged via the queue into main with commit 0212322 Feb 24, 2026
21 checks passed
@tobiasraabe tobiasraabe deleted the dependabot/uv/ty-0.0.18 branch February 24, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant