Skip to content

chore(deps): update dependency ty to v0.0.107 - #1285

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

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ty-0.x

Conversation

@renovate

@renovate renovate Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
ty (changelog) ==0.0.91 → ==0.0.107 age confidence

Release Notes

astral-sh/ty (ty)

v0.0.107

Compare Source

Released on 2026-11-18.

Preview features
  • Show progress and handle Ctrl-C during initial file indexing (#​30492)
Bug fixes
  • Fix a hang when specializing generic constructors (#​30510)
  • Isolate uv-managed scripts from the project environment (#​30461)
Other changes
  • Reject union narrowing attempts with failed nested calls (#​30217)
  • Skip enum-complement recognition without exclusions (#​30539)
Contributors

v0.0.106

Compare Source

Released on 2026-11-18.

Breaking changes
  • Split incompatible TypeIs narrowings into two new rules (#​29949)
Bug fixes
  • Avoid exponential constraint search in generic constructor inference (#​30474)
  • Check fixed prefixes when assigning ParamSpec callables to gradual Concatenate (#​30470)
  • Fix stack overflow checking a generic base initializer (#​30473)
  • Fix variance inference for frozen Pydantic models on 3.12 and earlier (#​30452)
  • Preserve compatible overloads when partially binding a union argument (#​30446)
  • Preserve fixed parameters when comparing gradual callables (#​30509)
LSP server
  • Report workspace diagnostics while scripts initialize (#​30410)
  • Sync script environments when opening the file, when using diagnosticMode: "openFilesOnly" (#​30381)
Configuration changes
  • Add project-manager.script = "uv" (#​30489)
  • Resolve script file settings independently of uv (#​30407)
Other changes
  • Auto-generate reference documentation for ty-extensions (#​5056)
  • Handle TypedDict union pairs before other simplifications (#​30516)
Contributors

v0.0.105

Compare Source

Released on 2026-11-17.

Breaking changes
  • Split missing-module-member out of import-not-found (#​30342)
  • Split invalid dataclass __post_init__ signatures into a separate rule (#​30335)
  • Use the constraints rule for single-constraint TypeVar calls (#​30340)
Bug fixes
  • Fix stale diagnostic when using diagnosticMode: "workspace" (#​30415)
  • Preserve type context kind when propagating to nested expressions (#​30280)
  • Speed up materialization of nested generic types (#​30462)
LSP server
  • Keep the language server responsive when the worker queue fills (#​30127)
  • Speed-up find references in workspaces with many unicode files (#​30402)
  • Update imports when renaming Python package folders (#​30084)
Memory usage improvements
  • Skip union comparisons for unrelated nominal classes (#​30429)
Other changes
  • Avoid definition lookups in recursive TypedDict comparisons (#​30444)
  • Avoid preferring inferred attribute types during call inference (#​30151)
  • Avoid tracking ordinary instances twice in type searches (#​30438)
  • Check protocol member names before specializing the source interface (#​30445)
  • Ignore type context when inferring assert_never arguments (#​30389)
  • Reuse unpacked field types across TypedDict union candidates (#​30437)
  • Skip discarded TypedDict validation diagnostics in union matching (#​30435)
  • Skip repeated validation lookups for checked overloads (#​30436)
Contributors

v0.0.104

Compare Source

Released on 2026-11-13.

Bug fixes
  • Narrow class objects in equality and membership checks (#​30393)
  • Preserve literals outside a protocol when simplifying unions (#​30398)
  • Respect implicit __hash__ = None when a class defines __eq__ (#​30145)
LSP server
  • Fix completion after an alias in a parenthesized import (#​30394)
  • Suppress completions while typing multiline import aliases (#​30397)
Contributors

v0.0.103

Compare Source

Released on 2026-11-13.

Bug fixes
  • Avoid spurious syntax warnings when applying fixes (#​30404)
  • Fix a panic checking class decorators with inferred return types (#​30399)
  • Infer nested classes as read-only attributes (#​29346)
  • Infer value types for bare Final and ClassVar (#​30293)
  • Preserve excluded types when inferring type variable upper bounds (#​30237)
  • Preserve inherited value types on repeated bare ClassVar annotations (#​30396)
  • Respect return constraints when promoting literal arguments (#​30153)
LSP server
  • Resolve pytest fixtures registered through pytest_plugins (#​29588)
Contributors

v0.0.102

Compare Source

Released on 2026-11-12.

Breaking changes
  • Split invalid-return-type into 3 focussed rules; rename empty-body and unsound-return (#​29947)
Bug fixes
  • Avoid runaway inference for nested calls with union parameters (#​30220)
  • Fix a panic when simplifying recursive wide unions (#​30141)
  • Fix a stack overflow when inferring calls that return recursive aliases (#​30149)
  • Keep callable-local type variables out of enclosing constraints (#​30241)
  • Preserve Self for unary operators on bounded type variables (#​30242)
  • Preserve descriptor write contracts in overrides and protocols (#​30252)
Diagnostic improvements
  • Rename call-abstract-method to abstract-method-call (#​30287)
  • Rename call-non-callable to not-callable (#​30284)
  • Rename call-top-callable to call-to-function-with-unknown-signature (#​30285)
  • Rename dataclass-field-order to invalid-dataclass-field-order (#​30289)
  • Rename implicit-concatenated-string-type-annotation to implicit-string-concatenation-in-annotation; improve documentation (#​30286)
  • Warn by default for a single overload (#​30214)
Memory usage improvements
  • Check unused stub parameters in the surrounding inference (#​30251)
Other changes
  • Cache alias-preserving binary unions (#​30094)
  • Share use-def layouts for stub function parameters (#​30248)
  • Skip unused parameter bindings in stub bodies (#​30330)
Contributors

v0.0.101

Compare Source

Released on 2026-11-11.

Bug fixes
  • Avoid a panic on unions of recursive named tuples (#​30222)
  • Avoid repeatedly normalizing nested partials (#​30234)
  • Preserve Pydantic strictness through PEP 695 type aliases (#​30210)
  • Preserve the element type when passing tuple as a callback (#​30152)
  • Record exception checkpoints for nested unpacking targets (#​30206)
LSP server
  • Fall back to a workspace-wide watch when file watcher registration fails (#​30120)
Other changes
  • Do not narrow Field[..] specializations to expanded unions (#​30264)
Contributors

v0.0.100

Compare Source

Released on 2026-11-09.

Breaking changes
  • Distinguish attributes missing from some union members (#​29944)
  • Give abstract class instantiation its own diagnostic rule (#​29948)
  • Separate missing and inconsistent overload implementation diagnostics (#​29953)
  • Split invalid-key into three TypedDict diagnostic rules (#​29955)
  • Split out lost-keyword-for-regular-parameter from incompatible-method-override (#​30143)
Bug fixes
  • Fix partial application of ParamSpec decorators (#​30150)
  • Offer inlay hint edits only for valid annotation targets (#​30208)
  • Preserve distinct bytes keys during narrowing (#​30207)
Diagnostic improvements
  • Explain why a rule was removed in configuration and ignore comments (#​30128)
  • Rename incompatible override rules (#​30142)
Memory usage improvements
  • Avoid caching bundled stub source during parsing (#​30181)
  • Defer formatting details for suppressed diagnostics (#​30169)
Other changes
  • Avoid repeated scans when merging class MROs (#​30095)
  • Cache context-free specialized alias values (#​30099)
  • Cache raw signatures for overload declarations (#​30106)
  • Cache the previous declaration in an overload set (#​30110)
  • Check constraint equivalence by searching for counterexamples (#​30093)
  • Collect namespace members once per metaclass (#​30165)
  • Index lazy enclosing snapshots by symbol name (#​30088)
  • Reduce redundant work in structural recursive type inference (#​29975)
  • Reject incompatible fixed tuple contexts as elements are inferred (#​30183)
  • Reuse the incoming flow after boolean expressions without assignments (#​30097)
  • Skip repeated type constraints for collection literals (#​30089)
  • Skip union checks for incomparable types (#​30102)
Contributors

v0.0.99

Compare Source

Released on 2026-11-06.

Bug fixes
  • Handle output errors when generating shell completions (#​29997)
  • Invalidate aliased conditions across loop iterations (#​30074)
LSP server
  • Add support for workspace/willRenameFiles LSP request (#​28330)
Other changes
  • Bound comparisons of wide builtin literal unions (#​30052)
  • Fix call argument validation for variadic parameters (#​30086)
  • Freshen method typevars before owner specialization (#​29543)
  • Inform call specializations compatibility through type context (#​29932)
  • Keep source place IDs out of the use-def map (#​30077)
  • Preserve type structure during typevar freshening (#​29803)
  • Preserve typevars when mapping leaves their bounds unchanged (#​29547)
  • Preserve unions inferred during fixpoint iteration (#​29927)
  • Record lexical place IDs with their uses (#​29956)
  • Skip existing release artifacts when retrying mirror uploads (#​4937)
  • Skip fixpoint iteration for simple generic calls (#​30054)
  • Solve generic call type context through constraint sets (#​26680)
Contributors

v0.0.98

Compare Source

Released on 2026-11-05.

Bug fixes
  • Avoid cubic narrowing for enum OR patterns (#​30019)
  • Avoid duplicate warnings for unknown rules and override sections (#​30028)
  • Fix class-pattern exhaustiveness after class identity checks (#​30045)
  • Fix conditional type and tuple annotations (#​29987)
  • Prefer active unnamed Conda and Pixi environments (#​29974)
  • Preserve baseline matches when a rule is renamed (#​30040)
  • Preserve exception types after tuple truthiness checks (#​30018)
  • Report invalid module globs once per override pattern (#​30031)
  • Skip active Conda and Pixi environments during discovery if the environment doesn't contain Python (#​30066)
Configuration changes
  • Don't fail configuration deserialization on conflicting rule names (#​30023)
  • Inherit project settings and overrides for PEP 723 scripts (#​29793)
  • Warn when configuration uses a renamed rule (#​30024)
Memory usage improvements
  • Reuse callable signatures in function definition checks (#​30042)
Other changes
  • Retain all successful generic call narrowing attempts (#​29666)
  • Reuse specialized ancestors in class relations (#​29881)
  • Support shadowing methods on instances (#​29482)
  • Warn about renamed rules in ignore comments (#​30026)
Contributors

v0.0.97

Compare Source

Released on 2026-11-04.

Bug fixes
  • Apply a cycle iteration cutoff across type inference (#​30010)
  • Cap the size of inferred bytes literals during concatenation (#​29942)
  • Django: support ForeignKey and OneToOneField as primary keys (#​29785)
  • Fix a call hierarchy panic when expanding outgoing calls (#​29964)
  • Handle decorators that replace overrides of final methods (#​29961)
  • Ignore an empty VIRTUAL_ENV (#​29973)
  • Preserve narrowed type variables in union inference (#​29989)
Diagnostic improvements
  • Lower severity of diagnostics on recoverable invalid globs (#​29946)
  • Rename unresolved-import to import-not-found (#​29960)
Other changes
  • Document baseline support (#​4897)
  • Document third-party library support. (#​4879)
  • Pydantic: Respect extra-field configuration on settings models (#​29902)
  • Reuse matching constraints at branch joins (#​29875)
  • Reuse normalization of wide unions (#​29874)
  • Skip empty diagnostic context for overloaded callables (#​29959)
  • Speed up comparisons of deeply nested tuples (#​29933)
  • Update PyCharm setup instructions for 2026.2 (#​4914)
Contributors

v0.0.96

Compare Source

Released on 2026-11-03.

Bug fixes
  • Fix a panic when checking protocols involving runtime type aliases (#​29840)
  • Preserve Pydantic field metadata in quoted annotations (#​29851)
  • Resolve class-local names in generic type aliases (#​29915)
LSP server
  • Keep argument name hints display-only before later positional arguments or *args (#​29801)
  • Keep argument name hints display-only when they would insert duplicate or invalid keywords (#​29806)
  • Show field docstrings on hover for constructor keyword arguments (#​29907)
CLI
  • Give NO_COLOR precedence over FORCE_COLOR and CLICOLOR_FORCE in diagnostics (#​29898)
  • Honor color overrides in progress bars (#​29891)
  • Respect FORCE_COLOR in ty check even when output is piped (#​29830)
Diagnostic improvements
  • Avoid false redundant-cast diagnostics when casting the result of a generic call (#​29835)
Core type checking
  • Infer type arguments for union parameters using constraints from the whole call (#​29236)
  • Infer type arguments from generic TypedDict values passed to functions (#​29903)
  • Sync vendored typeshed stubs (#​29869). Typeshed diff
Performance
  • Avoid constraint solving when checking overlap between type variables in invariant positions (#​29878)
  • Cache subscript method resolution (#​29824)
  • Cache substitutions for generic type aliases (#​29861)
  • Defer member lookup when checking overrides (#​29866)
  • Find existing imports without scanning nested scopes (#​29882)
  • Reuse class metadata during member lookup (#​29864)
  • Reuse constructor bindings and defer looking up enclosing type variables (#​29897)
  • Reuse generic argument contexts across calls (#​29877)
  • Reuse inferred annotations when checking function returns (#​29879)
  • Reuse inherited override checks across subclasses (#​29867)
  • Reuse parameter unions when filtering overloads (#​29823)
  • Short-circuit equivalence checks against Never (#​29862)
  • Skip generic call inference when only a concrete receiver's Self needs binding (#​29747)
  • Skip unrelated statement calls when checking a single condition (#​29826)
  • Stop scanning package initializers once a legacy namespace declaration is found (#​29885)
Memory usage improvements
  • Prevent exponential memory growth when narrowing unions of intersections by equality (#​29904)
Contributors

v0.0.95

Compare Source

Released on 2026-10-29.

Bug fixes
  • Accept another unpacked TypeVarTuple as a default (#​29752)
  • Accept keyword arguments for TypeAliasType name and value (#​29802)
  • Detect traversal budget exhaustion in products of lower bounds (#​29679)
  • Fix recursive protocol materialization self-comparison (#​29809)
  • Reject out-of-scope type variables in PEP 695 pack defaults (#​29805)
  • Use a trailing ParamSpec default after a TypeVarTuple (#​29755)
LSP server
  • Parenthesize assignment and generator expressions in argument hint edits (#​29797)
  • Place argument name inlay hints before grouping parentheses (#​29794)
  • Place variable type inlay hints after grouping parentheses (#​29795)
Contributors

v0.0.94

Compare Source

Released on 2026-10-28.

Bug fixes
  • Correctly handle line continuation when fixing unused ignore comments (#​29781)
  • Fix Linux x86-64 startup on older kernels (#​4853)
  • Fix a panic when a comprehension filter depends on a later binding (#​29786)
  • Fix a panic when sorting diagnostics without a source location (#​29780)
  • Fix panic on a chained assignment with a missing value (#​29787)
  • Reject defaulted TypeVars after a TypeVarTuple in legacy generic classes (#​29753)
Other changes
  • Django: suppress invalid-override errors for Meta configurations (#​29769)
Contributors

v0.0.93

Compare Source

Released on 2026-10-28.

Preview features
  • Add diagnostic baselines to help adopt ty in projects with existing errors (#​27636). Configure a baseline in pyproject.toml:

    [tool.ty]
    baseline = "ty-baseline.json"

    Run ty check --update-baseline to record existing diagnostics. Subsequent checks filter matching diagnostics from CLI output and show them as hints in the language server. The baseline format may change while the feature is in preview.

Bug fixes
  • Fix a panic when checking truthiness in a loop (#​29759)
  • Fix hang when negating recursive unions of instance types (#​29652)
Core type checking
  • Avoid synthesizing primary keys for abstract Django models (#​29744)
  • Combine constraints from repeated ParamSpecs (#​29172)
  • Fix narrowing of strings and integers compared with enum members (#​29743)
  • Honor @override on overload implementations in stubs (#​29470)
  • Preserve caller type variables in nested union inference (#​29611)
  • Preserve generic callback specializations during return refinement (#​29667)
  • Preserve mapping capture types on narrowed subjects (#​29749)
  • Preserve narrowing after guarded match subject captures (#​29558)
  • Preserve string literals in comparisons with LiteralString (#​29741)
  • Remove covered exclusions from unions (#​29615)
Performance
  • Avoid replaying conditions in long boolean expressions (#​29754)
  • Index nominal union alternatives (#​29196)
  • Normalize runtime unions on demand (#​29727)
  • Optimize Linux x86-64 ty releases with LLVM BOLT (#​4833)
  • Record predicate truthiness alongside expression inference (#​29706)
  • Reuse exception checkpoints when a new place is read (#​29750)
  • Reuse runtime operands in eager union annotations (#​29770)
  • Reuse tuple pattern analysis work (#​29197)
  • Skip predicates that cannot affect narrowing (#​29736)
  • Speed up match narrowing over large unions (#​29733)
Contributors

v0.0.92

Compare Source

Released on 2026-10-26.

Core type checking
  • Infer the types of Django model primary keys (pk and the automatic id) with django-types (#​29642)
  • Infer Django foreign key <field>_id types from the referenced field (#​29664)
  • Recognize get_<field>_display() on Django model fields with choices (#​29651)
  • Recognize get_next_by_<field>() and get_previous_by_<field>() on non-nullable Django date and datetime fields (#​29653)
Bug fixes
  • Preserve generic callback parameters when forwarding overloaded functions through a ParamSpec (#​29649)
  • Check implicit and PEP 613 type aliases as type expressions at their definitions (#​29200)
CLI
  • Emit SARIF reports with ty check --output-format sarif (#​29635)
LSP server
  • Skip scanning for scripts at startup and reload when uv script environments are disabled (#​29697)
Diagnostic improvements
  • Abbreviate large nested tuple types in diagnostics and inlay hints (#​29691)
  • Point to the expression that makes a type alias invalid, even when the alias is imported (#​29654)
Performance
  • Avoid redundant work when checking inherited attributes (#​29699)
  • Check for instance storage without inferring method assignments (#​29709)
  • Collect receiver annotations once per class (#​29703)
  • Check non-recursive protocol members before recursive ones (#​29542)
  • Reuse class member lookups when checking overrides (#​29716)
  • Reuse each generic context's inferable type variables (#​29700)
  • Short-circuit comparisons involving top and bottom callable signatures (#​29537)
  • Skip inferred writes when a declaration determines an instance member (#​29702)
  • Skip method signature inference for concrete decorator results (#​29708)
Contributors

Configuration

📅 Schedule: (in timezone Etc/UTC)

  • Branch creation
    • "before 5am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ 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.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Nov 2, 2026
@renovate
renovate Bot enabled auto-merge November 2, 2026 01:30
@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a198bc99-3590-4c33-a477-f9140e53919d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@renovate
renovate Bot force-pushed the renovate/ty-0.x branch from 928b78e to 8762999 Compare November 3, 2026 03:03
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.95 chore(deps): update dependency ty to v0.0.96 Nov 3, 2026
@renovate
renovate Bot force-pushed the renovate/ty-0.x branch from 8762999 to 33620be Compare November 4, 2026 12:28
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.96 chore(deps): update dependency ty to v0.0.97 Nov 4, 2026
@renovate
renovate Bot force-pushed the renovate/ty-0.x branch from 33620be to 22d8424 Compare November 5, 2026 17:53
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.97 chore(deps): update dependency ty to v0.0.98 Nov 5, 2026
@renovate
renovate Bot force-pushed the renovate/ty-0.x branch from 22d8424 to bfda169 Compare November 6, 2026 10:56
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.98 chore(deps): update dependency ty to v0.0.99 Nov 6, 2026
@renovate
renovate Bot force-pushed the renovate/ty-0.x branch 2 times, most recently from 7a4c0f1 to b4d1aef Compare November 10, 2026 01:54
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.99 chore(deps): update dependency ty to v0.0.100 Nov 10, 2026
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.100 chore(deps): update dependency ty to v0.0.100 - autoclosed Nov 10, 2026
@renovate renovate Bot closed this Nov 10, 2026
auto-merge was automatically disabled November 10, 2026 11:26

Pull request was closed

@renovate
renovate Bot deleted the renovate/ty-0.x branch November 10, 2026 11:26
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.100 - autoclosed chore(deps): update dependency ty to v0.0.104 Nov 16, 2026
@renovate renovate Bot reopened this Nov 16, 2026
@renovate
renovate Bot force-pushed the renovate/ty-0.x branch 3 times, most recently from 535a7b3 to 0e24bfb Compare November 16, 2026 14:37
@renovate
renovate Bot enabled auto-merge November 16, 2026 14:37
@renovate
renovate Bot force-pushed the renovate/ty-0.x branch from 0e24bfb to 20f7bc2 Compare November 17, 2026 14:24
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.104 chore(deps): update dependency ty to v0.0.105 Nov 17, 2026
@renovate
renovate Bot force-pushed the renovate/ty-0.x branch from 20f7bc2 to 05c752a Compare November 18, 2026 14:07
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.105 chore(deps): update dependency ty to v0.0.106 Nov 18, 2026
@renovate
renovate Bot force-pushed the renovate/ty-0.x branch from 05c752a to bdb552e Compare November 19, 2026 04:58
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.106 chore(deps): update dependency ty to v0.0.107 Nov 19, 2026

This branch has not been deployed

No deployments
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants