Skip to content

Commit 5c7875d

Browse files
committed
Bump to 0.40.0, Update changelog
1 parent 93660b0 commit 5c7875d

File tree

3 files changed

+113
-5
lines changed

3 files changed

+113
-5
lines changed

CHANGELOG.md

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

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+
338
## 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)
540

641
### Added
742

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
944
parallelism during builds.
1045
[#7143](https://github.com/rust-lang/cargo/pull/7143)
1146
- The `--message-format` option to Cargo can now be specified multiple times and
@@ -14,8 +49,50 @@
1449
`json-diagnostic-rendered-ansi` which configures the output coming from rustc
1550
in `json` message mode.
1651
[#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)
1769

1870
### 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)
1996

2097
### Fixed
2198
- (Nightly only): Fixed exponential blowup when using `CARGO_BUILD_PIPELINING`.
@@ -24,6 +101,30 @@
24101
the `git-fetch-with-cli` config option, and the `GIT_DIR` environment
25102
variable is set. This may happen when running cargo from git callbacks.
26103
[#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)
27128

28129
## Cargo 1.37 (2019-08-15)
29130
[c4fcfb72...4c1fa54d](https://github.com/rust-lang/cargo/compare/c4fcfb72...4c1fa54d)
@@ -98,6 +199,13 @@
98199
- Fixed `cargo doc` with an example configured with `doc = true` to document
99200
correctly.
100201
[#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)
101209

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo"
3-
version = "0.39.0"
3+
version = "0.40.0"
44
edition = "2018"
55
authors = ["Yehuda Katz <wycats@gmail.com>",
66
"Carl Lerche <me@carllerche.com>",
@@ -20,7 +20,7 @@ path = "src/cargo/lib.rs"
2020
[dependencies]
2121
atty = "0.2"
2222
bytesize = "1.0"
23-
crates-io = { path = "crates/crates-io", version = "0.27" }
23+
crates-io = { path = "crates/crates-io", version = "0.28" }
2424
crossbeam-utils = "0.6"
2525
crypto-hash = "0.3.1"
2626
curl = { version = "0.4.21", features = ['http2'] }

crates/crates-io/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "crates-io"
3-
version = "0.27.0"
3+
version = "0.28.0"
44
edition = "2018"
55
authors = ["Alex Crichton <alex@alexcrichton.com>"]
66
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)