Skip to content

Conversation

MichaReiser
Copy link
Member

No description provided.

@dhruvmanila dhruvmanila self-assigned this Aug 14, 2025
CHANGELOG.md Outdated
Comment on lines 7 to 8
- fix goto-definition on imports ([#19834](https://github.com/astral-sh/ruff/pull/19834))
- support recursive type aliases ([#19805](https://github.com/astral-sh/ruff/pull/19805))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- fix goto-definition on imports ([#19834](https://github.com/astral-sh/ruff/pull/19834))
- support recursive type aliases ([#19805](https://github.com/astral-sh/ruff/pull/19805))
- Fix goto-definition on imports ([#19834](https://github.com/astral-sh/ruff/pull/19834))
- Support non-generic recursive type aliases that use [the `type` statement](https://docs.python.org/3/reference/simple_stmts.html#grammar-token-python-grammar-type_stmt) ([#19805](https://github.com/astral-sh/ruff/pull/19805))

I think this is an important distinction because (while it's a very important first step), we still don't support most recursive type aliases that users would have in their code. We don't yet support:

  • generic recursive type aliases
  • explicit recursive type aliases that use typing.TypeAlias
  • explicit recursive type aliases that use typing.TypeAliasType
  • implicit recursive type aliases

- Remove `Type::Tuple` ([#19669](https://github.com/astral-sh/ruff/pull/19669))
- Repurpose `FunctionType.into_bound_method_type` to return `BoundMethodType` ([#19793](https://github.com/astral-sh/ruff/pull/19793))
- Short circuit `ReachabilityConstraints::analyze_single` for dynamic types ([#19867](https://github.com/astral-sh/ruff/pull/19867))
- Use separate Rust types for bound and unbound type variables ([#19796](https://github.com/astral-sh/ruff/pull/19796))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a great description of the user-facing impact, but I'm not sure how to describe this better...

@dhruvmanila
Copy link
Member

Thank you @AlexWaygood !

@dhruvmanila dhruvmanila marked this pull request as ready for review August 14, 2025 10:17
@dhruvmanila dhruvmanila added the release Related to the release process label Aug 14, 2025
@dhruvmanila dhruvmanila merged commit d697cc0 into main Aug 14, 2025
30 checks passed
@dhruvmanila dhruvmanila deleted the release-0.0.1a18 branch August 14, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Related to the release process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants