From fadfe09665bef14b09214095553a4505f0a5ee93 Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Wed, 17 Dec 2025 18:01:02 -0800 Subject: [PATCH] Bump version to 0.0.3 (#2046) --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ dist-workspace.toml | 2 +- docs/installation.md | 6 +++--- pyproject.toml | 2 +- ruff | 2 +- uv.lock | 2 +- 6 files changed, 33 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3d5d6b..c426038 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## 0.0.3 + +Released on 2025-12-17. + +### LSP server + +- Improve rendering of signatures in hovers ([#22007](https://github.com/astral-sh/ruff/pull/22007)) + +### Core type checking + +- Apply narrowing to `len` calls based on argument size ([#22026](https://github.com/astral-sh/ruff/pull/22026)) +- Don't add identical lower/upper bounds multiple times when inferring specializations ([#22030](https://github.com/astral-sh/ruff/pull/22030)) +- Improve `unsupported-base` and `invalid-super-argument` diagnostics to avoid extremely long lines when encountering verbose types ([#22022](https://github.com/astral-sh/ruff/pull/22022)) +- Improve disambiguation of types in many cases ([#22019](https://github.com/astral-sh/ruff/pull/22019)) +- Respect deferred values in keyword arguments etc. for `.pyi` files ([#22029](https://github.com/astral-sh/ruff/pull/22029)) +- Handle field specifier functions that accept `**kwargs` and recognize metaclass-based transformers as instances of `DataclassInstance` ([#22018](https://github.com/astral-sh/ruff/pull/22018)) + +### Contributors + +- [@charliermarsh](https://github.com/charliermarsh) +- [@sharkdp](https://github.com/sharkdp) +- [@Gankra](https://github.com/Gankra) +- [@zanieb](https://github.com/zanieb) +- [@AlexWaygood](https://github.com/AlexWaygood) +- [@dcreager](https://github.com/dcreager) + ## 0.0.2 Released on 2025-12-16. diff --git a/dist-workspace.toml b/dist-workspace.toml index 6089ec3..c13d5f0 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -1,7 +1,7 @@ [workspace] members = ["cargo:./ruff"] packages = ["ty"] -version = "0.0.2" +version = "0.0.3" # Config for 'dist' [dist] diff --git a/docs/installation.md b/docs/installation.md index 2998cf8..a6d2d2c 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -71,7 +71,7 @@ ty includes a standalone installer. Request a specific version by including it in the URL: ```console - $ curl -LsSf https://astral.sh/ty/0.0.2/install.sh | sh + $ curl -LsSf https://astral.sh/ty/0.0.3/install.sh | sh ``` === "Windows" @@ -87,7 +87,7 @@ ty includes a standalone installer. Request a specific version by including it in the URL: ```pwsh-session - PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/ty/0.0.2/install.ps1 | iex" + PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/ty/0.0.3/install.ps1 | iex" ``` !!! tip @@ -149,7 +149,7 @@ COPY --from=ghcr.io/astral-sh/ty:latest /ty /bin/ The following tags are available: - `ghcr.io/astral-sh/ty:latest` -- `ghcr.io/astral-sh/ty:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/ty:0.0.2` +- `ghcr.io/astral-sh/ty:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/ty:0.0.3` - `ghcr.io/astral-sh/ty:{major}.{minor}`, e.g., `ghcr.io/astral-sh/ty:0.0` (the latest patch version) diff --git a/pyproject.toml b/pyproject.toml index 0bd1d42..05da91e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ty" -version = "0.0.2" +version = "0.0.3" requires-python = ">=3.8" dependencies = [] description = "An extremely fast Python type checker, written in Rust." diff --git a/ruff b/ruff index ad3de4e..9cc132f 160000 --- a/ruff +++ b/ruff @@ -1 +1 @@ -Subproject commit ad3de4e4881a15545fc85fdfaf5374df7793538d +Subproject commit 9cc132f098c601a2a60c488f50134dbfa4c87c5f diff --git a/uv.lock b/uv.lock index ce8a6d9..0e60ac2 100644 --- a/uv.lock +++ b/uv.lock @@ -624,7 +624,7 @@ wheels = [ [[package]] name = "ty" -version = "0.0.2" +version = "0.0.3" source = { editable = "." } [package.dev-dependencies]