Skip to content

Commit 5a7554c

Browse files
committed
Update changelog for 1.68
1 parent 03dfbb9 commit 5a7554c

File tree

1 file changed

+68
-8
lines changed

1 file changed

+68
-8
lines changed

CHANGELOG.md

Lines changed: 68 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,95 @@
11
# Changelog
22

33
## Cargo 1.68 (2023-03-09)
4-
[f6e737b1...HEAD](https://github.com/rust-lang/cargo/compare/f6e737b1...HEAD)
4+
[f6e737b1...rust-1.68.0](https://github.com/rust-lang/cargo/compare/f6e737b1...rust-1.68.0)
55

66
### Added
77

8-
- Cargo's file locking mechanism now supports Solaris by using fcntl.
9-
[#11439](https://github.com/rust-lang/cargo/pull/11439)
10-
[#11474](https://github.com/rust-lang/cargo/pull/11474)
11-
- `home` crate is now a subcrate in `rust-lang/cargo` repository. Welcome!
8+
- 🎉 The new "sparse" protocol has been stabilized.
9+
It should provide a significant performance improvement when accessing crates.io.
10+
([RFC 2789](https://github.com/rust-lang/rfcs/blob/master/text/2789-sparse-index.md))
11+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/registries.html#registry-protocols))
12+
[#11224](https://github.com/rust-lang/cargo/pull/11224)
13+
[#11480](https://github.com/rust-lang/cargo/pull/11480)
14+
- 🎉 `home` crate is now a subcrate in `rust-lang/cargo` repository. Welcome!
1215
[#11359](https://github.com/rust-lang/cargo/pull/11359)
1316
[#11481](https://github.com/rust-lang/cargo/pull/11481)
17+
- Long diagnostic messages now can be truncated to be more readable.
18+
[#11494](https://github.com/rust-lang/cargo/pull/11494)
19+
- Shows the progress of crates.io index update even when `net.git-fetch-with-cli` enabled.
20+
[#11579](https://github.com/rust-lang/cargo/pull/11579)
21+
- `cargo build --verbose` tells you more about why it recompiles.
22+
[#11407](https://github.com/rust-lang/cargo/pull/11407)
23+
- Cargo's file locking mechanism now supports Solaris by using `fcntl`.
24+
[#11439](https://github.com/rust-lang/cargo/pull/11439)
25+
[#11474](https://github.com/rust-lang/cargo/pull/11474)
26+
- Added a new SemVer compatibility rule explaining the expectations around diagnostic lints
27+
[#11596](https://github.com/rust-lang/cargo/pull/11596)
28+
- `cargo vendor` generates a different source replacement entry
29+
for each revision from the same git repository.
30+
[#10690](https://github.com/rust-lang/cargo/pull/1090)
31+
- Cargo contributors can relabel issues via triagebot.
32+
[doc](https://github.com/rust-lang/triagebot/wiki/Labeling)
33+
[#11498](https://github.com/rust-lang/cargo/pull/11498)
34+
- Cargo contributors can write tests in containers.
35+
[#11583](https://github.com/rust-lang/cargo/pull/11583)
1436

1537
### Changed
1638

17-
- Split up registry documentation into multiple sections.
18-
[#11480](https://github.com/rust-lang/cargo/pull/11480)
39+
- Cargo now by default saves credentials to `.cargo/credentials.toml`.
40+
If `.cargo/credentials` exists, writes to it for backward compatibility reasons.
41+
[#11533](https://github.com/rust-lang/cargo/pull/11533)
42+
- To prevent sensitive data from being logged, Cargo introduces a new wrapper type internally.
43+
[#11545](https://github.com/rust-lang/cargo/pull/11545)
44+
- Several documentation improvements.
45+
[#11475](https://github.com/rust-lang/cargo/pull/11475)
46+
[#11504](https://github.com/rust-lang/cargo/pull/11504)
47+
[#11516](https://github.com/rust-lang/cargo/pull/11516)
48+
[#11517](https://github.com/rust-lang/cargo/pull/11517)
49+
[#11568](https://github.com/rust-lang/cargo/pull/11568)
50+
[#11586](https://github.com/rust-lang/cargo/pull/11586)
51+
[#11592](https://github.com/rust-lang/cargo/pull/11592)
1952

2053
### Fixed
2154

55+
-`cargo package` and `cargo publish` now respects workspace's `Cargo.lock`.
56+
This is an expected behavior but previously got overlooked.
57+
[#11477](https://github.com/rust-lang/cargo/pull/11477)
58+
- Fixed `cargo vendor` failing on resolving git dependencies inherited from a workspace.
59+
[#11414](https://github.com/rust-lang/cargo/pull/11414)
60+
- `cargo install` can now correctly install root package when `workspace.default-members` is specified.
61+
[#11067](https://github.com/rust-lang/cargo/pull/11067)
62+
- Fixed panic on target specific dependency errors.
63+
[#11541](https://github.com/rust-lang/cargo/pull/11541)
64+
- Shows `--help` if there is no man page for a subcommand.
65+
[#11473](https://github.com/rust-lang/cargo/pull/11473)
2266
- Setting `target.cfg(…).rustflags` shouldn't erase `build.rustdocflags`.
2367
[#11323](https://github.com/rust-lang/cargo/pull/11323)
2468

2569
### Nightly only
2670

27-
- Suggests `cargo clippy --fix` when warnings/errors should be fixed with clippy.
71+
- Implemented a inital support of asymmetric token authentication for registries.
72+
([RFC 3231](https://github.com/rust-lang/rfcs/blob/master/text/3231-cargo-asymmetric-tokens.md))
73+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#registry-auth))
74+
[#10771](https://github.com/rust-lang/cargo/pull/10771)
75+
- Supports `codegen-backend` and `rustflags` in profiles in config file.
76+
[#11562](https://github.com/rust-lang/cargo/pull/11562)
77+
- Suggests `cargo clippy --fix` when warnings/errors could be fixed with clippy.
2878
[#11399](https://github.com/rust-lang/cargo/pull/11399)
2979
- Fixed artifact deps not working when target field specified coexists with `optional = true`.
3080
[#11434](https://github.com/rust-lang/cargo/pull/11434)
81+
- Make Cargo distinguish `Unit`s with and without artifact targets.
82+
[#11478](https://github.com/rust-lang/cargo/pull/11478)
83+
- `cargo metadata` supports artifact dependencies.
84+
[#11550](https://github.com/rust-lang/cargo/pull/11550)
3185
- Allows builds of some crate to fail during optional doc-scraping.
3286
[#11450](https://github.com/rust-lang/cargo/pull/11450)
87+
- Add warning if potentially-scrapable examples are skipped due to dev-dependencies.
88+
[#11503](https://github.com/rust-lang/cargo/pull/11503)
89+
- Don't scrape examples from library targets by default.
90+
[#11499](https://github.com/rust-lang/cargo/pull/11499)
91+
- Fixed examples of proc-macro crates being scraped for examples.
92+
[#11497](https://github.com/rust-lang/cargo/pull/11497)
3393

3494
## Cargo 1.67 (2023-01-26)
3595
[7e484fc1...rust-1.67.0](https://github.com/rust-lang/cargo/compare/7e484fc1...rust-1.67.0)

0 commit comments

Comments
 (0)