From ff644b8cac33fe8946b5cc5fdbf777d3f4e47901 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Fri, 14 Jul 2023 22:11:28 +0100 Subject: [PATCH 1/3] Bump to 0.74.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3ae4c1c2246..50fac89a40e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -268,7 +268,7 @@ dependencies = [ [[package]] name = "cargo" -version = "0.73.0" +version = "0.74.0" dependencies = [ "anyhow", "base64", diff --git a/Cargo.toml b/Cargo.toml index 39ff6b26614..75adda4ca1f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -95,7 +95,7 @@ windows-sys = "0.48" [package] name = "cargo" -version = "0.73.0" +version = "0.74.0" edition = "2021" license = "MIT OR Apache-2.0" homepage = "https://crates.io" From 80c09d78e0e6bcd26077a0e46225417ce6826529 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Sat, 15 Jul 2023 00:19:45 +0100 Subject: [PATCH 2/3] Update changelog for 1.72 --- CHANGELOG.md | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 62 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4e7cf3593b..446867c14a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,27 @@ # Changelog ## Cargo 1.72 (2023-08-24) -[64fb38c9...HEAD](https://github.com/rust-lang/cargo/compare/64fb38c9...HEAD) +[64fb38c9...rust-1.72.0](https://github.com/rust-lang/cargo/compare/64fb38c9...rust-1.72.0) ### Added +- ❗ Enable `-Zdoctest-in-workspace` by default. When running each documentation + test, the working directory is set to the root directory of the package the + test belongs to. + [docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-test.html#working-directory-of-tests) + [#12221](https://github.com/rust-lang/cargo/pull/12221) + [#12288](https://github.com/rust-lang/cargo/pull/12288) - Add support of the "default" keyword to reset previously set `build.jobs` parallelism back to the default. [#12222](https://github.com/rust-lang/cargo/pull/12222) ### Changed +- ❗ Turned feature name validation check to a hard error. The warning was + added in Rust 1.49. These extended characters aren't allowed on crates.io, so + this should only impact users of other registries, or people who don't publish + to a registry. + [#12291](https://github.com/rust-lang/cargo/pull/12291) - Cargo now warns when an edition 2021 package is in a virtual workspace and `workspace.resolver` is not set. It is recommended to set the resolver version for workspaces explicitly. @@ -42,8 +53,29 @@ ([eRFC 3424](https://github.com/rust-lang/rfcs/blob/master/text/3424-cargo-script.md)) [docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#script) [#12245](https://github.com/rust-lang/cargo/pull/12245) + [#12255](https://github.com/rust-lang/cargo/pull/12255) + [#12258](https://github.com/rust-lang/cargo/pull/12258) + [#12262](https://github.com/rust-lang/cargo/pull/12262) + [#12268](https://github.com/rust-lang/cargo/pull/12268) + [#12269](https://github.com/rust-lang/cargo/pull/12269) + [#12281](https://github.com/rust-lang/cargo/pull/12281) + [#12282](https://github.com/rust-lang/cargo/pull/12282) + [#12283](https://github.com/rust-lang/cargo/pull/12283) + [#12284](https://github.com/rust-lang/cargo/pull/12284) + [#12287](https://github.com/rust-lang/cargo/pull/12287) + [#12289](https://github.com/rust-lang/cargo/pull/12289) + [#12303](https://github.com/rust-lang/cargo/pull/12303) + [#12305](https://github.com/rust-lang/cargo/pull/12305) + [#12308](https://github.com/rust-lang/cargo/pull/12308) - Automatically inherit workspace lints when running `cargo new`/`cargo init`. [#12174](https://github.com/rust-lang/cargo/pull/12174) +- Removed `-Zjobserver-per-rustc` again. + [#12285](https://github.com/rust-lang/cargo/pull/12285) +- Added `.toml` file extension restriction for `-Zconfig-include`. + [#12298](https://github.com/rust-lang/cargo/pull/12298) +- Added `-Znext-lockfile-bump` to prepare for the next lockfile bump. + [#12279](https://github.com/rust-lang/cargo/pull/12279) + [#12302](https://github.com/rust-lang/cargo/pull/12302) ### Documentation @@ -55,6 +87,18 @@ [#12192](https://github.com/rust-lang/cargo/pull/12192) [#12239](https://github.com/rust-lang/cargo/pull/12239) [#12247](https://github.com/rust-lang/cargo/pull/12247) +- Added more documentation for `Source` download functions. + [#12319](https://github.com/rust-lang/cargo/pull/12319) +- Added READMEs for the credential helpers. + [#12322](https://github.com/rust-lang/cargo/pull/12322) +- Fixed version requirement example in Dependency Resolution. + [#12267](https://github.com/rust-lang/cargo/pull/12267) +- Clarify the default behavior of cargo-install. + [#12276](https://github.com/rust-lang/cargo/pull/12276) +- Clarify the use of "default" branch instead of `main` by default. + [#12251](https://github.com/rust-lang/cargo/pull/12251) +- Provide guidance on version requirements. + [#12323](https://github.com/rust-lang/cargo/pull/12323) ### Internal @@ -62,9 +106,13 @@ [#12236](https://github.com/rust-lang/cargo/pull/12236) - Updated to `curl-sys` 0.4.63, which corresponds to curl 8.1.2. [#12218](https://github.com/rust-lang/cargo/pull/12218) +- Updated to `openssl` 0.10.55. + [#12300](https://github.com/rust-lang/cargo/pull/12300) +- Updated several dependencies. + [#12261](https://github.com/rust-lang/cargo/pull/12261) - Removed unused features from `windows-sys` dependency. [#12176](https://github.com/rust-lang/cargo/pull/12176) -- Refactored compiler invocations +- Refactored compiler invocations. [#12211](https://github.com/rust-lang/cargo/pull/12211) - Refactored git and registry sources, and registry data. [#12203](https://github.com/rust-lang/cargo/pull/12203) @@ -83,6 +131,18 @@ [#12199](https://github.com/rust-lang/cargo/pull/12199) - Migrated print-ban from test to clippy [#12246](https://github.com/rust-lang/cargo/pull/12246) +- Switched to `OnceLock` for interning uses. + [#12217](https://github.com/rust-lang/cargo/pull/12217) +- Removed a unnecessary `.clone`. + [#12213](https://github.com/rust-lang/cargo/pull/12213) +- Don't try to compile `cargo-credential-gnome-secret` on non-Linux platforms. + [#12321](https://github.com/rust-lang/cargo/pull/12321) +- Use macro to remove duplication of workspace inheritable fields getters. + [#12317](https://github.com/rust-lang/cargo/pull/12317) +- Extracted and rearranged registry API items to their own modules. + [#12290](https://github.com/rust-lang/cargo/pull/12290) +- Show a better error when container tests fail. + [#12264](https://github.com/rust-lang/cargo/pull/12264) ## Cargo 1.71 (2023-07-13) [84b7041f...rust-1.71.0](https://github.com/rust-lang/cargo/compare/84b7041f...rust-1.71.0) From d11145dfb912b2857fb53f70896ccde2ed587e51 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Sat, 15 Jul 2023 00:19:52 +0100 Subject: [PATCH 3/3] Update changelog for 1.73 --- CHANGELOG.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 446867c14a7..0141302c85e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,45 @@ # Changelog +## Cargo 1.73 (2023-10-05) +[45782b6b...HEAD](https://github.com/rust-lang/cargo/compare/45782b6b...HEAD) + +### Added + +### Changed + +### Fixed + +### Nightly only + +- Fixed invalid package names generated by `-Zscript`. + [#12349](https://github.com/rust-lang/cargo/pull/12349) +- `-Zscript` now errors out on unsupported commands — `publish` and `package`. + [#12350](https://github.com/rust-lang/cargo/pull/12350) + +### Documentation + +- Use heading attributes to control the fragment. + [#12339](https://github.com/rust-lang/cargo/pull/12339) +- Use "number" instead of "digit" when explaining Cargo's use of semver. + [#12340](https://github.com/rust-lang/cargo/pull/12340) +- contrib: Add some more detail about how publishing works. + [#12344](https://github.com/rust-lang/cargo/pull/12344) +- Clarify "Package ID" and "Source ID" in `cargo metadata` are opaque strings. + [#12313](https://github.com/rust-lang/cargo/pull/12313) +- Added `profile.strip` to configuration docs. + [#12337](https://github.com/rust-lang/cargo/pull/12337) +- Multiple versions that differ only in the metadata tag are disallowed on crates.io. + [#12335](https://github.com/rust-lang/cargo/pull/12335) + +### Internal + +- Updated to `criterion` 0.5.1. + [#12338](https://github.com/rust-lang/cargo/pull/12338) +- ci: automatically test new packages by using `--workspace`. + [#12342](https://github.com/rust-lang/cargo/pull/12342) +- ci: automatically update dependencies monthly with Renovate. + [#12341](https://github.com/rust-lang/cargo/pull/12341) + ## Cargo 1.72 (2023-08-24) [64fb38c9...rust-1.72.0](https://github.com/rust-lang/cargo/compare/64fb38c9...rust-1.72.0)