Skip to content

Commit 8fe9eca

Browse files
committed
Update changelog for 1.56
1 parent 0603dc0 commit 8fe9eca

File tree

1 file changed

+95
-4
lines changed

1 file changed

+95
-4
lines changed

CHANGELOG.md

Lines changed: 95 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,62 @@
11
# Changelog
22

3+
## Cargo 1.57 (2021-12-02)
4+
[18751dd3...HEAD](https://github.com/rust-lang/cargo/compare/18751dd3...HEAD)
5+
6+
### Added
7+
8+
- The `rev` option for a git dependency now supports git references that start
9+
with `refs/`. An example where this can be used is to depend on a pull
10+
request from a service like GitHub before it is merged.
11+
[#9859](https://github.com/rust-lang/cargo/pull/9859)
12+
13+
### Changed
14+
15+
### Fixed
16+
17+
- Removed a log message (from `CARGO_LOG`) that may leak tokens.
18+
[#9873](https://github.com/rust-lang/cargo/pull/9873)
19+
20+
### Nightly only
21+
22+
323
## Cargo 1.56 (2021-10-21)
4-
[cebef295...HEAD](https://github.com/rust-lang/cargo/compare/cebef295...HEAD)
24+
[cebef295...rust-1.56.0](https://github.com/rust-lang/cargo/compare/cebef295...rust-1.56.0)
525

626
### Added
727

8-
- Added support for the [`rust-version`](https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-rust-version-field)
9-
field in a crate's metadata and the `--ignore-rust-version` command line option.
10-
- Build scripts can now pass additional linker arguments for binaries or all
28+
- 🎉 Cargo now supports the 2021 edition.
29+
More information may be found in the [edition
30+
guide](https://doc.rust-lang.org/nightly/edition-guide/rust-2021/index.html).
31+
[#9800](https://github.com/rust-lang/cargo/pull/9800)
32+
- 🎉 Added the
33+
[`rust-version`](https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-rust-version-field)
34+
field to `Cargo.toml` to specify the minimum supported Rust version, and the
35+
`--ignore-rust-version` command line option to override it.
36+
[#9732](https://github.com/rust-lang/cargo/pull/9732)
37+
- Added the `[env]` table to config files to specify environment variables to
38+
set.
39+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/config.html#env)
40+
[#9411](https://github.com/rust-lang/cargo/pull/9411)
41+
- `[patch]` tables may now be specified in config files.
42+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/config.html#patch)
43+
[#9839](https://github.com/rust-lang/cargo/pull/9839)
44+
- `cargo doc` now supports the `--example` and `--examples` flags.
45+
[#9808](https://github.com/rust-lang/cargo/pull/9808)
46+
- 🎉 Build scripts can now pass additional linker arguments for binaries or all
1147
linkable targets. [docs](https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#outputs-of-the-build-script)
1248
[#9557](https://github.com/rust-lang/cargo/pull/9557)
1349
- Added support for the `-p` flag for `cargo publish` to publish a specific
1450
package in a workspace. `cargo package` also now supports `-p` and
1551
`--workspace`.
1652
[#9559](https://github.com/rust-lang/cargo/pull/9559)
53+
- Added documentation about third-party registries.
54+
[#9830](https://github.com/rust-lang/cargo/pull/9830)
55+
- Added the `{sha256-checksum}` placeholder for URLs in a registry `config.json`.
56+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/registries.html#index-format)
57+
[#9801](https://github.com/rust-lang/cargo/pull/9801)
58+
- Added a warning when a dependency does not have a library.
59+
[#9771](https://github.com/rust-lang/cargo/pull/9771)
1760

1861
### Changed
1962

@@ -27,11 +70,56 @@
2770
filename. This allows multiple copies to be cached at once, and matches the
2871
behavior on other platforms (except `msvc`).
2972
[#9653](https://github.com/rust-lang/cargo/pull/9653)
73+
- `cargo new` now generates an example that doesn't generate a warning with
74+
clippy.
75+
[#9796](https://github.com/rust-lang/cargo/pull/9796)
76+
- `cargo fix --edition` now only applies edition-specific lints.
77+
[#9846](https://github.com/rust-lang/cargo/pull/9846)
78+
- Improve resolver message to include dependency requirements.
79+
[#9827](https://github.com/rust-lang/cargo/pull/9827)
80+
- `cargo fix` now has more debug logging available with the `CARGO_LOG`
81+
environment variable.
82+
[#9831](https://github.com/rust-lang/cargo/pull/9831)
83+
- Changed `cargo fix --edition` to emit a warning when on the latest stable
84+
edition when running on stable instead of generating an error.
85+
[#9792](https://github.com/rust-lang/cargo/pull/9792)
86+
- `cargo install` will now determine all of the packages to install before
87+
starting the installation, which should help with reporting errors without
88+
partially installing.
89+
[#9793](https://github.com/rust-lang/cargo/pull/9793)
90+
- The resolver report for `cargo fix --edition` now includes differences for
91+
dev-dependencies.
92+
[#9803](https://github.com/rust-lang/cargo/pull/9803)
93+
- `cargo fix` will now show better diagnostics for abnormal errors from `rustc`.
94+
[#9799](https://github.com/rust-lang/cargo/pull/9799)
95+
- Entries in `cargo --list` are now deduplicated.
96+
[#9773](https://github.com/rust-lang/cargo/pull/9773)
97+
- Aliases are now included in `cargo --list`.
98+
[#9764](https://github.com/rust-lang/cargo/pull/9764)
3099

31100
### Fixed
32101

102+
- Fixed panic with build-std of a proc-macro.
103+
[#9834](https://github.com/rust-lang/cargo/pull/9834)
104+
- Fixed running `cargo` recursively from proc-macros while running `cargo fix`.
105+
[#9818](https://github.com/rust-lang/cargo/pull/9818)
106+
- Return an error instead of a stack overflow for command alias loops.
107+
[#9791](https://github.com/rust-lang/cargo/pull/9791)
108+
33109
### Nightly only
34110

111+
- Added `[future-incompat-report]` config section.
112+
[#9774](https://github.com/rust-lang/cargo/pull/9774)
113+
- Fixed value-after-table error with custom named profiles.
114+
[#9789](https://github.com/rust-lang/cargo/pull/9789)
115+
- Added the `different-binary-name` feature to support specifying a
116+
non-rust-identifier for a binary name.
117+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#different-binary-name)
118+
[#9627](https://github.com/rust-lang/cargo/pull/9627)
119+
- Added a profile option to select the codegen backend.
120+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#codegen-backend)
121+
[#9118](https://github.com/rust-lang/cargo/pull/9118)
122+
35123

36124
## Cargo 1.55 (2021-09-09)
37125
[aa8b0929...rust-1.55.0](https://github.com/rust-lang/cargo/compare/aa8b0929...rust-1.55.0)
@@ -100,6 +188,9 @@
100188
includes several changes, such as new behavior when run on WSL, and using
101189
the system `xdg-open` on Linux.
102190
[#9583](https://github.com/rust-lang/cargo/pull/9583)
191+
- Updated to libcurl 7.78.
192+
[#9809](https://github.com/rust-lang/cargo/pull/9809)
193+
[#9810](https://github.com/rust-lang/cargo/pull/9810)
103194

104195
### Fixed
105196

0 commit comments

Comments
 (0)