|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## Cargo 1.41 (2019-01-30) |
| 4 | +[5da4b4d4...HEAD](https://github.com/rust-lang/cargo/compare/5da4b4d4...HEAD) |
| 5 | + |
| 6 | +### Added |
| 7 | +### Changed |
| 8 | +### Fixed |
| 9 | + |
3 | 10 | ## Cargo 1.40 (2019-12-19)
|
4 |
| -[4b105b6a...HEAD](https://github.com/rust-lang/cargo/compare/4b105b6a...HEAD) |
| 11 | +[1c6ec66d...rust-1.40.0](https://github.com/rust-lang/cargo/compare/1c6ec66d...rust-1.40.0) |
5 | 12 |
|
6 | 13 | ### Added
|
7 | 14 | - (Nightly only): The `mtime-on-use` feature may now be enabled via the
|
8 | 15 | `unstable.mtime_on_use` config option.
|
9 | 16 | [#7411](https://github.com/rust-lang/cargo/pull/7411)
|
| 17 | +- Added `http.ssl-version` config option to control the version of TLS, |
| 18 | + along with min/max versions. |
| 19 | + [#7308](https://github.com/rust-lang/cargo/pull/7308) |
| 20 | +- (Nightly only): Added support for named profiles. |
| 21 | + [#6989](https://github.com/rust-lang/cargo/pull/6989) |
| 22 | +- 🔥 Compiler warnings are now cached on disk. If a build generates warnings, |
| 23 | + re-running the build will now re-display the warnings. |
| 24 | + [#7450](https://github.com/rust-lang/cargo/pull/7450) |
| 25 | +- (Nightly only): Added `-Zpanic-abort-tests` to allow building and running |
| 26 | + tests with the "abort" panic strategy. |
| 27 | + [#7460](https://github.com/rust-lang/cargo/pull/7460) |
| 28 | +- Added `--filter-platform` option to `cargo metadata` to narrow the nodes |
| 29 | + shown in the resolver graph to only packages included for the given target |
| 30 | + triple. |
| 31 | + [#7376](https://github.com/rust-lang/cargo/pull/7376) |
10 | 32 |
|
11 | 33 | ### Changed
|
12 | 34 | - Cargo's "platform" `cfg` parsing has been extracted into a separate crate
|
13 | 35 | named `cargo-platform`.
|
14 | 36 | [#7375](https://github.com/rust-lang/cargo/pull/7375)
|
| 37 | +- (Nightly only): Changed `build-std` to use `--sysroot`. |
| 38 | + [#7421](https://github.com/rust-lang/cargo/pull/7421) |
| 39 | +- (Nightly only): Various fixes and enhancements to `-Ztimings`. |
| 40 | + [#7395](https://github.com/rust-lang/cargo/pull/7395) |
| 41 | + [#7398](https://github.com/rust-lang/cargo/pull/7398) |
| 42 | + [#7397](https://github.com/rust-lang/cargo/pull/7397) |
| 43 | + [#7403](https://github.com/rust-lang/cargo/pull/7403) |
| 44 | + [#7428](https://github.com/rust-lang/cargo/pull/7428) |
| 45 | + [#7429](https://github.com/rust-lang/cargo/pull/7429) |
| 46 | +- Dependencies extracted into Cargo's cache no longer preserve mtimes to |
| 47 | + reduce syscall overhead. |
| 48 | + [#7465](https://github.com/rust-lang/cargo/pull/7465) |
| 49 | +- Windows: EXE files no longer include a metadata hash in the filename. |
| 50 | + This helps with debuggers correlating the filename with the PDB file. |
| 51 | + [#7400](https://github.com/rust-lang/cargo/pull/7400) |
| 52 | +- Wasm32: `.wasm` files are no longer treated as an "executable", allowing |
| 53 | + `cargo test` and `cargo run` to work properly with the generated `.js` file. |
| 54 | + [#7476](https://github.com/rust-lang/cargo/pull/7476) |
| 55 | +- crates.io now supports SPDX 3.6 licenses. |
| 56 | + [#7481](https://github.com/rust-lang/cargo/pull/7481) |
| 57 | +- Improved cyclic dependency error message. |
| 58 | + [#7470](https://github.com/rust-lang/cargo/pull/7470) |
| 59 | +- Bare `cargo clean` no longer locks the package cache. |
| 60 | + [#7502](https://github.com/rust-lang/cargo/pull/7502) |
| 61 | +- `cargo publish` now allows dev-dependencies without a version key to be |
| 62 | + published. A git or path-only dev-dependency will be removed from the |
| 63 | + package manifest before uploading. |
| 64 | + [#7333](https://github.com/rust-lang/cargo/pull/7333) |
| 65 | +- (Nightly only): Profile overrides have renamed the syntax to be |
| 66 | + `[profile.dev.package.NAME]`. |
| 67 | + [#7504](https://github.com/rust-lang/cargo/pull/7504) |
| 68 | +- `--features` and `--no-default-features` in the root of a virtual workspace |
| 69 | + will now generate an error instead of being ignored. |
| 70 | + [#7507](https://github.com/rust-lang/cargo/pull/7507) |
| 71 | +- Generated files (like `Cargo.toml` and `Cargo.lock`) in a package archive |
| 72 | + now have their timestamp set to the current time instead of the epoch. |
| 73 | + [#7523](https://github.com/rust-lang/cargo/pull/7523) |
| 74 | +- The `-Z` flag parser is now more strict, rejecting more invalid syntax. |
| 75 | + [#7531](https://github.com/rust-lang/cargo/pull/7531) |
15 | 76 |
|
16 | 77 | ### Fixed
|
17 | 78 | - Fixed an issue where if a package had an `include` field, and `Cargo.lock`
|
|
21 | 82 | [#7448](https://github.com/rust-lang/cargo/pull/7448)
|
22 | 83 | - Fixed a panic in a particular combination of `[patch]` entries.
|
23 | 84 | [#7452](https://github.com/rust-lang/cargo/pull/7452)
|
| 85 | +- Windows: Better error message when `cargo test` or `rustc` crashes in an |
| 86 | + abnormal way, such as a signal or seg fault. |
| 87 | + [#7535](https://github.com/rust-lang/cargo/pull/7535) |
| 88 | +- (Nightly only): Fixed warnings for unused profile overrides in a workspace. |
| 89 | + [#7536](https://github.com/rust-lang/cargo/pull/7536) |
24 | 90 |
|
25 | 91 | ## Cargo 1.39 (2019-11-07)
|
26 |
| -[e853aa97...4b105b6a](https://github.com/rust-lang/cargo/compare/e853aa97...4b105b6a) |
| 92 | +[e853aa97...1c6ec66d](https://github.com/rust-lang/cargo/compare/e853aa97...1c6ec66d) |
27 | 93 |
|
28 | 94 | ### Added
|
29 | 95 | - Config files may now use the `.toml` filename extension.
|
|
90 | 156 | changed. It now chooses the crate with the greatest number of transitive
|
91 | 157 | crates waiting on it. Previously it used a maximum topological depth.
|
92 | 158 | [#7390](https://github.com/rust-lang/cargo/pull/7390)
|
| 159 | +- RUSTFLAGS are no longer incorporated in the metadata and filename hash, |
| 160 | + reversing the change from 1.33 that added it. This means that any change to |
| 161 | + RUSTFLAGS will cause a recompile, and will not affect symbol munging. |
| 162 | + [#7459](https://github.com/rust-lang/cargo/pull/7459) |
93 | 163 |
|
94 | 164 | ### Fixed
|
95 | 165 | - Git dependencies with submodules with shorthand SSH URLs (like
|
|
0 commit comments