1970 Commits

Author SHA1 Message Date
renovate[bot] 44b51162fe Update Rust crate mimalloc to v0.1.50 (#25006)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-06 05:55:59 +01:00
renovate[bot] 02c70adf49 Update Rust crate libc to v0.2.186 (#25005)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-06 05:55:29 +01:00
renovate[bot] c58ec5a83e Update Rust crate jiff to v0.2.24 (#25004)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-06 05:50:54 +01:00
Anders Brams bfe5b51890 [ty] Offer string literal completion suggestions based on expected type (#24555)
Co-authored-by: Micha Reiser <micha@reiser.io>
2026-04-29 17:16:58 +02:00
renovate[bot] 38dc581e02 Update Rust crate bitflags to v2.11.1 (#24859) 2026-04-26 22:05:53 -04:00
renovate[bot] edee54854d Update Rust crate clap to v4.6.1 (#24860) 2026-04-26 22:05:44 -04:00
renovate[bot] 46acb5dc2f Update Rust crate mimalloc to v0.1.49 (#24862) 2026-04-26 22:05:35 -04:00
renovate[bot] 2a4eb6eb1d Update Rust crate uuid to v1.23.1 (#24863) 2026-04-26 22:05:21 -04:00
renovate[bot] d1cebf3e16 Update Rust crate rayon to v1.12.0 (#24866) 2026-04-26 22:05:14 -04:00
renovate[bot] 92221b04ed Update Rust crate libc to v0.2.185 (#24861) 2026-04-26 21:21:44 -04:00
Dylan 66f93cf7ed Bump 0.15.12 (#24815) 2026-04-24 12:36:40 -05:00
Micha Reiser 5cd5249c8d [ty] Add hints to playground (#24788)
Closes https://github.com/astral-sh/ty/issues/3305

<img width="611" height="392" alt="Screenshot 2026-04-22 at 17 32 50"
src="https://github.com/user-attachments/assets/8470a87f-efc5-4998-8f25-c48befea368e"
/>
2026-04-22 22:33:43 +01:00
renovate[bot] 282b19ee91 Update Rust crate hashbrown to 0.17.0 (#24730)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micha Reiser <micha@reiser.io>
2026-04-20 20:18:43 +01:00
Micha Reiser 6e2e14a91d Install salsa from crates.io (#24744) 2026-04-20 19:49:53 +01:00
renovate[bot] 7a732f3682 Update Rust crate matchit to v0.9.2 (#24725) 2026-04-19 23:37:23 -04:00
renovate[bot] ed50100384 Update Rust crate ordermap to v1.2.0 (#24732) 2026-04-19 23:35:44 -04:00
Amethyst Reese 53554b1cfe Bump 0.15.11 (#24678) 2026-04-16 11:17:46 -07:00
Brent Westbrook 08c56c83cf Factor out the mdtest crate (#24616)
Summary
--

This is a first step toward adding mdtests for Ruff. I actually wrote
the code
in the opposite order, first copy-pasting `ty_test` to a `ruff_test`
crate, and then
factoring out the shared code, but I figured it would be easier to
review in
this order. I also opened a stacked PR with the `ruff_test` changes
(#24617)
to show that the API works well for that too.

The main change here is moving several of the modules from `ty_test` to
a new
`mdtest` crate:
- `assertion`
- `diagnostic`
- `matcher`
- `parser`

Beyond moving these files to the new crate, I made `Matcher` functions
take a
`&dyn Db` to support passing a different concrete type from `ruff_test`,
and I
also made the parser generic over an `MdtestConfig` trait to allow Ruff
to use a
separate config struct. I also introduced new `TestConfig` and `TestDb`
types to allow
testing the `matcher` and `parser` within the `mdtest` crate without
depending
on either the real ty `Db` or `ty_test` config type.

The lib.rs file from `ty_test` was essentially split in half, with the
shared
code moved to the `mdtest` crate and the ty-specific parts kept in
`ty_test`.

Test Plan
--

All existing mdtests and the unit tests from `ty_test` should still
pass, and
the stacked branch with the `ruff_test` crate tests the split API
2026-04-16 10:32:24 -04:00
Micha Reiser ee9088eebf [ty] Add --fix mode (#24097) 2026-04-15 15:08:55 +00:00
Micha Reiser 45099689fc Add inline snapshots to mdtest (#24557) 2026-04-14 11:08:18 +00:00
Micha Reiser 6b5423fea4 [ty] Move fixes.rs to ty_python_semantic (#24561)
## Summary

This is in preparation for https://github.com/astral-sh/ruff/pull/24097

I want to integrate fixes into mdtests, but `ty_test` doesn't depend on
`ty_project`, and adding this new dependency would create more cyclic
dependencies between crates (not targets, just crates), which r-a
sometimes struggles with.

The solution in this PR is to move `fixes` to `ty_python_semantic`. This
is mostly a trivial change, except that it requires adding a
`check_file` method to `db.`

## Test Plan

`cargo test`
2026-04-14 11:17:53 +02:00
renovate[bot] 17d9271e97 Update Rust crate rand to v0.10.1 (#24621)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-14 08:15:35 +02:00
Alex Waygood 461994073e [ty] Break the semantic index out into its own crate (#24471) 2026-04-13 12:39:17 +01:00
renovate[bot] 0b4603530e Update Rust crate similar to v3 (#24598)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micha Reiser <micha@reiser.io>
2026-04-13 08:01:53 +00:00
renovate[bot] 1e877b52c3 Update Rust crate arc-swap to v1.9.1 (#24589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-13 08:35:36 +02:00
renovate[bot] ad1b76346f Update Rust crate insta to v1.47.2 (#24591)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-13 08:34:41 +02:00
renovate[bot] 49704cdbcd Update Rust crate indexmap to v2.13.1 (#24590)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-13 08:33:56 +02:00
renovate[bot] ff26e53994 Update Rust crate toml to v1.1.2 (#24592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-13 08:33:18 +02:00
Charlie Marsh 2ad94df0e1 [ty] Add a SupportedPythonVersion enum (#24412)
## Summary

This unifies the validation of supported Python versions between the CLI
and TOML (e.g., `environment.python-version`) by introducing a single
enum to share across them.
2026-04-10 13:48:48 +00:00
Brent Westbrook 252f76102a Bump 0.15.10 (#24519) 2026-04-09 09:48:41 -04:00
Micha Reiser 527b75a5f7 Add E2E testing framework to ruff-server (#24490) 2026-04-08 18:27:58 +02:00
renovate[bot] ad8672a4db Update Rust crate toml to v1.1.0 (#24437)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-06 10:04:05 +01:00
renovate[bot] bb9c219c0d Update Rust crate tempfile to v3.27.0 (#24436) 2026-04-06 02:13:50 +00:00
renovate[bot] fae6ae6019 Update Rust crate uuid to v1.23.0 (#24438) 2026-04-05 22:07:21 -04:00
renovate[bot] 290465ee63 Update Rust crate rustc-hash to v2.1.2 (#24434) 2026-04-05 22:06:41 -04:00
renovate[bot] 940af9e6f8 Update Rust crate insta to v1.47.1 (#24435) 2026-04-05 22:06:10 -04:00
Charlie Marsh 5ac54ec2a7 Upgrade to nix v0.31.2 (#24385)
## Summary

Closes https://github.com/astral-sh/ruff/issues/24384.
2026-04-02 22:15:51 -04:00
Dylan 724ccc1ae8 Bump 0.15.9 (#24369) 2026-04-02 12:59:00 -05:00
Shahar Naveh b03dc7841c Replace unmaintained unic-ucd-category crate with icu_properties (#24344)
Co-authored-by: Micha Reiser <micha@reiser.io>
2026-04-02 12:29:22 +00:00
Micha Reiser bd477d9535 Enable CodSpeed's memory benchmarks for simulation benchmarks (#24298) 2026-03-30 15:32:44 +02:00
William Collishaw 7c236fae3d Upgrade imara-diff to 0.2.0 (#24299) 2026-03-30 12:33:50 +02:00
Micha Reiser d04a73a815 [ty] Remove unused system.glob method (#24300) 2026-03-30 10:58:34 +02:00
renovate[bot] ca3343e4cf Update Rust crate arc-swap to v1.9.0 (#24292)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [arc-swap](https://redirect.github.com/vorner/arc-swap) |
workspace.dependencies | minor | `1.8.2` → `1.9.0` |

---

### Release Notes

<details>
<summary>vorner/arc-swap (arc-swap)</summary>

###
[`v1.9.0`](https://redirect.github.com/vorner/arc-swap/blob/HEAD/CHANGELOG.md#190)

[Compare
Source](https://redirect.github.com/vorner/arc-swap/compare/v1.8.2...v1.9.0)

- Promote certain orderings to SeqCst. Original proofs based on wrong
reading of
standard :-(. Expect some performance degradation
([#&#8203;198](https://redirect.github.com/vorner/arc-swap/issues/198),
[#&#8203;200](https://redirect.github.com/vorner/arc-swap/issues/200)).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My45NC4xIiwidXBkYXRlZEluVmVyIjoiNDMuOTQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-30 08:53:06 +02:00
renovate[bot] 11b54104cd Update Rust crate toml to v1.0.7 (#24289) 2026-03-29 20:51:10 -04:00
renovate[bot] f17e88c8e8 Update Rust crate clearscreen to v4.0.6 (#24288) 2026-03-29 20:43:32 -04:00
Amethyst Reese c2a8815842 Release 0.15.8 (#24217)
- **changelog**
- **everything else**
2026-03-26 11:20:09 -07:00
renovate[bot] 6b04fcbc56 Update Rust crate serde_with to v3.18.0 (#24126) 2026-03-22 21:01:49 -04:00
renovate[bot] 20243ef812 Update Rust crate quick-junit to 0.6.0 (#24125) 2026-03-23 00:44:52 +00:00
renovate[bot] ada2858ffe Update Rust crate clap to v4.6.0 (#24124) 2026-03-23 00:36:45 +00:00
renovate[bot] 0bc143f81f Update Rust crate tracing-subscriber to v0.3.23 (#24122) 2026-03-23 00:30:32 +00:00