|
1 | 1 | # Changelog
|
2 | 2 |
|
| 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 | + |
3 | 43 | ## 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) |
5 | 45 |
|
6 | 46 | ### Added
|
7 | 47 |
|
| 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) |
8 | 54 | - Add support of the "default" keyword to reset previously set `build.jobs`
|
9 | 55 | parallelism back to the default.
|
10 | 56 | [#12222](https://github.com/rust-lang/cargo/pull/12222)
|
11 | 57 |
|
12 | 58 | ### Changed
|
13 | 59 |
|
| 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) |
14 | 65 | - Cargo now warns when an edition 2021 package is in a virtual workspace and
|
15 | 66 | `workspace.resolver` is not set. It is recommended to set the resolver
|
16 | 67 | version for workspaces explicitly.
|
|
42 | 93 | ([eRFC 3424](https://github.com/rust-lang/rfcs/blob/master/text/3424-cargo-script.md))
|
43 | 94 | [docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#script)
|
44 | 95 | [#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) |
45 | 110 | - Automatically inherit workspace lints when running `cargo new`/`cargo init`.
|
46 | 111 | [#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) |
47 | 119 |
|
48 | 120 | ### Documentation
|
49 | 121 |
|
|
55 | 127 | [#12192](https://github.com/rust-lang/cargo/pull/12192)
|
56 | 128 | [#12239](https://github.com/rust-lang/cargo/pull/12239)
|
57 | 129 | [#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) |
58 | 142 |
|
59 | 143 | ### Internal
|
60 | 144 |
|
61 | 145 | - Updated to `gix` 0.45 for multi-round pack negotiations.
|
62 | 146 | [#12236](https://github.com/rust-lang/cargo/pull/12236)
|
63 | 147 | - Updated to `curl-sys` 0.4.63, which corresponds to curl 8.1.2.
|
64 | 148 | [#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) |
65 | 153 | - Removed unused features from `windows-sys` dependency.
|
66 | 154 | [#12176](https://github.com/rust-lang/cargo/pull/12176)
|
67 |
| -- Refactored compiler invocations |
| 155 | +- Refactored compiler invocations. |
68 | 156 | [#12211](https://github.com/rust-lang/cargo/pull/12211)
|
69 | 157 | - Refactored git and registry sources, and registry data.
|
70 | 158 | [#12203](https://github.com/rust-lang/cargo/pull/12203)
|
|
83 | 171 | [#12199](https://github.com/rust-lang/cargo/pull/12199)
|
84 | 172 | - Migrated print-ban from test to clippy
|
85 | 173 | [#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) |
86 | 186 |
|
87 | 187 | ## Cargo 1.71 (2023-07-13)
|
88 | 188 | [84b7041f...rust-1.71.0](https://github.com/rust-lang/cargo/compare/84b7041f...rust-1.71.0)
|
|
0 commit comments