|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## Cargo 1.58 (2022-01-13) |
| 4 | +[b2e52d7c...HEAD](https://github.com/rust-lang/cargo/compare/b2e52d7c...HEAD) |
| 5 | + |
| 6 | +### Added |
| 7 | + |
| 8 | +- Added `rust_version` field to package data in `cargo metadata`. |
| 9 | + [#9967](https://github.com/rust-lang/cargo/pull/9967) |
| 10 | + |
| 11 | +### Changed |
| 12 | + |
| 13 | +### Fixed |
| 14 | + |
| 15 | +- Doctests now include rustc-link-args from build scripts. |
| 16 | + [#9916](https://github.com/rust-lang/cargo/pull/9916) |
| 17 | + |
| 18 | +### Nightly only |
| 19 | + |
| 20 | +- Make future-incompat-report output more user-friendly. |
| 21 | + [#9953](https://github.com/rust-lang/cargo/pull/9953) |
| 22 | + |
3 | 23 | ## Cargo 1.57 (2021-12-02)
|
4 |
| -[18751dd3...HEAD](https://github.com/rust-lang/cargo/compare/18751dd3...HEAD) |
| 24 | +[18751dd3...rust-1.57.0](https://github.com/rust-lang/cargo/compare/18751dd3...rust-1.57.0) |
5 | 25 |
|
6 | 26 | ### Added
|
7 | 27 |
|
| 28 | +- 🎉 Added custom named profiles. This also changes the `test` and `bench` |
| 29 | + profiles to inherit their settings from `dev` and `release`, and Cargo will |
| 30 | + now only use a single profile during a given command instead of using |
| 31 | + different profiles for dependencies and cargo-targets. |
| 32 | + [docs](https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#custom-profiles) |
| 33 | + [#9943](https://github.com/rust-lang/cargo/pull/9943) |
8 | 34 | - The `rev` option for a git dependency now supports git references that start
|
9 | 35 | with `refs/`. An example where this can be used is to depend on a pull
|
10 | 36 | request from a service like GitHub before it is merged.
|
11 | 37 | [#9859](https://github.com/rust-lang/cargo/pull/9859)
|
| 38 | +- Added `path_in_vcs` field to the `.cargo_vcs_info.json` file. |
| 39 | + [docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-package.html#cargo_vcs_infojson-format) |
| 40 | + [#9866](https://github.com/rust-lang/cargo/pull/9866) |
12 | 41 |
|
13 | 42 | ### Changed
|
14 | 43 |
|
| 44 | +- The `cargo version` command now includes some extra information. |
| 45 | + [#9968](https://github.com/rust-lang/cargo/pull/9968) |
| 46 | +- Updated libgit2 to 1.3 which brings in a number of fixes and changes to git |
| 47 | + handling. |
| 48 | + [#9963](https://github.com/rust-lang/cargo/pull/9963) |
| 49 | + [#9988](https://github.com/rust-lang/cargo/pull/9988) |
| 50 | +- Shell completions now include shorthand b/r/c/d subcommands. |
| 51 | + [#9951](https://github.com/rust-lang/cargo/pull/9951) |
| 52 | +- `cargo update --precise` now allows specifying a version without semver |
| 53 | + metadata (stuff after `+` in the version number). |
| 54 | + [#9945](https://github.com/rust-lang/cargo/pull/9945) |
| 55 | +- zsh completions now complete `--example` names. |
| 56 | + [#9939](https://github.com/rust-lang/cargo/pull/9939) |
| 57 | +- The progress bar now differentiates when building unittests. |
| 58 | + [#9934](https://github.com/rust-lang/cargo/pull/9934) |
| 59 | +- Some backwards-compatibility support for invalid TOML syntax has been removed. |
| 60 | + [#9932](https://github.com/rust-lang/cargo/pull/9932) |
| 61 | +- Reverted the change from 1.55 that triggered an error for dependency |
| 62 | + specifications that did not include any fields. |
| 63 | + [#9911](https://github.com/rust-lang/cargo/pull/9911) |
| 64 | + |
15 | 65 | ### Fixed
|
16 | 66 |
|
17 | 67 | - Removed a log message (from `CARGO_LOG`) that may leak tokens.
|
18 | 68 | [#9873](https://github.com/rust-lang/cargo/pull/9873)
|
| 69 | +- `cargo fix` will now avoid writing fixes to the global registry cache. |
| 70 | + [#9938](https://github.com/rust-lang/cargo/pull/9938) |
| 71 | +- Fixed `-Z help` CLI option when used with a shorthand alias (b/c/r/d). |
| 72 | + [#9933](https://github.com/rust-lang/cargo/pull/9933) |
| 73 | + |
19 | 74 |
|
20 | 75 | ### Nightly only
|
21 | 76 |
|
|
105 | 160 | [#9818](https://github.com/rust-lang/cargo/pull/9818)
|
106 | 161 | - Return an error instead of a stack overflow for command alias loops.
|
107 | 162 | [#9791](https://github.com/rust-lang/cargo/pull/9791)
|
| 163 | +- Updated to curl 7.79.1, which will hopefully fix intermittent http2 errors. |
| 164 | + [#9937](https://github.com/rust-lang/cargo/pull/9937) |
108 | 165 |
|
109 | 166 | ### Nightly only
|
110 | 167 |
|
|
0 commit comments