Skip to content

Commit 171f67d

Browse files
committed
Update changelog for 1.59
1 parent a25d386 commit 171f67d

File tree

1 file changed

+85
-1
lines changed

1 file changed

+85
-1
lines changed

CHANGELOG.md

+85-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,98 @@
11
# Changelog
22

3+
## Cargo 1.60 (2022-04-07)
4+
[358e79fe...HEAD](https://github.com/rust-lang/cargo/compare/358e79fe...HEAD)
5+
6+
### Added
7+
- 🎉 Added the `dep:` prefix in the `[features]` table to refer to an optional
8+
dependency. This allows creating feature names with the same name as a
9+
dependency, and allows for "hiding" optional dependencies so that they do
10+
not implicitly expose a feature name.
11+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/features.html#optional-dependencies)
12+
[#10269](https://github.com/rust-lang/cargo/pull/10269)
13+
- 🎉 Added the `dep-name?/feature-name` syntax to the `[features]` table to
14+
only enable the feature `feature-name` if the optional dependency `dep-name`
15+
is already enabled by some other feature.
16+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/features.html#dependency-features)
17+
[#10269](https://github.com/rust-lang/cargo/pull/10269)
18+
- Added the `"v"` and `"features2"` fields to the registry index.
19+
The `"v"` field provides a method for compatibility with future changes to the index.
20+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/registries.html#index-format)
21+
[#10269](https://github.com/rust-lang/cargo/pull/10269)
22+
23+
### Changed
24+
- Cargo now uses the clap 3 library for command-line argument parsing.
25+
[#10265](https://github.com/rust-lang/cargo/pull/10265)
26+
- The `build.pipelining` config option is now deprecated, pipelining will now
27+
always be enabled.
28+
[#10258](https://github.com/rust-lang/cargo/pull/10258)
29+
30+
### Fixed
31+
32+
### Nightly only
33+
- Added `rustflags` option to a profile definition.
34+
[#10217](https://github.com/rust-lang/cargo/pull/10217)
35+
36+
337
## Cargo 1.59 (2022-02-24)
4-
[7f08ace4...HEAD](https://github.com/rust-lang/cargo/compare/7f08ace4...HEAD)
38+
[7f08ace4...rust-1.59.0](https://github.com/rust-lang/cargo/compare/7f08ace4...rust-1.59.0)
539

640
### Added
741

42+
- 🎉 The `strip` option can now be specified in a profile to specify the
43+
behavior for removing symbols and debug information from binaries.
44+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip)
45+
[#10088](https://github.com/rust-lang/cargo/pull/10088)
46+
- 🎉 Added future incompatible reporting.
47+
This provides reporting for when a future change in `rustc` may cause a
48+
package or any of its dependencies to stop building.
49+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/future-incompat-report.html)
50+
[#10165](https://github.com/rust-lang/cargo/pull/10165)
51+
- SSH authentication on Windows now supports ssh-agent.
52+
[docs](https://doc.rust-lang.org/nightly/cargo/appendix/git-authentication.html#ssh-authentication)
53+
[#10248](https://github.com/rust-lang/cargo/pull/10248)
54+
- Added `term.quiet` configuration option to enable the `--quiet` behavior
55+
from a config file.
56+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/config.html#termquiet)
57+
[#10152](https://github.com/rust-lang/cargo/pull/10152)
58+
- Added `-r` CLI option as an alias for `--release`.
59+
[#10133](https://github.com/rust-lang/cargo/pull/10133)
60+
861
### Changed
962

63+
- Scanning the package directory should now be resilient to errors, such as
64+
filesystem loops or access issues.
65+
[#10188](https://github.com/rust-lang/cargo/pull/10188)
66+
[#10214](https://github.com/rust-lang/cargo/pull/10214)
67+
[#10286](https://github.com/rust-lang/cargo/pull/10286)
68+
- `cargo help <alias>` will now show the target of the alias.
69+
[#10193](https://github.com/rust-lang/cargo/pull/10193)
70+
- Removed the deprecated `--host` CLI option.
71+
[#10145](https://github.com/rust-lang/cargo/pull/10145)
72+
- Cargo should now report its version to always be in sync with `rustc`.
73+
[#10178](https://github.com/rust-lang/cargo/pull/10178)
74+
- Added EOPNOTSUPP to ignored file locking errors, which is relevant to BSD
75+
operating systems.
76+
[#10157](https://github.com/rust-lang/cargo/pull/10157)
77+
1078
### Fixed
1179

80+
- macOS: Fixed an issue where running an executable would sporadically be
81+
killed by the kernel (likely starting in macOS 12).
82+
[#10196](https://github.com/rust-lang/cargo/pull/10196)
83+
- Fixed so that the `doc=false` setting is honored in the `[lib]` definition
84+
of a dependency.
85+
[#10201](https://github.com/rust-lang/cargo/pull/10201)
86+
- The `"executable"` field in the JSON option was incorrectly including the
87+
path to `index.html` when documenting a binary. It is now null.
88+
[#10171](https://github.com/rust-lang/cargo/pull/10171)
89+
- Documenting a binary now waits for the package library to finish documenting
90+
before starting. This fixes some race conditions if the binary has intra-doc
91+
links to the library.
92+
[#10172](https://github.com/rust-lang/cargo/pull/10172)
93+
- Fixed panic when displaying help text to a closed pipe.
94+
[#10164](https://github.com/rust-lang/cargo/pull/10164)
95+
1296
### Nightly only
1397
- Added the `--crate-type` flag to `cargo rustc`.
1498
[#10093](https://github.com/rust-lang/cargo/pull/10093)

0 commit comments

Comments
 (0)