Skip to content

Commit a3eee9f

Browse files
committed
Auto merge of #7102 - ehuss:update-changelog, r=Eh2406
Update changelog.
2 parents a3b46ff + 9e9c586 commit a3eee9f

File tree

1 file changed

+66
-2
lines changed

1 file changed

+66
-2
lines changed

CHANGELOG.md

Lines changed: 66 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,93 @@
11
# Changelog
22

3+
## Cargo 1.38 (2019-11-26)
4+
[4c1fa54d...HEAD](https://github.com/rust-lang/cargo/compare/4c1fa54d...HEAD)
5+
6+
### Added
7+
8+
### Changed
9+
10+
### Fixed
11+
- (Nightly only): Fixed exponential blowup when using CARGO_BUILD_PIPELINING.
12+
[#7062](https://github.com/rust-lang/cargo/pull/7062)
13+
- Fixed using the wrong directory when updating git repositories when using
14+
the `git-fetch-with-cli` config option, and the `GIT_DIR` environment
15+
variable is set. This may happen when running cargo from git callbacks.
16+
[#7082](https://github.com/rust-lang/cargo/pull/7082)
17+
318
## Cargo 1.37 (2019-08-15)
4-
[c4fcfb72...HEAD](https://github.com/rust-lang/cargo/compare/c4fcfb72...HEAD)
19+
[c4fcfb72...4c1fa54d](https://github.com/rust-lang/cargo/compare/c4fcfb72...4c1fa54d)
520

621
### Added
7-
- Added `doctest` field to `cargo metadata` to determine if a target's documentation is tested.
22+
- Added `doctest` field to `cargo metadata` to determine if a target's
23+
documentation is tested.
824
[#6953](https://github.com/rust-lang/cargo/pull/6953)
925
[#6965](https://github.com/rust-lang/cargo/pull/6965)
1026
- (Nightly only): Added [compiler message
1127
caching](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#cache-messages).
1228
The `-Z cache-messages` flag makes cargo cache the compiler output so that
1329
future runs can redisplay previous warnings.
1430
[#6933](https://github.com/rust-lang/cargo/pull/6933)
31+
- 🔥 The [`cargo
32+
vendor`](https://doc.rust-lang.org/nightly/cargo/commands/cargo-vendor.html)
33+
command is now built-in to Cargo. This command may be used to create a local
34+
copy of the sources of all dependencies.
35+
[#6869](https://github.com/rust-lang/cargo/pull/6869)
36+
- 🔥 The "publish lockfile" feature is now stable. This feature will
37+
automatically include the `Cargo.lock` file when a package is published if
38+
it contains a binary executable target. By default, Cargo will ignore
39+
`Cargo.lock` when installing a package. To force Cargo to use the
40+
`Cargo.lock` file included in the published package, use `cargo install
41+
--locked`. This may be useful to ensure that `cargo install` consistently
42+
reproduces the same result. It may also be useful when a semver-incompatible
43+
change is accidentally published to a dependency, providing a way to fall
44+
back to a version that is known to work.
45+
[#7026](https://github.com/rust-lang/cargo/pull/7026)
46+
- 🔥 The `default-run` feature has been stabilized. This feature allows you to
47+
specify which binary executable to run by default with `cargo run` when a
48+
package includes multiple binaries. Set the `default-run` key in the
49+
`[package]` table in `Cargo.toml` to the name of the binary to use by
50+
default.
51+
[#7056](https://github.com/rust-lang/cargo/pull/7056)
1552

1653
### Changed
1754
- `cargo package` now verifies that build scripts do not create empty
1855
directories.
1956
[#6973](https://github.com/rust-lang/cargo/pull/6973)
57+
- A warning is now issued if `cargo doc` generates duplicate outputs, which
58+
causes files to be randomly stomped on. This may happen for a variety of
59+
reasons (renamed dependencies, multiple versions of the same package,
60+
packages with renamed libraries, etc.). This is a known bug, which needs
61+
more work to handle correctly.
62+
[#6998](https://github.com/rust-lang/cargo/pull/6998)
63+
- Enabling a dependency's feature with `--features foo/bar` will no longer
64+
compile the current crate with the `foo` feature if `foo` is not an optional
65+
dependency.
66+
[#7010](https://github.com/rust-lang/cargo/pull/7010)
67+
- If `--remap-path-prefix` is passed via RUSTFLAGS, it will no longer affect
68+
the filename metadata hash.
69+
[#6966](https://github.com/rust-lang/cargo/pull/6966)
70+
- libgit2 has been updated to 0.28.2, which Cargo uses to access git
71+
repositories. This brings in hundreds of changes and fixes since it was last
72+
updated in November.
73+
[#7018](https://github.com/rust-lang/cargo/pull/7018)
74+
- Cargo now supports absolute paths in the dep-info files generated by rustc.
75+
This is laying the groundwork for [tracking
76+
binaries](https://github.com/rust-lang/rust/pull/61727), such as libstd, for
77+
rebuild detection. (Note: this contains a known bug.)
78+
[#7030](https://github.com/rust-lang/cargo/pull/7030)
79+
- (Nightly only): `-Z mtime-on-use` no longer touches intermediate artifacts.
80+
[#7050](https://github.com/rust-lang/cargo/pull/7050)
2081

2182
### Fixed
2283
- Fixed how zsh completions fetch the list of commands.
2384
[#6956](https://github.com/rust-lang/cargo/pull/6956)
2485
- "+ debuginfo" is no longer printed in the build summary when `debug` is set
2586
to 0.
2687
[#6971](https://github.com/rust-lang/cargo/pull/6971)
88+
- Fixed `cargo doc` with an example configured with `doc = true` to document
89+
correctly.
90+
[#7023](https://github.com/rust-lang/cargo/pull/7023)
2791

2892
## Cargo 1.36 (2019-07-04)
2993
[6f3e9c36...c4fcfb72](https://github.com/rust-lang/cargo/compare/6f3e9c36...c4fcfb72)

0 commit comments

Comments
 (0)