Skip to content

Commit 5155d3f

Browse files
committed
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)
2 parents 3bb02f2 + ac86772 commit 5155d3f

File tree

3 files changed

+151
-6
lines changed

3 files changed

+151
-6
lines changed

CHANGELOG.md

Lines changed: 149 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,110 @@
11
# Changelog
22

3+
## Cargo 1.74 (2023-11-16)
4+
[80eca0e5...HEAD](https://github.com/rust-lang/cargo/compare/80eca0e5...HEAD)
5+
6+
### Added
7+
8+
### Changed
9+
10+
### Fixed
11+
12+
### Nightly only
13+
14+
### Documentation
15+
16+
- ❗ Policy change: always check `Cargo.lock` in verison control, even for
17+
libraries. Lockfile and CI integration documentations are also expanded.
18+
[Policy docs](https://doc.rust-lang.org/nightly/cargo/faq.html#why-have-cargolock-in-version-control),
19+
[Lockfile docs](https://doc.rust-lang.org/nightly/cargo/guide/cargo-toml-vs-cargo-lock.html),
20+
[CI docs](https://doc.rust-lang.org/nightly/cargo/guide/continuous-integration.html),
21+
[#12382](https://github.com/rust-lang/cargo/pull/12382)
22+
323
## Cargo 1.73 (2023-10-05)
4-
[45782b6b...HEAD](https://github.com/rust-lang/cargo/compare/45782b6b...HEAD)
24+
[45782b6b...rust-1.73.0](https://github.com/rust-lang/cargo/compare/45782b6b...rust-1.73.0)
525

626
### Added
727

28+
- Print environment variables for `cargo run/bench/test` in extra verbose mode `-vv`.
29+
[#12498](https://github.com/rust-lang/cargo/pull/12498)
30+
- Display package versions on Cargo timings graph.
31+
[#12420](https://github.com/rust-lang/cargo/pull/12420)
32+
833
### Changed
934

35+
- Cargo now bails out when using `cargo::` in custom build scripts. This is
36+
a preparation for an upcoming change in build script invocations.
37+
[#12332](https://github.com/rust-lang/cargo/pull/12332)
38+
- Make Cargo `--help` easier to browse.
39+
[#11905](https://github.com/rust-lang/cargo/pull/11905)
40+
- Prompt the use of `--nocapture` flag if `cargo test` process is terminated via a signal.
41+
[#12463](https://github.com/rust-lang/cargo/pull/12463)
42+
- Preserve jobserver file descriptors on the rustc invocation for getting target information.
43+
[#12447](https://github.com/rust-lang/cargo/pull/12447)
44+
- Clarify in `--help` that `cargo test --all-targets` excludes doctests.
45+
[#12422](https://github.com/rust-lang/cargo/pull/12422)
46+
- Normalize `cargo.toml` to `Cargo.toml` on publish, and warn on other cases of `Cargo.toml`.
47+
[#12399](https://github.com/rust-lang/cargo/pull/12399)
48+
1049
### Fixed
1150

51+
- Only skip mtime check on `~/.cargo/{git,registry}`.
52+
[#12369](https://github.com/rust-lang/cargo/pull/12369)
53+
- Fixed `cargo doc --open` crash on WSL2.
54+
[#12373](https://github.com/rust-lang/cargo/pull/12373)
55+
- Fixed panic when enabling `http.debug` for certain strings.
56+
[#12468](https://github.com/rust-lang/cargo/pull/12468)
57+
- Fixed `cargo remove` incorrectly removing used patches.
58+
[#12454](https://github.com/rust-lang/cargo/pull/12454)
59+
- Fixed crate checksum lookup query should match on semver build metadata.
60+
[#11447](https://github.com/rust-lang/cargo/pull/11447)
61+
- Fixed printing multiple warning messages for unused fields in `[registries]` table.
62+
[#12439](https://github.com/rust-lang/cargo/pull/12439)
63+
1264
### Nightly only
1365

66+
- 🔥 The `-Zcredential-process` has been reimplemented with a clearer way to
67+
communicate with different credential providers. Several built-in providers
68+
are also added to Cargo.
69+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#credential-process)
70+
[#12334](https://github.com/rust-lang/cargo/pull/12334)
71+
[#12396](https://github.com/rust-lang/cargo/pull/12396)
72+
[#12424](https://github.com/rust-lang/cargo/pull/12424)
73+
[#12440](https://github.com/rust-lang/cargo/pull/12440)
74+
[#12461](https://github.com/rust-lang/cargo/pull/12461)
75+
[#12469](https://github.com/rust-lang/cargo/pull/12469)
76+
[#12483](https://github.com/rust-lang/cargo/pull/12483)
77+
[#12499](https://github.com/rust-lang/cargo/pull/12499)
78+
[#12507](https://github.com/rust-lang/cargo/pull/12507)
79+
[#12512](https://github.com/rust-lang/cargo/pull/12512)
80+
[#12518](https://github.com/rust-lang/cargo/pull/12518)
81+
[#12521](https://github.com/rust-lang/cargo/pull/12521)
82+
[#12526](https://github.com/rust-lang/cargo/pull/12526)
83+
Some notable changes:
84+
- Renamed `credential-process` to `credential-provider` in Cargo configurations.
85+
- New JSON protocol for communicating with external credential providers via stdin/stdout.
86+
- The GNOME Secert provider now dynamically loads `libsecert`.
87+
- The 1password provider is no longer built-in.
88+
- Changed the unstable key for asymmetric tokens from `registry-auth` to `credential-process`.
89+
- ❗️ Removed `--keep-going` flag support from `cargo test` and `cargo bench`.
90+
[#12478](https://github.com/rust-lang/cargo/pull/12478)
91+
[#12492](https://github.com/rust-lang/cargo/pull/12492)
1492
- Fixed invalid package names generated by `-Zscript`.
1593
[#12349](https://github.com/rust-lang/cargo/pull/12349)
1694
- `-Zscript` now errors out on unsupported commands — `publish` and `package`.
1795
[#12350](https://github.com/rust-lang/cargo/pull/12350)
96+
- Encode URL params correctly for source ID in Cargo.lock.
97+
[#12280](https://github.com/rust-lang/cargo/pull/12280)
98+
- Replaced invalid `panic_unwind` std feature with `panic-unwind`.
99+
[#12364](https://github.com/rust-lang/cargo/pull/12364)
100+
- `-Zlints`: doctest extraction should respect `[lints]`.
101+
[#12501](https://github.com/rust-lang/cargo/pull/12501)
18102

19103
### Documentation
20104

105+
- SemVer: Adding a section for changing the alignment, layout, or size of a
106+
well-defined type.
107+
[#12169](https://github.com/rust-lang/cargo/pull/12169)
21108
- Use heading attributes to control the fragment.
22109
[#12339](https://github.com/rust-lang/cargo/pull/12339)
23110
- Use "number" instead of "digit" when explaining Cargo's use of semver.
@@ -26,19 +113,66 @@
26113
[#12344](https://github.com/rust-lang/cargo/pull/12344)
27114
- Clarify "Package ID" and "Source ID" in `cargo metadata` are opaque strings.
28115
[#12313](https://github.com/rust-lang/cargo/pull/12313)
29-
- Added `profile.strip` to configuration docs.
30-
[#12337](https://github.com/rust-lang/cargo/pull/12337)
31-
- Multiple versions that differ only in the metadata tag are disallowed on crates.io.
116+
- Clarify that `rerun-if-env-changed` doesn't monitor the environment variables
117+
it set for crates and build script.
118+
[#12482](https://github.com/rust-lang/cargo/pull/12482)
119+
- Clarify that multiple versions that differ only in the metadata tag are
120+
disallowed on crates.io.
32121
[#12335](https://github.com/rust-lang/cargo/pull/12335)
122+
- Clarify `lto` setting passing `-Clinker-plugin-lto`.
123+
[#12407](https://github.com/rust-lang/cargo/pull/12407)
124+
- Added `profile.strip` to configuration and environment variable docs.
125+
[#12337](https://github.com/rust-lang/cargo/pull/12337)
126+
[#12408](https://github.com/rust-lang/cargo/pull/12408)
127+
- Added docs for artifact JSON debuginfo levels.
128+
[#12376](https://github.com/rust-lang/cargo/pull/12376)
129+
- Added a notice for the backward compatible `.cargo/credential` file existence.
130+
[#12479](https://github.com/rust-lang/cargo/pull/12479)
131+
- Raised the awareness of `resolver = 2` used inside workspaces.
132+
[#12388](https://github.com/rust-lang/cargo/pull/12388)
133+
- Replaced `master` branch by default branch in documentation.
134+
[#12435](https://github.com/rust-lang/cargo/pull/12435)
33135

34136
### Internal
35137

36138
- Updated to `criterion` 0.5.1.
37139
[#12338](https://github.com/rust-lang/cargo/pull/12338)
140+
- Updated to `curl-sys` 0.4.65, which corresponds to curl 8.2.1.
141+
[#12406](https://github.com/rust-lang/cargo/pull/12406)
142+
- Updated to `indexmap` v2.
143+
[#12368](https://github.com/rust-lang/cargo/pull/12368)
144+
- Updated to `miow` 0.6.0, which drops old versions of `windows-sys`.
145+
[#12453](https://github.com/rust-lang/cargo/pull/12453)
38146
- ci: automatically test new packages by using `--workspace`.
39147
[#12342](https://github.com/rust-lang/cargo/pull/12342)
40148
- ci: automatically update dependencies monthly with Renovate.
41149
[#12341](https://github.com/rust-lang/cargo/pull/12341)
150+
[#12466](https://github.com/rust-lang/cargo/pull/12466)
151+
- ci: rewrote `xtask-bump-check` for respecting semver by adopting `cargo-semver-checks`.
152+
[#12395](https://github.com/rust-lang/cargo/pull/12395)
153+
[#12513](https://github.com/rust-lang/cargo/pull/12513)
154+
[#12508](https://github.com/rust-lang/cargo/pull/12508)
155+
- Rearranged and renamed test directories
156+
[#12397](https://github.com/rust-lang/cargo/pull/12397)
157+
[#12398](https://github.com/rust-lang/cargo/pull/12398)
158+
- Migrated from `log` to `tracing`.
159+
[#12458](https://github.com/rust-lang/cargo/pull/12458)
160+
[#12488](https://github.com/rust-lang/cargo/pull/12488)
161+
- Track `--help` output in tests.
162+
[#11912](https://github.com/rust-lang/cargo/pull/11912)
163+
- Cleaned up and shared package metadata within workspace.
164+
[#12352](https://github.com/rust-lang/cargo/pull/12352)
165+
- `crates-io`: expose HTTP headers and `Error` type.
166+
[#12310](https://github.com/rust-lang/cargo/pull/12310)
167+
- For `cargo update`, caught CLI flags conflict between `--aggressive` and `--precise` in clap.
168+
[#12428](https://github.com/rust-lang/cargo/pull/12428)
169+
- Several fixes for either making Cargo testsuite pass on nightly or in `rust-lang/rust`.
170+
[#12413](https://github.com/rust-lang/cargo/pull/12413)
171+
[#12416](https://github.com/rust-lang/cargo/pull/12416)
172+
[#12429](https://github.com/rust-lang/cargo/pull/12429)
173+
[#12450](https://github.com/rust-lang/cargo/pull/12450)
174+
[#12491](https://github.com/rust-lang/cargo/pull/12491)
175+
[#12500](https://github.com/rust-lang/cargo/pull/12500)
42176

43177
## Cargo 1.72 (2023-08-24)
44178
[64fb38c9...rust-1.72.0](https://github.com/rust-lang/cargo/compare/64fb38c9...rust-1.72.0)
@@ -75,6 +209,9 @@
75209
[#12231](https://github.com/rust-lang/cargo/pull/12231)
76210
- Added a message when `rustup` override shorthand is put in a wrong position.
77211
[#12226](https://github.com/rust-lang/cargo/pull/12226)
212+
- Respect scp-like URL as much as possible when fetching nested submodules.
213+
[#12359](https://github.com/rust-lang/cargo/pull/12359)
214+
[#12411](https://github.com/rust-lang/cargo/pull/12411)
78215

79216
### Fixed
80217

@@ -184,6 +321,14 @@
184321
- Show a better error when container tests fail.
185322
[#12264](https://github.com/rust-lang/cargo/pull/12264)
186323

324+
## Cargo 1.71.1 (2023-08-03)
325+
326+
### Fixed
327+
328+
- [CVE-2023-38497](https://github.com/rust-lang/cargo/security/advisories/GHSA-j3xp-wfr4-hx87):
329+
Cargo 1.71.1 or later respects umask when extracting crate archives. It also
330+
purges the caches it tries to access if they were generated by older Cargo versions.
331+
187332
## Cargo 1.71 (2023-07-13)
188333
[84b7041f...rust-1.71.0](https://github.com/rust-lang/cargo/compare/84b7041f...rust-1.71.0)
189334

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ windows-sys = "0.48"
104104

105105
[package]
106106
name = "cargo"
107-
version = "0.74.0"
107+
version = "0.75.0"
108108
edition.workspace = true
109109
license.workspace = true
110110
homepage = "https://crates.io"

0 commit comments

Comments
 (0)