Skip to content

Commit 3cd05e2

Browse files
committed
Auto merge of #7454 - ehuss:version-bump, r=alexcrichton
Bump to 0.41.0, Update changelog
2 parents fdcc73f + 8ad031b commit 3cd05e2

File tree

3 files changed

+95
-6
lines changed

3 files changed

+95
-6
lines changed

CHANGELOG.md

Lines changed: 92 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,50 @@
11
# Changelog
22

3+
## Cargo 1.40 (2019-12-19)
4+
[4b105b6a...HEAD](https://github.com/rust-lang/cargo/compare/4b105b6a...HEAD)
5+
6+
### Added
7+
- (Nightly only): The `mtime-on-use` feature may now be enabled via the
8+
`unstable.mtime_on_use` config option.
9+
[#7411](https://github.com/rust-lang/cargo/pull/7411)
10+
11+
### Changed
12+
- Cargo's "platform" `cfg` parsing has been extracted into a separate crate
13+
named `cargo-platform`.
14+
[#7375](https://github.com/rust-lang/cargo/pull/7375)
15+
16+
### Fixed
17+
- Fixed an issue where if a package had an `include` field, and `Cargo.lock`
18+
in `.gitignore`, and a binary or example target, and the `Cargo.lock` exists
19+
in the current project, it would fail to publish complaining the
20+
`Cargo.lock` was dirty.
21+
[#7448](https://github.com/rust-lang/cargo/pull/7448)
22+
- Fixed a panic in a particular combination of `[patch]` entries.
23+
[#7452](https://github.com/rust-lang/cargo/pull/7452)
24+
325
## Cargo 1.39 (2019-11-07)
4-
[e853aa97...HEAD](https://github.com/rust-lang/cargo/compare/e853aa97...HEAD)
26+
[e853aa97...4b105b6a](https://github.com/rust-lang/cargo/compare/e853aa97...4b105b6a)
527

628
### Added
29+
- Config files may now use the `.toml` filename extension.
30+
[#7295](https://github.com/rust-lang/cargo/pull/7295)
31+
- (Nightly only): Basic support for building the standard library directly
32+
from Cargo has been added.
33+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#build-std))
34+
[#7216](https://github.com/rust-lang/cargo/pull/7216)
35+
- The `--workspace` flag has been added as an alias for `--all` to help avoid
36+
confusion about the meaning of "all".
37+
[#7241](https://github.com/rust-lang/cargo/pull/7241)
38+
- The `publish` field has been added to `cargo metadata`.
39+
[#7354](https://github.com/rust-lang/cargo/pull/7354)
40+
- (Nightly only): Added `-Ztimings` feature to generate an HTML report
41+
on the time spent on individual compilation steps. This also may output
42+
completion steps on the console and JSON data.
43+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#timings))
44+
[#7311](https://github.com/rust-lang/cargo/pull/7311)
45+
- (Nightly only): Added ability to cross-compile doctests.
46+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#doctest-xcompile))
47+
[#6892](https://github.com/rust-lang/cargo/pull/6892)
748

849
### Changed
950
- Display more information if parsing the output from `rustc` fails.
@@ -29,14 +70,62 @@
2970
`git` value will be stripped from the uploaded crate, matching the behavior
3071
of `path` dependencies.
3172
[#7237](https://github.com/rust-lang/cargo/pull/7237)
73+
- The behavior of workspace default-members has changed. The default-members
74+
now only applies when running Cargo in the root of the workspace. Previously
75+
it would always apply regardless of which directory Cargo is running in.
76+
[#7270](https://github.com/rust-lang/cargo/pull/7270)
77+
- libgit2 updated pulling in all upstream changes.
78+
[#7275](https://github.com/rust-lang/cargo/pull/7275)
79+
- Bump `home` dependency for locating home directories.
80+
[#7277](https://github.com/rust-lang/cargo/pull/7277)
81+
- zsh completions have been updated.
82+
[#7296](https://github.com/rust-lang/cargo/pull/7296)
83+
- SSL connect errors are now retried.
84+
[#7318](https://github.com/rust-lang/cargo/pull/7318)
85+
- The jobserver has been changed to acquire N tokens (instead of N-1), and
86+
then immediately acquires the extra token. This was changed to accommodate
87+
the `cc` crate on Windows to allow it to release its implicit token.
88+
[#7344](https://github.com/rust-lang/cargo/pull/7344)
89+
- The scheduling algorithm for choosing which crate to build next has been
90+
changed. It now chooses the crate with the greatest number of transitive
91+
crates waiting on it. Previously it used a maximum topological depth.
92+
[#7390](https://github.com/rust-lang/cargo/pull/7390)
3293

3394
### Fixed
3495
- Git dependencies with submodules with shorthand SSH URLs (like
3596
`git@github.com/user/repo.git`) should now work.
3697
[#7238](https://github.com/rust-lang/cargo/pull/7238)
98+
- Handle broken symlinks when creating `.dSYM` symlinks on macOS.
99+
[#7268](https://github.com/rust-lang/cargo/pull/7268)
100+
- Fixed issues with multiple versions of the same crate in a `[patch]` table.
101+
[#7303](https://github.com/rust-lang/cargo/pull/7303)
102+
- Fixed issue with custom target `.json` files where a substring of the name
103+
matches an unsupported crate type (like "bin").
104+
[#7363](https://github.com/rust-lang/cargo/issues/7363)
105+
- Fixed issues with generating documentation for proc-macro crate types.
106+
[#7159](https://github.com/rust-lang/cargo/pull/7159)
107+
- Fixed hang if Cargo panics within a build thread.
108+
[#7366](https://github.com/rust-lang/cargo/pull/7366)
109+
- Fixed rebuild detection if a `build.rs` script issues different `rerun-if`
110+
directives between builds. Cargo was erroneously causing a rebuild after the
111+
change.
112+
[#7373](https://github.com/rust-lang/cargo/pull/7373)
113+
- Properly handle canonical URLs for `[patch]` table entries, preventing
114+
the patch from working after the first time it is used.
115+
[#7368](https://github.com/rust-lang/cargo/pull/7368)
116+
- Fixed an issue where integration tests were waiting for the package binary
117+
to finish building before starting their own build. They now may build
118+
concurrently.
119+
[#7394](https://github.com/rust-lang/cargo/pull/7394)
120+
- Fixed accidental change in the previous release on how `--features a b` flag
121+
is interpreted, restoring the original behavior where this is interpreted as
122+
`--features a` along with the argument `b` passed to the command. To pass
123+
multiple features, use quotes around the features to pass multiple features
124+
like `--features "a b"`, or use commas, or use multiple `--features` flags.
125+
[#7419](https://github.com/rust-lang/cargo/pull/7419)
37126

38127
## Cargo 1.38 (2019-09-26)
39-
[4c1fa54d...e853aa97](https://github.com/rust-lang/cargo/compare/4c1fa54d...e853aa97)
128+
[4c1fa54d...23ef9a4e](https://github.com/rust-lang/cargo/compare/4c1fa54d...23ef9a4e)
40129

41130
### Added
42131

@@ -127,7 +216,7 @@
127216
[#7162](https://github.com/rust-lang/cargo/pull/7162)
128217

129218
## Cargo 1.37 (2019-08-15)
130-
[c4fcfb72...4c1fa54d](https://github.com/rust-lang/cargo/compare/c4fcfb72...4c1fa54d)
219+
[c4fcfb72...9edd0891](https://github.com/rust-lang/cargo/compare/c4fcfb72...9edd0891)
131220

132221
### Added
133222
- Added `doctest` field to `cargo metadata` to determine if a target's

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.40.0"
3+
version = "0.41.0"
44
edition = "2018"
55
authors = ["Yehuda Katz <wycats@gmail.com>",
66
"Carl Lerche <me@carllerche.com>",
@@ -22,7 +22,7 @@ path = "src/cargo/lib.rs"
2222
atty = "0.2"
2323
bytesize = "1.0"
2424
cargo-platform = { path = "crates/cargo-platform", version = "0.1" }
25-
crates-io = { path = "crates/crates-io", version = "0.28" }
25+
crates-io = { path = "crates/crates-io", version = "0.29" }
2626
crossbeam-utils = "0.6"
2727
crypto-hash = "0.3.1"
2828
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.28.0"
3+
version = "0.29.0"
44
edition = "2018"
55
authors = ["Alex Crichton <alex@alexcrichton.com>"]
66
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)