Skip to content

Commit beff1c9

Browse files
committed
Auto merge of #9308 - ehuss:version-bump, r=alexcrichton
Bump to 0.54.0, update changelog
2 parents bfecfb7 + 64aa636 commit beff1c9

File tree

3 files changed

+115
-8
lines changed

3 files changed

+115
-8
lines changed

CHANGELOG.md

Lines changed: 113 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,117 @@
11
# Changelog
22

3+
## Cargo 1.53 (2021-06-17)
4+
[90691f2b...HEAD](https://github.com/rust-lang/cargo/compare/90691f2b...HEAD)
5+
6+
### Added
7+
8+
### Changed
9+
10+
- 🔥 macOS targets now default to `unpacked` debuginfo.
11+
[#9298](https://github.com/rust-lang/cargo/pull/9298)
12+
- ❗ The `authors` field is no longer included in `Cargo.toml` for new
13+
projects.
14+
[#9282](https://github.com/rust-lang/cargo/pull/9282)
15+
- `cargo update` may now work with the `--offline` flag.
16+
[#9279](https://github.com/rust-lang/cargo/pull/9279)
17+
18+
### Fixed
19+
20+
### Nightly only
21+
- Fixed config includes not working.
22+
[#9299](https://github.com/rust-lang/cargo/pull/9299)
23+
- Emit note when `--future-incompat-report` had nothing to report.
24+
[#9263](https://github.com/rust-lang/cargo/pull/9263)
25+
- Error messages for nightly features flags (like `-Z` and `cargo-features`)
26+
should now provide more information.
27+
[#9290](https://github.com/rust-lang/cargo/pull/9290)
28+
329
## Cargo 1.52 (2021-05-06)
4-
[34170fcd...HEAD](https://github.com/rust-lang/cargo/compare/34170fcd...HEAD)
30+
[34170fcd...rust-1.52.0](https://github.com/rust-lang/cargo/compare/34170fcd...rust-1.52.0)
531

632
### Added
33+
- Added the `"manifest_path"` field to JSON messages for a package.
34+
[#9022](https://github.com/rust-lang/cargo/pull/9022)
35+
[#9247](https://github.com/rust-lang/cargo/pull/9247)
736

837
### Changed
938
- 🔥 Cargo now supports git repositories where the default `HEAD` branch is not
1039
"master". This also includes a switch to the version 3 `Cargo.lock` format
1140
which can handle default branches correctly.
1241
[#9133](https://github.com/rust-lang/cargo/pull/9133)
42+
- Build scripts are now forbidden from setting `RUSTC_BOOTSTRAP` on stable.
43+
[#9181](https://github.com/rust-lang/cargo/pull/9181)
44+
- crates.io now supports SPDX 3.11 licenses.
45+
[#9209](https://github.com/rust-lang/cargo/pull/9209)
46+
- An error is now reported if `CARGO_TARGET_DIR` is an empty string.
47+
[#8939](https://github.com/rust-lang/cargo/pull/8939)
48+
- Doc tests now pass the `--message-format` flag into the test so that the
49+
"short" format can now be used for doc tests.
50+
[#9128](https://github.com/rust-lang/cargo/pull/9128)
51+
- `cargo test` now prints a clearer indicator of which target is currently running.
52+
[#9195](https://github.com/rust-lang/cargo/pull/9195)
53+
- The `CARGO_TARGET_<TRIPLE>` environment variable will now issue a warning if
54+
it is using lowercase letters.
55+
[#9169](https://github.com/rust-lang/cargo/pull/9169)
56+
- `cargo doc` will now erase the `doc` directory when switching between
57+
different toolchain versions. There are shared, unversioned files (such as
58+
the search index) that can become broken when using different versions.
59+
[#8640](https://github.com/rust-lang/cargo/pull/8640)
1360

1461
### Fixed
62+
- Fixed publication of packages with metadata and resolver fields in `Cargo.toml`.
63+
[#9300](https://github.com/rust-lang/cargo/pull/9300)
64+
[#9304](https://github.com/rust-lang/cargo/pull/9304)
65+
- Fixed logic for determining prefer-dynamic for a dylib which differed in a
66+
workspace vs a single package.
67+
[#9252](https://github.com/rust-lang/cargo/pull/9252)
68+
- Fixed an issue where exclusive target-specific dependencies that overlapped
69+
across dependency kinds (like regular and build-dependencies) would
70+
incorrectly include the dependencies in both.
71+
[#9255](https://github.com/rust-lang/cargo/pull/9255)
72+
- Fixed panic with certain styles of Package IDs when passed to the `-p` flag.
73+
[#9188](https://github.com/rust-lang/cargo/pull/9188)
74+
- When running cargo with output not going to a TTY, and with the progress bar
75+
and color force-enabled, the output will now correctly clear the progress
76+
line.
77+
[#9231](https://github.com/rust-lang/cargo/pull/9231)
78+
- Error instead of panic when JSON may contain non-utf8 paths.
79+
[#9226](https://github.com/rust-lang/cargo/pull/9226)
80+
- Fixed a hang that can happen on broken stderr.
81+
[#9201](https://github.com/rust-lang/cargo/pull/9201)
82+
- Fixed thin-local LTO not being disabled correctly when `lto=off` is set.
83+
[#9182](https://github.com/rust-lang/cargo/pull/9182)
1584

1685
### Nightly only
1786
- The `strip` profile option now supports `true` and `false` values.
1887
[#9153](https://github.com/rust-lang/cargo/pull/9153)
88+
- `cargo fix --edition` now displays a report when switching to 2021 if the
89+
new resolver changes features.
90+
[#9268](https://github.com/rust-lang/cargo/pull/9268)
91+
- Added `[patch]` table support in `.cargo/config` files.
92+
[#9204](https://github.com/rust-lang/cargo/pull/9204)
93+
- Added `cargo describe-future-incompatibilities` for generating a report on
94+
dependencies that contain future-incompatible warnings.
95+
[#8825](https://github.com/rust-lang/cargo/pull/8825)
96+
- Added easier support for testing the 2021 edition.
97+
[#9184](https://github.com/rust-lang/cargo/pull/9184)
98+
- Switch the default resolver to "2" in the 2021 edition.
99+
[#9184](https://github.com/rust-lang/cargo/pull/9184)
100+
- `cargo fix --edition` now supports 2021.
101+
[#9184](https://github.com/rust-lang/cargo/pull/9184)
102+
- Added `--print` flag to `cargo rustc` to pass along to `rustc` to display
103+
information from rustc.
104+
[#9002](https://github.com/rust-lang/cargo/pull/9002)
105+
- Added `-Zdoctest-in-workspace` for changing the directory where doctests are
106+
*run* versus where they are *compiled*.
107+
[#9105](https://github.com/rust-lang/cargo/pull/9105)
108+
- Added support for an `[env]` section in `.cargo/config.toml` to set
109+
environment variables when running cargo.
110+
[#9175](https://github.com/rust-lang/cargo/pull/9175)
111+
- Added a schema field and `features2` field to the index.
112+
[#9161](https://github.com/rust-lang/cargo/pull/9161)
113+
- Changes to JSON spec targets will now trigger a rebuild.
114+
[#9223](https://github.com/rust-lang/cargo/pull/9223)
19115

20116
## Cargo 1.51 (2021-03-25)
21117
[75d5d8cf...rust-1.51.0](https://github.com/rust-lang/cargo/compare/75d5d8cf...rust-1.51.0)
@@ -72,6 +168,19 @@
72168
[#9059](https://github.com/rust-lang/cargo/pull/9059)
73169
- Fixed to use `http.proxy` setting in `~/.gitconfig`.
74170
[#8986](https://github.com/rust-lang/cargo/pull/8986)
171+
- Fixed --feature pkg/feat for V1 resolver for non-member.
172+
[#9275](https://github.com/rust-lang/cargo/pull/9275)
173+
[#9277](https://github.com/rust-lang/cargo/pull/9277)
174+
- Fixed panic in `cargo doc` when there are colliding output filenames in a workspace.
175+
[#9276](https://github.com/rust-lang/cargo/pull/9276)
176+
[#9277](https://github.com/rust-lang/cargo/pull/9277)
177+
- Fixed `cargo install` from exiting with success if one of several packages
178+
did not install successfully.
179+
[#9185](https://github.com/rust-lang/cargo/pull/9185)
180+
[#9196](https://github.com/rust-lang/cargo/pull/9196)
181+
- Fix panic with doc collision orphan.
182+
[#9142](https://github.com/rust-lang/cargo/pull/9142)
183+
[#9196](https://github.com/rust-lang/cargo/pull/9196)
75184

76185
### Nightly only
77186
- Removed the `publish-lockfile` unstable feature, it was stabilized without
@@ -85,6 +194,9 @@
85194
[#8922](https://github.com/rust-lang/cargo/pull/8922)
86195
- Added support for the `rust-version` field in project metadata.
87196
[#8037](https://github.com/rust-lang/cargo/pull/8037)
197+
- Added a schema field to the index.
198+
[#9161](https://github.com/rust-lang/cargo/pull/9161)
199+
[#9196](https://github.com/rust-lang/cargo/pull/9196)
88200

89201
## Cargo 1.50 (2021-02-11)
90202
[8662ab42...rust-1.50.0](https://github.com/rust-lang/cargo/compare/8662ab42...rust-1.50.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.53.0"
3+
version = "0.54.0"
44
edition = "2018"
55
authors = ["Yehuda Katz <wycats@gmail.com>",
66
"Carl Lerche <me@carllerche.com>",

tests/testsuite/message_format.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Tests for --message-format flag.
22
3-
use cargo_test_support::{basic_lib_manifest, basic_manifest, is_nightly, project};
3+
use cargo_test_support::{basic_lib_manifest, basic_manifest, project};
44

55
#[cargo_test]
66
fn cannot_specify_two() {
@@ -112,11 +112,6 @@ fn cargo_renders_ansi() {
112112

113113
#[cargo_test]
114114
fn cargo_renders_doctests() {
115-
if !is_nightly() {
116-
// --error-format=short support added in 1.51
117-
return;
118-
}
119-
120115
let p = project()
121116
.file("Cargo.toml", &basic_lib_manifest("foo"))
122117
.file(

0 commit comments

Comments
 (0)