Skip to content

Commit 7b0d4ba

Browse files
committed
Auto merge of #7997 - ehuss:version-bump, r=alexcrichton
Bump to 0.45.0, update changelog
2 parents 24bc925 + ac79b53 commit 7b0d4ba

File tree

3 files changed

+103
-10
lines changed

3 files changed

+103
-10
lines changed

CHANGELOG.md

Lines changed: 101 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,125 @@
11
# Changelog
22

3+
## Cargo 1.44 (2020-06-04)
4+
[bda50510...HEAD](https://github.com/rust-lang/cargo/compare/bda50510...HEAD)
5+
6+
### Added
7+
- Added warnings if a package has Windows-restricted filenames (like `nul`,
8+
`con`, `aux`, `prn`, etc.).
9+
[#7959](https://github.com/rust-lang/cargo/pull/7959)
10+
11+
### Changed
12+
- Valid package names are now restricted to Unicode XID identifiers. This is
13+
mostly the same as before, except package names cannot start with a number
14+
or `-`.
15+
[#7959](https://github.com/rust-lang/cargo/pull/7959)
16+
- `cargo new` and `init` will warn or reject additional package names
17+
(reserved Windows names, reserved Cargo directories, non-ASCII names,
18+
conflicting std names like `core`, etc.).
19+
[#7959](https://github.com/rust-lang/cargo/pull/7959)
20+
- Tests are no longer hard-linked into the output directory (`target/debug/`).
21+
This ensures tools will have access to debug symbols and execute tests in
22+
the same was as Cargo. Tools should use JSON messages to discover the path
23+
to the executable.
24+
[#7965](https://github.com/rust-lang/cargo/pull/7965)
25+
- Updating git submodules now displays an "Updating" message for each
26+
submodule.
27+
[#7989](https://github.com/rust-lang/cargo/pull/7989)
28+
29+
### Fixed
30+
- Cargo no longer buffers excessive amounts of compiler output in memory.
31+
[#7838](https://github.com/rust-lang/cargo/pull/7838)
32+
- Symbolic links in git repositories now work on Windows.
33+
[#7996](https://github.com/rust-lang/cargo/pull/7996)
34+
35+
### Nightly only
36+
- Fixed panic with new feature resolver and required-features.
37+
[#7962](https://github.com/rust-lang/cargo/pull/7962)
38+
339
## Cargo 1.43 (2020-04-23)
4-
[9d32b7b0...HEAD](https://github.com/rust-lang/cargo/compare/9d32b7b0...HEAD)
40+
[9d32b7b0...rust-1.43.0](https://github.com/rust-lang/cargo/compare/9d32b7b0...rust-1.43.0)
541

642
### Added
743
- 🔥 Profiles may now be specified in config files (and environment variables).
44+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/config.html#profile)
845
[#7823](https://github.com/rust-lang/cargo/pull/7823)
46+
- ❗ Added `CARGO_BIN_EXE_<name>` environment variable when building
47+
integration tests. This variable contains the path to any `[[bin]]` targets
48+
in the package. Integration tests should use the `env!` macro to determine
49+
the path to a binary to execute.
50+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-crates)
51+
[#7697](https://github.com/rust-lang/cargo/pull/7697)
952

1053
### Changed
1154
- `cargo install --git` now honors workspaces in a git repository. This allows
1255
workspace settings, like `[patch]`, `[replace]`, or `[profile]` to be used.
1356
[#7768](https://github.com/rust-lang/cargo/pull/7768)
57+
- `cargo new` will now run `rustfmt` on the new files to pick up rustfmt
58+
settings like `tab_spaces` so that the new file matches the user's preferred
59+
indentation settings.
60+
[#7827](https://github.com/rust-lang/cargo/pull/7827)
61+
- Environment variables printed with "very verbose" output (`-vv`) are now
62+
consistently sorted.
63+
[#7877](https://github.com/rust-lang/cargo/pull/7877)
64+
- Debug logging for fingerprint rebuild-detection now includes more information.
65+
[#7888](https://github.com/rust-lang/cargo/pull/7888)
66+
[#7890](https://github.com/rust-lang/cargo/pull/7890)
67+
[#7952](https://github.com/rust-lang/cargo/pull/7952)
68+
- Added warning during publish if the license-file doesn't exist.
69+
[#7905](https://github.com/rust-lang/cargo/pull/7905)
70+
- The `license-file` file is automatically included during publish, even if it
71+
is not explicitly listed in the `include` list or is in a location outside
72+
of the root of the package.
73+
[#7905](https://github.com/rust-lang/cargo/pull/7905)
74+
- `CARGO_CFG_DEBUG_ASSERTIONS` and `CARGO_CFG_PROC_MACRO` are no longer set
75+
when running a build script. These were inadvertently set in the past, but
76+
had no meaning as they were always true. Additionally, `cfg(proc-macro)`
77+
is no longer supported in a `target` expression.
78+
[#7943](https://github.com/rust-lang/cargo/pull/7943)
79+
[#7970](https://github.com/rust-lang/cargo/pull/7970)
1480

1581
### Fixed
82+
- Global command-line flags now work with aliases (like `cargo -v b`).
83+
[#7837](https://github.com/rust-lang/cargo/pull/7837)
84+
- Required-features using dependency syntax (like `renamed_dep/feat_name`) now
85+
handle renamed dependencies correctly.
86+
[#7855](https://github.com/rust-lang/cargo/pull/7855)
87+
- Fixed a rare situation where if a build script is run multiple times during
88+
the same build, Cargo will now keep the results separate instead of losing
89+
the output of the first execution.
90+
[#7857](https://github.com/rust-lang/cargo/pull/7857)
91+
- Fixed incorrect interpretation of environment variable
92+
`CARGO_TARGET_*_RUNNER=true` as a boolean. Also improved related env var
93+
error messages.
94+
[#7891](https://github.com/rust-lang/cargo/pull/7891)
95+
- Updated internal libgit2 library, bringing various fixes to git support.
96+
[#7939](https://github.com/rust-lang/cargo/pull/7939)
97+
- `cargo package` / `cargo publish` should no longer buffer the entire
98+
contents of each file in memory.
99+
[#7946](https://github.com/rust-lang/cargo/pull/7946)
100+
- Ignore more invalid `Cargo.toml` files in a git dependency. Cargo currently
101+
walks the entire repo to find the requested package. Certain invalid
102+
manifests were already skipped, and now it should skip all of them.
103+
[#7947](https://github.com/rust-lang/cargo/pull/7947)
16104

17105
### Nightly only
18106
- Added `build.out-dir` config variable to set the output directory.
19107
[#7810](https://github.com/rust-lang/cargo/pull/7810)
20108
- Added `-Zjobserver-per-rustc` feature to support improved performance for
21109
parallel rustc.
22110
[#7731](https://github.com/rust-lang/cargo/pull/7731)
23-
24-
111+
- Fixed filename collision with `build-std` and crates like `cc`.
112+
[#7860](https://github.com/rust-lang/cargo/pull/7860)
113+
- `-Ztimings` will now save its report even if there is an error.
114+
[#7872](https://github.com/rust-lang/cargo/pull/7872)
115+
- Updated `--config` command-line flag to support taking a path to a config
116+
file to load.
117+
[#7901](https://github.com/rust-lang/cargo/pull/7901)
118+
- Added new feature resolver.
119+
[#7820](https://github.com/rust-lang/cargo/pull/7820)
120+
- Rustdoc docs now automatically include the version of the package in the
121+
side bar.
122+
[#7903](https://github.com/rust-lang/cargo/pull/7903)
25123

26124
## Cargo 1.42 (2020-03-12)
27125
[0bf7aafe...rust-1.42.0](https://github.com/rust-lang/cargo/compare/0bf7aafe...rust-1.42.0)

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo"
3-
version = "0.44.0"
3+
version = "0.45.0"
44
edition = "2018"
55
authors = ["Yehuda Katz <[email protected]>",
66
"Carl Lerche <[email protected]>",

tests/testsuite/check.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::fmt::{self, Write};
55
use cargo_test_support::install::exe;
66
use cargo_test_support::paths::CargoPathExt;
77
use cargo_test_support::registry::Package;
8-
use cargo_test_support::{basic_manifest, is_nightly, project};
8+
use cargo_test_support::{basic_manifest, project};
99

1010
#[cargo_test]
1111
fn check_success() {
@@ -683,11 +683,6 @@ fn check_artifacts() {
683683

684684
#[cargo_test]
685685
fn short_message_format() {
686-
if !is_nightly() {
687-
// This relies on a bug fix https://github.com/rust-lang/rust/pull/64753.
688-
// This check may be removed once 1.40 is stable.
689-
return;
690-
}
691686
let foo = project()
692687
.file("src/lib.rs", "fn foo() { let _x: bool = 'a'; }")
693688
.build();

0 commit comments

Comments
 (0)