|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## Cargo 1.37 (2019-08-15) |
| 4 | +[c4fcfb72...HEAD](https://github.com/rust-lang/cargo/compare/c4fcfb72...HEAD) |
| 5 | + |
| 6 | +### Added |
| 7 | +- Added `doctest` field to `cargo metadata` to determine if a target's documentation is tested. |
| 8 | + [#6953](https://github.com/rust-lang/cargo/pull/6953) |
| 9 | + [#6965](https://github.com/rust-lang/cargo/pull/6965) |
| 10 | +- (Nightly only): Added [compiler message |
| 11 | + caching](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#cache-messages). |
| 12 | + The `-Z cache-messages` flag makes cargo cache the compiler output so that |
| 13 | + future runs can redisplay previous warnings. |
| 14 | + [#6933](https://github.com/rust-lang/cargo/pull/6933) |
| 15 | + |
| 16 | +### Changed |
| 17 | +- `cargo package` now verifies that build scripts do not create empty |
| 18 | + directories. |
| 19 | + [#6973](https://github.com/rust-lang/cargo/pull/6973) |
| 20 | + |
| 21 | +### Fixed |
| 22 | +- Fixed how zsh completions fetch the list of commands. |
| 23 | + [#6956](https://github.com/rust-lang/cargo/pull/6956) |
| 24 | +- "+ debuginfo" is no longer printed in the build summary when `debug` is set |
| 25 | + to 0. |
| 26 | + [#6971](https://github.com/rust-lang/cargo/pull/6971) |
| 27 | + |
3 | 28 | ## Cargo 1.36 (2019-07-04)
|
4 |
| -[6f3e9c36...HEAD](https://github.com/rust-lang/cargo/compare/6f3e9c36...HEAD) |
| 29 | +[6f3e9c36...c4fcfb72](https://github.com/rust-lang/cargo/compare/6f3e9c36...c4fcfb72) |
5 | 30 |
|
6 | 31 | ### Added
|
7 | 32 | - (Nightly only): Added [`-Z install-upgrade`
|
8 |
| - feature](https://github.com/rust-lang/cargo/blob/7b13469ee90a24fa5aa06166d447dac3370846ef/src/doc/src/reference/unstable.md#install-upgrade) |
9 |
| - to track details about installed crates and to automatically update them if |
10 |
| - they are out-of-date. [#6798](https://github.com/rust-lang/cargo/pull/6798) |
| 33 | + feature](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#install-upgrade) |
| 34 | + to track details about installed crates and to update them if they are |
| 35 | + out-of-date. [#6798](https://github.com/rust-lang/cargo/pull/6798) |
11 | 36 | - (Nightly only): Added the [`public-dependency`
|
12 |
| - feature](https://github.com/rust-lang/cargo/blob/7b13469ee90a24fa5aa06166d447dac3370846ef/src/doc/src/reference/unstable.md#public-dependency) |
| 37 | + feature](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#public-dependency) |
13 | 38 | which allows tracking public versus private dependencies.
|
14 | 39 | [#6772](https://github.com/rust-lang/cargo/pull/6772)
|
| 40 | +- Added more detailed documentation on target auto-discovery. |
| 41 | + [#6898](https://github.com/rust-lang/cargo/pull/6898) |
| 42 | +- (Nightly only): Added build pipelining via the `build.pipelining` config |
| 43 | + option (`CARGO_BUILD_PIPELINING` env var). |
| 44 | + [#6883](https://github.com/rust-lang/cargo/pull/6883) |
| 45 | +- 🔥 Stabilize the `--offline` flag which allows using cargo without a network |
| 46 | + connection. |
| 47 | + [#6934](https://github.com/rust-lang/cargo/pull/6934) |
| 48 | + [#6871](https://github.com/rust-lang/cargo/pull/6871) |
15 | 49 |
|
16 | 50 | ### Changed
|
17 | 51 | - `publish = ["crates-io"]` may be added to the manifest to restrict
|
|
34 | 68 | - Setting a feature on a dependency where that feature points to a *required*
|
35 | 69 | dependency is now an error. Previously it was a warning.
|
36 | 70 | [#6860](https://github.com/rust-lang/cargo/pull/6860)
|
| 71 | +- The `registry.index` config value now supports relative `file:` URLs. |
| 72 | + [#6873](https://github.com/rust-lang/cargo/pull/6873) |
| 73 | +- macOS: The `.dSYM` directory is now symbolically linked next to example |
| 74 | + binaries without the metadata hash so that debuggers can find it. |
| 75 | + [#6891](https://github.com/rust-lang/cargo/pull/6891) |
| 76 | +- The default `Cargo.toml` template for now projects now includes a comment |
| 77 | + providing a link to the documentation. |
| 78 | + [#6881](https://github.com/rust-lang/cargo/pull/6881) |
| 79 | +- Some improvements to the wording of the crate download summary. |
| 80 | + [#6916](https://github.com/rust-lang/cargo/pull/6916) |
| 81 | + [#6920](https://github.com/rust-lang/cargo/pull/6920) |
| 82 | +- ✨ Changed `RUST_LOG` environment variable to `CARGO_LOG` so that user code |
| 83 | + that uses the `log` crate will not display cargo's debug output. |
| 84 | + [#6918](https://github.com/rust-lang/cargo/pull/6918) |
| 85 | +- `Cargo.toml` is now always included when packaging, even if it is not listed |
| 86 | + in `package.include`. |
| 87 | + [#6925](https://github.com/rust-lang/cargo/pull/6925) |
| 88 | +- Package include/exclude values now use gitignore patterns instead of glob |
| 89 | + patterns. [#6924](https://github.com/rust-lang/cargo/pull/6924) |
| 90 | +- Provide a better error message when crates.io times out. Also improve error |
| 91 | + messages with other HTTP response codes. |
| 92 | + [#6936](https://github.com/rust-lang/cargo/pull/6936) |
| 93 | + |
| 94 | +### Performance |
37 | 95 | - Resolver performance improvements for some cases.
|
38 | 96 | [#6853](https://github.com/rust-lang/cargo/pull/6853)
|
| 97 | +- Optimized how cargo reads the index JSON files by caching the results. |
| 98 | + [#6880](https://github.com/rust-lang/cargo/pull/6880) |
| 99 | + [#6912](https://github.com/rust-lang/cargo/pull/6912) |
| 100 | + [#6940](https://github.com/rust-lang/cargo/pull/6940) |
| 101 | +- Various performance improvements. |
| 102 | + [#6867](https://github.com/rust-lang/cargo/pull/6867) |
39 | 103 |
|
40 | 104 | ### Fixed
|
41 | 105 | - More carefully track the on-disk fingerprint information for dependencies.
|
42 | 106 | This can help in some rare cases where the build is interrupted and
|
43 | 107 | restarted. [#6832](https://github.com/rust-lang/cargo/pull/6832)
|
44 | 108 | - `cargo run` now correctly passes non-UTF8 arguments to the child process.
|
45 | 109 | [#6849](https://github.com/rust-lang/cargo/pull/6849)
|
| 110 | +- Fixed bash completion to run on bash 3.2, the stock version in macOS. |
| 111 | + [#6905](https://github.com/rust-lang/cargo/pull/6905) |
| 112 | +- Various fixes and improvements to zsh completion. |
| 113 | + [#6926](https://github.com/rust-lang/cargo/pull/6926) |
| 114 | + [#6929](https://github.com/rust-lang/cargo/pull/6929) |
| 115 | +- Fix `cargo update` ignoring `-p` arguments if the `Cargo.lock` file was |
| 116 | + missing. |
| 117 | + [#6904](https://github.com/rust-lang/cargo/pull/6904) |
46 | 118 |
|
47 | 119 | ## Cargo 1.35 (2019-05-23)
|
48 | 120 | [6789d8a0...6f3e9c36](https://github.com/rust-lang/cargo/compare/6789d8a0...6f3e9c36)
|
|
0 commit comments