|
1 | 1 | # Changelog
|
2 | 2 |
|
3 | 3 | ## Cargo 1.70 (2023-06-01)
|
4 |
| -[9880b408...HEAD](https://github.com/rust-lang/cargo/compare/9880b408...HEAD) |
| 4 | +[9880b408...rust-1.70.0](https://github.com/rust-lang/cargo/compare/9880b408...rust-1.70.0) |
5 | 5 |
|
6 | 6 | ### Added
|
7 | 7 |
|
| 8 | +- 🎉 Added `cargo logout` command for removing an API token from the registry locally. |
| 9 | + [docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-logout.html) |
| 10 | + [#11919](https://github.com/rust-lang/cargo/pull/11919) |
| 11 | + [#11950](https://github.com/rust-lang/cargo/pull/11950) |
| 12 | +- Added `--ignore-rust-version` flag to `cargo install`. |
| 13 | + [#11859](https://github.com/rust-lang/cargo/pull/11859) |
8 | 14 | - The `CARGO_PKG_README` environment variable is now set to the path to the
|
9 |
| - README file when compiling a crate. |
| 15 | + README file when compiling a crate. |
10 | 16 | [#11645](https://github.com/rust-lang/cargo/pull/11645)
|
11 | 17 | - Cargo now displays richer information of Cargo target failed to compile.
|
12 | 18 | [#11636](https://github.com/rust-lang/cargo/pull/11636)
|
|
18 | 24 | ([docs](https://doc.rust-lang.org/nightly/cargo/reference/registries.html#registry-protocols))
|
19 | 25 | [#11791](https://github.com/rust-lang/cargo/pull/11791)
|
20 | 26 | [#11783](https://github.com/rust-lang/cargo/pull/11783)
|
| 27 | +- ❗ `cargo login` and `cargo logout` now uses the registry specified in |
| 28 | + `registry.default`. This was an unintentional regression. |
| 29 | + [#11949](https://github.com/rust-lang/cargo/pull/11949) |
| 30 | +- `cargo update` accurately shows `Downgrading` status when downgrading dependencies. |
| 31 | + [#11839](https://github.com/rust-lang/cargo/pull/11839) |
| 32 | +- Added more information to HTTP errors to help with debugging. |
| 33 | + [#11878](https://github.com/rust-lang/cargo/pull/11878) |
| 34 | +- Added delays to network retries in Cargo. |
| 35 | + [#11881](https://github.com/rust-lang/cargo/pull/11881) |
| 36 | +- Refined `cargo puslish` message when waiting for a publish complete. |
| 37 | + [#11713](https://github.com/rust-lang/cargo/pull/11713) |
| 38 | +- Better error message when `cargo install` from a git repository but found |
| 39 | + multiple packages. |
| 40 | + [#11835](https://github.com/rust-lang/cargo/pull/11835) |
21 | 41 |
|
22 | 42 | ### Fixed
|
23 | 43 |
|
|
29 | 49 | [#11805](https://github.com/rust-lang/cargo/pull/11805)
|
30 | 50 | - Don't panic when [`patch`] involved in dependency resolution results in a conflict.
|
31 | 51 | [#11770](https://github.com/rust-lang/cargo/pull/11770)
|
| 52 | +- Fixed credential token format validation. |
| 53 | + [#11951](https://github.com/rust-lang/cargo/pull/11951) |
| 54 | +- Added the missing token format validation on publish. |
| 55 | + [#11952](https://github.com/rust-lang/cargo/pull/11952) |
| 56 | +- Fixed case mismatches when looking up env vars in the Config snapshot. |
| 57 | + [#11824](https://github.com/rust-lang/cargo/pull/11824) |
| 58 | +- `cargo new` generates the correct `.hgignore` aligning semantics with other |
| 59 | + VCS ignore files. |
| 60 | + [#11855](https://github.com/rust-lang/cargo/pull/11855) |
32 | 61 |
|
33 | 62 | ### Nightly only
|
34 | 63 |
|
|
42 | 71 | ([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html##gitoxide))
|
43 | 72 | [#11448](https://github.com/rust-lang/cargo/pull/11448)
|
44 | 73 | [#11800](https://github.com/rust-lang/cargo/pull/11800)
|
| 74 | + [#11822](https://github.com/rust-lang/cargo/pull/11822) |
| 75 | + [#11830](https://github.com/rust-lang/cargo/pull/11830) |
45 | 76 | - Removed `-Zjobserver-per-rustc`. Its rustc counterpart never got landed.
|
46 | 77 | [#11764](https://github.com/rust-lang/cargo/pull/11764)
|
47 | 78 |
|
|
51 | 82 | [#11793](https://github.com/rust-lang/cargo/pull/11793)
|
52 | 83 | - Enhanced the documentation of timing report with graphs.
|
53 | 84 | [#11798](https://github.com/rust-lang/cargo/pull/11798)
|
| 85 | +- Clarified requirements about the state of the registry index after publish. |
| 86 | + [#11926](https://github.com/rust-lang/cargo/pull/11926) |
| 87 | +- Clarified docs on `-C` that it appears before the command. |
| 88 | + [#11947](https://github.com/rust-lang/cargo/pull/11947) |
| 89 | +- Clarified working directory behaviour for `cargo test`, `cargo bench` and |
| 90 | + `cargo run`. |
| 91 | + [#11901](https://github.com/rust-lang/cargo/pull/11901) |
| 92 | +- Fixed the doc of `registries.name.index` configuration. |
| 93 | + [#11880](https://github.com/rust-lang/cargo/pull/11880) |
| 94 | +- Notice for potential unexpected shell expansions in help text of `cargo-add`. |
| 95 | + [#11826](https://github.com/rust-lang/cargo/pull/11826) |
| 96 | +- Updated external-tools JSON docs. |
| 97 | + [#11918](https://github.com/rust-lang/cargo/pull/11918) |
| 98 | +- Call out the differences between the index JSON and the API or metadata. |
| 99 | + [#11927](https://github.com/rust-lang/cargo/pull/11927) |
| 100 | +- Consistently use `@` when mentioning pkgid format. |
| 101 | + [#11956](https://github.com/rust-lang/cargo/pull/11956) |
| 102 | +- Stopped using `UncanonicalizedIter` for `QueryKind::Exact`. |
| 103 | + [#11937](https://github.com/rust-lang/cargo/pull/11937) |
| 104 | +- Don't query permutations of the path prefix of a dependency in the registry index. |
| 105 | + [#11936](https://github.com/rust-lang/cargo/pull/11936) |
| 106 | +- Enabled clippy warning on `disallowed_methods` for `std::env::var` and friends. |
| 107 | + [#11828](https://github.com/rust-lang/cargo/pull/11828) |
| 108 | +- Enhanced Cargo Contributor Guide. |
| 109 | + [#11825](https://github.com/rust-lang/cargo/pull/11825) |
| 110 | + [#11842](https://github.com/rust-lang/cargo/pull/11842) |
| 111 | + [#11869](https://github.com/rust-lang/cargo/pull/11869) |
| 112 | + [#11876](https://github.com/rust-lang/cargo/pull/11876) |
| 113 | +- Moved a part of Cargo Contributor Guide to Cargo API documentation. |
| 114 | + [docs](https://doc.rust-lang.org/nightly/nightly-rustc/cargo) |
| 115 | + [#11809](https://github.com/rust-lang/cargo/pull/11809) |
| 116 | + [#11841](https://github.com/rust-lang/cargo/pull/11841) |
| 117 | + [#11850](https://github.com/rust-lang/cargo/pull/11850) |
| 118 | + [#11870](https://github.com/rust-lang/cargo/pull/11870) |
| 119 | +- Cargo team now arranges |
| 120 | + [office hours](https://github.com/rust-lang/cargo/wiki/Office-Hours)! |
| 121 | + [#11903](https://github.com/rust-lang/cargo/pull/11903) |
54 | 122 |
|
55 | 123 | ### Internal
|
56 | 124 |
|
57 | 125 | - Switched to `sha2` crate for SHA256 calculation.
|
58 | 126 | [#11795](https://github.com/rust-lang/cargo/pull/11795)
|
59 | 127 | [#11807](https://github.com/rust-lang/cargo/pull/11807)
|
60 |
| -- Updated to `base64` v0.21.0. |
| 128 | +- Switched benchsuite to the index archive. |
| 129 | + [#11933](https://github.com/rust-lang/cargo/pull/11933) |
| 130 | +- Updated to `base64` 0.21.0. |
61 | 131 | [#11796](https://github.com/rust-lang/cargo/pull/11796)
|
| 132 | +- Updated to `curl-sys` 0.4.61, which corresponds to curl 8.0.1. |
| 133 | + [#11871](https://github.com/rust-lang/cargo/pull/11871) |
| 134 | +- Updated to `proptest` 1.1.0. |
| 135 | + [#11886](https://github.com/rust-lang/cargo/pull/11886) |
| 136 | +- Updated to `git2` 0.17.0, which corresponds to libgit2 1.6.3. |
| 137 | + [#11928](https://github.com/rust-lang/cargo/pull/11928) |
| 138 | +- Updated to `clap` 4.2. |
| 139 | + [#11904](https://github.com/rust-lang/cargo/pull/11904) |
62 | 140 | - Integrated `cargo-deny` in Cargo its own CI pipeline.
|
63 | 141 | [#11761](https://github.com/rust-lang/cargo/pull/11761)
|
| 142 | +- Made non-blocking IO calls more robust. |
| 143 | + [#11624](https://github.com/rust-lang/cargo/pull/11624) |
| 144 | +- Dropped `derive` feature from `serde` in `cargo-platform`. |
| 145 | + [#11915](https://github.com/rust-lang/cargo/pull/11915) |
| 146 | +- Replaced `std::fs::canonicalize` with a more robust `try_canonicalize`. |
| 147 | + [#11866](https://github.com/rust-lang/cargo/pull/11866) |
64 | 148 |
|
65 | 149 | ## Cargo 1.69 (2023-04-20)
|
66 | 150 | [985d561f...rust-1.69.0](https://github.com/rust-lang/cargo/compare/985d561f...rust-1.69.0)
|
|
0 commit comments