|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## Cargo 1.90 (2025-09-18) |
| 4 | +[c24e1064...HEAD](https://github.com/rust-lang/cargo/compare/c24e1064...HEAD) |
| 5 | + |
| 6 | +### Added |
| 7 | + |
| 8 | +### Changed |
| 9 | + |
| 10 | +### Fixed |
| 11 | + |
| 12 | +- Expanded error messages around path dependency on `cargo package` and `cargo publish` |
| 13 | + [#15705](https://github.com/rust-lang/cargo/pull/15705) |
| 14 | + |
| 15 | +### Nightly only |
| 16 | + |
| 17 | +- feat(toml): Parse support for multiple build scripts |
| 18 | + [#15630](https://github.com/rust-lang/cargo/pull/15630) |
| 19 | + |
| 20 | +### Documentation |
| 21 | + |
| 22 | +### Internal |
| 23 | + |
3 | 24 | ## Cargo 1.89 (2025-08-07)
|
4 |
| -[873a0649...HEAD](https://github.com/rust-lang/cargo/compare/873a0649...HEAD) |
| 25 | +[873a0649...rust-1.89.0](https://github.com/rust-lang/cargo/compare/873a0649...rust-1.89.0) |
5 | 26 |
|
6 | 27 | ### Added
|
7 | 28 |
|
8 | 29 | - Add `*` and `?` pattern support for SSH known hosts matching.
|
9 | 30 | [#15508](https://github.com/rust-lang/cargo/pull/15508)
|
| 31 | +- Stabilize doctest-xcompile. Doctests will now automatically be tested when cross-compiling to a target that is different from the host, just like other tests. |
| 32 | + [#15462](https://github.com/rust-lang/cargo/pull/15462) |
10 | 33 |
|
11 | 34 | ### Changed
|
12 | 35 |
|
|
28 | 51 |
|
29 | 52 | ### Fixed
|
30 | 53 |
|
| 54 | +- Fixed potential deadlock in `CacheState::lock` |
| 55 | + [#15698](https://github.com/rust-lang/cargo/pull/15698) |
| 56 | + [#15699](https://github.com/rust-lang/cargo/pull/15699) |
| 57 | +- Fixed the `--manifest-path` arg being ignored in `cargo fix` |
| 58 | + [#15633](https://github.com/rust-lang/cargo/pull/15633) |
| 59 | +- When publishing, don't tell people to ctrl-c without knowing consequences. |
| 60 | + [#15632](https://github.com/rust-lang/cargo/pull/15632) |
| 61 | +- Added missing `--offline` in shell completions. |
| 62 | + [#15623](https://github.com/rust-lang/cargo/pull/15623) |
| 63 | +- cargo-credential-libsecret: load libsecret only once |
| 64 | + [#15295](https://github.com/rust-lang/cargo/pull/15295) |
| 65 | +- When failing to find the mtime of a file for rebuild detection, report an explicit reason rather than "stale; unknown reason". |
| 66 | + [#15617](https://github.com/rust-lang/cargo/pull/15617) |
| 67 | +- Fixed cargo add overwriting symlinked Cargo.toml files |
| 68 | + [#15281](https://github.com/rust-lang/cargo/pull/15281) |
| 69 | +- Vendor files with .rej/.orig suffix |
| 70 | + [#15569](https://github.com/rust-lang/cargo/pull/15569) |
| 71 | +- Vendor using direct extraction for registry sources. This should ensure that vendored files now always match the originals. |
| 72 | + [#15514](https://github.com/rust-lang/cargo/pull/15514) |
| 73 | +- In the network retry message, use singular "try" for the last retry. |
| 74 | + [#15328](https://github.com/rust-lang/cargo/pull/15328) |
| 75 | + |
31 | 76 | ### Nightly only
|
32 | 77 |
|
33 | 78 | - 🔥 `-Zno-embed-metadata`: This tells Cargo to pass the `-Zembed-metadata=no`
|
|
36 | 81 | `.rmeta` files.
|
37 | 82 | ([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#no-embed-metadata))
|
38 | 83 | [#15378](https://github.com/rust-lang/cargo/pull/15378)
|
| 84 | +- 🔥 Plumb rustc `-Zhint-mostly-unused` flag through as a profile option |
| 85 | + ([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#profile-hint-mostly-unused-option)) |
| 86 | + [#15643](https://github.com/rust-lang/cargo/pull/15643) |
| 87 | +- Added the "future" edition |
| 88 | + [#15595](https://github.com/rust-lang/cargo/pull/15595) |
| 89 | +- Added `-Zfix-edition` |
| 90 | + [#15596](https://github.com/rust-lang/cargo/pull/15596) |
| 91 | +- Added perma unstable `--compile-time-deps` option for `cargo build` |
| 92 | + [#15674](https://github.com/rust-lang/cargo/pull/15674) |
39 | 93 | - `-Zscript`: Make cargo script ignore workspaces.
|
40 | 94 | [#15496](https://github.com/rust-lang/cargo/pull/15496)
|
41 | 95 | - `-Zpackage-workspace`: keep dev-dependencies if they have a version.
|
42 | 96 | [#15470](https://github.com/rust-lang/cargo/pull/15470)
|
| 97 | +- Added custom completer for `cargo remove <TAB>` |
| 98 | + [#15662](https://github.com/rust-lang/cargo/pull/15662) |
| 99 | +- Test improvements in prep for `-Zpackage-workspace` stabilization |
| 100 | + [#15628](https://github.com/rust-lang/cargo/pull/15628) |
| 101 | +- Allow packaging of self-cycles with `-Zpackage-workspace` |
| 102 | + [#15626](https://github.com/rust-lang/cargo/pull/15626) |
| 103 | +- With trim-paths, remap all paths to `build.build-dir` |
| 104 | + [#15614](https://github.com/rust-lang/cargo/pull/15614) |
| 105 | +- Enable more trim-paths tests for windows-msvc |
| 106 | + [#15621](https://github.com/rust-lang/cargo/pull/15621) |
| 107 | +- Fix doc rebuild detection by passing `toolchain-shared-resources` to get doc styled for rustdoc-depinfo tracking |
| 108 | + [#15605](https://github.com/rust-lang/cargo/pull/15605) |
| 109 | +- Resolve multiple bugs in frontmatter parser for `-Zscript` |
| 110 | + [#15573](https://github.com/rust-lang/cargo/pull/15573) |
| 111 | +- Remove workaround for rustc frontmatter support for `-Zscript` |
| 112 | + [#15570](https://github.com/rust-lang/cargo/pull/15570) |
| 113 | +- Allow configuring arbitrary codegen backends |
| 114 | + [#15562](https://github.com/rust-lang/cargo/pull/15562) |
| 115 | +- skip `publish=false` pkg when publishing entire workspace for `-Zpackage-workspace`. |
| 116 | + [#15525](https://github.com/rust-lang/cargo/pull/15525) |
| 117 | +- Update instructions on using native-completions |
| 118 | + [#15480](https://github.com/rust-lang/cargo/pull/15480) |
| 119 | +- Skip registry check if its not needed with `-Zpackage-workspace`. |
| 120 | + [#15629](https://github.com/rust-lang/cargo/pull/15629) |
43 | 121 |
|
44 | 122 | ### Documentation
|
45 | 123 |
|
|
49 | 127 | [#15478](https://github.com/rust-lang/cargo/pull/15478)
|
50 | 128 | - home: update version notice for deprecation removal
|
51 | 129 | [#15511](https://github.com/rust-lang/cargo/pull/15511)
|
| 130 | +- docs(contrib): change clap URL to docs.rs/clap |
| 131 | + [#15682](https://github.com/rust-lang/cargo/pull/15682) |
| 132 | +- Update links in contrib docs |
| 133 | + [#15659](https://github.com/rust-lang/cargo/pull/15659) |
| 134 | +- docs: clarify `--all-features` not available for all commmands |
| 135 | + [#15572](https://github.com/rust-lang/cargo/pull/15572) |
| 136 | +- docs(README): fix the link to the changelog in the Cargo book |
| 137 | + [#15597](https://github.com/rust-lang/cargo/pull/15597) |
52 | 138 |
|
53 | 139 | ### Internal
|
54 | 140 |
|
|
64 | 150 | [#15498](https://github.com/rust-lang/cargo/pull/15498)
|
65 | 151 | - Update dependencies.
|
66 | 152 | [#15456](https://github.com/rust-lang/cargo/pull/15456)
|
| 153 | +- refactor: replace InternedString with Cow in IndexPackage |
| 154 | + [#15559](https://github.com/rust-lang/cargo/pull/15559) |
| 155 | +- Use `Not::not` rather than a custom `is_false` function |
| 156 | + [#15645](https://github.com/rust-lang/cargo/pull/15645) |
| 157 | +- fix: Make UI tests handle hyperlinks consistently |
| 158 | + [#15640](https://github.com/rust-lang/cargo/pull/15640) |
| 159 | +- Update dependencies |
| 160 | + [#15635](https://github.com/rust-lang/cargo/pull/15635) |
| 161 | + [#15557](https://github.com/rust-lang/cargo/pull/15557) |
| 162 | +- refactor: clean up `clippy::perf` lint warnings |
| 163 | + [#15631](https://github.com/rust-lang/cargo/pull/15631) |
| 164 | +- chore(deps): update alpine docker tag to v3.22 |
| 165 | + [#15616](https://github.com/rust-lang/cargo/pull/15616) |
| 166 | +- chore: remove HTML comments in PR template and inline guide |
| 167 | + [#15613](https://github.com/rust-lang/cargo/pull/15613) |
| 168 | +- Added .git-blame-ignore-revs |
| 169 | + [#15612](https://github.com/rust-lang/cargo/pull/15612) |
| 170 | +- refactor: cleanup for `CompileMode` |
| 171 | + [#15608](https://github.com/rust-lang/cargo/pull/15608) |
| 172 | +- refactor: separate "global" mode from CompileMode |
| 173 | + [#15601](https://github.com/rust-lang/cargo/pull/15601) |
| 174 | +- chore: Upgrade schemars |
| 175 | + [#15602](https://github.com/rust-lang/cargo/pull/15602) |
| 176 | +- Update gix & socket2 |
| 177 | + [#15600](https://github.com/rust-lang/cargo/pull/15600) |
| 178 | +- chore(toml): disable `toml`'s default features, unless necessary, to reduce cargo-util-schemas build time |
| 179 | + [#15598](https://github.com/rust-lang/cargo/pull/15598) |
| 180 | +- chore(gh): Add new-lint issue template |
| 181 | + [#15575](https://github.com/rust-lang/cargo/pull/15575) |
| 182 | +- Fix comment for cargo/core/compiler/fingerprint/mod.rs |
| 183 | + [#15565](https://github.com/rust-lang/cargo/pull/15565) |
67 | 184 |
|
68 | 185 | ## Cargo 1.88 (2025-06-26)
|
69 | 186 | [a6c604d1...rust-1.88.0](https://github.com/rust-lang/cargo/compare/a6c604d1...rust-1.88.0)
|
|
117 | 234 | as git status check is mostly informational.
|
118 | 235 | [#15416](https://github.com/rust-lang/cargo/pull/15416)
|
119 | 236 | [#15419](https://github.com/rust-lang/cargo/pull/15419)
|
| 237 | +- Fixed `cargo rustc --bin` panicking on unknown bin names |
| 238 | + [#15515](https://github.com/rust-lang/cargo/pull/15515) |
| 239 | + [#15497](https://github.com/rust-lang/cargo/pull/15497) |
120 | 240 |
|
121 | 241 | ### Nightly only
|
122 | 242 |
|
|
206 | 326 | [#15193](https://github.com/rust-lang/cargo/pull/15193)
|
207 | 327 | - Include the package name also in the target hint message.
|
208 | 328 | [#15199](https://github.com/rust-lang/cargo/pull/15199)
|
209 |
| - [#15497](https://github.com/rust-lang/cargo/pull/15497) |
210 | 329 | - cargo-add: collapse large feature lists
|
211 | 330 | [#15200](https://github.com/rust-lang/cargo/pull/15200)
|
212 | 331 | - cargo-vendor: Add context which workspace failed to resolve
|
|
0 commit comments