Skip to content

chore(deps): update dependency ty to v0.0.33#301

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/ty-0.x
Apr 28, 2026
Merged

chore(deps): update dependency ty to v0.0.33#301
renovate[bot] merged 1 commit intomainfrom
renovate/ty-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Nov 26, 2025

This PR contains the following updates:

Package Change Age Confidence
ty (changelog) ==0.0.32==0.0.33 age confidence

Release Notes

astral-sh/ty (ty)

v0.0.33

Compare Source

Released on 2026-04-28.

Breaking changes
  • ty now prefers the declared type of an annotated assignment in more situations (#​24802).
    Consider this example:

    from some_library import untyped_function
    
    threshold: int | None = 0
    result: str = untyped_function()

    ty previously favored the inferred type of the right hand side expression when threshold and result were used. This is useful for threshold, as it allows something like threshold += 1 to work without an error: we know that threshold could later become None, but right now, we see that it is an int. However, for result, the inferred type is Unknown. This is not a useful type and it can lead to false negatives. Starting with this release, ty will therefore prefer
    the declared type if the inferred and declared types are mutually assignable. In the above example, threshold will still be inferred as int (or rather Literal[1]), but result will now be inferred as str. If you previously added casts to work around this behavior, you should be able to remove them after upgrading.

Bug fixes
  • Fix reporting of annotation-only locals as unused (#​24811)
  • Fix project and workspace selection (#​24824)
  • Fix go-to definition for generic classes (#​24714)
  • Fix receiver coloring for aliased decorators (#​24884)
LSP server
  • Add support for go-to definition in literal enum member inlay hints (#​24792)
  • Add support for "baking" keyword argument inlay hints into the source code (#​24667)
  • Don't allow inlay hint edits when introducing a non global scope symbol (#​24797)
  • Omit semantic highlighting for unresolved symbols (#​24718)
Core type checking
  • Support narrowing with aliased conditional expressions (#​24302)
  • Model short-circuiting control flow in Boolean expressions (#​24458)
  • Handle finally blocks where all try/except blocks are terminal (#​24882)
  • Detect invalid ClassVar vs instance-attribute overrides (#​24767)
  • Emit diagnostic for invalid uses of Unpack[...] (#​24868)
  • Infer lambda parameter types with Callable type context (#​24317)
  • Support ** unpacking of TypedDict in dict-literal assignments (#​24703)
  • Support Unpack[TypedDict] in **kwargs signatures (#​24653)
  • Treat [*xs] as an irrefutable pattern when matching on Sequence (#​24787)
  • Improve generics solving for unions in invariant positions (#​24698)
  • Improve generics solving for unions when matching against protocols (#​24837)
Diagnostics
  • Add error context to invalid-return-type diagnostics, invalid-yield diagnostics, attribute assignment diagnostics (#​24770, #​24771)
  • Add error context for invalid TypedDict assignments (#​24790)
  • Add error context for invalid intersection type assignments (#​24772)
  • Improve TypedDict to dict assignment error diagnostics (#​24768)
  • Add contextual secondary annotations in more places (#​24696)
  • Include full type in invalid-key diagnostics for unions of TypedDicts (#​24693)
  • Emit more specific diagnostics for "possibly unbound" errors from context manager dunder methods invoked on a union. (#​24662)
  • Remove duplicate invalid-type-form diagnostics for PEP-613 type alias values (#​24760)
  • Improve diagnostics for implicit calls to a possibly unbound unary operator (#​24816)
  • Improve diagnostics for possibly-unbound errors from implicit dunder calls on unions (#​24676)
Performance
  • Optimize signature checking based on number of arguments (#​24674)
  • Defer union of parameter types (#​24756)
  • Skip checks for gradual vararg calls (#​24748)
Other changes
  • Fix notifications about watched changes for entities outside any workspace (#​24775)
Contributors

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

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 enabled auto-merge (squash) November 26, 2025 02:26
@renovate renovate Bot force-pushed the renovate/ty-0.x branch from 98877b7 to 17808a8 Compare November 27, 2025 01:07
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.1a28 chore(deps): update dependency ty to v0.0.1a29 Nov 28, 2025
@renovate renovate Bot force-pushed the renovate/ty-0.x branch 9 times, most recently from 0104528 to 9ec22ac Compare December 3, 2025 17:27
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.1a29 chore(deps): update dependency ty to v0.0.1a30 Dec 3, 2025
@renovate renovate Bot force-pushed the renovate/ty-0.x branch 2 times, most recently from 7536ac6 to 588db4c Compare December 4, 2025 09:14
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.1a30 chore(deps): update dependency ty to v0.0.1a31 Dec 4, 2025
@renovate renovate Bot force-pushed the renovate/ty-0.x branch 4 times, most recently from 7f69813 to a98c654 Compare December 6, 2025 02:14
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.1a31 chore(deps): update dependency ty to v0.0.1a32 Dec 6, 2025
@renovate renovate Bot force-pushed the renovate/ty-0.x branch 5 times, most recently from 5421c94 to 3f40286 Compare December 10, 2025 03:39
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.1a32 chore(deps): update dependency ty to v0.0.1a33 Dec 10, 2025
@renovate renovate Bot force-pushed the renovate/ty-0.x branch 3 times, most recently from d5da755 to 56edc35 Compare December 12, 2025 14:52
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.2 chore(deps): update dependency ty to v0.0.3 Dec 18, 2025
@renovate renovate Bot force-pushed the renovate/ty-0.x branch 2 times, most recently from 501b817 to 2b48739 Compare December 19, 2025 01:37
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.3 chore(deps): update dependency ty to v0.0.4 Dec 19, 2025
@renovate renovate Bot force-pushed the renovate/ty-0.x branch 4 times, most recently from bef73ca to d23e49c Compare December 20, 2025 22:04
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.4 chore(deps): update dependency ty to v0.0.5 Dec 20, 2025
@renovate renovate Bot force-pushed the renovate/ty-0.x branch 4 times, most recently from 6f53556 to f333fee Compare December 24, 2025 02:01
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.5 chore(deps): update dependency ty to v0.0.6 Dec 24, 2025
@renovate renovate Bot force-pushed the renovate/ty-0.x branch from f333fee to 8a803b6 Compare December 25, 2025 00:50
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.6 chore(deps): update dependency ty to v0.0.7 Dec 25, 2025
@renovate renovate Bot force-pushed the renovate/ty-0.x branch 2 times, most recently from dd51c17 to dcee936 Compare December 29, 2025 16:46
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.7 chore(deps): update dependency ty to v0.0.8 Dec 29, 2025
@renovate renovate Bot force-pushed the renovate/ty-0.x branch 5 times, most recently from 5d5d205 to 19b0f29 Compare January 5, 2026 16:13
@renovate renovate Bot changed the title chore(deps): update dependency ty to v0.0.8 chore(deps): update dependency ty to v0.0.9 Jan 5, 2026
@renovate renovate Bot force-pushed the renovate/ty-0.x branch 4 times, most recently from 986facc to b9b243b Compare January 8, 2026 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants