Skip to content

Commit 333ee58

Browse files
committed
Update changelog for 1.57
1 parent 8811750 commit 333ee58

File tree

1 file changed

+58
-1
lines changed

1 file changed

+58
-1
lines changed

CHANGELOG.md

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,76 @@
11
# Changelog
22

3+
## Cargo 1.58 (2022-01-13)
4+
[b2e52d7c...HEAD](https://github.com/rust-lang/cargo/compare/b2e52d7c...HEAD)
5+
6+
### Added
7+
8+
- Added `rust_version` field to package data in `cargo metadata`.
9+
[#9967](https://github.com/rust-lang/cargo/pull/9967)
10+
11+
### Changed
12+
13+
### Fixed
14+
15+
- Doctests now include rustc-link-args from build scripts.
16+
[#9916](https://github.com/rust-lang/cargo/pull/9916)
17+
18+
### Nightly only
19+
20+
- Make future-incompat-report output more user-friendly.
21+
[#9953](https://github.com/rust-lang/cargo/pull/9953)
22+
323
## Cargo 1.57 (2021-12-02)
4-
[18751dd3...HEAD](https://github.com/rust-lang/cargo/compare/18751dd3...HEAD)
24+
[18751dd3...rust-1.57.0](https://github.com/rust-lang/cargo/compare/18751dd3...rust-1.57.0)
525

626
### Added
727

28+
- 🎉 Added custom named profiles. This also changes the `test` and `bench`
29+
profiles to inherit their settings from `dev` and `release`, and Cargo will
30+
now only use a single profile during a given command instead of using
31+
different profiles for dependencies and cargo-targets.
32+
[docs](https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#custom-profiles)
33+
[#9943](https://github.com/rust-lang/cargo/pull/9943)
834
- The `rev` option for a git dependency now supports git references that start
935
with `refs/`. An example where this can be used is to depend on a pull
1036
request from a service like GitHub before it is merged.
1137
[#9859](https://github.com/rust-lang/cargo/pull/9859)
38+
- Added `path_in_vcs` field to the `.cargo_vcs_info.json` file.
39+
[docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-package.html#cargo_vcs_infojson-format)
40+
[#9866](https://github.com/rust-lang/cargo/pull/9866)
1241

1342
### Changed
1443

44+
- The `cargo version` command now includes some extra information.
45+
[#9968](https://github.com/rust-lang/cargo/pull/9968)
46+
- Updated libgit2 to 1.3 which brings in a number of fixes and changes to git
47+
handling.
48+
[#9963](https://github.com/rust-lang/cargo/pull/9963)
49+
[#9988](https://github.com/rust-lang/cargo/pull/9988)
50+
- Shell completions now include shorthand b/r/c/d subcommands.
51+
[#9951](https://github.com/rust-lang/cargo/pull/9951)
52+
- `cargo update --precise` now allows specifying a version without semver
53+
metadata (stuff after `+` in the version number).
54+
[#9945](https://github.com/rust-lang/cargo/pull/9945)
55+
- zsh completions now complete `--example` names.
56+
[#9939](https://github.com/rust-lang/cargo/pull/9939)
57+
- The progress bar now differentiates when building unittests.
58+
[#9934](https://github.com/rust-lang/cargo/pull/9934)
59+
- Some backwards-compatibility support for invalid TOML syntax has been removed.
60+
[#9932](https://github.com/rust-lang/cargo/pull/9932)
61+
- Reverted the change from 1.55 that triggered an error for dependency
62+
specifications that did not include any fields.
63+
[#9911](https://github.com/rust-lang/cargo/pull/9911)
64+
1565
### Fixed
1666

1767
- Removed a log message (from `CARGO_LOG`) that may leak tokens.
1868
[#9873](https://github.com/rust-lang/cargo/pull/9873)
69+
- `cargo fix` will now avoid writing fixes to the global registry cache.
70+
[#9938](https://github.com/rust-lang/cargo/pull/9938)
71+
- Fixed `-Z help` CLI option when used with a shorthand alias (b/c/r/d).
72+
[#9933](https://github.com/rust-lang/cargo/pull/9933)
73+
1974

2075
### Nightly only
2176

@@ -105,6 +160,8 @@
105160
[#9818](https://github.com/rust-lang/cargo/pull/9818)
106161
- Return an error instead of a stack overflow for command alias loops.
107162
[#9791](https://github.com/rust-lang/cargo/pull/9791)
163+
- Updated to curl 7.79.1, which will hopefully fix intermittent http2 errors.
164+
[#9937](https://github.com/rust-lang/cargo/pull/9937)
108165

109166
### Nightly only
110167

0 commit comments

Comments
 (0)