Skip to content

Commit 4030205

Browse files
committed
doc: update changelog for 1.82.0
1 parent 8a93ea4 commit 4030205

File tree

1 file changed

+108
-4
lines changed

1 file changed

+108
-4
lines changed

CHANGELOG.md

Lines changed: 108 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,98 @@
11
# Changelog
22

33
## Cargo 1.82 (2024-10-17)
4-
[a2b58c3d...HEAD](https://github.com/rust-lang/cargo/compare/a2b58c3d...HEAD)
4+
[a2b58c3d...rust-1.82.0](https://github.com/rust-lang/cargo/compare/a2b58c3d...rust-1.82.0)
55

66
### Added
77

8+
- 🎉 Added `cargo info` command for displaying information about a package.
9+
[docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-info.html)
10+
[#14141](https://github.com/rust-lang/cargo/pull/14141)
11+
[#14418](https://github.com/rust-lang/cargo/pull/14418)
12+
[#14430](https://github.com/rust-lang/cargo/pull/14430)
13+
814
### Changed
915

16+
- ❗️ Doctest respects Cargo's color options by passing `--color` to rustdoc invocations.
17+
[#14425](https://github.com/rust-lang/cargo/pull/14425)
1018
- Improved error message for missing both `[package]` and `[workspace]` in Cargo.toml.
1119
[#14261](https://github.com/rust-lang/cargo/pull/14261)
20+
- Enumerate all possible values of `profile.*.debug` for the error message.
21+
[#14413](https://github.com/rust-lang/cargo/pull/14413)
1222

1323
### Fixed
1424

25+
- Use longhand gitoxide path-spec patterns. Previously the implementation used
26+
shorthand pathspecs, which could produce invalid syntax, for example, if the
27+
path to the manifest file contained a leading `_` underscore
28+
[#14380](https://github.com/rust-lang/cargo/pull/14380)
29+
- cargo-package: fix failures on bare commit git repo.
30+
[#14359](https://github.com/rust-lang/cargo/pull/14359)
31+
- cargo-publish: Don't strip non-dev features for renamed dependencies from the
32+
HTTP JSON body sent to the registry.
33+
The bug only affected third-party registries.
34+
[#14325](https://github.com/rust-lang/cargo/pull/14325)
35+
[#14327](https://github.com/rust-lang/cargo/pull/14327)
36+
- cargo-vendor: don't copy source files of excluded Cargo targets when vendoring.
37+
[#14367](https://github.com/rust-lang/cargo/pull/14367)
38+
1539
### Nightly only
1640

41+
- 🔥 `lockfile-path`: Added `--lockfile-path` flag that allows specifying a path
42+
to the lockfile other than the default path `<workspace_root>/Cargo.lock`.
43+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#lockfile-path))
44+
[#14326](https://github.com/rust-lang/cargo/pull/14326)
45+
[#14417](https://github.com/rust-lang/cargo/pull/14417)
46+
[#14423](https://github.com/rust-lang/cargo/pull/14423)
47+
[#14424](https://github.com/rust-lang/cargo/pull/14424)
48+
- 🔥 `path-bases`: Introduced a table of path "bases" in Cargo configuration files
49+
that can be used to prefix the paths of path dependencies and patch entries.
50+
([RFC 3529](https://github.com/rust-lang/rfcs/blob/master/text/3529-cargo-path-bases.md))
51+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#path-bases))
52+
[#14360](https://github.com/rust-lang/cargo/pull/14360)
53+
- 🔥 `-Zpackage-workspace`: Enhanced the experience of `cargo package --workspace`
54+
when there are dependencies between crates in the workspace.
55+
Crates in a workspace are no longer required to publish to actual registries.
56+
This is a step toward supporting `cargo publish --workspace`.
57+
[#13947](https://github.com/rust-lang/cargo/pull/13947)
58+
[#14408](https://github.com/rust-lang/cargo/pull/14408)
59+
[#14340](https://github.com/rust-lang/cargo/pull/14340)
60+
- cargo-update: Limit pre-release match semantics to use only on `OptVersionReq::Req`
61+
[#14412](https://github.com/rust-lang/cargo/pull/14412)
62+
- `edition2024`: Revert "fix: Ensure dep/feature activates the dependency on 2024".
63+
[#14295](https://github.com/rust-lang/cargo/pull/14295)
64+
- `update-breaking`: Improved error message when `update --breaking` has an invalid spec
65+
[#14279](https://github.com/rust-lang/cargo/pull/14279)
66+
- `update-breaking`: Don’t downgrade on prerelease `VersionReq` when updating with `--breaking`
67+
[#14250](https://github.com/rust-lang/cargo/pull/14250)
68+
- `-Zbuild-std`: remove hack on creating virtual std workspace
69+
[#14358](https://github.com/rust-lang/cargo/pull/14358)
70+
[#14370](https://github.com/rust-lang/cargo/pull/14370)
71+
- `-Zmsrv-policy`: Adjust MSRV resolve config field name / values.
72+
The previous placeholder `resolver.something-like-precedence`
73+
is now renamed to `resolver.incompatible-rust-versions`.
74+
[#14296](https://github.com/rust-lang/cargo/pull/14296)
75+
- `-Zmsrv-policy`: : Report when incompatible-rust-version packages are selected
76+
[#14401](https://github.com/rust-lang/cargo/pull/14401)
1777
- `-Ztarget-applies-to-host`: Fixed passing of links-overrides with
1878
target-applies-to-host and an implicit target
1979
[#14205](https://github.com/rust-lang/cargo/pull/14205)
80+
- `-Ztarget-applies-to-host`: `-Cmetadata` includes whether extra rustflags is same as host
81+
[#14432](https://github.com/rust-lang/cargo/pull/14432)
82+
- `-Ztrim-paths`: rustdoc supports trim-paths for diagnostics
83+
[#14389](https://github.com/rust-lang/cargo/pull/14389)
2084

2185
### Documentation
2286

87+
- Convert comments to doc comments for `Workspace`.
88+
[#14397](https://github.com/rust-lang/cargo/pull/14397)
89+
- Fix MSRV indicator for `workspace.package` and `workspace.dependencies`.
90+
[#14400](https://github.com/rust-lang/cargo/pull/14400)
91+
- FAQ: remove outdated Cargo offline usage section.
92+
[#14336](https://github.com/rust-lang/cargo/pull/14336)
93+
2394
### Internal
2495

25-
- cargo-util-schemas: Added `TomlPackage::new`, `Default` for `TomlWorkspace`
26-
[#14271](https://github.com/rust-lang/cargo/pull/14271)
2796
- Enhanced `cargo-test-support` usability and documentation.
2897
[#14266](https://github.com/rust-lang/cargo/pull/14266)
2998
[#14268](https://github.com/rust-lang/cargo/pull/14268)
@@ -34,8 +103,43 @@
34103
[#14260](https://github.com/rust-lang/cargo/pull/14260)
35104
- Used `Rc` instead of `Arc` for storing rustflags
36105
[#14273](https://github.com/rust-lang/cargo/pull/14273)
37-
- test: Migrated `global_cache_tracker` snapbox
106+
- Removed rustc probe for `--check-cfg` support
107+
[#14302](https://github.com/rust-lang/cargo/pull/14302)
108+
- Renamed 'resolved' to 'normalized' for all manifest normalization related items.
109+
[#14342](https://github.com/rust-lang/cargo/pull/14342)
110+
- cargo-util-schemas: Added `TomlPackage::new`, `Default` for `TomlWorkspace`
111+
[#14271](https://github.com/rust-lang/cargo/pull/14271)
112+
- ci: Switch macos aarch64 to nightly
113+
[#14382](https://github.com/rust-lang/cargo/pull/14382)
114+
- mdman: Normalize newlines when rendering options
115+
[#14428](https://github.com/rust-lang/cargo/pull/14428)
116+
- perf: dont call wrap in a no-op `source_id::with*`
117+
[#14318](https://github.com/rust-lang/cargo/pull/14318)
118+
- test: Migrated more tests to snapbox
119+
[#14242](https://github.com/rust-lang/cargo/pull/14242)
38120
[#14244](https://github.com/rust-lang/cargo/pull/14244)
121+
[#14293](https://github.com/rust-lang/cargo/pull/14293)
122+
[#14297](https://github.com/rust-lang/cargo/pull/14297)
123+
[#14319](https://github.com/rust-lang/cargo/pull/14319)
124+
[#14402](https://github.com/rust-lang/cargo/pull/14402)
125+
[#14410](https://github.com/rust-lang/cargo/pull/14410)
126+
- test: don't rely on absence of `RUST_BACKTRACE`
127+
[#14441](https://github.com/rust-lang/cargo/pull/14441)
128+
- test: Use gmake on AIX
129+
[#14323](https://github.com/rust-lang/cargo/pull/14323)
130+
- Updated to `gix` 0.64.0
131+
[#14332](https://github.com/rust-lang/cargo/pull/14332)
132+
- Updated to `rusqlite` 0.32.0
133+
[#14334](https://github.com/rust-lang/cargo/pull/14334)
134+
- Updated to `windows-sys` 0.59
135+
[#14335](https://github.com/rust-lang/cargo/pull/14335)
136+
- Update dependencies.
137+
[#14299](https://github.com/rust-lang/cargo/pull/14299)
138+
[#14303](https://github.com/rust-lang/cargo/pull/14303)
139+
[#14324](https://github.com/rust-lang/cargo/pull/14324)
140+
[#14329](https://github.com/rust-lang/cargo/pull/14329)
141+
[#14331](https://github.com/rust-lang/cargo/pull/14331)
142+
[#14391](https://github.com/rust-lang/cargo/pull/14391)
39143

40144
## Cargo 1.81 (2024-09-05)
41145
[34a6a87d...rust-1.81.0](https://github.com/rust-lang/cargo/compare/34a6a87d...rust-1.81.0)

0 commit comments

Comments
 (0)