|
54 | 54 | [#12189](https://github.com/rust-lang/cargo/pull/12189)
|
55 | 55 | [#12194](https://github.com/rust-lang/cargo/pull/12194)
|
56 | 56 | [#12199](https://github.com/rust-lang/cargo/pull/12199)
|
| 57 | + |
57 | 58 | ## Cargo 1.71 (2023-07-13)
|
58 |
| -[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) |
59 | 60 |
|
60 | 61 | ### Added
|
61 | 62 |
|
| 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 | + |
62 | 73 | ### Changed
|
63 | 74 |
|
64 | 75 | - ❗ Optimized the usage under `rustup`. When Cargo detects it will run `rustc`
|
|
77 | 88 | [#12107](https://github.com/rust-lang/cargo/pull/12107)
|
78 | 89 | - Better error message when getting an empty dependency table in Cargo.toml.
|
79 | 90 | [#11997](https://github.com/rust-lang/cargo/pull/11997)
|
80 |
| -- Use restricted Damerau-Levenshtein algorithm to provide typo suggestions. |
81 |
| - [#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) |
82 | 99 |
|
83 | 100 | ### Fixed
|
84 | 101 |
|
85 | 102 | - Corrected the bug report URL for `cargo clippy --fix`.
|
86 | 103 | [#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) |
87 | 124 |
|
88 | 125 | ### Nightly only
|
89 | 126 |
|
| 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) |
90 | 135 | - The `-Zbuild-std` breakage of missing features in `nightly-2023-05-04` has
|
91 | 136 | been fixed in `nightly-2023-05-05`.
|
92 | 137 | [#12088](https://github.com/rust-lang/cargo/pull/12088)
|
93 | 138 | - Recompile on profile rustflags changes.
|
94 | 139 | [#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) |
95 | 142 |
|
96 | 143 | ### Documentation
|
97 | 144 |
|
| 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 | + |
98 | 180 | ### Internal
|
99 | 181 |
|
100 |
| -- 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! |
101 | 198 | [#11851](https://github.com/rust-lang/cargo/pull/11851)
|
102 | 199 | [#11994](https://github.com/rust-lang/cargo/pull/11994)
|
103 | 200 | [#11996](https://github.com/rust-lang/cargo/pull/11996)
|
104 |
| -- Allow win/mac credential managers to build on all platforms. |
105 |
| - [#11993](https://github.com/rust-lang/cargo/pull/11993) |
106 |
| -- Use `openssl` only on non-Windows platforms. |
107 |
| - [#11979](https://github.com/rust-lang/cargo/pull/11979) |
108 |
| -- 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. |
109 | 205 | [docs](https://doc.crates.io/contrib/issues.html)
|
110 | 206 | [#11995](https://github.com/rust-lang/cargo/pull/11995)
|
111 | 207 | [#12002](https://github.com/rust-lang/cargo/pull/12002)
|
112 | 208 | [#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) |
113 | 231 |
|
114 | 232 | ## Cargo 1.70 (2023-06-01)
|
115 | 233 | [9880b408...rust-1.70.0](https://github.com/rust-lang/cargo/compare/9880b408...rust-1.70.0)
|
|
0 commit comments