Skip to content

build(deps-dev): bump ty from 0.0.107 to 0.0.108 - #534

Merged
Paul-B98 merged 1 commit into
mainfrom
dependabot/uv/ty-0.0.108
Nov 30, 2026
Merged

Paul-B98 merged 1 commit into
mainfrom
dependabot/uv/ty-0.0.108

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Bumps ty from 0.0.107 to 0.0.108.

Release notes

Sourced from ty's releases.

0.0.108

Release Notes

Released on 2026-11-22.

Breaking changes

  • Replace mismatched-type-name with eight rules. In configuration, CLI flags, and suppression comments, use the rule for each constructor you want to configure. (#29957)
    • mismatched-newtype-name, mismatched-typevar-name, mismatched-paramspec-name, mismatched-typevartuple-name, mismatched-typeddict-name, and mismatched-type-alias-name warn by default.
    • mismatched-enum-name and mismatched-namedtuple-name are disabled by default. They check names only when ty can infer a single string literal.

Bug fixes

  • Fix a crash when a class unpacks a Generic base whose required type parameter follows one with a default. The invalid-generic-class diagnostic now points to the type parameters in the unpacked base. (#30630)
  • Correctly check arguments forwarded through a ParamSpec when an unpacked tuple supplies both a wrapper's own positional parameters and arguments for the callback. (#30594)
  • Fix false errors in nested calls that pass a lambda through an unresolved ParamSpec. (#30547)
  • Preserve the type inferred for each overload when one overload leaves a parameter unannotated and another supplies an expected type. This avoids treating the call as ambiguous and inferring an Unknown result. (#30549)
  • Preserve type-variable relationships through aliases such as type Id[T] = T, so ty can infer a generic call's result from the callback's return type. (#30590)
  • Fix a bug where disabling invalid-generic-class also silenced shadowed-type-variable diagnostics in nested classes. (#30588)
  • Fix a bug where suppressing an invalid-paramspec error on *args with # ty: ignore caused the error to reappear on **kwargs. (#30595)

LSP server

  • Fix a bug in incremental updates that caused ty to re-index unchanged files containing standalone calls when you edited another file. (#30759)
  • Speed up member completions when a partial name is typed by looking up documentation only for matching names. (#30714)
  • Speed up semantic highlighting for part of a file by skipping functions, classes, and from imports outside the requested range. (#30665)
  • Speed up folding range requests for files with large single-line statements. (#30696)
  • Speed up inlay hints by skipping signature lookups for calls without positional arguments or when argument-name hints are disabled. (#30688)
  • Speed up signature help, which shows a function's parameters and their types as you type a call. This affects editors that request parameter label offsets, especially for ASCII signatures with UTF-16 positions. (#30711)

CLI

  • Keep warnings and debug logs above progress bars during indexing and checking, and show progress bars during verbose runs. (#30527)
  • Generate ty check --output-format gitlab reports faster when the same rule produces many diagnostics in one file. (#30724)

Diagnostic improvements

  • Rename the uv-metadata diagnostic to project-manager and clarify whether uv failed to load project metadata or set up a script environment. When project-manager.script = "uv" is set and ty cannot run a supported version of uv, the script diagnostic points to that setting. Concise output now includes uv's error when it cannot resolve a script's dependencies. (#30528)

Core type checking

  • Recognize TypeVar, ParamSpec, TypeVarTuple, NewType, and TypeAliasType definitions even when their names are only known at runtime. By default, ty warns that it cannot verify the name and continues to use the defined type. (#29957)
  • Infer the same type (float*) for -0.5 and +0.5 as for 0.5. (#30720)

Performance improvements

Calls and overloads

  • Reuse more argument type compatibility checks across calls. (#30483)
  • Speed up repeated calls to overloaded functions when the same argument types match several overloads. (#30640)

... (truncated)

Changelog

Sourced from ty's changelog.

0.0.108

Released on 2026-11-22.

Breaking changes

  • Replace mismatched-type-name with eight rules. In configuration, CLI flags, and suppression comments, use the rule for each constructor you want to configure. (#29957)
    • mismatched-newtype-name, mismatched-typevar-name, mismatched-paramspec-name, mismatched-typevartuple-name, mismatched-typeddict-name, and mismatched-type-alias-name warn by default.
    • mismatched-enum-name and mismatched-namedtuple-name are disabled by default. They check names only when ty can infer a single string literal.

Bug fixes

  • Fix a crash when a class unpacks a Generic base whose required type parameter follows one with a default. The invalid-generic-class diagnostic now points to the type parameters in the unpacked base. (#30630)
  • Correctly check arguments forwarded through a ParamSpec when an unpacked tuple supplies both a wrapper's own positional parameters and arguments for the callback. (#30594)
  • Fix false errors in nested calls that pass a lambda through an unresolved ParamSpec. (#30547)
  • Preserve the type inferred for each overload when one overload leaves a parameter unannotated and another supplies an expected type. This avoids treating the call as ambiguous and inferring an Unknown result. (#30549)
  • Preserve type-variable relationships through aliases such as type Id[T] = T, so ty can infer a generic call's result from the callback's return type. (#30590)
  • Fix a bug where disabling invalid-generic-class also silenced shadowed-type-variable diagnostics in nested classes. (#30588)
  • Fix a bug where suppressing an invalid-paramspec error on *args with # ty: ignore caused the error to reappear on **kwargs. (#30595)

LSP server

  • Fix a bug in incremental updates that caused ty to re-index unchanged files containing standalone calls when you edited another file. (#30759)
  • Speed up member completions when a partial name is typed by looking up documentation only for matching names. (#30714)
  • Speed up semantic highlighting for part of a file by skipping functions, classes, and from imports outside the requested range. (#30665)
  • Speed up folding range requests for files with large single-line statements. (#30696)
  • Speed up inlay hints by skipping signature lookups for calls without positional arguments or when argument-name hints are disabled. (#30688)
  • Speed up signature help, which shows a function's parameters and their types as you type a call. This affects editors that request parameter label offsets, especially for ASCII signatures with UTF-16 positions. (#30711)

CLI

  • Keep warnings and debug logs above progress bars during indexing and checking, and show progress bars during verbose runs. (#30527)
  • Generate ty check --output-format gitlab reports faster when the same rule produces many diagnostics in one file. (#30724)

Diagnostic improvements

  • Rename the uv-metadata diagnostic to project-manager and clarify whether uv failed to load project metadata or set up a script environment. When project-manager.script = "uv" is set and ty cannot run a supported version of uv, the script diagnostic points to that setting. Concise output now includes uv's error when it cannot resolve a script's dependencies. (#30528)

Core type checking

  • Recognize TypeVar, ParamSpec, TypeVarTuple, NewType, and TypeAliasType definitions even when their names are only known at runtime. By default, ty warns that it cannot verify the name and continues to use the defined type. (#29957)
  • Infer the same type (float*) for -0.5 and +0.5 as for 0.5. (#30720)

Performance improvements

Calls and overloads

  • Reuse more argument type compatibility checks across calls. (#30483)
  • Speed up repeated calls to overloaded functions when the same argument types match several overloads. (#30640)
  • Check overloaded calls with **-unpacked mappings faster by reusing the inferred type for each keyword. (#30638)

... (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.107 to 0.0.108.
- [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.107...0.0.108)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from Paul-B98 as a code owner November 30, 2026 05:49
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Nov 30, 2026
@Paul-B98
Paul-B98 merged commit 1837435 into main Nov 30, 2026
1 check passed
@dependabot
dependabot Bot deleted the dependabot/uv/ty-0.0.108 branch November 30, 2026 11:29
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