|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## Cargo 1.89 (2025-08-07) |
| 4 | +[873a0649...HEAD](https://github.com/rust-lang/cargo/compare/873a0649...HEAD) |
| 5 | + |
| 6 | +### Added |
| 7 | + |
| 8 | +- Add `*` and `?` pattern support for SSH known hosts matching. |
| 9 | + [#15508](https://github.com/rust-lang/cargo/pull/15508) |
| 10 | + |
| 11 | +### Changed |
| 12 | + |
| 13 | +- ❗️ `cargo fix` and `cargo clippy --fix` now run only on the default Cargo |
| 14 | + targets by default, matching the behavior of `cargo check`. To run on all |
| 15 | + Cargo targets, use the `--all-targets` flag. This change aligns the behavior |
| 16 | + with other commands. Edition flags like `--edition` and `--edition-idioms` |
| 17 | + remain implying `--all-targets` by default. |
| 18 | + [#15192](https://github.com/rust-lang/cargo/pull/15192) |
| 19 | +- Respect `Retry-After` header for HTTP 429 responses when talking to registries. |
| 20 | + [#15463](https://github.com/rust-lang/cargo/pull/15463) |
| 21 | +- Improved error message for the `CRATE[@<VER>]` argument prefixed with `v`. |
| 22 | + [#15484](https://github.com/rust-lang/cargo/pull/15484) |
| 23 | +- Improved error message for the `CRATE[@<VER>]` argument with invalid package |
| 24 | + name characters. |
| 25 | + [#15441](https://github.com/rust-lang/cargo/pull/15441) |
| 26 | +- cargo-add: suggest similarly named features |
| 27 | + [#15438](https://github.com/rust-lang/cargo/pull/15438) |
| 28 | + |
| 29 | +### Fixed |
| 30 | + |
| 31 | +### Nightly only |
| 32 | + |
| 33 | +- 🔥 `-Zno-embed-metadata`: This tells Cargo to pass the `-Zembed-metadata=no` |
| 34 | + flag to the compiler, which instructs it not to embed metadata within rlib |
| 35 | + and dylib artifacts. In this case, the metadata will only be stored in |
| 36 | + `.rmeta` files. |
| 37 | + ([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#no-embed-metadata)) |
| 38 | + [#15378](https://github.com/rust-lang/cargo/pull/15378) |
| 39 | +- `-Zscript`: Make cargo script ignore workspaces. |
| 40 | + [#15496](https://github.com/rust-lang/cargo/pull/15496) |
| 41 | +- `-Zpackage-workspace`: keep dev-dependencies if they have a version. |
| 42 | + [#15470](https://github.com/rust-lang/cargo/pull/15470) |
| 43 | + |
| 44 | +### Documentation |
| 45 | + |
| 46 | +- Clarify what commands need and remove confusing example |
| 47 | + [#15457](https://github.com/rust-lang/cargo/pull/15457) |
| 48 | +- Update fingerprint footnote |
| 49 | + [#15478](https://github.com/rust-lang/cargo/pull/15478) |
| 50 | +- home: update version notice for deprecation removal |
| 51 | + [#15511](https://github.com/rust-lang/cargo/pull/15511) |
| 52 | + |
| 53 | +### Internal |
| 54 | + |
| 55 | +- Refactor artifact deps in FeatureResolver::deps |
| 56 | + [#15492](https://github.com/rust-lang/cargo/pull/15492) |
| 57 | +- Added tracing spans for rustc invocations |
| 58 | + [#15464](https://github.com/rust-lang/cargo/pull/15464) |
| 59 | +- ci: migrate renovate config |
| 60 | + [#15501](https://github.com/rust-lang/cargo/pull/15501) |
| 61 | +- ci: Require schema job to pass |
| 62 | + [#15504](https://github.com/rust-lang/cargo/pull/15504) |
| 63 | +- test: Remove unused nightly requirements |
| 64 | + [#15498](https://github.com/rust-lang/cargo/pull/15498) |
| 65 | +- Update dependencies. |
| 66 | + [#15456](https://github.com/rust-lang/cargo/pull/15456) |
| 67 | + |
3 | 68 | ## Cargo 1.88 (2025-06-26)
|
4 | 69 | [a6c604d1...rust-1.88.0](https://github.com/rust-lang/cargo/compare/a6c604d1...rust-1.88.0)
|
5 | 70 |
|
|
0 commit comments