Skip to content

Commit 8461660

Browse files
committed
Auto merge of #12361 - weihanglo:version-bump, r=epage
Bump to 0.74.0; update changelog [rendered](https://github.com/weihanglo/cargo/blob/version-bump/CHANGELOG.md)
2 parents 4bbb300 + d11145d commit 8461660

File tree

3 files changed

+104
-4
lines changed

3 files changed

+104
-4
lines changed

CHANGELOG.md

Lines changed: 102 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,67 @@
11
# Changelog
22

3+
## Cargo 1.73 (2023-10-05)
4+
[45782b6b...HEAD](https://github.com/rust-lang/cargo/compare/45782b6b...HEAD)
5+
6+
### Added
7+
8+
### Changed
9+
10+
### Fixed
11+
12+
### Nightly only
13+
14+
- Fixed invalid package names generated by `-Zscript`.
15+
[#12349](https://github.com/rust-lang/cargo/pull/12349)
16+
- `-Zscript` now errors out on unsupported commands — `publish` and `package`.
17+
[#12350](https://github.com/rust-lang/cargo/pull/12350)
18+
19+
### Documentation
20+
21+
- Use heading attributes to control the fragment.
22+
[#12339](https://github.com/rust-lang/cargo/pull/12339)
23+
- Use "number" instead of "digit" when explaining Cargo's use of semver.
24+
[#12340](https://github.com/rust-lang/cargo/pull/12340)
25+
- contrib: Add some more detail about how publishing works.
26+
[#12344](https://github.com/rust-lang/cargo/pull/12344)
27+
- Clarify "Package ID" and "Source ID" in `cargo metadata` are opaque strings.
28+
[#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.
32+
[#12335](https://github.com/rust-lang/cargo/pull/12335)
33+
34+
### Internal
35+
36+
- Updated to `criterion` 0.5.1.
37+
[#12338](https://github.com/rust-lang/cargo/pull/12338)
38+
- ci: automatically test new packages by using `--workspace`.
39+
[#12342](https://github.com/rust-lang/cargo/pull/12342)
40+
- ci: automatically update dependencies monthly with Renovate.
41+
[#12341](https://github.com/rust-lang/cargo/pull/12341)
42+
343
## Cargo 1.72 (2023-08-24)
4-
[64fb38c9...HEAD](https://github.com/rust-lang/cargo/compare/64fb38c9...HEAD)
44+
[64fb38c9...rust-1.72.0](https://github.com/rust-lang/cargo/compare/64fb38c9...rust-1.72.0)
545

646
### Added
747

48+
- ❗ Enable `-Zdoctest-in-workspace` by default. When running each documentation
49+
test, the working directory is set to the root directory of the package the
50+
test belongs to.
51+
[docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-test.html#working-directory-of-tests)
52+
[#12221](https://github.com/rust-lang/cargo/pull/12221)
53+
[#12288](https://github.com/rust-lang/cargo/pull/12288)
854
- Add support of the "default" keyword to reset previously set `build.jobs`
955
parallelism back to the default.
1056
[#12222](https://github.com/rust-lang/cargo/pull/12222)
1157

1258
### Changed
1359

60+
- ❗ Turned feature name validation check to a hard error. The warning was
61+
added in Rust 1.49. These extended characters aren't allowed on crates.io, so
62+
this should only impact users of other registries, or people who don't publish
63+
to a registry.
64+
[#12291](https://github.com/rust-lang/cargo/pull/12291)
1465
- Cargo now warns when an edition 2021 package is in a virtual workspace and
1566
`workspace.resolver` is not set. It is recommended to set the resolver
1667
version for workspaces explicitly.
@@ -42,8 +93,29 @@
4293
([eRFC 3424](https://github.com/rust-lang/rfcs/blob/master/text/3424-cargo-script.md))
4394
[docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#script)
4495
[#12245](https://github.com/rust-lang/cargo/pull/12245)
96+
[#12255](https://github.com/rust-lang/cargo/pull/12255)
97+
[#12258](https://github.com/rust-lang/cargo/pull/12258)
98+
[#12262](https://github.com/rust-lang/cargo/pull/12262)
99+
[#12268](https://github.com/rust-lang/cargo/pull/12268)
100+
[#12269](https://github.com/rust-lang/cargo/pull/12269)
101+
[#12281](https://github.com/rust-lang/cargo/pull/12281)
102+
[#12282](https://github.com/rust-lang/cargo/pull/12282)
103+
[#12283](https://github.com/rust-lang/cargo/pull/12283)
104+
[#12284](https://github.com/rust-lang/cargo/pull/12284)
105+
[#12287](https://github.com/rust-lang/cargo/pull/12287)
106+
[#12289](https://github.com/rust-lang/cargo/pull/12289)
107+
[#12303](https://github.com/rust-lang/cargo/pull/12303)
108+
[#12305](https://github.com/rust-lang/cargo/pull/12305)
109+
[#12308](https://github.com/rust-lang/cargo/pull/12308)
45110
- Automatically inherit workspace lints when running `cargo new`/`cargo init`.
46111
[#12174](https://github.com/rust-lang/cargo/pull/12174)
112+
- Removed `-Zjobserver-per-rustc` again.
113+
[#12285](https://github.com/rust-lang/cargo/pull/12285)
114+
- Added `.toml` file extension restriction for `-Zconfig-include`.
115+
[#12298](https://github.com/rust-lang/cargo/pull/12298)
116+
- Added `-Znext-lockfile-bump` to prepare for the next lockfile bump.
117+
[#12279](https://github.com/rust-lang/cargo/pull/12279)
118+
[#12302](https://github.com/rust-lang/cargo/pull/12302)
47119

48120
### Documentation
49121

@@ -55,16 +127,32 @@
55127
[#12192](https://github.com/rust-lang/cargo/pull/12192)
56128
[#12239](https://github.com/rust-lang/cargo/pull/12239)
57129
[#12247](https://github.com/rust-lang/cargo/pull/12247)
130+
- Added more documentation for `Source` download functions.
131+
[#12319](https://github.com/rust-lang/cargo/pull/12319)
132+
- Added READMEs for the credential helpers.
133+
[#12322](https://github.com/rust-lang/cargo/pull/12322)
134+
- Fixed version requirement example in Dependency Resolution.
135+
[#12267](https://github.com/rust-lang/cargo/pull/12267)
136+
- Clarify the default behavior of cargo-install.
137+
[#12276](https://github.com/rust-lang/cargo/pull/12276)
138+
- Clarify the use of "default" branch instead of `main` by default.
139+
[#12251](https://github.com/rust-lang/cargo/pull/12251)
140+
- Provide guidance on version requirements.
141+
[#12323](https://github.com/rust-lang/cargo/pull/12323)
58142

59143
### Internal
60144

61145
- Updated to `gix` 0.45 for multi-round pack negotiations.
62146
[#12236](https://github.com/rust-lang/cargo/pull/12236)
63147
- Updated to `curl-sys` 0.4.63, which corresponds to curl 8.1.2.
64148
[#12218](https://github.com/rust-lang/cargo/pull/12218)
149+
- Updated to `openssl` 0.10.55.
150+
[#12300](https://github.com/rust-lang/cargo/pull/12300)
151+
- Updated several dependencies.
152+
[#12261](https://github.com/rust-lang/cargo/pull/12261)
65153
- Removed unused features from `windows-sys` dependency.
66154
[#12176](https://github.com/rust-lang/cargo/pull/12176)
67-
- Refactored compiler invocations
155+
- Refactored compiler invocations.
68156
[#12211](https://github.com/rust-lang/cargo/pull/12211)
69157
- Refactored git and registry sources, and registry data.
70158
[#12203](https://github.com/rust-lang/cargo/pull/12203)
@@ -83,6 +171,18 @@
83171
[#12199](https://github.com/rust-lang/cargo/pull/12199)
84172
- Migrated print-ban from test to clippy
85173
[#12246](https://github.com/rust-lang/cargo/pull/12246)
174+
- Switched to `OnceLock` for interning uses.
175+
[#12217](https://github.com/rust-lang/cargo/pull/12217)
176+
- Removed a unnecessary `.clone`.
177+
[#12213](https://github.com/rust-lang/cargo/pull/12213)
178+
- Don't try to compile `cargo-credential-gnome-secret` on non-Linux platforms.
179+
[#12321](https://github.com/rust-lang/cargo/pull/12321)
180+
- Use macro to remove duplication of workspace inheritable fields getters.
181+
[#12317](https://github.com/rust-lang/cargo/pull/12317)
182+
- Extracted and rearranged registry API items to their own modules.
183+
[#12290](https://github.com/rust-lang/cargo/pull/12290)
184+
- Show a better error when container tests fail.
185+
[#12264](https://github.com/rust-lang/cargo/pull/12264)
86186

87187
## Cargo 1.71 (2023-07-13)
88188
[84b7041f...rust-1.71.0](https://github.com/rust-lang/cargo/compare/84b7041f...rust-1.71.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
@@ -95,7 +95,7 @@ windows-sys = "0.48"
9595

9696
[package]
9797
name = "cargo"
98-
version = "0.73.0"
98+
version = "0.74.0"
9999
edition = "2021"
100100
license = "MIT OR Apache-2.0"
101101
homepage = "https://crates.io"

0 commit comments

Comments
 (0)