Skip to content

Commit f4c174d

Browse files
committed
Update changelog for 1.62
1 parent 447384e commit f4c174d

File tree

1 file changed

+92
-2
lines changed

1 file changed

+92
-2
lines changed

CHANGELOG.md

Lines changed: 92 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,110 @@
11
# Changelog
22

3+
## Cargo 1.63 (2022-08-11)
4+
[3f052d8e...HEAD](https://github.com/rust-lang/cargo/compare/3f052d8e...HEAD)
5+
6+
### Added
7+
8+
### Changed
9+
10+
### Fixed
11+
12+
### Nightly only
13+
14+
- Added `-Zcheck-cfg=output` to support build-scripts declaring their
15+
supported set of `cfg` values with `cargo:rustc-check-cfg`.
16+
[#10539](https://github.com/rust-lang/cargo/pull/10539)
17+
18+
319
## Cargo 1.62 (2022-06-30)
4-
[1ef1e0a1...HEAD](https://github.com/rust-lang/cargo/compare/1ef1e0a1...HEAD)
20+
[1ef1e0a1...rust-1.62.0](https://github.com/rust-lang/cargo/compare/1ef1e0a1...rust-1.62.0)
521

622
### Added
723

24+
- 🎉 Added the `cargo add` command for adding dependencies to `Cargo.toml` from
25+
the command-line.
26+
[docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-add.html)
27+
[#10472](https://github.com/rust-lang/cargo/pull/10472)
28+
[#10577](https://github.com/rust-lang/cargo/pull/10577)
29+
[#10578](https://github.com/rust-lang/cargo/pull/10578)
30+
- Package ID specs now support `name@version` syntax in addition to the
31+
previous `name:version` to align with the behavior in `cargo add` and other
32+
tools. `cargo install` and `cargo yank` also now support this syntax so the
33+
version does not need to passed as a separate flag.
34+
[#10582](https://github.com/rust-lang/cargo/pull/10582)
35+
[#10650](https://github.com/rust-lang/cargo/pull/10650)
36+
[#10597](https://github.com/rust-lang/cargo/pull/10597)
37+
- Added the CLI option `-F` as an alias of `--features`.
38+
[#10576](https://github.com/rust-lang/cargo/pull/10576)
39+
- The `git` and `registry` directories in Cargo's home directory (usually
40+
`~/.cargo`) are now marked as cache directories so that they are not
41+
included in backups or content indexing (on Windows).
42+
[#10553](https://github.com/rust-lang/cargo/pull/10553)
43+
- Added the `--version` flag to `cargo yank` to replace the `--vers` flag to
44+
be consistent with `cargo install`.
45+
[#10575](https://github.com/rust-lang/cargo/pull/10575)
46+
- Added automatic `@` argfile support, which will use "response files" if the
47+
command-line to `rustc` exceeds the operating system's limit.
48+
[#10546](https://github.com/rust-lang/cargo/pull/10546)
49+
- `cargo clean` now has a progress bar (if it takes longer than half a second).
50+
[#10236](https://github.com/rust-lang/cargo/pull/10236)
51+
852
### Changed
953

10-
- `cargo install` will no longer generate an error if no binaries were found
54+
- `cargo install` no longer generates an error if no binaries were found
1155
to install (such as missing required features).
1256
[#10508](https://github.com/rust-lang/cargo/pull/10508)
57+
- `cargo test` now passes `--target` to `rustdoc` if the specified target is
58+
the same as the host target.
59+
[#10594](https://github.com/rust-lang/cargo/pull/10594)
60+
- `cargo doc` now automatically passes `-Arustdoc::private-intra-doc-links`
61+
when documenting a binary (which automatically includes
62+
`--document-private-items`). The
63+
[`private-intra-doc-links`](https://doc.rust-lang.org/rustdoc/lints.html#private_intra_doc_links)
64+
lint is only relevant when *not* documenting private items, which doesn't
65+
apply to binaries.
66+
[#10142](https://github.com/rust-lang/cargo/pull/10142)
67+
- The length of the short git hash in the `cargo --version` output is now
68+
fixed to 9 characters. Previously the length was inconsistent between
69+
different platforms.
70+
[#10579](https://github.com/rust-lang/cargo/pull/10579)
71+
- Attempting to publish a package with a `Cargo.toml.orig` file will now
72+
result in an error. The filename would otherwise conflict with the
73+
automatically-generated file.
74+
[#10551](https://github.com/rust-lang/cargo/pull/10551)
1375

1476
### Fixed
1577

78+
- The `build.dep-info-basedir` configuration setting now properly supports the
79+
use of `..` in the path to refer to a parent directory.
80+
[#10281](https://github.com/rust-lang/cargo/pull/10281)
81+
82+
1683
### Nightly only
1784

85+
- `cargo fetch` now works with `-Zbuild-std` to fetch the standard library's dependencies.
86+
[#10129](https://github.com/rust-lang/cargo/pull/10129)
87+
- Added support for workspace inheritance.
88+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#workspace-inheritance)
89+
[#10584](https://github.com/rust-lang/cargo/pull/10584)
90+
[#10568](https://github.com/rust-lang/cargo/pull/10568)
91+
[#10565](https://github.com/rust-lang/cargo/pull/10565)
92+
[#10564](https://github.com/rust-lang/cargo/pull/10564)
93+
[#10563](https://github.com/rust-lang/cargo/pull/10563)
94+
[#10606](https://github.com/rust-lang/cargo/pull/10606)
95+
[#10548](https://github.com/rust-lang/cargo/pull/10548)
96+
[#10538](https://github.com/rust-lang/cargo/pull/10538)
97+
- Added `-Zcheck-cfg` which adds various forms of validating `cfg` expressions
98+
for unknown names and values.
99+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg)
100+
[#10486](https://github.com/rust-lang/cargo/pull/10486)
101+
[#10566](https://github.com/rust-lang/cargo/pull/10566)
102+
- The `--config` CLI option no longer allows setting a registry token.
103+
[#10580](https://github.com/rust-lang/cargo/pull/10580)
104+
- Fixed issues with proc-macros and `-Z rustdoc-scrape-examples`.
105+
[#10549](https://github.com/rust-lang/cargo/pull/10549)
106+
[#10533](https://github.com/rust-lang/cargo/pull/10533)
107+
18108

19109
## Cargo 1.61 (2022-05-19)
20110
[ea2a21c9...rust-1.61.0](https://github.com/rust-lang/cargo/compare/ea2a21c9...rust-1.61.0)

0 commit comments

Comments
 (0)