Skip to content

Commit 98b5ad4

Browse files
committed
docs(changelog): 1.92.0 update
1 parent 73c7c97 commit 98b5ad4

File tree

1 file changed

+93
-9
lines changed

1 file changed

+93
-9
lines changed

src/doc/src/CHANGELOG.md

Lines changed: 93 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,105 @@
11
# Changelog
22

33
## Cargo 1.92 (2025-12-11)
4-
[24bb93c3...HEAD](https://github.com/rust-lang/cargo/compare/24bb93c3...HEAD)
4+
[24bb93c3...rust-1.92.0](https://github.com/rust-lang/cargo/compare/24bb93c3...rust-1.92.0)
55

66
### Added
77

8-
- Adds ghostty as supported terminal for term integration (OSC 9;4)
8+
- Add Ghostty as a supported terminal for term integration (OSC 9;4)
99
[#15977](https://github.com/rust-lang/cargo/pull/15977)
10+
- Add retry for `git fetch` failures in `net.git-fetch-with-cli` path
11+
[#16016](https://github.com/rust-lang/cargo/pull/16016)
1012

1113
### Changed
1214

15+
- Migrate some diagnostic formatting to rustc-like style (annotate-snippets style)
16+
[#15943](https://github.com/rust-lang/cargo/pull/15943)
17+
[#15945](https://github.com/rust-lang/cargo/pull/15945)
18+
[#16019](https://github.com/rust-lang/cargo/pull/16019)
19+
[#16035](https://github.com/rust-lang/cargo/pull/16035)
20+
[#16066](https://github.com/rust-lang/cargo/pull/16066)
21+
[#16113](https://github.com/rust-lang/cargo/pull/16113)
22+
[#16126](https://github.com/rust-lang/cargo/pull/16126)
23+
- Suggested `cargo fix` command from compilation diagnostics is now more accurate.
24+
[#16127](https://github.com/rust-lang/cargo/pull/16127)
1325
- Prefer unicode ellipses when truncating progress
1426
[#15955](https://github.com/rust-lang/cargo/pull/15955)
1527
- Eliminate the last three "did you mean" warning phrasings
1628
[#15356](https://github.com/rust-lang/cargo/pull/15356)
1729
- Clarify warning for using `features` or `default-features` in `patch`
1830
[#15953](https://github.com/rust-lang/cargo/pull/15953)
19-
- Report all future-incompat content as a single annotate-snippet Report
20-
[#15943](https://github.com/rust-lang/cargo/pull/15943)
31+
- Config parsing errors now show more precise key path with array index
32+
[#16004](https://github.com/rust-lang/cargo/pull/16004)
33+
- Improve error message for `rust-version` incompatibility diagnostics
34+
[#16021](https://github.com/rust-lang/cargo/pull/16021)
35+
- cargo-add: Report a missing source error for workspace dependencies
36+
[#16063](https://github.com/rust-lang/cargo/pull/16063)
2137
- cargo-info: Suggest a more universal `cargo tree` command
2238
[#15954](https://github.com/rust-lang/cargo/pull/15954)
2339
- cargo-publish: Switch the 'ctrl-c on wait' line to a help message
2440
[#15942](https://github.com/rust-lang/cargo/pull/15942)
41+
- cargo-publish: soft-deprecate the `--token` option
42+
[#16046](https://github.com/rust-lang/cargo/pull/16046)
2543

2644
### Fixed
2745

2846
### Nightly only
2947

48+
- 🔥 `immediate-abort`: Add `panic=immediate-abort` support
49+
[#16041](https://github.com/rust-lang/cargo/pull/16041)
50+
[#16054](https://github.com/rust-lang/cargo/pull/16054)
51+
- `-Zbuild-dir-new-layout`: Reorganize build-dir layout
52+
[#15947](https://github.com/rust-lang/cargo/pull/15947)
3053
- `-Zbuild-std`: test move away from panic_immediate_abort
3154
[#16006](https://github.com/rust-lang/cargo/pull/16006)
3255
- `-Zcargo-lints`: Add lint for global use of `hint-mostly-unused`
3356
[#15995](https://github.com/rust-lang/cargo/pull/15995)
34-
- `-Zscript`: Try alternative len code fences
35-
[#15952](https://github.com/rust-lang/cargo/pull/15952)
36-
- `-Zscript`: Improve error quality
57+
- `-Zpublic-dependency`: `cargo add` now considers public dependencies when choosing a version
58+
[#15966](https://github.com/rust-lang/cargo/pull/15966)
59+
- `-Zpublic-dependency`: Switch from `--depth public` to `--edges public` for `cargo tree` to display public dependencies
60+
[#16081](https://github.com/rust-lang/cargo/pull/16081)
61+
- `-Zpublic-dependency`: Improve public-in-private manifest errors
62+
[#16002](https://github.com/rust-lang/cargo/pull/16002)
63+
[#16075](https://github.com/rust-lang/cargo/pull/16075)
64+
- `-Zscript`: Improve frontmatter parsing error quality
3765
[#15972](https://github.com/rust-lang/cargo/pull/15972)
38-
- `-Zscript`: Show error source to users
3966
[#15939](https://github.com/rust-lang/cargo/pull/15939)
67+
[#15952](https://github.com/rust-lang/cargo/pull/15952)
4068
- `-Zscript`: Only allow horizontal whitespace after fences
4169
[#15975](https://github.com/rust-lang/cargo/pull/15975)
70+
- `-Zscript`: Override arg0 for cargo scripts
71+
[#16027](https://github.com/rust-lang/cargo/pull/16027)
72+
- `-Zscript`: Tweak cargo script build-dir / target-dir
73+
[#16086](https://github.com/rust-lang/cargo/pull/16086)
74+
- `-Zscript`: Remove name sanitiztion outside what is strictly required
75+
[#16120](https://github.com/rust-lang/cargo/pull/16120)
76+
- `-Zscript`: Store cargo script lockfiles in build-dir
77+
[#16087](https://github.com/rust-lang/cargo/pull/16087)
78+
- `-Zscript`: Define cargo script's target-dir using build-dir templating
79+
[#16073](https://github.com/rust-lang/cargo/pull/16073)
80+
- `-Zscript`: Prevent non-script fields in Cargo scripts
81+
[#16026](https://github.com/rust-lang/cargo/pull/16026)
82+
- `-Zscript`: Default bin.name to package.name
83+
[#16064](https://github.com/rust-lang/cargo/pull/16064)
84+
- `multiple-build-scripts`: Access each build script's `OUT_DIR` via `<script-name>_OUT_DIR`
85+
[#15891](https://github.com/rust-lang/cargo/pull/15891)
4286
- `native-completions`: Added completion for `--features` flag
4387
[#15309](https://github.com/rust-lang/cargo/pull/15309)
4488
- `native-completions`: Show local crates/features over other members
4589
[#15956](https://github.com/rust-lang/cargo/pull/15956)
46-
- `native-completions`:: Allow completions for third-party subcommand names
90+
- `native-completions`: Allow completions for third-party subcommand names
4791
[#15961](https://github.com/rust-lang/cargo/pull/15961)
4892

4993
### Documentation
5094

5195
- 🎉 Add a new "Optimizing Build Performance" chapter
5296
[#15924](https://github.com/rust-lang/cargo/pull/15924)
5397
[#15970](https://github.com/rust-lang/cargo/pull/15970)
98+
[#15991](https://github.com/rust-lang/cargo/pull/15991)
99+
[#16078](https://github.com/rust-lang/cargo/pull/16078)
100+
[#16085](https://github.com/rust-lang/cargo/pull/16085)
101+
[#16107](https://github.com/rust-lang/cargo/pull/16107)
102+
[#16108](https://github.com/rust-lang/cargo/pull/16108)
54103
- Clarify git sources vs git registries in source replacement documentation
55104
[#15974](https://github.com/rust-lang/cargo/pull/15974)
56105
- Clarify what we mean by omitting features in registry index documentation
@@ -59,23 +108,58 @@
59108
[#15958](https://github.com/rust-lang/cargo/pull/15958)
60109
- Clarify multiple version requirement behavior
61110
[#15979](https://github.com/rust-lang/cargo/pull/15979)
111+
- Clarify that `target.<cfg>.linker` is supported
112+
[#16112](https://github.com/rust-lang/cargo/pull/16112)
113+
- Explain Cargo config deserialization internals
114+
[#16105](https://github.com/rust-lang/cargo/pull/16105)
115+
[#16094](https://github.com/rust-lang/cargo/pull/16094)
62116
- contrib: Move docs building process to contributor guide
63117
[#15854](https://github.com/rust-lang/cargo/pull/15854)
118+
- SemVer: Recommend `package.rust-version` in the Rust version section
119+
[#15806](https://github.com/rust-lang/cargo/pull/15806)
64120

65121
### Internal
66122

67123
- Make GlobalContext Sync
68124
[#15967](https://github.com/rust-lang/cargo/pull/15967)
125+
- Centralize Cargo console output styling
126+
[#16124](https://github.com/rust-lang/cargo/pull/16124)
127+
[#16135](https://github.com/rust-lang/cargo/pull/16135)
128+
- Refactor `Layout` into `BuildDirLayout` and `ArtifactDirLayout`
129+
[#16092](https://github.com/rust-lang/cargo/pull/16092)
130+
- cargo-test-support: Add track_caller to know the actual failure
131+
[#16069](https://github.com/rust-lang/cargo/pull/16069)
132+
- cargo-test-support: Added better filesystem layout testing harness
133+
[#15874](https://github.com/rust-lang/cargo/pull/15874)
69134
- cargo-util-schemas: Move lockfile schemas in
70135
[#15980](https://github.com/rust-lang/cargo/pull/15980)
71136
[#15990](https://github.com/rust-lang/cargo/pull/15990)
137+
[#16039](https://github.com/rust-lang/cargo/pull/16039)
72138
- ci: Skip check-version-bump ci job in forks
73139
[#15959](https://github.com/rust-lang/cargo/pull/15959)
140+
- config: various internal cleanup and refactor for `ConfigValue`
141+
[#16067](https://github.com/rust-lang/cargo/pull/16067)
142+
[#16084](https://github.com/rust-lang/cargo/pull/16084)
143+
[#16091](https://github.com/rust-lang/cargo/pull/16091)
144+
[#16100](https://github.com/rust-lang/cargo/pull/16100)
145+
[#16109](https://github.com/rust-lang/cargo/pull/16109)
146+
- perf: JSON message with less allocations
147+
[#16130](https://github.com/rust-lang/cargo/pull/16130)
148+
- test: null-terminated path for reserved windows name detection
149+
[#16052](https://github.com/rust-lang/cargo/pull/16052)
150+
- test: Don't look for a specific ANSI color
151+
[#16118](https://github.com/rust-lang/cargo/pull/16118)
152+
- test: Fix test that assumes `CARGO_CFG_TARGET_FAMILY` is a single value
153+
[#16079](https://github.com/rust-lang/cargo/pull/16079)
74154
- Update dependencies.
75155
[#15988](https://github.com/rust-lang/cargo/pull/15988)
76156
[#15984](https://github.com/rust-lang/cargo/pull/15984)
77157
[#15989](https://github.com/rust-lang/cargo/pull/15989)
158+
[#15992](https://github.com/rust-lang/cargo/pull/15992)
78159
[#15993](https://github.com/rust-lang/cargo/pull/15993)
160+
[#16009](https://github.com/rust-lang/cargo/pull/16009)
161+
[#16031](https://github.com/rust-lang/cargo/pull/16031)
162+
[#16034](https://github.com/rust-lang/cargo/pull/16034)
79163

80164
## Cargo 1.91 (2025-10-30)
81165
[840b83a1...rust-1.91.0](https://github.com/rust-lang/cargo/compare/840b83a1...rust-1.91.0)

0 commit comments

Comments
 (0)