Skip to content

Commit

Permalink
Auto merge of #9042 - ehuss:version-bump, r=Eh2406
Browse files Browse the repository at this point in the history
Bump to 0.52.0, update changelog
  • Loading branch information
bors committed Jan 4, 2021
2 parents 0cf6d24 + 5168b7e commit 660ec3f
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 6 deletions.
62 changes: 59 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,70 @@
# Changelog

## Cargo 1.51 (2021-03-25)
[75d5d8cf...HEAD](https://github.com/rust-lang/cargo/compare/75d5d8cf...HEAD)

### Added

### Changed

### Fixed

### Nightly only

## Cargo 1.50 (2021-02-11)
[8662ab42...HEAD](https://github.com/rust-lang/cargo/compare/8662ab42...HEAD)
[8662ab42...rust-1.50.0](https://github.com/rust-lang/cargo/compare/8662ab42...rust-1.50.0)

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

### Changed
- `.crate` files uploaded to a registry are now built with reproducible
settings, so that the same `.crate` file created on different machines
should be identical.
[#8864](https://github.com/rust-lang/cargo/pull/8864)
- Git dependencies that specify more than one of `branch`, `tag`, or `rev` are
now rejected.
[#8984](https://github.com/rust-lang/cargo/pull/8984)
- The `rerun-if-changed` build script directive can now point to a directory,
in which case Cargo will check if any file in that directory changes.
[#8973](https://github.com/rust-lang/cargo/pull/8973)
- Slightly optimize `cargo vendor`
[#8937](https://github.com/rust-lang/cargo/pull/8937)
- If Cargo cannot determine the username or email address, `cargo new` will no
longer fail, and instead create an empty authors list.
[#8912](https://github.com/rust-lang/cargo/pull/8912)
- Add period to allowed feature name characters.
[#8932](https://github.com/rust-lang/cargo/pull/8932)
- The progress bar width has been reduced to provide more room to display the
crates currently being built.
[#8892](https://github.com/rust-lang/cargo/pull/8892)
- `cargo new` will now support `includeIf` directives in `.gitconfig` to match
the correct directory when determining the username and email address.
[#8886](https://github.com/rust-lang/cargo/pull/8886)

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

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

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

## Cargo 1.48 (2020-11-19)
[51b66125...rust-1.48.0](https://github.com/rust-lang/cargo/compare/51b66125...rust-1.48.0)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo"
version = "0.51.0"
version = "0.52.0"
edition = "2018"
authors = ["Yehuda Katz <wycats@gmail.com>",
"Carl Lerche <me@carllerche.com>",
Expand Down
2 changes: 0 additions & 2 deletions tests/testsuite/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4330,8 +4330,6 @@ fn target_edition() {
.build();

p.cargo("build -v")
// Passes on nightly, fails on stable, since `--edition` is nightly-only.
.without_status()
.with_stderr_contains(
"\
[COMPILING] foo v0.0.1 ([..])
Expand Down

0 comments on commit 660ec3f

Please sign in to comment.