|
1 | 1 | # Changelog
|
2 | 2 |
|
3 | 3 | ## 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) |
5 | 5 |
|
6 | 6 | ### Added
|
7 | 7 |
|
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) |
10 | 12 | [#11242](https://github.com/rust-lang/cargo/pull/11242)
|
| 13 | + [#11351](https://github.com/rust-lang/cargo/pull/11351) |
11 | 14 | - `cargo package` and `cargo publish` now report total and compressed crate size
|
12 | 15 | after packaging.
|
13 | 16 | [#11270](https://github.com/rust-lang/cargo/pull/11270)
|
|
17 | 20 | - ❗ Cargo now reuses the value of `$CARGO` if it's already set in the environment,
|
18 | 21 | and forwards the value when executing external subcommands and build scripts.
|
19 | 22 | [#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) |
20 | 45 | - Updated the internal HTTP library libcurl with various fixes and updates.
|
21 | 46 | [#11307](https://github.com/rust-lang/cargo/pull/11307)
|
22 | 47 | [#11326](https://github.com/rust-lang/cargo/pull/11326)
|
|
26 | 51 | - Fixed `cargo clean` for removing fingerprints and build script
|
27 | 52 | artifacts of only the requested package
|
28 | 53 | [#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) |
29 | 62 |
|
30 | 63 | ### Nightly only
|
31 | 64 |
|
32 | 65 | - Suggests `cargo fix` when some compilation warnings/errors can be auto-fixed.
|
33 | 66 | [#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) |
34 | 88 |
|
35 | 89 | ## Cargo 1.66 (2022-12-15)
|
36 | 90 | [08250398...rust-1.66.0](https://github.com/rust-lang/cargo/compare/08250398...rust-1.66.0)
|
|
0 commit comments