|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## Cargo 1.39 (2019-11-07) |
| 4 | +[e853aa97...HEAD](https://github.com/rust-lang/cargo/compare/e853aa97...HEAD) |
| 5 | + |
| 6 | +### Added |
| 7 | + |
| 8 | +### Changed |
| 9 | +- Display more information if parsing the output from `rustc` fails. |
| 10 | + [#7236](https://github.com/rust-lang/cargo/pull/7236) |
| 11 | +- TOML errors now show the column number. |
| 12 | + [#7248](https://github.com/rust-lang/cargo/pull/7248) |
| 13 | +- `cargo vendor` no longer deletes files in the `vendor` directory that starts |
| 14 | + with a `.`. |
| 15 | + [#7242](https://github.com/rust-lang/cargo/pull/7242) |
| 16 | +- `cargo fetch` will now show manifest warnings. |
| 17 | + [#7243](https://github.com/rust-lang/cargo/pull/7243) |
| 18 | +- `cargo publish` will now check git submodules if they contain any |
| 19 | + uncommitted changes. |
| 20 | + [#7245](https://github.com/rust-lang/cargo/pull/7245) |
| 21 | +- In a build script, `cargo:rustc-flags` now allows `-l` and `-L` flags |
| 22 | + without spaces. |
| 23 | + [#7257](https://github.com/rust-lang/cargo/pull/7257) |
| 24 | +- When `cargo install` replaces an older version of a package it will now |
| 25 | + delete any installed binaries that are no longer present in the newly |
| 26 | + installed version. |
| 27 | + [#7246](https://github.com/rust-lang/cargo/pull/7246) |
| 28 | +- A git dependency may now also specify a `version` key when published. The |
| 29 | + `git` value will be stripped from the uploaded crate, matching the behavior |
| 30 | + of `path` dependencies. |
| 31 | + [#7237](https://github.com/rust-lang/cargo/pull/7237) |
| 32 | + |
| 33 | +### Fixed |
| 34 | +- Git dependencies with submodules with shorthand SSH URLs (like |
| 35 | + `git@github.com/user/repo.git`) should now work. |
| 36 | + [#7238](https://github.com/rust-lang/cargo/pull/7238) |
| 37 | + |
3 | 38 | ## Cargo 1.38 (2019-09-26)
|
4 |
| -[4c1fa54d...HEAD](https://github.com/rust-lang/cargo/compare/4c1fa54d...HEAD) |
| 39 | +[4c1fa54d...e853aa97](https://github.com/rust-lang/cargo/compare/4c1fa54d...e853aa97) |
5 | 40 |
|
6 | 41 | ### Added
|
7 | 42 |
|
8 |
| -- Cargo build pipelining has been enabled by default to leverage more idle CPU |
| 43 | +- 🔥 Cargo build pipelining has been enabled by default to leverage more idle CPU |
9 | 44 | parallelism during builds.
|
10 | 45 | [#7143](https://github.com/rust-lang/cargo/pull/7143)
|
11 | 46 | - The `--message-format` option to Cargo can now be specified multiple times and
|
|
14 | 49 | `json-diagnostic-rendered-ansi` which configures the output coming from rustc
|
15 | 50 | in `json` message mode.
|
16 | 51 | [#7214](https://github.com/rust-lang/cargo/pull/7214)
|
| 52 | +- Cirrus CI badges are now supported on crates.io. |
| 53 | + [#7119](https://github.com/rust-lang/cargo/pull/7119) |
| 54 | +- (Nightly only): Added `cargo fix --clippy` which will apply |
| 55 | + machine-applicable fixes from Clippy. |
| 56 | + [#7069](https://github.com/rust-lang/cargo/pull/7069) |
| 57 | +- A new format for `Cargo.lock` has been introduced. This new format is |
| 58 | + intended to avoid source-control merge conflicts more often, and to |
| 59 | + generally make it safer to merge changes. This new format is *not* enabled |
| 60 | + at this time, though Cargo will use it if it sees it. At some point in the |
| 61 | + future, it is intended that this will become the default. |
| 62 | + [#7070](https://github.com/rust-lang/cargo/pull/7070) |
| 63 | +- Progress bar support added for FreeBSD. |
| 64 | + [#7222](https://github.com/rust-lang/cargo/pull/7222) |
| 65 | +- (Nightly only): Added `-Z binary-dep-depinfo` flag to add change tracking |
| 66 | + for binary dependencies like the standard library. |
| 67 | + [#7137](https://github.com/rust-lang/cargo/pull/7137) |
| 68 | + [#7219](https://github.com/rust-lang/cargo/pull/7219) |
17 | 69 |
|
18 | 70 | ### Changed
|
| 71 | +- The `-q` flag will no longer suppress the root error message for an error |
| 72 | + from Cargo itself. |
| 73 | + [#7116](https://github.com/rust-lang/cargo/pull/7116) |
| 74 | +- The Cargo Book is now published with mdbook 0.3 providing a number of |
| 75 | + formatting fixes and improvements. |
| 76 | + [#7140](https://github.com/rust-lang/cargo/pull/7140) |
| 77 | +- The `--features` command-line flag can now be specified multiple times. |
| 78 | + The list of features from all the flags are joined together. |
| 79 | + [#7084](https://github.com/rust-lang/cargo/pull/7084) |
| 80 | +- (Nightly only): `cargo clippy-preview` will always run, even if no changes |
| 81 | + have been made. |
| 82 | + [#7157](https://github.com/rust-lang/cargo/pull/7157) |
| 83 | +- Package include/exclude glob-vs-gitignore warnings have been removed. |
| 84 | + Packages may now use gitignore-style matching without producing any |
| 85 | + warnings. |
| 86 | + [#7170](https://github.com/rust-lang/cargo/pull/7170) |
| 87 | +- Cargo now shows the command and output when parsing `rustc` output fails |
| 88 | + when querying `rustc` for information like `cfg` values. |
| 89 | + [#7185](https://github.com/rust-lang/cargo/pull/7185) |
| 90 | +- `cargo package`/`cargo publish` now allows a symbolic link to a git |
| 91 | + submodule to include that submodule. |
| 92 | + [#6817](https://github.com/rust-lang/cargo/pull/6817) |
| 93 | +- Improved the error message when a version requirement does not |
| 94 | + match any versions, but there are pre-release versions available. |
| 95 | + [#7191](https://github.com/rust-lang/cargo/pull/7191) |
19 | 96 |
|
20 | 97 | ### Fixed
|
21 | 98 | - (Nightly only): Fixed exponential blowup when using `CARGO_BUILD_PIPELINING`.
|
|
24 | 101 | the `git-fetch-with-cli` config option, and the `GIT_DIR` environment
|
25 | 102 | variable is set. This may happen when running cargo from git callbacks.
|
26 | 103 | [#7082](https://github.com/rust-lang/cargo/pull/7082)
|
| 104 | +- Fixed dep-info files being overwritten for targets that have separate debug |
| 105 | + outputs. For example, binaries on `-apple-` targets with `.dSYM` directories |
| 106 | + would overwrite the `.d` file. |
| 107 | + [#7057](https://github.com/rust-lang/cargo/pull/7057) |
| 108 | +- Fix `[patch]` table not preserving "one major version per source" rule. |
| 109 | + [#7118](https://github.com/rust-lang/cargo/pull/7118) |
| 110 | +- Ignore `--remap-path-prefix` flags for the metadata hash in the `cargo |
| 111 | + rustc` command. This was causing the remap settings to inadvertently affect |
| 112 | + symbol names. |
| 113 | + [#7134](https://github.com/rust-lang/cargo/pull/7134) |
| 114 | +- Fixed cycle detection in `[patch]` dependencies. |
| 115 | + [#7174](https://github.com/rust-lang/cargo/pull/7174) |
| 116 | +- Fixed `cargo new` leaving behind a symlink on Windows when `core.symlinks` |
| 117 | + git config is true. Also adds a number of fixes and updates from upstream |
| 118 | + libgit2. |
| 119 | + [#7176](https://github.com/rust-lang/cargo/pull/7176) |
| 120 | +- macOS: Fixed setting the flag to mark the `target` directory to be excluded |
| 121 | + from backups. |
| 122 | + [#7192](https://github.com/rust-lang/cargo/pull/7192) |
| 123 | +- Fixed `cargo fix` panicking under some situations involving multi-byte |
| 124 | + characters. |
| 125 | + [#7221](https://github.com/rust-lang/cargo/pull/7221) |
| 126 | +- (Nightly only): Fixed passing args to clippy in `cargo clippy-preview`. |
| 127 | + [#7162](https://github.com/rust-lang/cargo/pull/7162) |
27 | 128 |
|
28 | 129 | ## Cargo 1.37 (2019-08-15)
|
29 | 130 | [c4fcfb72...4c1fa54d](https://github.com/rust-lang/cargo/compare/c4fcfb72...4c1fa54d)
|
|
98 | 199 | - Fixed `cargo doc` with an example configured with `doc = true` to document
|
99 | 200 | correctly.
|
100 | 201 | [#7023](https://github.com/rust-lang/cargo/pull/7023)
|
| 202 | +- Don't fail if a read-only lock cannot be acquired in CARGO_HOME. This helps |
| 203 | + when CARGO_HOME doesn't exist, but `--locked` is used which means CARGO_HOME |
| 204 | + is not needed. |
| 205 | + [#7149](https://github.com/rust-lang/cargo/pull/7149) |
| 206 | +- Reverted a change in 1.35 which released jobserver tokens when Cargo blocked |
| 207 | + on a lock file. It caused a deadlock in some situations. |
| 208 | + [#7204](https://github.com/rust-lang/cargo/pull/7204) |
101 | 209 |
|
102 | 210 | ## Cargo 1.36 (2019-07-04)
|
103 | 211 | [6f3e9c36...c4fcfb72](https://github.com/rust-lang/cargo/compare/6f3e9c36...c4fcfb72)
|
|
0 commit comments