Skip to content

Commit 660ec3f

Browse files
committed
Auto merge of #9042 - ehuss:version-bump, r=Eh2406
Bump to 0.52.0, update changelog
2 parents 0cf6d24 + 5168b7e commit 660ec3f

File tree

3 files changed

+60
-6
lines changed

3 files changed

+60
-6
lines changed

CHANGELOG.md

Lines changed: 59 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,70 @@
11
# Changelog
22

3+
## Cargo 1.51 (2021-03-25)
4+
[75d5d8cf...HEAD](https://github.com/rust-lang/cargo/compare/75d5d8cf...HEAD)
5+
6+
### Added
7+
8+
### Changed
9+
10+
### Fixed
11+
12+
### Nightly only
13+
314
## Cargo 1.50 (2021-02-11)
4-
[8662ab42...HEAD](https://github.com/rust-lang/cargo/compare/8662ab42...HEAD)
15+
[8662ab42...rust-1.50.0](https://github.com/rust-lang/cargo/compare/8662ab42...rust-1.50.0)
516

617
### Added
718
- Added the `doc` field to `cargo metadata`, which indicates if a target is
819
documented.
920
[#8869](https://github.com/rust-lang/cargo/pull/8869)
21+
- Added `RUSTC_WORKSPACE_WRAPPER`, an alternate RUSTC wrapper that only runs
22+
for the local workspace packages, and caches its artifacts independently of
23+
non-wrapped builds.
24+
[#8976](https://github.com/rust-lang/cargo/pull/8976)
25+
- Added `--workspace` to `cargo update` to update only the workspace members,
26+
and not their dependencies. This is particularly useful if you update the
27+
version in `Cargo.toml` and want to update `Cargo.lock` without running any
28+
other commands.
29+
[#8725](https://github.com/rust-lang/cargo/pull/8725)
1030

1131
### Changed
1232
- `.crate` files uploaded to a registry are now built with reproducible
1333
settings, so that the same `.crate` file created on different machines
1434
should be identical.
1535
[#8864](https://github.com/rust-lang/cargo/pull/8864)
36+
- Git dependencies that specify more than one of `branch`, `tag`, or `rev` are
37+
now rejected.
38+
[#8984](https://github.com/rust-lang/cargo/pull/8984)
39+
- The `rerun-if-changed` build script directive can now point to a directory,
40+
in which case Cargo will check if any file in that directory changes.
41+
[#8973](https://github.com/rust-lang/cargo/pull/8973)
42+
- Slightly optimize `cargo vendor`
43+
[#8937](https://github.com/rust-lang/cargo/pull/8937)
44+
- If Cargo cannot determine the username or email address, `cargo new` will no
45+
longer fail, and instead create an empty authors list.
46+
[#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)
49+
- The progress bar width has been reduced to provide more room to display the
50+
crates currently being built.
51+
[#8892](https://github.com/rust-lang/cargo/pull/8892)
52+
- `cargo new` will now support `includeIf` directives in `.gitconfig` to match
53+
the correct directory when determining the username and email address.
54+
[#8886](https://github.com/rust-lang/cargo/pull/8886)
1655

1756
### Fixed
57+
- Fixed `cargo metadata` and `cargo tree` to only download packages for the
58+
requested target.
59+
[#8987](https://github.com/rust-lang/cargo/pull/8987)
60+
- Updated libgit2, which brings in many fixes, particularly fixing a zlib
61+
error that occasionally appeared on 32-bit systems.
62+
[#8998](https://github.com/rust-lang/cargo/pull/8998)
63+
- Fixed stack overflow with a circular dev-dependency that uses the `links`
64+
field.
65+
[#8969](https://github.com/rust-lang/cargo/pull/8969)
66+
- Fixed `cargo publish` failing on some filesystems, particularly 9p on WSL2.
67+
[#8950](https://github.com/rust-lang/cargo/pull/8950)
1868

1969
### Nightly only
2070
- Allow `resolver="1"` to specify the original feature resolution behavior.
@@ -23,6 +73,14 @@
2373
and `cargo:rustc-link-arg` build script options.
2474
[docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#extra-link-arg)
2575
[#8441](https://github.com/rust-lang/cargo/pull/8441)
76+
- Implemented external credential process support, and added `cargo logout`.
77+
([RFC 2730](https://github.com/rust-lang/rfcs/blob/master/text/2730-cargo-token-from-process.md))
78+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#credential-process))
79+
[#8934](https://github.com/rust-lang/cargo/pull/8934)
80+
- Fix panic with `-Zbuild-std` and no roots.
81+
[#8942](https://github.com/rust-lang/cargo/pull/8942)
82+
- Set docs.rs as the default extern-map for crates.io
83+
[#8877](https://github.com/rust-lang/cargo/pull/8877)
2684

2785
## Cargo 1.49 (2020-12-31)
2886
[75615f8e...rust-1.49.0](https://github.com/rust-lang/cargo/compare/75615f8e...rust-1.49.0)
@@ -79,8 +137,6 @@
79137
- Fixed the new feature resolver downloading extra dependencies that weren't
80138
strictly necessary.
81139
[#8823](https://github.com/rust-lang/cargo/pull/8823)
82-
- Vendored builds now work with `-Zbuild-std`.
83-
[#8834](https://github.com/rust-lang/cargo/pull/8834)
84140

85141
## Cargo 1.48 (2020-11-19)
86142
[51b66125...rust-1.48.0](https://github.com/rust-lang/cargo/compare/51b66125...rust-1.48.0)

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.51.0"
3+
version = "0.52.0"
44
edition = "2018"
55
authors = ["Yehuda Katz <[email protected]>",
66
"Carl Lerche <[email protected]>",

tests/testsuite/build.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4330,8 +4330,6 @@ fn target_edition() {
43304330
.build();
43314331

43324332
p.cargo("build -v")
4333-
// Passes on nightly, fails on stable, since `--edition` is nightly-only.
4334-
.without_status()
43354333
.with_stderr_contains(
43364334
"\
43374335
[COMPILING] foo v0.0.1 ([..])

0 commit comments

Comments
 (0)