Skip to content

Commit 6efd25c

Browse files
committed
Update changelog for 1.42.
1 parent f8fafbc commit 6efd25c

File tree

1 file changed

+84
-3
lines changed

1 file changed

+84
-3
lines changed

CHANGELOG.md

+84-3
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,106 @@
11
# Changelog
22

3+
## Cargo 1.43 (2020-04-23)
4+
[9d32b7b0...HEAD](https://github.com/rust-lang/cargo/compare/9d32b7b0...HEAD)
5+
6+
### Added
7+
- 🔥 Profiles may now be specified in config files (and environment variables).
8+
[#7823](https://github.com/rust-lang/cargo/pull/7823)
9+
10+
### Changed
11+
- `cargo install --git` now honors workspaces in a git repository. This allows
12+
workspace settings, like `[patch]`, `[replace]`, or `[profile]` to be used.
13+
[#7768](https://github.com/rust-lang/cargo/pull/7768)
14+
15+
### Fixed
16+
17+
### Nightly only
18+
- Added `build.out-dir` config variable to set the output directory.
19+
[#7810](https://github.com/rust-lang/cargo/pull/7810)
20+
- Added `-Zjobserver-per-rustc` feature to support improved performance for
21+
parallel rustc.
22+
[#7731](https://github.com/rust-lang/cargo/pull/7731)
23+
24+
25+
326
## Cargo 1.42 (2020-03-12)
4-
[0bf7aafe...HEAD](https://github.com/rust-lang/cargo/compare/0bf7aafe...HEAD)
27+
[0bf7aafe...rust-1.42.0](https://github.com/rust-lang/cargo/compare/0bf7aafe...rust-1.42.0)
528

629
### Added
730
- Added documentation on git authentication.
831
[#7658](https://github.com/rust-lang/cargo/pull/7658)
932
- Bitbucket Pipeline badges are now supported on crates.io.
1033
[#7663](https://github.com/rust-lang/cargo/pull/7663)
34+
- `cargo vendor` now accepts the `--versioned-dirs` option to force it to
35+
always include the version number in each package's directory name.
36+
[#7631](https://github.com/rust-lang/cargo/pull/7631)
37+
- The `proc_macro` crate is now automatically added to the extern prelude for
38+
proc-macro packages. This means that `extern crate proc_macro;` is no longer
39+
necessary for proc-macros.
40+
[#7700](https://github.com/rust-lang/cargo/pull/7700)
1141

1242
### Changed
1343
- Emit a warning if `debug_assertions`, `test`, `proc_macro`, or `feature=` is
1444
used in a `cfg()` expression.
1545
[#7660](https://github.com/rust-lang/cargo/pull/7660)
46+
- Large update to the Cargo documentation, adding new chapters on Cargo
47+
targets, workspaces, and features.
48+
[#7733](https://github.com/rust-lang/cargo/pull/7733)
49+
- Windows: `.lib` DLL import libraries are now copied next to the dll for all
50+
Windows MSVC targets. Previously it was only supported for
51+
`pc-windows-msvc`. This adds DLL support for `uwp-windows-msvc` targets.
52+
[#7758](https://github.com/rust-lang/cargo/pull/7758)
53+
- The `ar` field in the `[target]` configuration is no longer read. It has
54+
been ignored for over 4 years.
55+
[#7763](https://github.com/rust-lang/cargo/pull/7763)
56+
- Bash completion file simplified and updated for latest changes.
57+
[#7789](https://github.com/rust-lang/cargo/pull/7789)
58+
- Credentials are only loaded when needed, instead of every Cargo command.
59+
[#7774](https://github.com/rust-lang/cargo/pull/7774)
1660

1761
### Fixed
18-
- Removed `--offline` empty index check, which was a false positive in some cases.
62+
- Removed `--offline` empty index check, which was a false positive in some
63+
cases.
1964
[#7655](https://github.com/rust-lang/cargo/pull/7655)
65+
- Files and directories starting with a `.` can now be included in a package
66+
by adding it to the `include` list.
67+
[#7680](https://github.com/rust-lang/cargo/pull/7680)
68+
- Fixed `cargo login` removing alternative registry tokens when previous
69+
entries existed in the credentials file.
70+
[#7708](https://github.com/rust-lang/cargo/pull/7708)
71+
- Fixed `cargo vendor` from panicking when used with alternative registries.
72+
[#7718](https://github.com/rust-lang/cargo/pull/7718)
73+
- Fixed incorrect explanation in the fingerprint debug log message.
74+
[#7749](https://github.com/rust-lang/cargo/pull/7749)
75+
- A `[source]` that is defined multiple times will now result in an error.
76+
Previously it was randomly picking a source, which could cause
77+
non-deterministic behavior.
78+
[#7751](https://github.com/rust-lang/cargo/pull/7751)
79+
- `dep_kinds` in `cargo metadata` are now de-duplicated.
80+
[#7756](https://github.com/rust-lang/cargo/pull/7756)
81+
- Fixed packaging where `Cargo.lock` was listed in `.gitignore` in a
82+
subdirectory inside a git repository. Previously it was assuming
83+
`Cargo.lock` was at the root of the repo.
84+
[#7779](https://github.com/rust-lang/cargo/pull/7779)
85+
- Partial file transfer errors will now cause an automatic retry.
86+
[#7788](https://github.com/rust-lang/cargo/pull/7788)
87+
- Linux: Fixed panic if CPU iowait stat decreases.
88+
[#7803](https://github.com/rust-lang/cargo/pull/7803)
89+
- Fixed using the wrong sysroot for detecting host compiler settings when
90+
`--sysroot` is passed in via `RUSTFLAGS`.
91+
[#7798](https://github.com/rust-lang/cargo/pull/7798)
2092

2193
### Nightly only
22-
94+
- `build-std` now uses `--extern` instead of `--sysroot` to find sysroot
95+
pacakges.
96+
[#7699](https://github.com/rust-lang/cargo/pull/7699)
97+
- Added `--config` command-line option to set config settings.
98+
[#7649](https://github.com/rust-lang/cargo/pull/7649)
99+
- Added `include` config setting which allows including another config file.
100+
[#7649](https://github.com/rust-lang/cargo/pull/7649)
101+
- Profiles in config files now support any named profile. Previously it was
102+
limited to dev/release.
103+
[#7750](https://github.com/rust-lang/cargo/pull/7750)
23104

24105
## Cargo 1.41 (2020-01-30)
25106
[5da4b4d4...rust-1.41.0](https://github.com/rust-lang/cargo/compare/5da4b4d4...rust-1.41.0)

0 commit comments

Comments
 (0)