| 
1 | 1 | # Changelog  | 
2 | 2 | 
 
  | 
 | 3 | +## Cargo 1.49 (2020-12-31)  | 
 | 4 | +[75615f8e...HEAD](https://github.com/rust-lang/cargo/compare/75615f8e...HEAD)  | 
 | 5 | + | 
 | 6 | +### Added  | 
 | 7 | +- Added `homepage` and `documentation` fields to `cargo metadata`.  | 
 | 8 | +  [#8744](https://github.com/rust-lang/cargo/pull/8744)  | 
 | 9 | + | 
 | 10 | +### Changed  | 
 | 11 | +- Computed LTO flags are now included in the filename metadata hash so that  | 
 | 12 | +  changes in LTO settings will independently cache build artifacts instead of  | 
 | 13 | +  overwriting previous ones. This prevents rebuilds in some situations such as  | 
 | 14 | +  switching between `cargo build` and `cargo test` in some circumstances.  | 
 | 15 | +  [#8755](https://github.com/rust-lang/cargo/pull/8755)  | 
 | 16 | + | 
 | 17 | +### Fixed  | 
 | 18 | +- Fixed building a library with both "dylib" and "rlib" crate types with LTO enabled.  | 
 | 19 | +  [#8754](https://github.com/rust-lang/cargo/pull/8754)  | 
 | 20 | + | 
 | 21 | +### Nightly only  | 
 | 22 | + | 
 | 23 | + | 
3 | 24 | ## Cargo 1.48 (2020-11-19)  | 
4 |  | -[51b66125...HEAD](https://github.com/rust-lang/cargo/compare/51b66125...HEAD)  | 
 | 25 | +[51b66125...rust-1.48.0](https://github.com/rust-lang/cargo/compare/51b66125...rust-1.48.0)  | 
5 | 26 | 
 
  | 
6 | 27 | ### Added  | 
 | 28 | +- Added `term.progress` configuration option to control when and how the  | 
 | 29 | +  progress bar is displayed.  | 
 | 30 | +  [docs](https://doc.rust-lang.org/nightly/cargo/reference/config.html#termprogresswhen)  | 
 | 31 | +  [#8165](https://github.com/rust-lang/cargo/pull/8165)  | 
 | 32 | +- Added `--message-format plain` option to `cargo locate-project` to display  | 
 | 33 | +  the project location without JSON to make it easier to use in a script.  | 
 | 34 | +  [#8707](https://github.com/rust-lang/cargo/pull/8707)  | 
 | 35 | +- Added `--workspace` option to `cargo locate-project` to display the path to  | 
 | 36 | +  the workspace manifest.  | 
 | 37 | +  [#8712](https://github.com/rust-lang/cargo/pull/8712)  | 
 | 38 | +- A new contributor guide has been added for contributing to Cargo itself.  | 
 | 39 | +  This is published at <https://rust-lang.github.io/cargo/contrib/>.  | 
 | 40 | +  [#8715](https://github.com/rust-lang/cargo/pull/8715)  | 
 | 41 | +- Zsh `--target` completion will now complete with the built-in rustc targets.  | 
 | 42 | +  [#8740](https://github.com/rust-lang/cargo/pull/8740)  | 
7 | 43 | 
 
  | 
8 | 44 | ### Changed  | 
9 | 45 | 
 
  | 
10 | 46 | ### Fixed  | 
11 |  | -- Fixed LTO with doctests.  | 
12 |  | -  [#8657](https://github.com/rust-lang/cargo/pull/8657)  | 
 | 47 | +- Fixed `cargo new` creating a fossil repository to properly ignore the `target` directory.  | 
 | 48 | +  [#8671](https://github.com/rust-lang/cargo/pull/8671)  | 
 | 49 | +- Don't show warnings about the workspace in the current directory when using `cargo install`  | 
 | 50 | +  of a remote package.  | 
 | 51 | +  [#8681](https://github.com/rust-lang/cargo/pull/8681)  | 
 | 52 | +- Automatically reinitialize the index when an "Object not found" error is  | 
 | 53 | +  encountered in the git repository.  | 
 | 54 | +  [#8735](https://github.com/rust-lang/cargo/pull/8735)  | 
13 | 55 | 
 
  | 
14 | 56 | ### Nightly only  | 
 | 57 | +- Fixed `cargo install` so that it will ignore the `[unstable]` table in local config files.  | 
 | 58 | +  [#8656](https://github.com/rust-lang/cargo/pull/8656)  | 
 | 59 | +- Fixed nondeterministic behavior of the new feature resolver.  | 
 | 60 | +  [#8701](https://github.com/rust-lang/cargo/pull/8701)  | 
 | 61 | +- Fixed running `cargo test` on a proc-macro with the new feature resolver  | 
 | 62 | +  under a specific combination of circumstances.  | 
 | 63 | +  [#8742](https://github.com/rust-lang/cargo/pull/8742)  | 
15 | 64 | 
 
  | 
16 | 65 | ## Cargo 1.47 (2020-10-08)  | 
17 | 66 | [4f74d9b2...rust-1.47.0](https://github.com/rust-lang/cargo/compare/4f74d9b2...rust-1.47.0)  | 
 | 
95 | 144 | - The `CARGO_TARGET_{triplet}_RUNNER` environment variable will now correctly  | 
96 | 145 |   override the config file instead of trying to merge the commands.  | 
97 | 146 |   [#8629](https://github.com/rust-lang/cargo/pull/8629)  | 
 | 147 | +- Fixed LTO with doctests.  | 
 | 148 | +  [#8657](https://github.com/rust-lang/cargo/pull/8657)  | 
 | 149 | +  [#8658](https://github.com/rust-lang/cargo/pull/8658)  | 
98 | 150 | 
 
  | 
99 | 151 | ### Nightly only  | 
100 | 152 | - Added support for `-Z terminal-width` which tells `rustc` the width of the  | 
 | 
0 commit comments