Skip to content

Commit 7baa6ba

Browse files
committed
docs: update changelog for 1.83.0
1 parent 6f92802 commit 7baa6ba

File tree

1 file changed

+154
-18
lines changed

1 file changed

+154
-18
lines changed

CHANGELOG.md

Lines changed: 154 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,185 @@
11
# Changelog
22

33
## Cargo 1.83 (2024-11-28)
4-
[8f40fc59...HEAD](https://github.com/rust-lang/cargo/compare/8f40fc59...HEAD)
4+
[8f40fc59...rust-1.83.0](https://github.com/rust-lang/cargo/compare/8f40fc59...rust-1.83.0)
55

66
### Added
77

8+
- `--timings` HTML output can now auto-switch between light and dark color
9+
schemes based on browser preference.
10+
[#14588](https://github.com/rust-lang/cargo/pull/14588)
11+
- Introduced a new `CARGO_MANIFEST_PATH` environment variable,
12+
similar to `CARGO_MANIFEST_DIR` but pointing directly to the manifest file.
13+
[#14404](https://github.com/rust-lang/cargo/pull/14404)
14+
- manifest: Added `package.autolib`, allowing `[lib]` auto-discovery to be disabled.
15+
[#14591](https://github.com/rust-lang/cargo/pull/14591)
16+
817
### Changed
918

10-
- Enhanced the missing feature error message.
19+
- ❗️ Lockfile format v4 is now the default for creating/updating a lockfile.
20+
Rust toolchains 1.78+ support lockfile v4.
21+
For compatibility with earlier MSRV,
22+
consdier setting the `package.rust-version` to 1.82 or earlier.
23+
[#14595](https://github.com/rust-lang/cargo/pull/14595)
24+
- ❗️ cargo-package: When using the `--package` flag, only the specified
25+
packages are packaged. Previously, the package in the current working
26+
directory was automatically selected for packaging.
27+
[#14488](https://github.com/rust-lang/cargo/pull/14488)
28+
- cargo-publish: Now fails fast if the package version is already published.
29+
[#14448](https://github.com/rust-lang/cargo/pull/14448)
30+
- Improved error messages for missing features.
1131
[#14436](https://github.com/rust-lang/cargo/pull/14436)
12-
- Enhanced the dependency update status message, including
13-
- Reports incompatible packages with precise Rust version
14-
[#14457](https://github.com/rust-lang/cargo/pull/14457)
15-
- Reports incompatible-with-rustc when MSRV-resolver is disabled
16-
[#14459](https://github.com/rust-lang/cargo/pull/14459)
17-
- Reports compatible, incompatible, and direct-dep updates with different
18-
colors and messages.
19-
[#14461](https://github.com/rust-lang/cargo/pull/14461)
20-
- The `Locking` status message stops showing workspace members.
21-
[#14445](https://github.com/rust-lang/cargo/pull/14445)
2232
- Log details of `rustc` invocation failure if no errors are seen
2333
[#14453](https://github.com/rust-lang/cargo/pull/14453)
24-
- cargo-package: Don't automatically include the current crate when packaging
25-
[#14488](https://github.com/rust-lang/cargo/pull/14488)
34+
- Uplifted `windows-gnullvm` import libraries, aligning them with `windows-gnu`.
35+
[#14451](https://github.com/rust-lang/cargo/pull/14451)
36+
- Suggest `cargo info` command in the `cargo search` result
37+
[#14537](https://github.com/rust-lang/cargo/pull/14537)
38+
- Enhanced dependency update status messages, now displaying updates
39+
(compatible, incompatible, direct-dep) in different colors,
40+
along with messages and MSRVs.
41+
[#14440](https://github.com/rust-lang/cargo/pull/14440)
42+
[#14457](https://github.com/rust-lang/cargo/pull/14457)
43+
[#14459](https://github.com/rust-lang/cargo/pull/14459)
44+
[#14461](https://github.com/rust-lang/cargo/pull/14461)
45+
[#14471](https://github.com/rust-lang/cargo/pull/14471)
46+
[#14568](https://github.com/rust-lang/cargo/pull/14568)
47+
- The `Locking` status message no longer displays workspace members.
48+
[#14445](https://github.com/rust-lang/cargo/pull/14445)
2649

2750
### Fixed
2851

29-
- cargo-add: Perform fuzzy search when translating package names
52+
- Prevented duplicate library search environment variables when calling `cargo` recursively.
53+
[#14464](https://github.com/rust-lang/cargo/pull/14464)
54+
- Don't double-warn about `$CARGO_HOME/config` not having `.toml` extension.
55+
[#14579](https://github.com/rust-lang/cargo/pull/14579)
56+
- Correct diagnostic count message when using `--message-format json`.
57+
[#14598](https://github.com/rust-lang/cargo/pull/14598)
58+
- cargo-add: Perform fuzzy searches when translating package names
3059
[#13765](https://github.com/rust-lang/cargo/pull/13765)
60+
- cargo-new: only auto-add new packages to the workspace relative to the manifest,
61+
rather than the current directory.
62+
[#14505](https://github.com/rust-lang/cargo/pull/14505)
63+
- cargo-rustc: Fixed parsing of comma-separated values in the `--crate-type` flag.
64+
[#14499](https://github.com/rust-lang/cargo/pull/14499)
65+
- cargo-vendor: trusts the crate version only when it originates from registries.
66+
This causes git dependencies to be re-vendored even if they haven't changed.
67+
[#14530](https://github.com/rust-lang/cargo/pull/14530)
3168

3269
### Nightly only
3370

71+
- ❗️ cargo-rustc: give trailing flags higher precedence on nightly.
72+
The nightly gate will be removed after a few releases.
73+
Please give feedback if it breaks any workflow.
74+
A temporary environment variable `__CARGO_RUSTC_ORIG_ARGS_PRIO=1` is provided
75+
to opt-out of the behavior.
76+
[#14587](https://github.com/rust-lang/cargo/pull/14587)
77+
- 🔥 cargo-install: a new `--dry-run` flag without actually installing binaries.
78+
[#14280](https://github.com/rust-lang/cargo/pull/14280)
79+
- 🔥 `native-completions`: moves the handwritten shell completion scripts to
80+
Rust native, making it easier for us to add, extend, and test new completions.
81+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#native-completions))
82+
[#14493](https://github.com/rust-lang/cargo/pull/14493)
83+
[#14531](https://github.com/rust-lang/cargo/pull/14531)
84+
[#14532](https://github.com/rust-lang/cargo/pull/14532)
85+
[#14533](https://github.com/rust-lang/cargo/pull/14533)
86+
[#14534](https://github.com/rust-lang/cargo/pull/14534)
87+
[#14535](https://github.com/rust-lang/cargo/pull/14535)
88+
[#14536](https://github.com/rust-lang/cargo/pull/14536)
89+
[#14546](https://github.com/rust-lang/cargo/pull/14546)
90+
[#14547](https://github.com/rust-lang/cargo/pull/14547)
91+
[#14548](https://github.com/rust-lang/cargo/pull/14548)
92+
[#14552](https://github.com/rust-lang/cargo/pull/14552)
93+
[#14557](https://github.com/rust-lang/cargo/pull/14557)
94+
[#14558](https://github.com/rust-lang/cargo/pull/14558)
95+
[#14563](https://github.com/rust-lang/cargo/pull/14563)
96+
[#14564](https://github.com/rust-lang/cargo/pull/14564)
97+
[#14573](https://github.com/rust-lang/cargo/pull/14573)
98+
[#14590](https://github.com/rust-lang/cargo/pull/14590)
99+
[#14592](https://github.com/rust-lang/cargo/pull/14592)
100+
[#14653](https://github.com/rust-lang/cargo/pull/14653)
101+
[#14656](https://github.com/rust-lang/cargo/pull/14656)
102+
- 🔥 `-Zchecksum-freshness`: replace the use of file mtimes in cargo’s rebuild
103+
detection with a file checksum algorithm. This is most useful on systems with
104+
a poor mtime implementation, or in CI/CD.
105+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#checksum-freshness))
106+
[#14137](https://github.com/rust-lang/cargo/pull/14137)
34107
- cargo-update: Add `matches_prerelease` semantic
35108
[#14305](https://github.com/rust-lang/cargo/pull/14305)
109+
- `build-plan`: document it as being deprecated.
110+
[#14657](https://github.com/rust-lang/cargo/pull/14657)
111+
- `edition2024`: Remove implicit feature removal from 2024 edition.
112+
[#14630](https://github.com/rust-lang/cargo/pull/14630)
113+
- `lockfile-path`: implies `--locked` on `cargo install`.
114+
[#14556](https://github.com/rust-lang/cargo/pull/14556)
36115
- `open-namespaces`: Allow open namespaces in `PackageIdSpec`s
37116
[#14467](https://github.com/rust-lang/cargo/pull/14467)
117+
- `path-bases`: `cargo [add|remove|update]` support
118+
[#14427](https://github.com/rust-lang/cargo/pull/14427)
119+
- `-Zmsrv-policy`: determine the workspace's MSRV by the most number of MSRVs within it.
120+
[#14569](https://github.com/rust-lang/cargo/pull/14569)
121+
- `-Zpackage-workspace`: allows to publish multiple crates in a workspace,
122+
even if they have inter-dependencies.
123+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#package-workspace))
124+
[#14433](https://github.com/rust-lang/cargo/pull/14433)
125+
[#14496](https://github.com/rust-lang/cargo/pull/14496)
126+
- `-Zpublic-dependency`: Include public/private dependency status in `cargo metadata`
127+
[#14504](https://github.com/rust-lang/cargo/pull/14504)
128+
- `-Zpublic-dependency`: Don't require MSRV bump
129+
[#14507](https://github.com/rust-lang/cargo/pull/14507)
38130

39131
### Documentation
40132

133+
- 🎉 New chapter about the uses, support expectations, and management of
134+
`package.rust-version` a.k.a MSRV.
135+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/rust-version.html))
136+
[#14619](https://github.com/rust-lang/cargo/pull/14619)
137+
[#14636](https://github.com/rust-lang/cargo/pull/14636)
138+
- Clarify `target.'cfg(...)'` doesn't respect cfg from build script
139+
[#14312](https://github.com/rust-lang/cargo/pull/14312)
140+
- Clarify `[[bin]]` target auto-discovery can be `src/main.rs` and/or in `src/bin/`
141+
[#14515](https://github.com/rust-lang/cargo/pull/14515)
142+
- Disambiguate the use of 'target' in the feature resolver v2 doc.
143+
[#14540](https://github.com/rust-lang/cargo/pull/14540)
144+
- Make `--config <PATH>` more prominent
145+
[#14631](https://github.com/rust-lang/cargo/pull/14631)
146+
- Minor re-grouping of pages.
147+
[#14620](https://github.com/rust-lang/cargo/pull/14620)
148+
- contrib: Update docs for how cargo is published
149+
[#14539](https://github.com/rust-lang/cargo/pull/14539)
150+
- contrib: Declare support level for each crate in Cargo's Charter / crate docs
151+
[#14600](https://github.com/rust-lang/cargo/pull/14600)
152+
- contrib: Declare new Intentional Artifacts as 'small' changes
153+
[#14599](https://github.com/rust-lang/cargo/pull/14599)
154+
41155
### Internal
42156

43-
- Updated to `pasetors` 0.7.0
157+
- Cleanup duplicated check-cfg lint logic
158+
[#14567](https://github.com/rust-lang/cargo/pull/14567)
159+
- Fix elided lifetime due to nightly rustc changes
160+
[#14487](https://github.com/rust-lang/cargo/pull/14487)
161+
- Improved error reporting when a feature is not found in `activated_features`.
162+
[#14647](https://github.com/rust-lang/cargo/pull/14647)
163+
- cargo-info: Use the `shell.note` to print the note
164+
[#14554](https://github.com/rust-lang/cargo/pull/14554)
165+
- ci: bump CI tools
166+
[#14503](https://github.com/rust-lang/cargo/pull/14503)
167+
[#14628](https://github.com/rust-lang/cargo/pull/14628)
168+
- perf: zero-copy deserialization for compiler messages when possible
169+
[#14608](https://github.com/rust-lang/cargo/pull/14608)
170+
- resolver: Add more SAT resolver tests
171+
[#14583](https://github.com/rust-lang/cargo/pull/14583)
172+
[#14614](https://github.com/rust-lang/cargo/pull/14614)
173+
- test: Migrated more tests to snapbox
174+
[#14576](https://github.com/rust-lang/cargo/pull/14576)
175+
[#14577](https://github.com/rust-lang/cargo/pull/14577)
176+
- Update dependencies.
177+
[#14475](https://github.com/rust-lang/cargo/pull/14475)
44178
[#14478](https://github.com/rust-lang/cargo/pull/14478)
45-
- cargo-update: Prepare for smarter update messages
46-
[#14440](https://github.com/rust-lang/cargo/pull/14440)
179+
[#14489](https://github.com/rust-lang/cargo/pull/14489)
180+
[#14607](https://github.com/rust-lang/cargo/pull/14607)
181+
[#14624](https://github.com/rust-lang/cargo/pull/14624)
182+
[#14632](https://github.com/rust-lang/cargo/pull/14632)
47183

48184
## Cargo 1.82 (2024-10-17)
49185
[a2b58c3d...rust-1.82.0](https://github.com/rust-lang/cargo/compare/a2b58c3d...rust-1.82.0)

0 commit comments

Comments
 (0)