|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## Cargo 1.68 (2023-03-09) |
| 4 | +[f6e737b1...HEAD](https://github.com/rust-lang/cargo/compare/f6e737b1...HEAD) |
| 5 | + |
| 6 | +### Added |
| 7 | + |
| 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! |
| 12 | + [#11359](https://github.com/rust-lang/cargo/pull/11359) |
| 13 | + [#11481](https://github.com/rust-lang/cargo/pull/11481) |
| 14 | + |
| 15 | +### Changed |
| 16 | + |
| 17 | +- Splitted up registry documentation into multiple sections. |
| 18 | + [#11480](https://github.com/rust-lang/cargo/pull/11480) |
| 19 | + |
| 20 | +### Fixed |
| 21 | + |
| 22 | +- Setting `target.cfg(…).rustflags` shouldn't erase `build.rustdocflags`. |
| 23 | + [#11323](https://github.com/rust-lang/cargo/pull/11323) |
| 24 | + |
| 25 | +### Nightly only |
| 26 | + |
| 27 | +- Suggests `cargo clippy --fix` when warnings/errors should be fixed with clippy. |
| 28 | + [#11399](https://github.com/rust-lang/cargo/pull/11399) |
| 29 | +- Fixed artifact deps not working when target field specified coexists with `optional = true`. |
| 30 | + [#11434](https://github.com/rust-lang/cargo/pull/11434) |
| 31 | +- Allows builds of some crate to fail during optional doc-scraping. |
| 32 | + [#11450](https://github.com/rust-lang/cargo/pull/11450) |
| 33 | + |
3 | 34 | ## Cargo 1.67 (2023-01-26)
|
4 |
| -[7e484fc1...HEAD](https://github.com/rust-lang/cargo/compare/7e484fc1...HEAD) |
| 35 | +[7e484fc1...rust-1.67.0](https://github.com/rust-lang/cargo/compare/7e484fc1...rust-1.67.0) |
5 | 36 |
|
6 | 37 | ### Added
|
7 | 38 |
|
8 |
| -- `cargo remove` now cleans up the root workspace manifest after a |
9 |
| - successful removal of an inherited dependency from a workspace member. |
| 39 | +- `cargo remove` now cleans up the referenced dependency of the root |
| 40 | + workspace manifest, `profile`, `patch`, and `replace` sections |
| 41 | + after a successful removal of a dependency. |
| 42 | + [#11194](https://github.com/rust-lang/cargo/pull/11194) |
10 | 43 | [#11242](https://github.com/rust-lang/cargo/pull/11242)
|
| 44 | + [#11351](https://github.com/rust-lang/cargo/pull/11351) |
11 | 45 | - `cargo package` and `cargo publish` now report total and compressed crate size
|
12 | 46 | after packaging.
|
13 | 47 | [#11270](https://github.com/rust-lang/cargo/pull/11270)
|
|
17 | 51 | - ❗ Cargo now reuses the value of `$CARGO` if it's already set in the environment,
|
18 | 52 | and forwards the value when executing external subcommands and build scripts.
|
19 | 53 | [#11285](https://github.com/rust-lang/cargo/pull/11285)
|
| 54 | +- ❗ Cargo now emits an error when running `cargo update --precise` without a `-p` flag. |
| 55 | + [#11349](https://github.com/rust-lang/cargo/pull/11349) |
| 56 | +- Cargo now is aware of compression ratio when extracing crate files. |
| 57 | + This relaxes the hard size limit introduced in 1.64.0 to mitigate zip bomb attack. |
| 58 | + [#11337](https://github.com/rust-lang/cargo/pull/11337) |
| 59 | +- Cargo now errors out when `cargo fix` on a git repo with uncommitted changes. |
| 60 | + [#11400](https://github.com/rust-lang/cargo/pull/11400) |
| 61 | +- Cargo now warns when `cargo tree -i <spec>` cannot find any package. |
| 62 | + [#11377](https://github.com/rust-lang/cargo/pull/11377) |
| 63 | +- Cargo now warns when running `cargo new/init` and `PATH` env separator |
| 64 | + is in the project path. |
| 65 | + [#11318](https://github.com/rust-lang/cargo/pull/11318) |
| 66 | +- Better error messages when multiple pacakges were found and |
| 67 | + `cargo add/remove` gets confused. |
| 68 | + [#11186](https://github.com/rust-lang/cargo/pull/11186) |
| 69 | + [#11375](https://github.com/rust-lang/cargo/pull/11375) |
| 70 | +- A better error message when `cargo init` but existing ignore files aren't UTF-8. |
| 71 | + [#11321](https://github.com/rust-lang/cargo/pull/11321) |
| 72 | +- A better error message for `cargo install .`. |
| 73 | + [#11401](https://github.com/rust-lang/cargo/pull/11401) |
| 74 | +- A better warning when the same file path found in multiple build targets. |
| 75 | + [#11299](https://github.com/rust-lang/cargo/pull/11299) |
20 | 76 | - Updated the internal HTTP library libcurl with various fixes and updates.
|
21 | 77 | [#11307](https://github.com/rust-lang/cargo/pull/11307)
|
22 | 78 | [#11326](https://github.com/rust-lang/cargo/pull/11326)
|
|
26 | 82 | - Fixed `cargo clean` for removing fingerprints and build script
|
27 | 83 | artifacts of only the requested package
|
28 | 84 | [#10621](https://github.com/rust-lang/cargo/pull/10621)
|
| 85 | +- Fixed `cargo install --index` not working when config `registry.default` is set. |
| 86 | + [#11302](https://github.com/rust-lang/cargo/pull/11302) |
| 87 | +- Fixed git2 safe-directory accidentally disabled when no network configuration was found. |
| 88 | + [#11366](https://github.com/rust-lang/cargo/pull/11366) |
| 89 | +- Migrate from crate `atty` to resolve potential soundness issue. |
| 90 | + [#11420](https://github.com/rust-lang/cargo/pull/11420) |
| 91 | +- Cleans stale git temp files left when libgit2 indexing is interrupted. |
| 92 | + [#11308](https://github.com/rust-lang/cargo/pull/11308) |
29 | 93 |
|
30 | 94 | ### Nightly only
|
31 | 95 |
|
32 | 96 | - Suggests `cargo fix` when some compilation warnings/errors can be auto-fixed.
|
33 | 97 | [#10989](https://github.com/rust-lang/cargo/pull/10989)
|
| 98 | + [#11368](https://github.com/rust-lang/cargo/pull/11368) |
| 99 | +- Changed `rustdoc-scrape-examples` to be a target-level configuration. |
| 100 | + [#10343](https://github.com/rust-lang/cargo/pull/10343) |
| 101 | + [#11425](https://github.com/rust-lang/cargo/pull/11425) |
| 102 | + [#11430](https://github.com/rust-lang/cargo/pull/11430) |
| 103 | + [#11445](https://github.com/rust-lang/cargo/pull/11445) |
| 104 | +- Propagates change of artifact bin dependency to its parent fingerprint. |
| 105 | + [#11353](https://github.com/rust-lang/cargo/pull/11353) |
| 106 | +- Fixed `wait-for-publish` to work with sparse registry. |
| 107 | + [#11356](https://github.com/rust-lang/cargo/pull/11356) |
| 108 | + [#11327](https://github.com/rust-lang/cargo/pull/11327) |
| 109 | + [#11388](https://github.com/rust-lang/cargo/pull/11388) |
| 110 | +- Stores the `sparse+` prefix in the `SourceId` for sparse registries |
| 111 | + [#11387](https://github.com/rust-lang/cargo/pull/11387) |
| 112 | + [#11403](https://github.com/rust-lang/cargo/pull/11403) |
| 113 | +- Implemented alternative registry authentication support. |
| 114 | + ([RFC 3139](https://github.com/rust-lang/rfcs/blob/master/text/3139-cargo-alternative-registry-auth.md)) |
| 115 | + ([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#registry-auth)) |
| 116 | + [#10592](https://github.com/rust-lang/cargo/pull/10592) |
| 117 | +- Added documentation of config option `registries.crates-io.protocol`. |
| 118 | + [#11350](https://github.com/rust-lang/cargo/pull/11350) |
34 | 119 |
|
35 | 120 | ## Cargo 1.66 (2022-12-15)
|
36 | 121 | [08250398...rust-1.66.0](https://github.com/rust-lang/cargo/compare/08250398...rust-1.66.0)
|
|
0 commit comments