Skip to content

Commit b842849

Browse files
committed
Auto merge of #9168 - ehuss:version-bump, r=Eh2406
Bump to 0.53.0, update changelog
2 parents ecfabe6 + d78b873 commit b842849

File tree

2 files changed

+80
-6
lines changed

2 files changed

+80
-6
lines changed

CHANGELOG.md

Lines changed: 79 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,90 @@
11
# Changelog
22

3+
## Cargo 1.52 (2021-05-06)
4+
[34170fcd...HEAD](https://github.com/rust-lang/cargo/compare/34170fcd...HEAD)
5+
6+
### Added
7+
8+
### Changed
9+
- 🔥 Cargo now supports git repositories where the default `HEAD` branch is not
10+
"master". This also includes a switch to the version 3 `Cargo.lock` format
11+
which can handle default branches correctly.
12+
[#9133](https://github.com/rust-lang/cargo/pull/9133)
13+
14+
### Fixed
15+
16+
### Nightly only
17+
- The `strip` profile option now supports `true` and `false` values.
18+
[#9153](https://github.com/rust-lang/cargo/pull/9153)
19+
320
## Cargo 1.51 (2021-03-25)
4-
[75d5d8cf...HEAD](https://github.com/rust-lang/cargo/compare/75d5d8cf...HEAD)
21+
[75d5d8cf...rust-1.51.0](https://github.com/rust-lang/cargo/compare/75d5d8cf...rust-1.51.0)
522

623
### Added
24+
- 🔥 Added the `split-debuginfo` profile option.
25+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#split-debuginfo)
26+
[#9112](https://github.com/rust-lang/cargo/pull/9112)
27+
- Added the `path` field to `cargo metadata` for the package dependencies list
28+
to show the path for "path" dependencies.
29+
[#8994](https://github.com/rust-lang/cargo/pull/8994)
30+
- 🔥 Added a new feature resolver, and new CLI feature flag behavior. See the
31+
new [features](https://doc.rust-lang.org/nightly/cargo/reference/features.html#feature-resolver-version-2)
32+
and [resolver](https://doc.rust-lang.org/nightly/cargo/reference/resolver.html#feature-resolver-version-2)
33+
documentation for the `resolver = "2"` option. See the
34+
[CLI](https://doc.rust-lang.org/nightly/cargo/reference/features.html#command-line-feature-options)
35+
and [resolver 2 CLI](https://doc.rust-lang.org/nightly/cargo/reference/features.html#resolver-version-2-command-line-flags)
36+
options for the new CLI behavior. And, finally, see
37+
[RFC 2957](https://github.com/rust-lang/rfcs/blob/master/text/2957-cargo-features2.md)
38+
for a detailed look at what has changed.
39+
[#8997](https://github.com/rust-lang/cargo/pull/8997)
740

841
### Changed
42+
- `cargo install --locked` now emits a warning if `Cargo.lock` is not found.
43+
[#9108](https://github.com/rust-lang/cargo/pull/9108)
44+
- Unknown or ambiguous package IDs passed on the command-line now display
45+
suggestions for the correct package ID.
46+
[#9095](https://github.com/rust-lang/cargo/pull/9095)
47+
- Slightly optimize `cargo vendor`
48+
[#8937](https://github.com/rust-lang/cargo/pull/8937)
49+
[#9131](https://github.com/rust-lang/cargo/pull/9131)
50+
[#9132](https://github.com/rust-lang/cargo/pull/9132)
951

1052
### Fixed
53+
- Fixed environment variables and cfg settings emitted by a build script that
54+
are set for `cargo test` and `cargo run` when the build script runs multiple
55+
times during the same build session.
56+
[#9122](https://github.com/rust-lang/cargo/pull/9122)
57+
- Fixed a panic with `cargo doc` and the new feature resolver. This also
58+
introduces some heuristics to try to avoid path collisions with `rustdoc` by
59+
only documenting one variant of a package if there are multiple (such as
60+
multiple versions, or the same package shared for host and target
61+
platforms).
62+
[#9077](https://github.com/rust-lang/cargo/pull/9077)
63+
- Fixed a bug in Cargo's cyclic dep graph detection that caused a stack
64+
overflow.
65+
[#9075](https://github.com/rust-lang/cargo/pull/9075)
66+
- Fixed build script `links` environment variables (`DEP_*`) not showing up
67+
for testing packages in some cases.
68+
[#9065](https://github.com/rust-lang/cargo/pull/9065)
69+
- Fixed features being selected in a nondeterministic way for a specific
70+
scenario when building an entire workspace with all targets with a
71+
proc-macro in the workspace with `resolver="2"`.
72+
[#9059](https://github.com/rust-lang/cargo/pull/9059)
73+
- Fixed to use `http.proxy` setting in `~/.gitconfig`.
74+
[#8986](https://github.com/rust-lang/cargo/pull/8986)
1175

1276
### Nightly only
77+
- Removed the `publish-lockfile` unstable feature, it was stabilized without
78+
the need for an explicit flag 1.5 years ago.
79+
[#9092](https://github.com/rust-lang/cargo/pull/9092)
80+
- Added better diagnostics, help messages, and documentation for nightly
81+
features (such as those passed with the `-Z` flag, or specified with
82+
`cargo-features` in `Cargo.toml`).
83+
[#9092](https://github.com/rust-lang/cargo/pull/9092)
84+
- Added support for Rust edition 2021.
85+
[#8922](https://github.com/rust-lang/cargo/pull/8922)
86+
- Added support for the `rust-version` field in project metadata.
87+
[#8037](https://github.com/rust-lang/cargo/pull/8037)
1388

1489
## Cargo 1.50 (2021-02-11)
1590
[8662ab42...rust-1.50.0](https://github.com/rust-lang/cargo/compare/8662ab42...rust-1.50.0)
@@ -39,13 +114,9 @@
39114
- The `rerun-if-changed` build script directive can now point to a directory,
40115
in which case Cargo will check if any file in that directory changes.
41116
[#8973](https://github.com/rust-lang/cargo/pull/8973)
42-
- Slightly optimize `cargo vendor`
43-
[#8937](https://github.com/rust-lang/cargo/pull/8937)
44117
- If Cargo cannot determine the username or email address, `cargo new` will no
45118
longer fail, and instead create an empty authors list.
46119
[#8912](https://github.com/rust-lang/cargo/pull/8912)
47-
- Add period to allowed feature name characters.
48-
[#8932](https://github.com/rust-lang/cargo/pull/8932)
49120
- The progress bar width has been reduced to provide more room to display the
50121
crates currently being built.
51122
[#8892](https://github.com/rust-lang/cargo/pull/8892)
@@ -112,6 +183,9 @@
112183
[#8814](https://github.com/rust-lang/cargo/pull/8814)
113184
- `-p` without a value will now print a list of workspace package names.
114185
[#8808](https://github.com/rust-lang/cargo/pull/8808)
186+
- Add period to allowed feature name characters.
187+
[#8932](https://github.com/rust-lang/cargo/pull/8932)
188+
[#8943](https://github.com/rust-lang/cargo/pull/8943)
115189

116190
### Fixed
117191
- Fixed building a library with both "dylib" and "rlib" crate types with LTO enabled.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo"
3-
version = "0.52.0"
3+
version = "0.53.0"
44
edition = "2018"
55
authors = ["Yehuda Katz <[email protected]>",
66
"Carl Lerche <[email protected]>",

0 commit comments

Comments
 (0)