Skip to content

Commit

Permalink
Update changelog for 1.70
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed Apr 21, 2023
1 parent caf0c82 commit 4557475
Showing 1 changed file with 87 additions and 3 deletions.
90 changes: 87 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# Changelog

## Cargo 1.70 (2023-06-01)
[9880b408...HEAD](https://github.com/rust-lang/cargo/compare/9880b408...HEAD)
[9880b408...rust-1.70.0](https://github.com/rust-lang/cargo/compare/9880b408...rust-1.70.0)

### Added

- 🎉 Added `cargo logout` command for removing an API token from the registry locally.
[docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-logout.html)
[#11919](https://github.com/rust-lang/cargo/pull/11919)
[#11950](https://github.com/rust-lang/cargo/pull/11950)
- Added `--ignore-rust-version` flag to `cargo install`.
[#11859](https://github.com/rust-lang/cargo/pull/11859)
- The `CARGO_PKG_README` environment variable is now set to the path to the
README file when compiling a crate.
README file when compiling a crate.
[#11645](https://github.com/rust-lang/cargo/pull/11645)
- Cargo now displays richer information of Cargo target failed to compile.
[#11636](https://github.com/rust-lang/cargo/pull/11636)
Expand All @@ -18,6 +24,20 @@
([docs](https://doc.rust-lang.org/nightly/cargo/reference/registries.html#registry-protocols))
[#11791](https://github.com/rust-lang/cargo/pull/11791)
[#11783](https://github.com/rust-lang/cargo/pull/11783)
-`cargo login` and `cargo logout` now uses the registry specified in
`registry.default`. This was an unintentional regression.
[#11949](https://github.com/rust-lang/cargo/pull/11949)
- `cargo update` accurately shows `Downgrading` status when downgrading dependencies.
[#11839](https://github.com/rust-lang/cargo/pull/11839)
- Added more information to HTTP errors to help with debugging.
[#11878](https://github.com/rust-lang/cargo/pull/11878)
- Added delays to network retries in Cargo.
[#11881](https://github.com/rust-lang/cargo/pull/11881)
- Refined `cargo puslish` message when waiting for a publish complete.
[#11713](https://github.com/rust-lang/cargo/pull/11713)
- Better error message when `cargo install` from a git repository but found
multiple packages.
[#11835](https://github.com/rust-lang/cargo/pull/11835)

### Fixed

Expand All @@ -29,6 +49,15 @@
[#11805](https://github.com/rust-lang/cargo/pull/11805)
- Don't panic when [`patch`] involved in dependency resolution results in a conflict.
[#11770](https://github.com/rust-lang/cargo/pull/11770)
- Fixed credential token format validation.
[#11951](https://github.com/rust-lang/cargo/pull/11951)
- Added the missing token format validation on publish.
[#11952](https://github.com/rust-lang/cargo/pull/11952)
- Fixed case mismatches when looking up env vars in the Config snapshot.
[#11824](https://github.com/rust-lang/cargo/pull/11824)
- `cargo new` generates the correct `.hgignore` aligning semantics with other
VCS ignore files.
[#11855](https://github.com/rust-lang/cargo/pull/11855)

### Nightly only

Expand All @@ -42,6 +71,8 @@
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html##gitoxide))
[#11448](https://github.com/rust-lang/cargo/pull/11448)
[#11800](https://github.com/rust-lang/cargo/pull/11800)
[#11822](https://github.com/rust-lang/cargo/pull/11822)
[#11830](https://github.com/rust-lang/cargo/pull/11830)
- Removed `-Zjobserver-per-rustc`. Its rustc counterpart never got landed.
[#11764](https://github.com/rust-lang/cargo/pull/11764)

Expand All @@ -51,16 +82,69 @@
[#11793](https://github.com/rust-lang/cargo/pull/11793)
- Enhanced the documentation of timing report with graphs.
[#11798](https://github.com/rust-lang/cargo/pull/11798)
- Clarified requirements about the state of the registry index after publish.
[#11926](https://github.com/rust-lang/cargo/pull/11926)
- Clarified docs on `-C` that it appears before the command.
[#11947](https://github.com/rust-lang/cargo/pull/11947)
- Clarified working directory behaviour for `cargo test`, `cargo bench` and
`cargo run`.
[#11901](https://github.com/rust-lang/cargo/pull/11901)
- Fixed the doc of `registries.name.index` configuration.
[#11880](https://github.com/rust-lang/cargo/pull/11880)
- Notice for potential unexpected shell expansions in help text of `cargo-add`.
[#11826](https://github.com/rust-lang/cargo/pull/11826)
- Updated external-tools JSON docs.
[#11918](https://github.com/rust-lang/cargo/pull/11918)
- Call out the differences between the index JSON and the API or metadata.
[#11927](https://github.com/rust-lang/cargo/pull/11927)
- Consistently use `@` when mentioning pkgid format.
[#11956](https://github.com/rust-lang/cargo/pull/11956)
- Stopped using `UncanonicalizedIter` for `QueryKind::Exact`.
[#11937](https://github.com/rust-lang/cargo/pull/11937)
- Don't query permutations of the path prefix of a dependency in the registry index.
[#11936](https://github.com/rust-lang/cargo/pull/11936)
- Enabled clippy warning on `disallowed_methods` for `std::env::var` and friends.
[#11828](https://github.com/rust-lang/cargo/pull/11828)
- Enhanced Cargo Contributor Guide.
[#11825](https://github.com/rust-lang/cargo/pull/11825)
[#11842](https://github.com/rust-lang/cargo/pull/11842)
[#11869](https://github.com/rust-lang/cargo/pull/11869)
[#11876](https://github.com/rust-lang/cargo/pull/11876)
- Moved a part of Cargo Contributor Guide to Cargo API documentation.
[docs](https://doc.rust-lang.org/nightly/nightly-rustc/cargo)
[#11809](https://github.com/rust-lang/cargo/pull/11809)
[#11841](https://github.com/rust-lang/cargo/pull/11841)
[#11850](https://github.com/rust-lang/cargo/pull/11850)
[#11870](https://github.com/rust-lang/cargo/pull/11870)
- Cargo team now arranges
[office hours](https://github.com/rust-lang/cargo/wiki/Office-Hours)!
[#11903](https://github.com/rust-lang/cargo/pull/11903)

### Internal

- Switched to `sha2` crate for SHA256 calculation.
[#11795](https://github.com/rust-lang/cargo/pull/11795)
[#11807](https://github.com/rust-lang/cargo/pull/11807)
- Updated to `base64` v0.21.0.
- Switched benchsuite to the index archive.
[#11933](https://github.com/rust-lang/cargo/pull/11933)
- Updated to `base64` 0.21.0.
[#11796](https://github.com/rust-lang/cargo/pull/11796)
- Updated to `curl-sys` 0.4.61, which corresponds to curl 8.0.1.
[#11871](https://github.com/rust-lang/cargo/pull/11871)
- Updated to `proptest` 1.1.0.
[#11886](https://github.com/rust-lang/cargo/pull/11886)
- Updated to `git2` 0.17.0, which corresponds to libgit2 1.6.3.
[#11928](https://github.com/rust-lang/cargo/pull/11928)
- Updated to `clap` 4.2.
[#11904](https://github.com/rust-lang/cargo/pull/11904)
- Integrated `cargo-deny` in Cargo its own CI pipeline.
[#11761](https://github.com/rust-lang/cargo/pull/11761)
- Made non-blocking IO calls more robust.
[#11624](https://github.com/rust-lang/cargo/pull/11624)
- Dropped `derive` feature from `serde` in `cargo-platform`.
[#11915](https://github.com/rust-lang/cargo/pull/11915)
- Replaced `std::fs::canonicalize` with a more robust `try_canonicalize`.
[#11866](https://github.com/rust-lang/cargo/pull/11866)

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

0 comments on commit 4557475

Please sign in to comment.