Skip to content

Commit 1548f3b

Browse files
committed
Auto merge of #12219 - weihanglo:version-bump, r=ehuss
Bump to 0.73.0; update changelog [rendered](https://github.com/weihanglo/cargo/blob/version-bump/CHANGELOG.md)
2 parents 58bbd2e + 1ee3153 commit 1548f3b

File tree

3 files changed

+183
-11
lines changed

3 files changed

+183
-11
lines changed

CHANGELOG.md

Lines changed: 181 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,75 @@
11
# Changelog
22

3+
## Cargo 1.72 (2023-08-24)
4+
[64fb38c9...HEAD](https://github.com/rust-lang/cargo/compare/64fb38c9...HEAD)
5+
6+
### Added
7+
8+
### Changed
9+
10+
- Cargo now warns when an edition 2021 package is in a virtual workspace and
11+
`workspace.resolver` is not set. It is recommended to set the resolver
12+
version for workspaces explicitly.
13+
[#10910](https://github.com/rust-lang/cargo/pull/10910)
14+
- Set IBM AIX shared libraries search path to `LIBPATH`.
15+
[#11968](https://github.com/rust-lang/cargo/pull/11968)
16+
- Don't pass `-C debuginfo=0` to rustc as it is the default value.
17+
[#12022](https://github.com/rust-lang/cargo/pull/12022)
18+
[#12205](https://github.com/rust-lang/cargo/pull/12205)
19+
20+
### Fixed
21+
22+
- `cargo clean` uses `remove_dir_all` as a fallback to resolve race conditions.
23+
[#11442](https://github.com/rust-lang/cargo/pull/11442)
24+
- Reduced the chance Cargo re-formats the user's `[features]` table.
25+
[#12191](https://github.com/rust-lang/cargo/pull/12191)
26+
27+
### Nightly only
28+
29+
- Automatically inherit workspace lints when running `cargo new`/`cargo init`.
30+
[#12174](https://github.com/rust-lang/cargo/pull/12174)
31+
32+
### Documentation
33+
34+
- Added a description of `Cargo.lock` conflicts in the Cargo FAQ.
35+
[#12185](https://github.com/rust-lang/cargo/pull/12185)
36+
- Added a small note about indexes ignoring SemVer build metadata.
37+
[#12206](https://github.com/rust-lang/cargo/pull/12206)
38+
- Added doc comments for `GitSource` types and friends.
39+
[#12192](https://github.com/rust-lang/cargo/pull/12192)
40+
41+
### Internal
42+
43+
- Removed unused features from `windows-sys` dependency.
44+
[#12176](https://github.com/rust-lang/cargo/pull/12176)
45+
- Refactor compiler invocations
46+
[#12211](https://github.com/rust-lang/cargo/pull/12211)
47+
- Reuse `make_dep_prefix` implementation
48+
[#12203](https://github.com/rust-lang/cargo/pull/12203)
49+
- Lexicographically order `-Z` flags
50+
[#12182](https://github.com/rust-lang/cargo/pull/12182)
51+
- Several Cargo's own test infra improvements and speed-ups.
52+
[#12184](https://github.com/rust-lang/cargo/pull/12184)
53+
[#12188](https://github.com/rust-lang/cargo/pull/12188)
54+
[#12189](https://github.com/rust-lang/cargo/pull/12189)
55+
[#12194](https://github.com/rust-lang/cargo/pull/12194)
56+
[#12199](https://github.com/rust-lang/cargo/pull/12199)
57+
358
## Cargo 1.71 (2023-07-13)
4-
[84b7041f...HEAD](https://github.com/rust-lang/cargo/compare/84b7041f...HEAD)
59+
[84b7041f...rust-1.71.0](https://github.com/rust-lang/cargo/compare/84b7041f...rust-1.71.0)
560

661
### Added
762

63+
- Allowed named debuginfo options in Cargo.toml.
64+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#debug)
65+
[#11958](https://github.com/rust-lang/cargo/pull/11958)
66+
- Added `workspace_default_members` to the output of `cargo metadata`.
67+
[#11978](https://github.com/rust-lang/cargo/pull/11978)
68+
- `cargo add` now considers `rust-version` when selecting packages.
69+
[#12078](https://github.com/rust-lang/cargo/pull/12078)
70+
- Automatically inherit workspace fields when running `cargo new`/`cargo init`.
71+
[#12069](https://github.com/rust-lang/cargo/pull/12069)
72+
873
### Changed
974

1075
- ❗ Optimized the usage under `rustup`. When Cargo detects it will run `rustc`
@@ -23,39 +88,146 @@
2388
[#12107](https://github.com/rust-lang/cargo/pull/12107)
2489
- Better error message when getting an empty dependency table in Cargo.toml.
2590
[#11997](https://github.com/rust-lang/cargo/pull/11997)
26-
- Use restricted Damerau-Levenshtein algorithm to provide typo suggestions.
27-
[#11963](https://github.com/rust-lang/cargo/pull/11963)
91+
- Better error message when empty dependency was specified in Cargo.toml.
92+
[#12001](https://github.com/rust-lang/cargo/pull/12001)
93+
- `--help` text is now wrapping for readability on narrow screens.
94+
[#12013](https://github.com/rust-lang/cargo/pull/12013)
95+
- Tweaked the order of arguments in `--help` text to clarify role of `--bin`.
96+
[#12157](https://github.com/rust-lang/cargo/pull/12157)
97+
- `rust-version` is included in `cargo publish` requests to registries.
98+
[#12041](https://github.com/rust-lang/cargo/pull/12041)
2899

29100
### Fixed
30101

31102
- Corrected the bug report URL for `cargo clippy --fix`.
32103
[#11882](https://github.com/rust-lang/cargo/pull/11882)
104+
- Cargo now applies `[env]` to rust invocations for target info discovery.
105+
[#12029](https://github.com/rust-lang/cargo/pull/12029)
106+
- Fixed tokens not redacted in http debug when using HTTP/2.
107+
[#12095](https://github.com/rust-lang/cargo/pull/12095)
108+
- Fixed `-C debuginfo` not passed in some situation, leading to build cache miss.
109+
[#12165](https://github.com/rust-lang/cargo/pull/12165)
110+
- Fixed the ambiguity when `cargo install` found packages with the same name.
111+
The ambiguity happened in a situation like a package depending on old versions
112+
of itself.
113+
[#12015](https://github.com/rust-lang/cargo/pull/12015)
114+
- Fixed a false positive that `cargo package` checks for conflict files.
115+
[#12135](https://github.com/rust-lang/cargo/pull/12135)
116+
- Fixed `dep/feat` syntax not working when co-exist with `dep:` syntax, and
117+
trying to enable features of an optional dependency.
118+
[#12130](https://github.com/rust-lang/cargo/pull/12130)
119+
- Fixed `cargo tree` not handling the output with `-e no-proc-macro` correctly.
120+
[#12044](https://github.com/rust-lang/cargo/pull/12044)
121+
- Warn instead of error in `cargo package` on empty `readme` or `license-file`
122+
in Cargo.toml.
123+
[#12036](https://github.com/rust-lang/cargo/pull/12036)
33124

34125
### Nightly only
35126

127+
- 🔥 The `-Zgitxoide` feature now supports shallow clones and fetches for
128+
dependencies and registry indexes.
129+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#gitoxide)
130+
[#11840](https://github.com/rust-lang/cargo/pull/11840)
131+
- 🔥 The `-Zlints` feature enables configuring lints rules in Cargo.toml
132+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#lints)
133+
[#12148](https://github.com/rust-lang/cargo/pull/12148)
134+
[#12168](https://github.com/rust-lang/cargo/pull/12168)
36135
- The `-Zbuild-std` breakage of missing features in `nightly-2023-05-04` has
37136
been fixed in `nightly-2023-05-05`.
38137
[#12088](https://github.com/rust-lang/cargo/pull/12088)
39138
- Recompile on profile rustflags changes.
40139
[#11981](https://github.com/rust-lang/cargo/pull/11981)
140+
- Added `-Zmsrv-policy` feature flag placeholder.
141+
[#12043](https://github.com/rust-lang/cargo/pull/12043)
41142

42143
### Documentation
43144

145+
- Added Cargo team charter.
146+
[docs](https://doc.crates.io/contrib/team.html)
147+
[#12010](https://github.com/rust-lang/cargo/pull/12010)
148+
- SemVer: Adding `#[non_exhaustive]` on existing items is a breaking change.
149+
[#10877](https://github.com/rust-lang/cargo/pull/10877)
150+
- SemVer: It is not a breaking change to make an unsafe function safe.
151+
[#12116](https://github.com/rust-lang/cargo/pull/12116)
152+
- SemVer: changeing MSRV is generally a minor change.
153+
[#12122](https://github.com/rust-lang/cargo/pull/12122)
154+
- Clarify when and how to `cargo yank`.
155+
[#11862](https://github.com/rust-lang/cargo/pull/11862)
156+
- Clarify that crates.io doesn't link to docs.rs right away.
157+
[#12146](https://github.com/rust-lang/cargo/pull/12146)
158+
- Clarify documentation around test target setting.
159+
[#12032](https://github.com/rust-lang/cargo/pull/12032)
160+
- Specify `rust_version` in Index format.
161+
[#12040](https://github.com/rust-lang/cargo/pull/12040)
162+
- Specify `msg` in owner-remove registry API response.
163+
[#12068](https://github.com/rust-lang/cargo/pull/12068)
164+
- Added more documentation for artifact-dependencies.
165+
[#12110](https://github.com/rust-lang/cargo/pull/12110)
166+
- Added doc comments for `Source` and build script for cargo-the-library.
167+
[#12133](https://github.com/rust-lang/cargo/pull/12133)
168+
[#12153](https://github.com/rust-lang/cargo/pull/12153)
169+
[#12159](https://github.com/rust-lang/cargo/pull/12159)
170+
- Several typo and broken link fixes.
171+
[#12018](https://github.com/rust-lang/cargo/pull/12018)
172+
[#12020](https://github.com/rust-lang/cargo/pull/12020)
173+
[#12049](https://github.com/rust-lang/cargo/pull/12049)
174+
[#12067](https://github.com/rust-lang/cargo/pull/12067)
175+
[#12073](https://github.com/rust-lang/cargo/pull/12073)
176+
[#12143](https://github.com/rust-lang/cargo/pull/12143)
177+
- home: clarify the behavior on each platform
178+
[#12047](https://github.com/rust-lang/cargo/pull/12047)
179+
44180
### Internal
45181

46-
- Cargo is now a Cargo workspace. We dogfood ourselves finally.
182+
- Updated to `linux-raw-sys` 0.3.2
183+
[#11998](https://github.com/rust-lang/cargo/pull/11998)
184+
- Updated to `git2` 0.17.1, which corresponds to libgit2 1.6.4.
185+
[#12096](https://github.com/rust-lang/cargo/pull/12096)
186+
- Updated to `windows-sys` 0.48.0
187+
[#12021](https://github.com/rust-lang/cargo/pull/12021)
188+
- Updated to `libc` 0.2.144
189+
[#12014](https://github.com/rust-lang/cargo/pull/12014)
190+
[#12098](https://github.com/rust-lang/cargo/pull/12098)
191+
- Updated to `openssl-src` 111.25.3+1.1.1t
192+
[#12005](https://github.com/rust-lang/cargo/pull/12005)
193+
- Updated to `home` 0.5.5
194+
[#12037](https://github.com/rust-lang/cargo/pull/12037)
195+
- Enabled feature `Win32_System_Console` feature since it is used.
196+
[#12016](https://github.com/rust-lang/cargo/pull/12016)
197+
- Cargo is now a Cargo workspace. We dogfood ourselves finally!
47198
[#11851](https://github.com/rust-lang/cargo/pull/11851)
48199
[#11994](https://github.com/rust-lang/cargo/pull/11994)
49200
[#11996](https://github.com/rust-lang/cargo/pull/11996)
50-
- Allow win/mac credential managers to build on all platforms.
51-
[#11993](https://github.com/rust-lang/cargo/pull/11993)
52-
- Use `openssl` only on non-Windows platforms.
53-
[#11979](https://github.com/rust-lang/cargo/pull/11979)
54-
- A new, straightforward issue labels system for Cargo contributors.
201+
[#12024](https://github.com/rust-lang/cargo/pull/12024)
202+
[#12025](https://github.com/rust-lang/cargo/pull/12025)
203+
[#12057](https://github.com/rust-lang/cargo/pull/12057)
204+
- 🔥 A new, straightforward issue labels system for Cargo contributors.
55205
[docs](https://doc.crates.io/contrib/issues.html)
56206
[#11995](https://github.com/rust-lang/cargo/pull/11995)
57207
[#12002](https://github.com/rust-lang/cargo/pull/12002)
58208
[#12003](https://github.com/rust-lang/cargo/pull/12003)
209+
- Allow win/mac credential managers to build on all platforms.
210+
[#11993](https://github.com/rust-lang/cargo/pull/11993)
211+
[#12027](https://github.com/rust-lang/cargo/pull/12027)
212+
- Use `openssl` only on non-Windows platforms.
213+
[#11979](https://github.com/rust-lang/cargo/pull/11979)
214+
- Use restricted Damerau-Levenshtein algorithm to provide typo suggestions.
215+
[#11963](https://github.com/rust-lang/cargo/pull/11963)
216+
- Added a new xtask `cargo build-man`.
217+
[#12048](https://github.com/rust-lang/cargo/pull/12048)
218+
- Added a new xtask `cargo stale-label`.
219+
[#12051](https://github.com/rust-lang/cargo/pull/12051)
220+
- Added a new xtask `cargo unpublished`.
221+
[#12039](https://github.com/rust-lang/cargo/pull/12039)
222+
[#12045](https://github.com/rust-lang/cargo/pull/12045)
223+
[#12085](https://github.com/rust-lang/cargo/pull/12085)
224+
- CI: check if any version bump needed for member crates.
225+
[#12126](https://github.com/rust-lang/cargo/pull/12126)
226+
- Fixed some test infra issues.
227+
[#11976](https://github.com/rust-lang/cargo/pull/11976)
228+
[#12026](https://github.com/rust-lang/cargo/pull/12026)
229+
[#12055](https://github.com/rust-lang/cargo/pull/12055)
230+
[#12117](https://github.com/rust-lang/cargo/pull/12117)
59231

60232
## Cargo 1.70 (2023-06-01)
61233
[9880b408...rust-1.70.0](https://github.com/rust-lang/cargo/compare/9880b408...rust-1.70.0)

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
@@ -94,7 +94,7 @@ windows-sys = "0.48"
9494

9595
[package]
9696
name = "cargo"
97-
version = "0.72.0"
97+
version = "0.73.0"
9898
edition = "2021"
9999
license = "MIT OR Apache-2.0"
100100
homepage = "https://crates.io"

0 commit comments

Comments
 (0)