Skip to content

Commit af6d540

Browse files
committed
Auto merge of #9597 - ehuss:version-bump, r=alexcrichton
Bump to 0.56.0, update changelog
2 parents c111cad + ff3155d commit af6d540

File tree

2 files changed

+90
-2
lines changed

2 files changed

+90
-2
lines changed

CHANGELOG.md

Lines changed: 89 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,87 @@
11
# Changelog
22

3+
## Cargo 1.55 (2021-09-09)
4+
[aa8b0929...HEAD](https://github.com/rust-lang/cargo/compare/aa8b0929...HEAD)
5+
6+
### Added
7+
8+
- The package definition in `cargo metadata` now includes the `"default_run"`
9+
field from the manifest.
10+
[#9550](https://github.com/rust-lang/cargo/pull/9550)
11+
12+
### Changed
13+
14+
- If a build command does not match any targets when using the
15+
`--all-targets`, `--bins`, `--tests`, `--examples`, or `--benches` flags, a
16+
warning is now displayed to inform you that there were no matching targets.
17+
[#9549](https://github.com/rust-lang/cargo/pull/9549)
18+
- The way `cargo init` detects whether or not existing source files represent
19+
a binary or library has been changed to respect the command-line flags
20+
instead of trying to guess which type it is.
21+
[#9522](https://github.com/rust-lang/cargo/pull/9522)
22+
23+
### Fixed
24+
25+
- Fixed dep-info files including non-local build script paths.
26+
[#9596](https://github.com/rust-lang/cargo/pull/9596)
27+
- Relaxed doc collision error to retain old behavior.
28+
[#9595](https://github.com/rust-lang/cargo/pull/9595)
29+
- Handle "jobs = 0" case in cargo config files
30+
[#9584](https://github.com/rust-lang/cargo/pull/9584)
31+
- Implement warning for ignored trailing arguments after `--`
32+
[#9561](https://github.com/rust-lang/cargo/pull/9561)
33+
- Fixed rustc/rustdoc config values to be config-relative.
34+
[#9566](https://github.com/rust-lang/cargo/pull/9566)
35+
- `cargo fix` now supports rustc's suggestions with multiple spans.
36+
[#9567](https://github.com/rust-lang/cargo/pull/9567)
37+
38+
### Nightly only
39+
40+
- Enabled support for `cargo fix --edition` for 2021.
41+
[#9588](https://github.com/rust-lang/cargo/pull/9588)
42+
43+
344
## Cargo 1.54 (2021-07-29)
4-
[4369396c...HEAD](https://github.com/rust-lang/cargo/compare/4369396c...HEAD)
45+
[4369396c...rust-1.54.0](https://github.com/rust-lang/cargo/compare/4369396c...rust-1.54.0)
546

647
### Added
748

849
- Fetching from a git repository (such as the crates.io index) now displays
950
the network transfer rate.
1051
[#9395](https://github.com/rust-lang/cargo/pull/9395)
52+
- Added `--prune` option for `cargo tree` to limit what is displayed.
53+
[#9520](https://github.com/rust-lang/cargo/pull/9520)
54+
- Added `--depth` option for `cargo tree` to limit what is displayed.
55+
[#9499](https://github.com/rust-lang/cargo/pull/9499)
56+
- Added `cargo tree -e no-proc-macro` to hide procedural macro dependencies.
57+
[#9488](https://github.com/rust-lang/cargo/pull/9488)
58+
- Added `doc.browser` config option to set which browser to open with `cargo doc --open`.
59+
[#9473](https://github.com/rust-lang/cargo/pull/9473)
60+
- Added `CARGO_TARGET_TMPDIR` environment variable set for integration tests &
61+
benches. This provides a temporary or "scratch" directory in the `target`
62+
directory for tests and benches to use.
63+
[#9375](https://github.com/rust-lang/cargo/pull/9375)
1164

1265
### Changed
1366

67+
- `--features` CLI flags now provide typo suggestions with the new feature resolver.
68+
[#9420](https://github.com/rust-lang/cargo/pull/9420)
69+
- Cargo now uses a new parser for SemVer versions. This should behave mostly
70+
the same as before with some minor exceptions where invalid syntax for
71+
version requirements is now rejected.
72+
[#9508](https://github.com/rust-lang/cargo/pull/9508)
73+
- Mtime handling of `.crate` published packages has changed slightly to avoid
74+
mtime values of 0. This was causing problems with lldb which refused to read
75+
those files.
76+
[#9517](https://github.com/rust-lang/cargo/pull/9517)
77+
- Improved performance of git status check in `cargo package`.
78+
[#9478](https://github.com/rust-lang/cargo/pull/9478)
79+
- `cargo new` with fossil now places the ignore settings in the new repository
80+
instead of using `fossil settings` to set them globally. This also includes
81+
several other cleanups to make it more consistent with other VCS
82+
configurations.
83+
[#9469](https://github.com/rust-lang/cargo/pull/9469)
84+
1485
### Fixed
1586

1687
- Fixed `package.exclude` in `Cargo.toml` using inverted exclusions
@@ -19,13 +90,30 @@
1990
- Dep-info files now adjust build script `rerun-if-changed` paths to be
2091
absolute paths.
2192
[#9421](https://github.com/rust-lang/cargo/pull/9421)
93+
- Fixed a bug when with resolver = "1" non-virtual package was allowing
94+
unknown features.
95+
[#9437](https://github.com/rust-lang/cargo/pull/9437)
96+
- Fixed an issue with the index cache mishandling versions that only
97+
differed in build metadata (such as `110.0.0` and `110.0.0+1.1.0f`).
98+
[#9476](https://github.com/rust-lang/cargo/pull/9476)
99+
- Fixed `cargo install` with a semver metadata version.
100+
[#9467](https://github.com/rust-lang/cargo/pull/9467)
22101

23102
### Nightly only
24103

25104
- Added `report` subcommand, and changed `cargo
26105
describe-future-incompatibilitie` to `cargo report
27106
future-incompatibilities`.
28107
[#9438](https://github.com/rust-lang/cargo/pull/9438)
108+
- Added a `[host]` table to the config files to be able to set build flags for
109+
host target. Also added `target-applies-to-host` to control how the
110+
`[target]` tables behave.
111+
[#9322](https://github.com/rust-lang/cargo/pull/9322)
112+
- Added some validation to build script `rustc-link-arg-*` instructions to
113+
return an error if the target doesn't exist.
114+
[#9523](https://github.com/rust-lang/cargo/pull/9523)
115+
- Added `cargo:rustc-link-arg-bin` instruction for build scripts.
116+
[#9486](https://github.com/rust-lang/cargo/pull/9486)
29117

30118

31119
## Cargo 1.53 (2021-06-17)

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

0 commit comments

Comments
 (0)