Skip to content

Commit 4557475

Browse files
committed
Update changelog for 1.70
1 parent caf0c82 commit 4557475

File tree

1 file changed

+87
-3
lines changed

1 file changed

+87
-3
lines changed

CHANGELOG.md

Lines changed: 87 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
# Changelog
22

33
## 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)
55

66
### Added
77

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)
814
- 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.
1016
[#11645](https://github.com/rust-lang/cargo/pull/11645)
1117
- Cargo now displays richer information of Cargo target failed to compile.
1218
[#11636](https://github.com/rust-lang/cargo/pull/11636)
@@ -18,6 +24,20 @@
1824
([docs](https://doc.rust-lang.org/nightly/cargo/reference/registries.html#registry-protocols))
1925
[#11791](https://github.com/rust-lang/cargo/pull/11791)
2026
[#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)
2141

2242
### Fixed
2343

@@ -29,6 +49,15 @@
2949
[#11805](https://github.com/rust-lang/cargo/pull/11805)
3050
- Don't panic when [`patch`] involved in dependency resolution results in a conflict.
3151
[#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)
3261

3362
### Nightly only
3463

@@ -42,6 +71,8 @@
4271
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html##gitoxide))
4372
[#11448](https://github.com/rust-lang/cargo/pull/11448)
4473
[#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)
4576
- Removed `-Zjobserver-per-rustc`. Its rustc counterpart never got landed.
4677
[#11764](https://github.com/rust-lang/cargo/pull/11764)
4778

@@ -51,16 +82,69 @@
5182
[#11793](https://github.com/rust-lang/cargo/pull/11793)
5283
- Enhanced the documentation of timing report with graphs.
5384
[#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)
54122

55123
### Internal
56124

57125
- Switched to `sha2` crate for SHA256 calculation.
58126
[#11795](https://github.com/rust-lang/cargo/pull/11795)
59127
[#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.
61131
[#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)
62140
- Integrated `cargo-deny` in Cargo its own CI pipeline.
63141
[#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)
64148

65149
## Cargo 1.69 (2023-04-20)
66150
[985d561f...rust-1.69.0](https://github.com/rust-lang/cargo/compare/985d561f...rust-1.69.0)

0 commit comments

Comments
 (0)