Skip to content

Commit de88d8e

Browse files
committed
Auto merge of #13882 - weihanglo:changelog, r=epage
docs(changelog): also mention `--message-format=json`
2 parents 0ca60e9 + b907805 commit de88d8e

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

CHANGELOG.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@
4848
This behavior has been considered a bug from the beginning.
4949
[#13775](https://github.com/rust-lang/cargo/pull/13775)
5050
- ❗️ Replace dashes with underscores also if `lib.name` is inferred from `package.name`.
51-
This change aligns to the documented behavior. One caveat is that
52-
`cargo metadata` starts reporting underscore lib names.
51+
This change aligns to the documented behavior. One caveat is that JSON messages
52+
emitted by Cargo, like via `cargo metadata` or `--message-format=json`,
53+
will start reporting underscore lib names.
5354
[#12783](https://github.com/rust-lang/cargo/pull/12783)
5455
- Switch to `gitoxide` for listing files. This improves the performance of
5556
build script and `cargo doc` for computing cache freshness,
@@ -62,14 +63,14 @@
6263
[#13632](https://github.com/rust-lang/cargo/pull/13632)
6364
- Warn on unused `workspace.dependencies` keys on virtual workspaces.
6465
[#13664](https://github.com/rust-lang/cargo/pull/13664)
66+
- Emit 1.77 build script syntax error only when msrv is incompatible.
67+
[#13808](https://github.com/rust-lang/cargo/pull/13808)
6568
- cargo-init: don't assign `target.name` in Cargo.toml if the value can be inferred.
6669
[#13606](https://github.com/rust-lang/cargo/pull/13606)
6770
- cargo-package: normalize paths in `Cargo.toml`, including replacing `\` with `/`.
6871
[#13729](https://github.com/rust-lang/cargo/pull/13729)
6972
- cargo-test: recategorize cargo test's `--doc` flag under “Target Selection”.
7073
[#13756](https://github.com/rust-lang/cargo/pull/13756)
71-
- Emit 1.77 build script syntax error only when msrv is incompatible.
72-
[#13808](https://github.com/rust-lang/cargo/pull/13808)
7374

7475
### Fixed
7576

@@ -80,16 +81,6 @@
8081
[#13618](https://github.com/rust-lang/cargo/pull/13618)
8182
- Don't crash on Cargo.toml parse errors that point to multi-byte character
8283
[#13780](https://github.com/rust-lang/cargo/pull/13780)
83-
- cargo-add: Maintain sorting of dependency features.
84-
[#13682](https://github.com/rust-lang/cargo/pull/13682)
85-
- cargo-add: Preserve comments when updating simple deps
86-
[#13655](https://github.com/rust-lang/cargo/pull/13655)
87-
- cargo-fix: dont apply same suggestion twice.
88-
[#13728](https://github.com/rust-lang/cargo/pull/13728)
89-
- cargo-package: error when the package specified via `--package` cannot be found
90-
[#13735](https://github.com/rust-lang/cargo/pull/13735)
91-
- credential-provider: trim newlines in tokens from stdin.
92-
[#13770](https://github.com/rust-lang/cargo/pull/13770)
9384
- Don't emit deprecation warning if one of `.cargo/{config,config.toml}` is
9485
a symlink to the other.
9586
[#13793](https://github.com/rust-lang/cargo/pull/13793)
@@ -101,6 +92,16 @@
10192
[#13560](https://github.com/rust-lang/cargo/pull/13560)
10293
- Fix doc collision for lib/bin with a dash in the inferred name.
10394
[#13640](https://github.com/rust-lang/cargo/pull/13640)
95+
- cargo-add: Maintain sorting of dependency features.
96+
[#13682](https://github.com/rust-lang/cargo/pull/13682)
97+
- cargo-add: Preserve comments when updating simple deps
98+
[#13655](https://github.com/rust-lang/cargo/pull/13655)
99+
- cargo-fix: dont apply same suggestion twice.
100+
[#13728](https://github.com/rust-lang/cargo/pull/13728)
101+
- cargo-package: error when the package specified via `--package` cannot be found
102+
[#13735](https://github.com/rust-lang/cargo/pull/13735)
103+
- credential-provider: trim newlines in tokens from stdin.
104+
[#13770](https://github.com/rust-lang/cargo/pull/13770)
104105

105106
### Nightly only
106107

0 commit comments

Comments
 (0)