|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## Cargo 1.66 (2022-12-15) |
| 4 | +[08250398...HEAD](https://github.com/rust-lang/cargo/compare/08250398...HEAD) |
| 5 | + |
| 6 | +### Added |
| 7 | + |
| 8 | +### Changed |
| 9 | + |
| 10 | +### Fixed |
| 11 | + |
| 12 | +### Nightly only |
| 13 | + |
3 | 14 | ## Cargo 1.65 (2022-11-03)
|
4 |
| -[4fd148c4...HEAD](https://github.com/rust-lang/cargo/compare/4fd148c4...HEAD) |
| 15 | +[4fd148c4...rust-1.65.0](https://github.com/rust-lang/cargo/compare/4fd148c4...rust-1.65.0) |
5 | 16 |
|
6 | 17 | ### Added
|
7 | 18 |
|
| 19 | +- External subcommands can now inherit jobserver file descriptors from Cargo. |
| 20 | + [#10511](https://github.com/rust-lang/cargo/pull/10511) |
| 21 | +- Added an API documentation for private items in cargo-the-library. See |
| 22 | + <https://doc.crates.io/contrib/apidoc/cargo>. |
| 23 | + [#11019](https://github.com/rust-lang/cargo/pull/11019) |
| 24 | + |
8 | 25 | ### Changed
|
9 | 26 |
|
| 27 | +- Cargo now stops adding its bin path to `PATH` if it's already there. |
| 28 | + [#11023](https://github.com/rust-lang/cargo/pull/11023) |
| 29 | +- Improved the performance of Cargo build scheduling |
| 30 | + by sorting the queue of pending jobs. |
| 31 | + [#11032](https://github.com/rust-lang/cargo/pull/11032) |
| 32 | +- Improved the performance fetching git dependencies from GitHub even |
| 33 | + when using a partial hash in the `rev` field. |
| 34 | + [#10807](https://github.com/rust-lang/cargo/pull/10807) |
| 35 | +- Cargo now uses git2 v0.15 and libgit2-sys v0.14, |
| 36 | + which bring several compatibility fixes with git's new behaviors. |
| 37 | + [#11004](https://github.com/rust-lang/cargo/pull/11004) |
| 38 | +- Registry index files are cached in a more granular way based on content hash. |
| 39 | + [#11044](https://github.com/rust-lang/cargo/pull/11044) |
| 40 | +- Cargo now uses the standard library's `std::thread::scope` instead of the |
| 41 | + `crossbeam` crate for spawning scoped threads. |
| 42 | + [#10977](https://github.com/rust-lang/cargo/pull/10977) |
10 | 43 | - Cargo now uses the standard library's `available_parallelism` instead of the
|
11 | 44 | `num_cpus` crate for determining the default parallelism.
|
12 | 45 | [#10969](https://github.com/rust-lang/cargo/pull/10969)
|
| 46 | +- Cargo now guides you how to solve it when seeing an error message of |
| 47 | + `rust-version` requirement not satisfied. |
| 48 | + [#10891](https://github.com/rust-lang/cargo/pull/10891) |
| 49 | +- Cargo now tells you more about possible causes and how to fix it |
| 50 | + when a subcommand cannot be found. |
| 51 | + [#10924](https://github.com/rust-lang/cargo/pull/10924) |
| 52 | +- Cargo now lists available target names when a given Cargo target cannot be found. |
| 53 | + [#10999](https://github.com/rust-lang/cargo/pull/10999) |
| 54 | +- `cargo update` now warns if `--precise` is given without `--package` flag. |
| 55 | + This will become a hard error after a transition period. |
| 56 | + [#10988](https://github.com/rust-lang/cargo/pull/10988) |
| 57 | + [#11011](https://github.com/rust-lang/cargo/pull/11011) |
| 58 | +- `cargo bench` and `cargo test` now report a more precise test execution error |
| 59 | + right after a test fails. |
| 60 | + [#11028](https://github.com/rust-lang/cargo/pull/11028) |
| 61 | +- `cargo add` now tells you for which version the features are added. |
| 62 | + [#11075](https://github.com/rust-lang/cargo/pull/11075) |
| 63 | +- Call out that non-ASCII crate names are not supported by Rust anymore. |
| 64 | + [#11017](https://github.com/rust-lang/cargo/pull/11017) |
| 65 | +- Enhanced the error message when in the manifest a field is expected to be |
| 66 | + an array but a string is used. |
| 67 | + [#10944](https://github.com/rust-lang/cargo/pull/10944) |
13 | 68 |
|
14 | 69 | ### Fixed
|
15 | 70 |
|
16 |
| -### Nightly only |
| 71 | +- Removed the restriction on file locking supports on platforms other than Linux. |
| 72 | + [#10975](https://github.com/rust-lang/cargo/pull/10975) |
| 73 | +- Fixed incorrect OS detection by bumping os_info to 3.5.0. |
| 74 | + [#10943](https://github.com/rust-lang/cargo/pull/10943) |
| 75 | +- Scanning the package directory now ignores errors from broken |
| 76 | + but excluded symlink files. |
| 77 | + [#11008](https://github.com/rust-lang/cargo/pull/11008) |
| 78 | + |
| 79 | +### Nightly |
17 | 80 |
|
| 81 | +- Progress indicator for sparse registries becomes more straightfoward. |
| 82 | + [#11068](https://github.com/rust-lang/cargo/pull/11068) |
18 | 83 |
|
19 | 84 | ## Cargo 1.64 (2022-09-22)
|
20 | 85 | [a5e08c47...rust-1.64.0](https://github.com/rust-lang/cargo/compare/a5e08c47...rust-1.64.0)
|
|
0 commit comments