Skip to content

Commit cab4ae0

Browse files
committed
Update changelog for 1.67
1 parent 65827de commit cab4ae0

File tree

1 file changed

+57
-3
lines changed

1 file changed

+57
-3
lines changed

CHANGELOG.md

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# Changelog
22

33
## Cargo 1.67 (2023-01-26)
4-
[7e484fc1...HEAD](https://github.com/rust-lang/cargo/compare/7e484fc1...HEAD)
4+
[7e484fc1...rust-1.67.0](https://github.com/rust-lang/cargo/compare/7e484fc1...rust-1.67.0)
55

66
### Added
77

8-
- `cargo remove` now cleans up the root workspace manifest after a
9-
successful removal of an inherited dependency from a workspace member.
8+
- `cargo remove` now cleans up the referenced dependency of the root
9+
workspace manifest, `profile`, `patch`, and `replace` sections
10+
after a successful removal of a dependency.
11+
[#11194](https://github.com/rust-lang/cargo/pull/11194)
1012
[#11242](https://github.com/rust-lang/cargo/pull/11242)
13+
[#11351](https://github.com/rust-lang/cargo/pull/11351)
1114
- `cargo package` and `cargo publish` now report total and compressed crate size
1215
after packaging.
1316
[#11270](https://github.com/rust-lang/cargo/pull/11270)
@@ -17,6 +20,28 @@
1720
- ❗ Cargo now reuses the value of `$CARGO` if it's already set in the environment,
1821
and forwards the value when executing external subcommands and build scripts.
1922
[#11285](https://github.com/rust-lang/cargo/pull/11285)
23+
- ❗ Cargo now emits an error when running `cargo update --precise` without a `-p` flag.
24+
[#11349](https://github.com/rust-lang/cargo/pull/11349)
25+
- Cargo now is aware of compression ratio when extracing crate files.
26+
This relaxes the hard size limit introduced in 1.64.0 to mitigate zip bomb attack.
27+
[#11337](https://github.com/rust-lang/cargo/pull/11337)
28+
- Cargo now errors out when `cargo fix` on a git repo with uncommitted changes.
29+
[#11400](https://github.com/rust-lang/cargo/pull/11400)
30+
- Cargo now warns when `cargo tree -i <spec>` cannot find any package.
31+
[#11377](https://github.com/rust-lang/cargo/pull/11377)
32+
- Cargo now warns when running `cargo new/init` and `PATH` env separator
33+
is in the project path.
34+
[#11318](https://github.com/rust-lang/cargo/pull/11318)
35+
- Better error messages when multiple pacakges were found and
36+
`cargo add/remove` gets confused.
37+
[#11186](https://github.com/rust-lang/cargo/pull/11186)
38+
[#11375](https://github.com/rust-lang/cargo/pull/11375)
39+
- A better error message when `cargo init` but existing ignore files aren't UTF-8.
40+
[#11321](https://github.com/rust-lang/cargo/pull/11321)
41+
- A better error message for `cargo install .`.
42+
[#11401](https://github.com/rust-lang/cargo/pull/11401)
43+
- A better warning when the same file path found in multiple build targets.
44+
[#11299](https://github.com/rust-lang/cargo/pull/11299)
2045
- Updated the internal HTTP library libcurl with various fixes and updates.
2146
[#11307](https://github.com/rust-lang/cargo/pull/11307)
2247
[#11326](https://github.com/rust-lang/cargo/pull/11326)
@@ -26,11 +51,40 @@
2651
- Fixed `cargo clean` for removing fingerprints and build script
2752
artifacts of only the requested package
2853
[#10621](https://github.com/rust-lang/cargo/pull/10621)
54+
- Fixed `cargo install --index` not working when config `registry.default` is set.
55+
[#11302](https://github.com/rust-lang/cargo/pull/11302)
56+
- Fixed git2 safe-directory accidentally disabled when no network configuration was found.
57+
[#11366](https://github.com/rust-lang/cargo/pull/11366)
58+
- Migrate from crate `atty` to resolve potential soundness issue.
59+
[#11420](https://github.com/rust-lang/cargo/pull/11420)
60+
- Cleans stale git temp files left when libgit2 indexing is interrupted.
61+
[#11308](https://github.com/rust-lang/cargo/pull/11308)
2962

3063
### Nightly only
3164

3265
- Suggests `cargo fix` when some compilation warnings/errors can be auto-fixed.
3366
[#10989](https://github.com/rust-lang/cargo/pull/10989)
67+
[#11368](https://github.com/rust-lang/cargo/pull/11368)
68+
- Changed `rustdoc-scrape-examples` to be a target-level configuration.
69+
[#10343](https://github.com/rust-lang/cargo/pull/10343)
70+
[#11425](https://github.com/rust-lang/cargo/pull/11425)
71+
[#11430](https://github.com/rust-lang/cargo/pull/11430)
72+
[#11445](https://github.com/rust-lang/cargo/pull/11445)
73+
- Propagates change of artifact bin dependency to its parent fingerprint.
74+
[#11353](https://github.com/rust-lang/cargo/pull/11353)
75+
- Fixed `wait-for-publish` to work with sparse registry.
76+
[#11356](https://github.com/rust-lang/cargo/pull/11356)
77+
[#11327](https://github.com/rust-lang/cargo/pull/11327)
78+
[#11388](https://github.com/rust-lang/cargo/pull/11388)
79+
- Stores the `sparse+` prefix in the `SourceId` for sparse registries
80+
[#11387](https://github.com/rust-lang/cargo/pull/11387)
81+
[#11403](https://github.com/rust-lang/cargo/pull/11403)
82+
- Implemented alternative registry authentication support.
83+
([RFC 3139](https://github.com/rust-lang/rfcs/blob/master/text/3139-cargo-alternative-registry-auth.md))
84+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#registry-auth))
85+
[#10592](https://github.com/rust-lang/cargo/pull/10592)
86+
- Added documentation of config option `registries.crates-io.protocol`.
87+
[#11350](https://github.com/rust-lang/cargo/pull/11350)
3488

3589
## Cargo 1.66 (2022-12-15)
3690
[08250398...rust-1.66.0](https://github.com/rust-lang/cargo/compare/08250398...rust-1.66.0)

0 commit comments

Comments
 (0)