Auto merge of #12539 - weihanglo:version-bump, r=ehuss

Bump to 0.75.0; update changelog

[rendered](https://github.com/weihanglo/cargo/blob/version-bump/CHANGELOG.md)
This commit is contained in:
bors 2023-08-22 15:19:24 +00:00
commit 5155d3f7dc
3 changed files with 152 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# Changelog
## Cargo 1.73 (2023-10-05)
[45782b6b...HEAD](https://github.com/rust-lang/cargo/compare/45782b6b...HEAD)
## Cargo 1.74 (2023-11-16)
[80eca0e5...HEAD](https://github.com/rust-lang/cargo/compare/80eca0e5...HEAD)
### Added
@ -11,13 +11,100 @@
### Nightly only
### Documentation
- ❗ Policy change: always check `Cargo.lock` in verison control, even for
libraries. Lockfile and CI integration documentations are also expanded.
[Policy docs](https://doc.rust-lang.org/nightly/cargo/faq.html#why-have-cargolock-in-version-control),
[Lockfile docs](https://doc.rust-lang.org/nightly/cargo/guide/cargo-toml-vs-cargo-lock.html),
[CI docs](https://doc.rust-lang.org/nightly/cargo/guide/continuous-integration.html),
[#12382](https://github.com/rust-lang/cargo/pull/12382)
## Cargo 1.73 (2023-10-05)
[45782b6b...rust-1.73.0](https://github.com/rust-lang/cargo/compare/45782b6b...rust-1.73.0)
### Added
- Print environment variables for `cargo run/bench/test` in extra verbose mode `-vv`.
[#12498](https://github.com/rust-lang/cargo/pull/12498)
- Display package versions on Cargo timings graph.
[#12420](https://github.com/rust-lang/cargo/pull/12420)
### Changed
- Cargo now bails out when using `cargo::` in custom build scripts. This is
a preparation for an upcoming change in build script invocations.
[#12332](https://github.com/rust-lang/cargo/pull/12332)
- Make Cargo `--help` easier to browse.
[#11905](https://github.com/rust-lang/cargo/pull/11905)
- Prompt the use of `--nocapture` flag if `cargo test` process is terminated via a signal.
[#12463](https://github.com/rust-lang/cargo/pull/12463)
- Preserve jobserver file descriptors on the rustc invocation for getting target information.
[#12447](https://github.com/rust-lang/cargo/pull/12447)
- Clarify in `--help` that `cargo test --all-targets` excludes doctests.
[#12422](https://github.com/rust-lang/cargo/pull/12422)
- Normalize `cargo.toml` to `Cargo.toml` on publish, and warn on other cases of `Cargo.toml`.
[#12399](https://github.com/rust-lang/cargo/pull/12399)
### Fixed
- Only skip mtime check on `~/.cargo/{git,registry}`.
[#12369](https://github.com/rust-lang/cargo/pull/12369)
- Fixed `cargo doc --open` crash on WSL2.
[#12373](https://github.com/rust-lang/cargo/pull/12373)
- Fixed panic when enabling `http.debug` for certain strings.
[#12468](https://github.com/rust-lang/cargo/pull/12468)
- Fixed `cargo remove` incorrectly removing used patches.
[#12454](https://github.com/rust-lang/cargo/pull/12454)
- Fixed crate checksum lookup query should match on semver build metadata.
[#11447](https://github.com/rust-lang/cargo/pull/11447)
- Fixed printing multiple warning messages for unused fields in `[registries]` table.
[#12439](https://github.com/rust-lang/cargo/pull/12439)
### Nightly only
- 🔥 The `-Zcredential-process` has been reimplemented with a clearer way to
communicate with different credential providers. Several built-in providers
are also added to Cargo.
[docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#credential-process)
[#12334](https://github.com/rust-lang/cargo/pull/12334)
[#12396](https://github.com/rust-lang/cargo/pull/12396)
[#12424](https://github.com/rust-lang/cargo/pull/12424)
[#12440](https://github.com/rust-lang/cargo/pull/12440)
[#12461](https://github.com/rust-lang/cargo/pull/12461)
[#12469](https://github.com/rust-lang/cargo/pull/12469)
[#12483](https://github.com/rust-lang/cargo/pull/12483)
[#12499](https://github.com/rust-lang/cargo/pull/12499)
[#12507](https://github.com/rust-lang/cargo/pull/12507)
[#12512](https://github.com/rust-lang/cargo/pull/12512)
[#12518](https://github.com/rust-lang/cargo/pull/12518)
[#12521](https://github.com/rust-lang/cargo/pull/12521)
[#12526](https://github.com/rust-lang/cargo/pull/12526)
Some notable changes:
- Renamed `credential-process` to `credential-provider` in Cargo configurations.
- New JSON protocol for communicating with external credential providers via stdin/stdout.
- The GNOME Secert provider now dynamically loads `libsecert`.
- The 1password provider is no longer built-in.
- Changed the unstable key for asymmetric tokens from `registry-auth` to `credential-process`.
- ❗️ Removed `--keep-going` flag support from `cargo test` and `cargo bench`.
[#12478](https://github.com/rust-lang/cargo/pull/12478)
[#12492](https://github.com/rust-lang/cargo/pull/12492)
- Fixed invalid package names generated by `-Zscript`.
[#12349](https://github.com/rust-lang/cargo/pull/12349)
- `-Zscript` now errors out on unsupported commands — `publish` and `package`.
[#12350](https://github.com/rust-lang/cargo/pull/12350)
- Encode URL params correctly for source ID in Cargo.lock.
[#12280](https://github.com/rust-lang/cargo/pull/12280)
- Replaced invalid `panic_unwind` std feature with `panic-unwind`.
[#12364](https://github.com/rust-lang/cargo/pull/12364)
- `-Zlints`: doctest extraction should respect `[lints]`.
[#12501](https://github.com/rust-lang/cargo/pull/12501)
### Documentation
- SemVer: Adding a section for changing the alignment, layout, or size of a
well-defined type.
[#12169](https://github.com/rust-lang/cargo/pull/12169)
- Use heading attributes to control the fragment.
[#12339](https://github.com/rust-lang/cargo/pull/12339)
- Use "number" instead of "digit" when explaining Cargo's use of semver.
@ -26,19 +113,66 @@
[#12344](https://github.com/rust-lang/cargo/pull/12344)
- Clarify "Package ID" and "Source ID" in `cargo metadata` are opaque strings.
[#12313](https://github.com/rust-lang/cargo/pull/12313)
- Added `profile.strip` to configuration docs.
[#12337](https://github.com/rust-lang/cargo/pull/12337)
- Multiple versions that differ only in the metadata tag are disallowed on crates.io.
- Clarify that `rerun-if-env-changed` doesn't monitor the environment variables
it set for crates and build script.
[#12482](https://github.com/rust-lang/cargo/pull/12482)
- Clarify that multiple versions that differ only in the metadata tag are
disallowed on crates.io.
[#12335](https://github.com/rust-lang/cargo/pull/12335)
- Clarify `lto` setting passing `-Clinker-plugin-lto`.
[#12407](https://github.com/rust-lang/cargo/pull/12407)
- Added `profile.strip` to configuration and environment variable docs.
[#12337](https://github.com/rust-lang/cargo/pull/12337)
[#12408](https://github.com/rust-lang/cargo/pull/12408)
- Added docs for artifact JSON debuginfo levels.
[#12376](https://github.com/rust-lang/cargo/pull/12376)
- Added a notice for the backward compatible `.cargo/credential` file existence.
[#12479](https://github.com/rust-lang/cargo/pull/12479)
- Raised the awareness of `resolver = 2` used inside workspaces.
[#12388](https://github.com/rust-lang/cargo/pull/12388)
- Replaced `master` branch by default branch in documentation.
[#12435](https://github.com/rust-lang/cargo/pull/12435)
### Internal
- Updated to `criterion` 0.5.1.
[#12338](https://github.com/rust-lang/cargo/pull/12338)
- Updated to `curl-sys` 0.4.65, which corresponds to curl 8.2.1.
[#12406](https://github.com/rust-lang/cargo/pull/12406)
- Updated to `indexmap` v2.
[#12368](https://github.com/rust-lang/cargo/pull/12368)
- Updated to `miow` 0.6.0, which drops old versions of `windows-sys`.
[#12453](https://github.com/rust-lang/cargo/pull/12453)
- ci: automatically test new packages by using `--workspace`.
[#12342](https://github.com/rust-lang/cargo/pull/12342)
- ci: automatically update dependencies monthly with Renovate.
[#12341](https://github.com/rust-lang/cargo/pull/12341)
[#12466](https://github.com/rust-lang/cargo/pull/12466)
- ci: rewrote `xtask-bump-check` for respecting semver by adopting `cargo-semver-checks`.
[#12395](https://github.com/rust-lang/cargo/pull/12395)
[#12513](https://github.com/rust-lang/cargo/pull/12513)
[#12508](https://github.com/rust-lang/cargo/pull/12508)
- Rearranged and renamed test directories
[#12397](https://github.com/rust-lang/cargo/pull/12397)
[#12398](https://github.com/rust-lang/cargo/pull/12398)
- Migrated from `log` to `tracing`.
[#12458](https://github.com/rust-lang/cargo/pull/12458)
[#12488](https://github.com/rust-lang/cargo/pull/12488)
- Track `--help` output in tests.
[#11912](https://github.com/rust-lang/cargo/pull/11912)
- Cleaned up and shared package metadata within workspace.
[#12352](https://github.com/rust-lang/cargo/pull/12352)
- `crates-io`: expose HTTP headers and `Error` type.
[#12310](https://github.com/rust-lang/cargo/pull/12310)
- For `cargo update`, caught CLI flags conflict between `--aggressive` and `--precise` in clap.
[#12428](https://github.com/rust-lang/cargo/pull/12428)
- Several fixes for either making Cargo testsuite pass on nightly or in `rust-lang/rust`.
[#12413](https://github.com/rust-lang/cargo/pull/12413)
[#12416](https://github.com/rust-lang/cargo/pull/12416)
[#12429](https://github.com/rust-lang/cargo/pull/12429)
[#12450](https://github.com/rust-lang/cargo/pull/12450)
[#12491](https://github.com/rust-lang/cargo/pull/12491)
[#12500](https://github.com/rust-lang/cargo/pull/12500)
## Cargo 1.72 (2023-08-24)
[64fb38c9...rust-1.72.0](https://github.com/rust-lang/cargo/compare/64fb38c9...rust-1.72.0)
@ -75,6 +209,9 @@
[#12231](https://github.com/rust-lang/cargo/pull/12231)
- Added a message when `rustup` override shorthand is put in a wrong position.
[#12226](https://github.com/rust-lang/cargo/pull/12226)
- Respect scp-like URL as much as possible when fetching nested submodules.
[#12359](https://github.com/rust-lang/cargo/pull/12359)
[#12411](https://github.com/rust-lang/cargo/pull/12411)
### Fixed
@ -184,6 +321,14 @@
- Show a better error when container tests fail.
[#12264](https://github.com/rust-lang/cargo/pull/12264)
## Cargo 1.71.1 (2023-08-03)
### Fixed
- [CVE-2023-38497](https://github.com/rust-lang/cargo/security/advisories/GHSA-j3xp-wfr4-hx87):
Cargo 1.71.1 or later respects umask when extracting crate archives. It also
purges the caches it tries to access if they were generated by older Cargo versions.
## Cargo 1.71 (2023-07-13)
[84b7041f...rust-1.71.0](https://github.com/rust-lang/cargo/compare/84b7041f...rust-1.71.0)

2
Cargo.lock generated
View File

@ -257,7 +257,7 @@ dependencies = [
[[package]]
name = "cargo"
version = "0.74.0"
version = "0.75.0"
dependencies = [
"anyhow",
"base64",

View File

@ -104,7 +104,7 @@ windows-sys = "0.48"
[package]
name = "cargo"
version = "0.74.0"
version = "0.75.0"
edition.workspace = true
license.workspace = true
homepage = "https://crates.io"