Skip to content

Commit df56877

Browse files
committed
Auto merge of #11340 - weihanglo:version-bump, r=ehuss
Bump to 0.68.0, update changelog
2 parents 9286a1b + 1b4c133 commit df56877

File tree

2 files changed

+123
-2
lines changed

2 files changed

+123
-2
lines changed

CHANGELOG.md

Lines changed: 122 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,137 @@
11
# Changelog
22

3+
## Cargo 1.67 (2023-01-26)
4+
[7e484fc1...HEAD](https://github.com/rust-lang/cargo/compare/7e484fc1...HEAD)
5+
6+
### Added
7+
8+
- `cargo remove` now cleans up the root workspace manifest after a
9+
successful removal of an inherited dependency from a workspace member.
10+
[#11242](https://github.com/rust-lang/cargo/pull/11242)
11+
- `cargo package` and `cargo publish` now report total and compressed crate size
12+
after packaging.
13+
[#11270](https://github.com/rust-lang/cargo/pull/11270)
14+
- Suggests `cargo fix` when some compilation warnings/errors can be auto-fixed.
15+
[#10989](https://github.com/rust-lang/cargo/pull/10989)
16+
17+
### Changed
18+
19+
- ❗ Cargo now reuses the value of `$CARGO` if it's already set in the environment,
20+
and forwards the value when executing external subcommands and build scripts.
21+
[#11285](https://github.com/rust-lang/cargo/pull/11285)
22+
- Updated the internal HTTP library libcurl with various fixes and updates.
23+
[#11307](https://github.com/rust-lang/cargo/pull/11307)
24+
[#11326](https://github.com/rust-lang/cargo/pull/11326)
25+
26+
### Fixed
27+
28+
- Fixed `cargo clean` for removing fingerprints and build script
29+
artifacts of only the requested package
30+
[#10621](https://github.com/rust-lang/cargo/pull/10621)
31+
32+
### Nightly only
33+
334
## Cargo 1.66 (2022-12-15)
4-
[08250398...HEAD](https://github.com/rust-lang/cargo/compare/08250398...HEAD)
35+
[08250398...rust-1.66.0](https://github.com/rust-lang/cargo/compare/08250398...rust-1.66.0)
536

637
### Added
738

39+
- 🎉 Added `cargo remove` command for removing dependencies from `Cargo.toml`.
40+
[docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-remove.html)
41+
[#11059](https://github.com/rust-lang/cargo/pull/11059)
42+
[#11099](https://github.com/rust-lang/cargo/pull/11099)
43+
[#11193](https://github.com/rust-lang/cargo/pull/11193)
44+
[#11204](https://github.com/rust-lang/cargo/pull/11204)
45+
[#11227](https://github.com/rust-lang/cargo/pull/11227)
46+
- Added support for git dependencies having git submodules with relative paths.
47+
[#11106](https://github.com/rust-lang/cargo/pull/11106)
48+
- Cargo now sends requests with a `Accept-Encoding` header to registries.
49+
[#11292](https://github.com/rust-lang/cargo/pull/11292)
50+
- Cargo now forwards non-UTF8 arguments to external subcommands.
51+
[#11118](https://github.com/rust-lang/cargo/pull/11118)
52+
853
### Changed
954

55+
- ❗ Disambiguate source replacements from various angles.
56+
[RFC-3289](https://github.com/rust-lang/rfcs/blob/master/text/3289-source_replacement_ambiguity.md)
57+
[#10907](https://github.com/rust-lang/cargo/pull/10907)
58+
- When the crates-io source is replaced, the user is required to specify which registry to use with `--registry <NAME>` when performing an API operation.
59+
- Publishing to source-replaced crates.io is no longer permitted using the crates.io token (`registry.token`).
60+
- In source replacement, the `replace-with` key can reference the name of an alternative registry in the `[registries]` table.
61+
-`cargo publish` now blocks until it sees the published package in the index.
62+
[#11062](https://github.com/rust-lang/cargo/pull/11062)
63+
[#11210](https://github.com/rust-lang/cargo/pull/11210)
64+
[#11216](https://github.com/rust-lang/cargo/pull/11216)
65+
[#11255](https://github.com/rust-lang/cargo/pull/11255)
66+
- Cargo now uses the clap v4 library for command-line argument parsing.
67+
[#11116](https://github.com/rust-lang/cargo/pull/11116)
68+
[#11119](https://github.com/rust-lang/cargo/pull/11119)
69+
[#11159](https://github.com/rust-lang/cargo/pull/11159)
70+
[#11190](https://github.com/rust-lang/cargo/pull/11190)
71+
[#11239](https://github.com/rust-lang/cargo/pull/11239)
72+
[#11280](https://github.com/rust-lang/cargo/pull/11280)
73+
- Cargo now only warns on a user-defined alias shadowing an external command.
74+
[#11170](https://github.com/rust-lang/cargo/pull/11170)
75+
- Several documentation improvements.
76+
[#10770](https://github.com/rust-lang/cargo/pull/10770)
77+
[#10938](https://github.com/rust-lang/cargo/pull/10938)
78+
[#11082](https://github.com/rust-lang/cargo/pull/11082)
79+
[#11093](https://github.com/rust-lang/cargo/pull/11093)
80+
[#11157](https://github.com/rust-lang/cargo/pull/11157)
81+
[#11185](https://github.com/rust-lang/cargo/pull/11185)
82+
[#11207](https://github.com/rust-lang/cargo/pull/11207)
83+
[#11219](https://github.com/rust-lang/cargo/pull/11219)
84+
[#11240](https://github.com/rust-lang/cargo/pull/11240)
85+
[#11241](https://github.com/rust-lang/cargo/pull/11241)
86+
[#11282](https://github.com/rust-lang/cargo/pull/11282)
87+
1088
### Fixed
1189

90+
- ❗ Config file loaded via `cargo --config <file>` now takes priority over
91+
environment variables. This is a documented behaviour but the old
92+
implementation accidentally got it wrong.
93+
[#11077](https://github.com/rust-lang/cargo/pull/11077)
94+
- ❗ Cargo collects rustflags in `target.cfg(…).rustflags` more correctly
95+
and warns if that's not enough for convergence.
96+
[#11114](https://github.com/rust-lang/cargo/pull/11114)
97+
- Final artifacts not removed by linker should be removed before a compilation gets started.
98+
[#11122](https://github.com/rust-lang/cargo/pull/11122)
99+
- `cargo add` now reports unknown features in a more discoverable manner.
100+
[#11098](https://github.com/rust-lang/cargo/pull/11098)
101+
- Cargo now reports command aliasing failure with more error contexts.
102+
[#11087](https://github.com/rust-lang/cargo/pull/11087)
103+
- A better error message when `cargo login` prompt receives empty input.
104+
[#11145](https://github.com/rust-lang/cargo/pull/11145)
105+
- A better error message for fields with wrong types
106+
where workspace inheritance is supported.
107+
[#11113](https://github.com/rust-lang/cargo/pull/11113)
108+
- A better error message when mixing feature syntax `dep:` with `/`.
109+
[#11172](https://github.com/rust-lang/cargo/pull/11172)
110+
- A better error message when publishing but `package.publish` is `false`
111+
in the manifest.
112+
[#11280](https://github.com/rust-lang/cargo/pull/11280)
113+
12114
### Nightly only
13115

116+
- Added new config option `publish.timeout` behind `-Zpublish-timeout`.
117+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#publish-timeout)
118+
[#11230](https://github.com/rust-lang/cargo/pull/11230)
119+
- Added retry support to sparse registries.
120+
[#11069](https://github.com/rust-lang/cargo/pull/11069)
121+
- Fixed sparse registry lockfile urls containing `registry+sparse+`.
122+
[#11177](https://github.com/rust-lang/cargo/pull/11177)
123+
- Add new config option `registries.crates-io.protocol`
124+
for controlling crates.io protocol.
125+
[#11215](https://github.com/rust-lang/cargo/pull/11215)
126+
- Removed `sparse+` prefix for index.crates.io.
127+
[#11247](https://github.com/rust-lang/cargo/pull/11247)
128+
- Fixed publishing with a dependency on a sparse registry.
129+
[#11268](https://github.com/rust-lang/cargo/pull/11268)
130+
- Fixed confusing error messages when using `-Zsparse-registry`.
131+
[#11283](https://github.com/rust-lang/cargo/pull/11283)
132+
- Fixed 410 gone response handling for sparse registries.
133+
[#11286](https://github.com/rust-lang/cargo/pull/11286)
134+
14135
## Cargo 1.65 (2022-11-03)
15136
[4fd148c4...rust-1.65.0](https://github.com/rust-lang/cargo/compare/4fd148c4...rust-1.65.0)
16137

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.67.0"
3+
version = "0.68.0"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
homepage = "https://crates.io"

0 commit comments

Comments
 (0)