|
1 | 1 | # Changelog
|
2 | 2 |
|
3 | 3 | ## 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) |
5 | 5 |
|
6 | 6 | ### Added
|
7 | 7 |
|
| 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) |
8 | 14 | - Add support of the "default" keyword to reset previously set `build.jobs`
|
9 | 15 | parallelism back to the default.
|
10 | 16 | [#12222](https://github.com/rust-lang/cargo/pull/12222)
|
11 | 17 |
|
12 | 18 | ### Changed
|
13 | 19 |
|
| 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) |
14 | 25 | - Cargo now warns when an edition 2021 package is in a virtual workspace and
|
15 | 26 | `workspace.resolver` is not set. It is recommended to set the resolver
|
16 | 27 | version for workspaces explicitly.
|
|
42 | 53 | ([eRFC 3424](https://github.com/rust-lang/rfcs/blob/master/text/3424-cargo-script.md))
|
43 | 54 | [docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#script)
|
44 | 55 | [#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) |
45 | 70 | - Automatically inherit workspace lints when running `cargo new`/`cargo init`.
|
46 | 71 | [#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) |
47 | 79 |
|
48 | 80 | ### Documentation
|
49 | 81 |
|
|
55 | 87 | [#12192](https://github.com/rust-lang/cargo/pull/12192)
|
56 | 88 | [#12239](https://github.com/rust-lang/cargo/pull/12239)
|
57 | 89 | [#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) |
58 | 102 |
|
59 | 103 | ### Internal
|
60 | 104 |
|
61 | 105 | - Updated to `gix` 0.45 for multi-round pack negotiations.
|
62 | 106 | [#12236](https://github.com/rust-lang/cargo/pull/12236)
|
63 | 107 | - Updated to `curl-sys` 0.4.63, which corresponds to curl 8.1.2.
|
64 | 108 | [#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) |
65 | 113 | - Removed unused features from `windows-sys` dependency.
|
66 | 114 | [#12176](https://github.com/rust-lang/cargo/pull/12176)
|
67 |
| -- Refactored compiler invocations |
| 115 | +- Refactored compiler invocations. |
68 | 116 | [#12211](https://github.com/rust-lang/cargo/pull/12211)
|
69 | 117 | - Refactored git and registry sources, and registry data.
|
70 | 118 | [#12203](https://github.com/rust-lang/cargo/pull/12203)
|
|
83 | 131 | [#12199](https://github.com/rust-lang/cargo/pull/12199)
|
84 | 132 | - Migrated print-ban from test to clippy
|
85 | 133 | [#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) |
86 | 146 |
|
87 | 147 | ## Cargo 1.71 (2023-07-13)
|
88 | 148 | [84b7041f...rust-1.71.0](https://github.com/rust-lang/cargo/compare/84b7041f...rust-1.71.0)
|
|
0 commit comments