Skip to content

Commit fb3c5c4

Browse files
committed
docs: update changelog for 1.81.0
1 parent 9b965db commit fb3c5c4

File tree

1 file changed

+86
-1
lines changed

1 file changed

+86
-1
lines changed

Diff for: CHANGELOG.md

+86-1
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,146 @@
11
# Changelog
22

33
## Cargo 1.81 (2024-09-05)
4-
[34a6a87d...HEAD](https://github.com/rust-lang/cargo/compare/34a6a87d...HEAD)
4+
[34a6a87d...rust-1.81.0](https://github.com/rust-lang/cargo/compare/34a6a87d...rust-1.81.0)
55

66
### Added
77

88
### Changed
99

1010
- ❗️ cargo-package: Disallow `package.license-file` and `package.readme` pointing
1111
to non-existent files during packaging.
12+
- ❗️ cargo-package: generated `.cargo_vcs_info.json` is always incluced,
13+
even when `--allow-dirty` is passed.
14+
[#13960](https://github.com/rust-lang/cargo/pull/13960)
1215
- ❗️ Disallow passing `--release`/`--debug` flag along with the `--profile` flag.
1316
[#13971](https://github.com/rust-lang/cargo/pull/13971)
1417
[#13921](https://github.com/rust-lang/cargo/pull/13921)
1518
- ❗️ Remove `lib.plugin` key support in Cargo.toml.
1619
Rust plugin support has been deprecated for four years and was removed in 1.75.0.
1720
[#13902](https://github.com/rust-lang/cargo/pull/13902)
1821
[#14038](https://github.com/rust-lang/cargo/pull/14038)
22+
- Make the calculation of `-Cmetadata` for rustc consistent across platforms.
23+
[#14107](https://github.com/rust-lang/cargo/pull/14107)
24+
- Emit a warning when `edition` is unset, even when MSRV is unset.
25+
[#14110](https://github.com/rust-lang/cargo/pull/14110)
1926

2027
### Fixed
2128

2229
- Fix a proc-macro example from a dependency affecting feature resolution.
2330
[#13892](https://github.com/rust-lang/cargo/pull/13892)
31+
- Don't warn on duplicate packages from using '..'.
32+
[#14234](https://github.com/rust-lang/cargo/pull/14234)
33+
- Don't `du` on every git source load.
34+
[#14252](https://github.com/rust-lang/cargo/pull/14252)
35+
- Don't warn about unreferenced duplicate packages
36+
[#14239](https://github.com/rust-lang/cargo/pull/14239)
2437

2538
### Nightly only
2639

2740
- 🔥 `update-breaking`: Add `--breaking` to `cargo update`,
2841
allowing upgrading dependencies to breaking versions.
2942
[docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#update-breaking)
3043
[#13979](https://github.com/rust-lang/cargo/pull/13979)
44+
[#14047](https://github.com/rust-lang/cargo/pull/14047)
45+
[#14049](https://github.com/rust-lang/cargo/pull/14049)
3146
- `--artifact-dir`: Rename `--out-dir` to `--artifact-dir`.
3247
The `--out-dir` flag is kept for compatibility
3348
and may be removed when the feature gets stabilized.
3449
[#13809](https://github.com/rust-lang/cargo/pull/13809)
3550
- `edition2024`: Ensure unused optional dependencies fire for shadowed dependencies.
3651
[#14028](https://github.com/rust-lang/cargo/pull/14028)
52+
- `edition2024`: Address problems with implicit -> explicit feature migration
53+
[#14018](https://github.com/rust-lang/cargo/pull/14018)
54+
- `edition2024`: Ensure `dep/feature` feature syntax activates the dependency
55+
[#14221](https://github.com/rust-lang/cargo/pull/14221)
3756
- `-Zcargo-lints`: Add `unknown_lints` to lints list.
3857
[#14024](https://github.com/rust-lang/cargo/pull/14024)
3958
- `-Zcargo-lints`: Add tooling to document lints.
4059
[#14025](https://github.com/rust-lang/cargo/pull/14025)
4160
- `-Zcargo-lints`: Keep lints updated and sorted.
4261
[#14030](https://github.com/rust-lang/cargo/pull/14030)
62+
- `-Zconfig-include`: Allow enabling `config-include` feature in config.
63+
[#14196](https://github.com/rust-lang/cargo/pull/14196)
64+
- `-Zpublic-dependency`: remove some legacy public dependency code from the resolver
65+
[#14090](https://github.com/rust-lang/cargo/pull/14090)
66+
- `-Ztarget-applies-to-host`: Pass rustflags to artifacts built with implicit targets when using target-applies-to-host
67+
[#13900](https://github.com/rust-lang/cargo/pull/13900)
68+
[#14201](https://github.com/rust-lang/cargo/pull/14201)
4369
- cargo-update: Track the behavior of `--precise <prerelease>`.
4470
[#14013](https://github.com/rust-lang/cargo/pull/14013)
4571

4672
### Documentation
4773

74+
- Clarify `CARGO_CFG_TARGET_FAMILY` is multi-valued.
75+
[#14165](https://github.com/rust-lang/cargo/pull/14165)
76+
- Document `CARGO_CFG_TARGET_ABI`
77+
[#14164](https://github.com/rust-lang/cargo/pull/14164)
78+
- Document MSRV for each manifest field and build script invocations.
79+
[#14224](https://github.com/rust-lang/cargo/pull/14224)
80+
- Remove duplicate `strip` section.
81+
[#14146](https://github.com/rust-lang/cargo/pull/14146)
82+
- Update summary of Cargo configuration to include missing keys.
83+
[#14145](https://github.com/rust-lang/cargo/pull/14145)
84+
- Update index of Cargo documentation.
85+
[#14228](https://github.com/rust-lang/cargo/pull/14228)
86+
- Don't mention non-existent `workspace.badges` field.
87+
[#14042](https://github.com/rust-lang/cargo/pull/14042)
4888
- contrib: Suggest atomic commits with separate test commits.
4989
[#14014](https://github.com/rust-lang/cargo/pull/14014)
90+
- contrib: Document how to write an RFC for Cargo.
91+
[#14222](https://github.com/rust-lang/cargo/pull/14222)
92+
- contrib: Improve triage instructions
93+
[#14052](https://github.com/rust-lang/cargo/pull/14052)
5094

5195
### Internal
5296

97+
- cargo-package: Change verification order during packaging.
98+
[#14074](https://github.com/rust-lang/cargo/pull/14074)
99+
- ci: Add workflow to publish Cargo automatically
100+
[#14202](https://github.com/rust-lang/cargo/pull/14202)
101+
- ci: bump CI tools
102+
[#14062](https://github.com/rust-lang/cargo/pull/14062)
103+
[#14257](https://github.com/rust-lang/cargo/pull/14257)
104+
- registry: Add local registry overlays.
105+
[#13926](https://github.com/rust-lang/cargo/pull/13926)
106+
- registry: move `get_source_id` out of registry
107+
[#14218](https://github.com/rust-lang/cargo/pull/14218)
108+
- resolver: Simplify checking for dependency cycles
109+
[#14089](https://github.com/rust-lang/cargo/pull/14089)
110+
- rustfix: Add `CodeFix::apply_solution` and impl `Clone`
111+
[#14092](https://github.com/rust-lang/cargo/pull/14092)
112+
- source: Clean up after `PathSource`/`RecursivePathSource` split
113+
[#14169](https://github.com/rust-lang/cargo/pull/14169)
114+
[#14231](https://github.com/rust-lang/cargo/pull/14231)
53115
- Remove the temporary `__CARGO_GITOXIDE_DISABLE_LIST_FILES` environment variable.
54116
[#14036](https://github.com/rust-lang/cargo/pull/14036)
117+
- Simplify checking feature syntax
118+
[#14106](https://github.com/rust-lang/cargo/pull/14106)
119+
- Dont make new constant `InternedString` in hot path
120+
[#14211](https://github.com/rust-lang/cargo/pull/14211)
121+
- Use `std::fs::absolute` instead of reimplementing it
122+
[#14075](https://github.com/rust-lang/cargo/pull/14075)
123+
- Remove unecessary feature activations from cargo.
124+
[#14122](https://github.com/rust-lang/cargo/pull/14122)
125+
[#14160](https://github.com/rust-lang/cargo/pull/14160)
126+
- Revert #13630 as rustc ignores `-C strip` on MSVC.
127+
[#14061](https://github.com/rust-lang/cargo/pull/14061)
128+
- test: Allow `unexpected_builtin_cfgs` lint in `user_specific_cfgs` test
129+
[#14153](https://github.com/rust-lang/cargo/pull/14153)
130+
- test: Add cargo_test to test-support prelude
131+
[#14243](https://github.com/rust-lang/cargo/pull/14243)
132+
- test: migrate Cargo testsuite to `snapbox`.
133+
For the complete list of migration pull requests,
134+
see [#14039](https://github.com/rust-lang/cargo/issues/14039#issuecomment-2158974033)
55135
- Update dependencies.
56136
[#13995](https://github.com/rust-lang/cargo/pull/13995)
57137
[#13998](https://github.com/rust-lang/cargo/pull/13998)
58138
[#14037](https://github.com/rust-lang/cargo/pull/14037)
139+
[#14063](https://github.com/rust-lang/cargo/pull/14063)
140+
[#14067](https://github.com/rust-lang/cargo/pull/14067)
141+
[#14174](https://github.com/rust-lang/cargo/pull/14174)
142+
[#14186](https://github.com/rust-lang/cargo/pull/14186)
143+
[#14254](https://github.com/rust-lang/cargo/pull/14254)
59144

60145
## Cargo 1.80 (2024-07-25)
61146
[b60a1555...rust-1.80.0](https://github.com/rust-lang/cargo/compare/b60a1555...rust-1.80.0)

0 commit comments

Comments
 (0)