docs: update changelog for 1.89.0

This commit is contained in:
Weihang Lo 2025-05-12 17:23:34 -04:00
parent eb89766947
commit da104f3981
No known key found for this signature in database
GPG Key ID: D7DBF189825E82E7

View File

@ -1,5 +1,70 @@
# Changelog
## Cargo 1.89 (2025-08-07)
[873a0649...HEAD](https://github.com/rust-lang/cargo/compare/873a0649...HEAD)
### Added
- Add `*` and `?` pattern support for SSH known hosts matching.
[#15508](https://github.com/rust-lang/cargo/pull/15508)
### Changed
- ❗️ `cargo fix` and `cargo clippy --fix` now run only on the default Cargo
targets by default, matching the behavior of `cargo check`. To run on all
Cargo targets, use the `--all-targets` flag. This change aligns the behavior
with other commands. Edition flags like `--edition` and `--edition-idioms`
remain implying `--all-targets` by default.
[#15192](https://github.com/rust-lang/cargo/pull/15192)
- Respect `Retry-After` header for HTTP 429 responses when talking to registries.
[#15463](https://github.com/rust-lang/cargo/pull/15463)
- Improved error message for the `CRATE[@<VER>]` argument prefixed with `v`.
[#15484](https://github.com/rust-lang/cargo/pull/15484)
- Improved error message for the `CRATE[@<VER>]` argument with invalid package
name characters.
[#15441](https://github.com/rust-lang/cargo/pull/15441)
- cargo-add: suggest similarly named features
[#15438](https://github.com/rust-lang/cargo/pull/15438)
### Fixed
### Nightly only
- 🔥 `-Zno-embed-metadata`: This tells Cargo to pass the `-Zembed-metadata=no`
flag to the compiler, which instructs it not to embed metadata within rlib
and dylib artifacts. In this case, the metadata will only be stored in
`.rmeta` files.
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#no-embed-metadata))
[#15378](https://github.com/rust-lang/cargo/pull/15378)
- `-Zscript`: Make cargo script ignore workspaces.
[#15496](https://github.com/rust-lang/cargo/pull/15496)
- `-Zpackage-workspace`: keep dev-dependencies if they have a version.
[#15470](https://github.com/rust-lang/cargo/pull/15470)
### Documentation
- Clarify what commands need and remove confusing example
[#15457](https://github.com/rust-lang/cargo/pull/15457)
- Update fingerprint footnote
[#15478](https://github.com/rust-lang/cargo/pull/15478)
- home: update version notice for deprecation removal
[#15511](https://github.com/rust-lang/cargo/pull/15511)
### Internal
- Refactor artifact deps in FeatureResolver::deps
[#15492](https://github.com/rust-lang/cargo/pull/15492)
- Added tracing spans for rustc invocations
[#15464](https://github.com/rust-lang/cargo/pull/15464)
- ci: migrate renovate config
[#15501](https://github.com/rust-lang/cargo/pull/15501)
- ci: Require schema job to pass
[#15504](https://github.com/rust-lang/cargo/pull/15504)
- test: Remove unused nightly requirements
[#15498](https://github.com/rust-lang/cargo/pull/15498)
- Update dependencies.
[#15456](https://github.com/rust-lang/cargo/pull/15456)
## Cargo 1.88 (2025-06-26)
[a6c604d1...rust-1.88.0](https://github.com/rust-lang/cargo/compare/a6c604d1...rust-1.88.0)