Skip to content

Bump to 0.74.0; update changelog #12361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 102 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,67 @@
# 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...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.
Expand Down Expand Up @@ -42,8 +93,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

Expand All @@ -55,16 +127,32 @@
[#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

- Updated to `gix` 0.45 for multi-round pack negotiations.
[#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)
Expand All @@ -83,6 +171,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)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down