Skip to content

Commit de80432

Browse files
committed
Auto merge of #12012 - weihanglo:version-bump, r=epage
Bump to 0.72.0; update changelog [rendered](https://github.com/weihanglo/cargo/blob/version-bump/CHANGELOG.md)
2 parents 3f3c852 + 6323a4a commit de80432

File tree

3 files changed

+129
-5
lines changed

3 files changed

+129
-5
lines changed

CHANGELOG.md

+127-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,58 @@
11
# Changelog
22

3+
## Cargo 1.71 (2023-07-13)
4+
[84b7041f...HEAD](https://github.com/rust-lang/cargo/compare/84b7041f...HEAD)
5+
6+
### Added
7+
8+
### Changed
9+
10+
- Better error message when getting an empty dependency table in Cargo.toml.
11+
[#11997](https://github.com/rust-lang/cargo/pull/11997)
12+
- Use restricted Damerau-Levenshtein algorithm to provide typo suggestions.
13+
[#11963](https://github.com/rust-lang/cargo/pull/11963)
14+
15+
### Fixed
16+
17+
- Corrected the bug report URL for `cargo clippy --fix`.
18+
[#11882](https://github.com/rust-lang/cargo/pull/11882)
19+
20+
### Nightly only
21+
22+
- Recompile on profile rustflags changes.
23+
[#11981](https://github.com/rust-lang/cargo/pull/11981)
24+
25+
### Documentation
26+
27+
### Internal
28+
29+
- Cargo is now a Cargo workspace. We dogfood ourselves finally.
30+
[#11851](https://github.com/rust-lang/cargo/pull/11851)
31+
[#11994](https://github.com/rust-lang/cargo/pull/11994)
32+
[#11996](https://github.com/rust-lang/cargo/pull/11996)
33+
- Allow win/mac credential managers to build on all platforms.
34+
[#11993](https://github.com/rust-lang/cargo/pull/11993)
35+
- Use `openssl` only on non-Windows platforms.
36+
[#11979](https://github.com/rust-lang/cargo/pull/11979)
37+
- A new, straightforward issue labels system for Cargo contributors.
38+
[docs](https://doc.crates.io/contrib/issues.html)
39+
[#11995](https://github.com/rust-lang/cargo/pull/11995)
40+
[#12002](https://github.com/rust-lang/cargo/pull/12002)
41+
[#12003](https://github.com/rust-lang/cargo/pull/12003)
42+
343
## Cargo 1.70 (2023-06-01)
4-
[9880b408...HEAD](https://github.com/rust-lang/cargo/compare/9880b408...HEAD)
44+
[9880b408...rust-1.70.0](https://github.com/rust-lang/cargo/compare/9880b408...rust-1.70.0)
545

646
### Added
747

48+
- 🎉 Added `cargo logout` command for removing an API token from the registry locally.
49+
[docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-logout.html)
50+
[#11919](https://github.com/rust-lang/cargo/pull/11919)
51+
[#11950](https://github.com/rust-lang/cargo/pull/11950)
52+
- Added `--ignore-rust-version` flag to `cargo install`.
53+
[#11859](https://github.com/rust-lang/cargo/pull/11859)
854
- The `CARGO_PKG_README` environment variable is now set to the path to the
9-
README file when compiling a crate.
55+
README file when compiling a crate.
1056
[#11645](https://github.com/rust-lang/cargo/pull/11645)
1157
- Cargo now displays richer information of Cargo target failed to compile.
1258
[#11636](https://github.com/rust-lang/cargo/pull/11636)
@@ -18,6 +64,20 @@
1864
([docs](https://doc.rust-lang.org/nightly/cargo/reference/registries.html#registry-protocols))
1965
[#11791](https://github.com/rust-lang/cargo/pull/11791)
2066
[#11783](https://github.com/rust-lang/cargo/pull/11783)
67+
-`cargo login` and `cargo logout` now uses the registry specified in
68+
`registry.default`. This was an unintentional regression.
69+
[#11949](https://github.com/rust-lang/cargo/pull/11949)
70+
- `cargo update` accurately shows `Downgrading` status when downgrading dependencies.
71+
[#11839](https://github.com/rust-lang/cargo/pull/11839)
72+
- Added more information to HTTP errors to help with debugging.
73+
[#11878](https://github.com/rust-lang/cargo/pull/11878)
74+
- Added delays to network retries in Cargo.
75+
[#11881](https://github.com/rust-lang/cargo/pull/11881)
76+
- Refined `cargo puslish` message when waiting for a publish complete.
77+
[#11713](https://github.com/rust-lang/cargo/pull/11713)
78+
- Better error message when `cargo install` from a git repository but found
79+
multiple packages.
80+
[#11835](https://github.com/rust-lang/cargo/pull/11835)
2181

2282
### Fixed
2383

@@ -29,6 +89,15 @@
2989
[#11805](https://github.com/rust-lang/cargo/pull/11805)
3090
- Don't panic when [`patch`] involved in dependency resolution results in a conflict.
3191
[#11770](https://github.com/rust-lang/cargo/pull/11770)
92+
- Fixed credential token format validation.
93+
[#11951](https://github.com/rust-lang/cargo/pull/11951)
94+
- Added the missing token format validation on publish.
95+
[#11952](https://github.com/rust-lang/cargo/pull/11952)
96+
- Fixed case mismatches when looking up env vars in the Config snapshot.
97+
[#11824](https://github.com/rust-lang/cargo/pull/11824)
98+
- `cargo new` generates the correct `.hgignore` aligning semantics with other
99+
VCS ignore files.
100+
[#11855](https://github.com/rust-lang/cargo/pull/11855)
32101

33102
### Nightly only
34103

@@ -42,6 +111,8 @@
42111
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html##gitoxide))
43112
[#11448](https://github.com/rust-lang/cargo/pull/11448)
44113
[#11800](https://github.com/rust-lang/cargo/pull/11800)
114+
[#11822](https://github.com/rust-lang/cargo/pull/11822)
115+
[#11830](https://github.com/rust-lang/cargo/pull/11830)
45116
- Removed `-Zjobserver-per-rustc`. Its rustc counterpart never got landed.
46117
[#11764](https://github.com/rust-lang/cargo/pull/11764)
47118

@@ -51,16 +122,69 @@
51122
[#11793](https://github.com/rust-lang/cargo/pull/11793)
52123
- Enhanced the documentation of timing report with graphs.
53124
[#11798](https://github.com/rust-lang/cargo/pull/11798)
125+
- Clarified requirements about the state of the registry index after publish.
126+
[#11926](https://github.com/rust-lang/cargo/pull/11926)
127+
- Clarified docs on `-C` that it appears before the command.
128+
[#11947](https://github.com/rust-lang/cargo/pull/11947)
129+
- Clarified working directory behaviour for `cargo test`, `cargo bench` and
130+
`cargo run`.
131+
[#11901](https://github.com/rust-lang/cargo/pull/11901)
132+
- Fixed the doc of `registries.name.index` configuration.
133+
[#11880](https://github.com/rust-lang/cargo/pull/11880)
134+
- Notice for potential unexpected shell expansions in help text of `cargo-add`.
135+
[#11826](https://github.com/rust-lang/cargo/pull/11826)
136+
- Updated external-tools JSON docs.
137+
[#11918](https://github.com/rust-lang/cargo/pull/11918)
138+
- Call out the differences between the index JSON and the API or metadata.
139+
[#11927](https://github.com/rust-lang/cargo/pull/11927)
140+
- Consistently use `@` when mentioning pkgid format.
141+
[#11956](https://github.com/rust-lang/cargo/pull/11956)
142+
- Stopped using `UncanonicalizedIter` for `QueryKind::Exact`.
143+
[#11937](https://github.com/rust-lang/cargo/pull/11937)
144+
- Don't query permutations of the path prefix of a dependency in the registry index.
145+
[#11936](https://github.com/rust-lang/cargo/pull/11936)
146+
- Enabled clippy warning on `disallowed_methods` for `std::env::var` and friends.
147+
[#11828](https://github.com/rust-lang/cargo/pull/11828)
148+
- Enhanced Cargo Contributor Guide.
149+
[#11825](https://github.com/rust-lang/cargo/pull/11825)
150+
[#11842](https://github.com/rust-lang/cargo/pull/11842)
151+
[#11869](https://github.com/rust-lang/cargo/pull/11869)
152+
[#11876](https://github.com/rust-lang/cargo/pull/11876)
153+
- Moved a part of Cargo Contributor Guide to Cargo API documentation.
154+
[docs](https://doc.rust-lang.org/nightly/nightly-rustc/cargo)
155+
[#11809](https://github.com/rust-lang/cargo/pull/11809)
156+
[#11841](https://github.com/rust-lang/cargo/pull/11841)
157+
[#11850](https://github.com/rust-lang/cargo/pull/11850)
158+
[#11870](https://github.com/rust-lang/cargo/pull/11870)
159+
- Cargo team now arranges
160+
[office hours](https://github.com/rust-lang/cargo/wiki/Office-Hours)!
161+
[#11903](https://github.com/rust-lang/cargo/pull/11903)
54162

55163
### Internal
56164

57165
- Switched to `sha2` crate for SHA256 calculation.
58166
[#11795](https://github.com/rust-lang/cargo/pull/11795)
59167
[#11807](https://github.com/rust-lang/cargo/pull/11807)
60-
- Updated to `base64` v0.21.0.
168+
- Switched benchsuite to the index archive.
169+
[#11933](https://github.com/rust-lang/cargo/pull/11933)
170+
- Updated to `base64` 0.21.0.
61171
[#11796](https://github.com/rust-lang/cargo/pull/11796)
172+
- Updated to `curl-sys` 0.4.61, which corresponds to curl 8.0.1.
173+
[#11871](https://github.com/rust-lang/cargo/pull/11871)
174+
- Updated to `proptest` 1.1.0.
175+
[#11886](https://github.com/rust-lang/cargo/pull/11886)
176+
- Updated to `git2` 0.17.0, which corresponds to libgit2 1.6.3.
177+
[#11928](https://github.com/rust-lang/cargo/pull/11928)
178+
- Updated to `clap` 4.2.
179+
[#11904](https://github.com/rust-lang/cargo/pull/11904)
62180
- Integrated `cargo-deny` in Cargo its own CI pipeline.
63181
[#11761](https://github.com/rust-lang/cargo/pull/11761)
182+
- Made non-blocking IO calls more robust.
183+
[#11624](https://github.com/rust-lang/cargo/pull/11624)
184+
- Dropped `derive` feature from `serde` in `cargo-platform`.
185+
[#11915](https://github.com/rust-lang/cargo/pull/11915)
186+
- Replaced `std::fs::canonicalize` with a more robust `try_canonicalize`.
187+
[#11866](https://github.com/rust-lang/cargo/pull/11866)
64188

65189
## Cargo 1.69 (2023-04-20)
66190
[985d561f...rust-1.69.0](https://github.com/rust-lang/cargo/compare/985d561f...rust-1.69.0)

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exclude = [
1212

1313
[package]
1414
name = "cargo"
15-
version = "0.71.0"
15+
version = "0.72.0"
1616
edition = "2021"
1717
license = "MIT OR Apache-2.0"
1818
homepage = "https://crates.io"

0 commit comments

Comments
 (0)