|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -## Cargo 1.53 (2021-06-17) |
4 |
| -[90691f2b...HEAD](https://github.com/rust-lang/cargo/compare/90691f2b...HEAD) |
| 3 | +## Cargo 1.54 (2021-07-29) |
| 4 | +[4369396c...HEAD](https://github.com/rust-lang/cargo/compare/4369396c...HEAD) |
5 | 5 |
|
6 | 6 | ### Added
|
7 | 7 |
|
| 8 | +- Fetching from a git repository (such as the crates.io index) now displays |
| 9 | + the network transfer rate. |
| 10 | + [#9395](https://github.com/rust-lang/cargo/pull/9395) |
| 11 | + |
8 | 12 | ### Changed
|
9 | 13 |
|
| 14 | +### Fixed |
| 15 | + |
| 16 | +- Fixed `package.exclude` in `Cargo.toml` using inverted exclusions |
| 17 | + (`!somefile`) when not in a git repository or when vendoring a dependency. |
| 18 | + [#9186](https://github.com/rust-lang/cargo/pull/9186) |
| 19 | +- Dep-info files now adjust build script `rerun-if-changed` paths to be |
| 20 | + absolute paths. |
| 21 | + [#9421](https://github.com/rust-lang/cargo/pull/9421) |
| 22 | + |
| 23 | +### Nightly only |
| 24 | + |
| 25 | +- Added `report` subcommand, and changed `cargo |
| 26 | + describe-future-incompatibilitie` to `cargo report |
| 27 | + future-incompatibilities`. |
| 28 | + [#9438](https://github.com/rust-lang/cargo/pull/9438) |
| 29 | + |
| 30 | + |
| 31 | +## Cargo 1.53 (2021-06-17) |
| 32 | +[90691f2b...rust-1.53.0](https://github.com/rust-lang/cargo/compare/90691f2b...rust-1.53.0) |
| 33 | + |
| 34 | +### Added |
| 35 | + |
| 36 | +### Changed |
10 | 37 | - 🔥 Cargo now supports git repositories where the default `HEAD` branch is not
|
11 | 38 | "master". This also includes a switch to the version 3 `Cargo.lock` format
|
12 | 39 | which can handle default branches correctly.
|
13 | 40 | [#9133](https://github.com/rust-lang/cargo/pull/9133)
|
14 |
| -- 🔥 macOS targets now default to `unpacked` debuginfo. |
| 41 | + [#9397](https://github.com/rust-lang/cargo/pull/9397) |
| 42 | + [#9384](https://github.com/rust-lang/cargo/pull/9384) |
| 43 | + [#9392](https://github.com/rust-lang/cargo/pull/9392) |
| 44 | +- 🔥 macOS targets now default to `unpacked` split-debuginfo. |
15 | 45 | [#9298](https://github.com/rust-lang/cargo/pull/9298)
|
16 | 46 | - ❗ The `authors` field is no longer included in `Cargo.toml` for new
|
17 | 47 | projects.
|
|
22 | 52 | different toolchain versions. There are shared, unversioned files (such as
|
23 | 53 | the search index) that can become broken when using different versions.
|
24 | 54 | [#8640](https://github.com/rust-lang/cargo/pull/8640)
|
| 55 | + [#9404](https://github.com/rust-lang/cargo/pull/9404) |
| 56 | +- Improved error messages when path dependency/workspace member is missing. |
| 57 | + [#9368](https://github.com/rust-lang/cargo/pull/9368) |
25 | 58 |
|
26 | 59 | ### Fixed
|
| 60 | +- Fixed `cargo doc` detecting if the documentation needs to be rebuilt when |
| 61 | + changing some settings such as features. |
| 62 | + [#9419](https://github.com/rust-lang/cargo/pull/9419) |
| 63 | +- `cargo doc` now deletes the output directory for the package before running |
| 64 | + rustdoc to clear out any stale files. |
| 65 | + [#9419](https://github.com/rust-lang/cargo/pull/9419) |
| 66 | +- Fixed the `-C metadata` value to always include all information for all |
| 67 | + builds. Previously, in some situations, the hash only included the package |
| 68 | + name and version. This fixes some issues, such as incremental builds with |
| 69 | + split-debuginfo on macOS corrupting the incremental cache in some cases. |
| 70 | + [#9418](https://github.com/rust-lang/cargo/pull/9418) |
| 71 | +- Fixed man pages not working on Windows if `man` is in `PATH`. |
| 72 | + [#9378](https://github.com/rust-lang/cargo/pull/9378) |
| 73 | +- The `rustc` cache is now aware of `RUSTC_WRAPPER` and `RUSTC_WORKSPACE_WRAPPER`. |
| 74 | + [#9348](https://github.com/rust-lang/cargo/pull/9348) |
| 75 | +- Track the `CARGO` environment variable in the rebuild fingerprint if the |
| 76 | + code uses `env!("CARGO")`. |
| 77 | + [#9363](https://github.com/rust-lang/cargo/pull/9363) |
27 | 78 |
|
28 | 79 | ### Nightly only
|
29 | 80 | - Fixed config includes not working.
|
30 | 81 | [#9299](https://github.com/rust-lang/cargo/pull/9299)
|
31 | 82 | - Emit note when `--future-incompat-report` had nothing to report.
|
32 | 83 | [#9263](https://github.com/rust-lang/cargo/pull/9263)
|
33 | 84 | - Error messages for nightly features flags (like `-Z` and `cargo-features`)
|
34 |
| - should now provide more information. |
| 85 | + now provides more information. |
35 | 86 | [#9290](https://github.com/rust-lang/cargo/pull/9290)
|
| 87 | +- Added the ability to set the target for an individual package in `Cargo.toml`. |
| 88 | + [docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#per-package-target) |
| 89 | + [#9030](https://github.com/rust-lang/cargo/pull/9030) |
| 90 | +- Fixed build-std updating the index on every build. |
| 91 | + [#9393](https://github.com/rust-lang/cargo/pull/9393) |
| 92 | +- `-Z help` now displays all the `-Z` options. |
| 93 | + [#9369](https://github.com/rust-lang/cargo/pull/9369) |
| 94 | +- Added `-Zallow-features` to specify which nightly features are allowed to be used. |
| 95 | + [#9283](https://github.com/rust-lang/cargo/pull/9283) |
| 96 | +- Added `cargo config` subcommand. |
| 97 | + [#9302](https://github.com/rust-lang/cargo/pull/9302) |
36 | 98 |
|
37 | 99 | ## Cargo 1.52 (2021-05-06)
|
38 | 100 | [34170fcd...rust-1.52.0](https://github.com/rust-lang/cargo/compare/34170fcd...rust-1.52.0)
|
|
0 commit comments