Skip to content

Commit 1bea5f6

Browse files
committed
Update changelog for 1.44.
1 parent 0efc187 commit 1bea5f6

File tree

1 file changed

+107
-2
lines changed

1 file changed

+107
-2
lines changed

CHANGELOG.md

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

3+
## Cargo 1.45 (2020-07-16)
4+
[ebda5065e...HEAD](https://github.com/rust-lang/cargo/compare/ebda5065e...HEAD)
5+
6+
### Added
7+
8+
### Changed
9+
- Changed official documentation to recommend `.cargo/config.toml` filenames
10+
(with the `.toml` extension). `.toml` extension support was added in 1.39.
11+
[#8121](https://github.com/rust-lang/cargo/pull/8121)
12+
- The `registry.index` config value is no longer allowed (it has been
13+
deprecated for 4 years).
14+
[#7973](https://github.com/rust-lang/cargo/pull/7973)
15+
- An error is generated if both `--index` and `--registry` are passed
16+
(previously `--index` was silently ignored).
17+
[#7973](https://github.com/rust-lang/cargo/pull/7973)
18+
- The `registry.token` config value is no longer used with the `--index` flag.
19+
This is intended to avoid potentially leaking the crates.io token to another
20+
registry.
21+
[#7973](https://github.com/rust-lang/cargo/pull/7973)
22+
- Added a warning if `registry.token` is used with source replacement. It is
23+
intended this will be an error in future versions.
24+
[#7973](https://github.com/rust-lang/cargo/pull/7973)
25+
- Windows GNU targets now copy `.dll.a` import library files for DLL crate
26+
types to the output directory.
27+
[#8141](https://github.com/rust-lang/cargo/pull/8141)
28+
29+
### Fixed
30+
- Fixed copying Windows `.pdb` files to the output directory when the filename
31+
contained dashes.
32+
[#8123](https://github.com/rust-lang/cargo/pull/8123)
33+
34+
### Nightly only
35+
- Fixed passing the full path for `--target` to `rustdoc` when using JSON spec
36+
targets.
37+
[#8094](https://github.com/rust-lang/cargo/pull/8094)
38+
- `-Cembed-bitcode=no` renamed to `-Cbitcode-in-rlib=no`
39+
[#8134](https://github.com/rust-lang/cargo/pull/8134)
40+
- Added new `resolver` field to `Cargo.toml` to opt-in to the new feature
41+
resolver.
42+
[#8129](https://github.com/rust-lang/cargo/pull/8129)
43+
344
## Cargo 1.44 (2020-06-04)
4-
[bda50510...HEAD](https://github.com/rust-lang/cargo/compare/bda50510...HEAD)
45+
[bda50510...ebda5065e](https://github.com/rust-lang/cargo/compare/bda50510...ebda5065e)
546

647
### Added
48+
- 🔥 Added the `cargo tree` command.
49+
[docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-tree.html)
50+
[#8062](https://github.com/rust-lang/cargo/pull/8062)
751
- Added warnings if a package has Windows-restricted filenames (like `nul`,
852
`con`, `aux`, `prn`, etc.).
953
[#7959](https://github.com/rust-lang/cargo/pull/7959)
54+
- Added a `"build-finished"` JSON message when compilation is complete so that
55+
tools can detect when they can stop listening for JSON messages with
56+
commands like `cargo run` or `cargo test`.
57+
[#8069](https://github.com/rust-lang/cargo/pull/8069)
1058

1159
### Changed
1260
- Valid package names are now restricted to Unicode XID identifiers. This is
@@ -19,22 +67,79 @@
1967
[#7959](https://github.com/rust-lang/cargo/pull/7959)
2068
- Tests are no longer hard-linked into the output directory (`target/debug/`).
2169
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
70+
the same way as Cargo. Tools should use JSON messages to discover the path
2371
to the executable.
2472
[#7965](https://github.com/rust-lang/cargo/pull/7965)
2573
- Updating git submodules now displays an "Updating" message for each
2674
submodule.
2775
[#7989](https://github.com/rust-lang/cargo/pull/7989)
76+
- File modification times are now preserved when extracting a `.crate` file.
77+
This reverses the change made in 1.40 where the mtime was not preserved.
78+
[#7935](https://github.com/rust-lang/cargo/pull/7935)
79+
- Build script warnings are now displayed separately when the build script
80+
fails.
81+
[#8017](https://github.com/rust-lang/cargo/pull/8017)
82+
- Removed the `git-checkout` subcommand.
83+
[#8040](https://github.com/rust-lang/cargo/pull/8040)
84+
- The progress bar is now enabled for all unix platforms. Previously it was
85+
only Linux, macOS, and FreeBSD.
86+
[#8054](https://github.com/rust-lang/cargo/pull/8054)
87+
- Artifacts generated by pre-release versions of `rustc` now share the same
88+
filenames. This means that changing nightly versions will not leave stale
89+
files in the build directory.
90+
[#8073](https://github.com/rust-lang/cargo/pull/8073)
91+
- Invalid package names are rejected when using renamed dependencies.
92+
[#8090](https://github.com/rust-lang/cargo/pull/8090)
93+
- Added a certain class of HTTP2 errors as "spurious" that will get retried.
94+
[#8102](https://github.com/rust-lang/cargo/pull/8102)
2895

2996
### Fixed
3097
- Cargo no longer buffers excessive amounts of compiler output in memory.
3198
[#7838](https://github.com/rust-lang/cargo/pull/7838)
3299
- Symbolic links in git repositories now work on Windows.
33100
[#7996](https://github.com/rust-lang/cargo/pull/7996)
101+
- Fixed an issue where `profile.dev` was not loaded from a config file with
102+
`cargo test` when the `dev` profile was not defined in `Cargo.toml`.
103+
[#8012](https://github.com/rust-lang/cargo/pull/8012)
104+
- When a binary is built as an implicit dependency of an integration test,
105+
it now checks `dep_name/feature_name` syntax in `required-features` correctly.
106+
[#8020](https://github.com/rust-lang/cargo/pull/8020)
107+
- Fixed an issue where Cargo would not detect that an executable (such as an
108+
integration test) needs to be rebuilt when the previous build was
109+
interrupted with Ctrl-C.
110+
[#8087](https://github.com/rust-lang/cargo/pull/8087)
111+
- Protect against some (unknown) situations where Cargo could panic when the
112+
system monotonic clock doesn't appear to be monotonic.
113+
[#8114](https://github.com/rust-lang/cargo/pull/8114)
34114

35115
### Nightly only
36116
- Fixed panic with new feature resolver and required-features.
37117
[#7962](https://github.com/rust-lang/cargo/pull/7962)
118+
- Added `RUSTC_WORKSPACE_WRAPPER` environment variable, which provides a way
119+
to wrap `rustc` for workspace members only, and affects the filename hash so
120+
that artifacts produced by the wrapper are cached separately. This usage can
121+
be seen on nightly clippy with `cargo clippy -Zunstable-options`.
122+
[#7533](https://github.com/rust-lang/cargo/pull/7533)
123+
- Added `--unit-graph` CLI option to display Cargo's internal dependency graph
124+
as JSON.
125+
[#7977](https://github.com/rust-lang/cargo/pull/7977)
126+
- Changed `-Zbuild_dep` to `-Zhost_dep`, and added proc-macros to the feature
127+
decoupling logic.
128+
[#8003](https://github.com/rust-lang/cargo/pull/8003)
129+
[#8028](https://github.com/rust-lang/cargo/pull/8028)
130+
- Fixed so that `--crate-version` is not automatically passed when the flag
131+
is found in `RUSTDOCFLAGS`.
132+
[#8014](https://github.com/rust-lang/cargo/pull/8014)
133+
- Fixed panic with `-Zfeatures=dev_dep` and `check --profile=test`.
134+
[#8027](https://github.com/rust-lang/cargo/pull/8027)
135+
- Fixed panic with `-Zfeatures=itarget` with certain host dependencies.
136+
[#8048](https://github.com/rust-lang/cargo/pull/8048)
137+
- Added support for `-Cembed-bitcode=no`, which provides a performance boost
138+
and disk-space usage reduction for non-LTO builds.
139+
[#8066](https://github.com/rust-lang/cargo/pull/8066)
140+
- `-Zpackage-features` has been extended with several changes intended to make
141+
it easier to select features on the command-line in a workspace.
142+
[#8074](https://github.com/rust-lang/cargo/pull/8074)
38143

39144
## Cargo 1.43 (2020-04-23)
40145
[9d32b7b0...rust-1.43.0](https://github.com/rust-lang/cargo/compare/9d32b7b0...rust-1.43.0)

0 commit comments

Comments
 (0)