Skip to content

Commit 80c09d7

Browse files
committed
Update changelog for 1.72
1 parent ff644b8 commit 80c09d7

File tree

1 file changed

+62
-2
lines changed

1 file changed

+62
-2
lines changed

CHANGELOG.md

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

33
## Cargo 1.72 (2023-08-24)
4-
[64fb38c9...HEAD](https://github.com/rust-lang/cargo/compare/64fb38c9...HEAD)
4+
[64fb38c9...rust-1.72.0](https://github.com/rust-lang/cargo/compare/64fb38c9...rust-1.72.0)
55

66
### Added
77

8+
- ❗ Enable `-Zdoctest-in-workspace` by default. When running each documentation
9+
test, the working directory is set to the root directory of the package the
10+
test belongs to.
11+
[docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-test.html#working-directory-of-tests)
12+
[#12221](https://github.com/rust-lang/cargo/pull/12221)
13+
[#12288](https://github.com/rust-lang/cargo/pull/12288)
814
- Add support of the "default" keyword to reset previously set `build.jobs`
915
parallelism back to the default.
1016
[#12222](https://github.com/rust-lang/cargo/pull/12222)
1117

1218
### Changed
1319

20+
- ❗ Turned feature name validation check to a hard error. The warning was
21+
added in Rust 1.49. These extended characters aren't allowed on crates.io, so
22+
this should only impact users of other registries, or people who don't publish
23+
to a registry.
24+
[#12291](https://github.com/rust-lang/cargo/pull/12291)
1425
- Cargo now warns when an edition 2021 package is in a virtual workspace and
1526
`workspace.resolver` is not set. It is recommended to set the resolver
1627
version for workspaces explicitly.
@@ -42,8 +53,29 @@
4253
([eRFC 3424](https://github.com/rust-lang/rfcs/blob/master/text/3424-cargo-script.md))
4354
[docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#script)
4455
[#12245](https://github.com/rust-lang/cargo/pull/12245)
56+
[#12255](https://github.com/rust-lang/cargo/pull/12255)
57+
[#12258](https://github.com/rust-lang/cargo/pull/12258)
58+
[#12262](https://github.com/rust-lang/cargo/pull/12262)
59+
[#12268](https://github.com/rust-lang/cargo/pull/12268)
60+
[#12269](https://github.com/rust-lang/cargo/pull/12269)
61+
[#12281](https://github.com/rust-lang/cargo/pull/12281)
62+
[#12282](https://github.com/rust-lang/cargo/pull/12282)
63+
[#12283](https://github.com/rust-lang/cargo/pull/12283)
64+
[#12284](https://github.com/rust-lang/cargo/pull/12284)
65+
[#12287](https://github.com/rust-lang/cargo/pull/12287)
66+
[#12289](https://github.com/rust-lang/cargo/pull/12289)
67+
[#12303](https://github.com/rust-lang/cargo/pull/12303)
68+
[#12305](https://github.com/rust-lang/cargo/pull/12305)
69+
[#12308](https://github.com/rust-lang/cargo/pull/12308)
4570
- Automatically inherit workspace lints when running `cargo new`/`cargo init`.
4671
[#12174](https://github.com/rust-lang/cargo/pull/12174)
72+
- Removed `-Zjobserver-per-rustc` again.
73+
[#12285](https://github.com/rust-lang/cargo/pull/12285)
74+
- Added `.toml` file extension restriction for `-Zconfig-include`.
75+
[#12298](https://github.com/rust-lang/cargo/pull/12298)
76+
- Added `-Znext-lockfile-bump` to prepare for the next lockfile bump.
77+
[#12279](https://github.com/rust-lang/cargo/pull/12279)
78+
[#12302](https://github.com/rust-lang/cargo/pull/12302)
4779

4880
### Documentation
4981

@@ -55,16 +87,32 @@
5587
[#12192](https://github.com/rust-lang/cargo/pull/12192)
5688
[#12239](https://github.com/rust-lang/cargo/pull/12239)
5789
[#12247](https://github.com/rust-lang/cargo/pull/12247)
90+
- Added more documentation for `Source` download functions.
91+
[#12319](https://github.com/rust-lang/cargo/pull/12319)
92+
- Added READMEs for the credential helpers.
93+
[#12322](https://github.com/rust-lang/cargo/pull/12322)
94+
- Fixed version requirement example in Dependency Resolution.
95+
[#12267](https://github.com/rust-lang/cargo/pull/12267)
96+
- Clarify the default behavior of cargo-install.
97+
[#12276](https://github.com/rust-lang/cargo/pull/12276)
98+
- Clarify the use of "default" branch instead of `main` by default.
99+
[#12251](https://github.com/rust-lang/cargo/pull/12251)
100+
- Provide guidance on version requirements.
101+
[#12323](https://github.com/rust-lang/cargo/pull/12323)
58102

59103
### Internal
60104

61105
- Updated to `gix` 0.45 for multi-round pack negotiations.
62106
[#12236](https://github.com/rust-lang/cargo/pull/12236)
63107
- Updated to `curl-sys` 0.4.63, which corresponds to curl 8.1.2.
64108
[#12218](https://github.com/rust-lang/cargo/pull/12218)
109+
- Updated to `openssl` 0.10.55.
110+
[#12300](https://github.com/rust-lang/cargo/pull/12300)
111+
- Updated several dependencies.
112+
[#12261](https://github.com/rust-lang/cargo/pull/12261)
65113
- Removed unused features from `windows-sys` dependency.
66114
[#12176](https://github.com/rust-lang/cargo/pull/12176)
67-
- Refactored compiler invocations
115+
- Refactored compiler invocations.
68116
[#12211](https://github.com/rust-lang/cargo/pull/12211)
69117
- Refactored git and registry sources, and registry data.
70118
[#12203](https://github.com/rust-lang/cargo/pull/12203)
@@ -83,6 +131,18 @@
83131
[#12199](https://github.com/rust-lang/cargo/pull/12199)
84132
- Migrated print-ban from test to clippy
85133
[#12246](https://github.com/rust-lang/cargo/pull/12246)
134+
- Switched to `OnceLock` for interning uses.
135+
[#12217](https://github.com/rust-lang/cargo/pull/12217)
136+
- Removed a unnecessary `.clone`.
137+
[#12213](https://github.com/rust-lang/cargo/pull/12213)
138+
- Don't try to compile `cargo-credential-gnome-secret` on non-Linux platforms.
139+
[#12321](https://github.com/rust-lang/cargo/pull/12321)
140+
- Use macro to remove duplication of workspace inheritable fields getters.
141+
[#12317](https://github.com/rust-lang/cargo/pull/12317)
142+
- Extracted and rearranged registry API items to their own modules.
143+
[#12290](https://github.com/rust-lang/cargo/pull/12290)
144+
- Show a better error when container tests fail.
145+
[#12264](https://github.com/rust-lang/cargo/pull/12264)
86146

87147
## Cargo 1.71 (2023-07-13)
88148
[84b7041f...rust-1.71.0](https://github.com/rust-lang/cargo/compare/84b7041f...rust-1.71.0)

0 commit comments

Comments
 (0)