|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## [1.28.0] - ? |
| 4 | + |
| 5 | +The new release of rustup has been a long time in the making and comes with substantial changes. |
| 6 | + |
| 7 | +The following improvements might require changes to how you use rustup: |
| 8 | + |
| 9 | +- rustup will no longer automatically install the active toolchain if it is not installed. [pr#3985] |
| 10 | + |
| 11 | + * To ensure its installation, run `rustup toolchain install` with no arguments. |
| 12 | + * The following command installs the active toolchain both before and after this change: |
| 13 | + ```sh |
| 14 | + rustup show active-toolchain || rustup toolchain install |
| 15 | + # Or, on older versions of PowerShell: |
| 16 | + rustup show active-toolchain; if ($LASTEXITCODE -ne 0) { rustup toolchain install } |
| 17 | + ``` |
| 18 | +
|
| 19 | +- Installing a host-incompatible toolchain via `rustup toolchain install` or `rustup default` will |
| 20 | + now be rejected unless you explicitly add the `--force-non-host` flag. [pr#4028] |
| 21 | +
|
| 22 | +rustup now officially supports the following host platforms: |
| 23 | +
|
| 24 | + - `aarch64-pc-windows-msvc` [pr#3840] |
| 25 | + - `loongarch64-unknown-linux-musl` [pr#3921] |
| 26 | +
|
| 27 | +We have additionally made the following internal changes: |
| 28 | +
|
| 29 | +- The default download backend has been changed from reqwest with native-tls to reqwest with rustls. [pr#3798] |
| 30 | + - `RUSTUP_USE_CURL` and `RUSTUP_USE_RUSTLS` can still be used to change the download backend |
| 31 | + if the new backend causes issues. |
| 32 | + - The default backend now uses rustls-platform-verifier to verify server certificates, taking |
| 33 | + advantage of the platform's certificate store on platforms that support it. [pr#3903] |
| 34 | +- When creating proxy links, rustup will now try symlinks first and fall back to hardlinks, |
| 35 | + as opposed to trying hardlinks first. [pr#4023] |
| 36 | +- A new `RUSTUP_LOG` environment variable can be used to control tracing-based logging in |
| 37 | + rustup binaries. See the [dev guide](https://rust-lang.github.io/rustup/dev-guide/tracing.html) for more details. [pr#3875] |
| 38 | +
|
| 39 | +[pr#3985]: https://github.com/rust-lang/rustup/pull/3985 |
| 40 | +[pr#4028]: https://github.com/rust-lang/rustup/pull/4028 |
| 41 | +[pr#3840]: https://github.com/rust-lang/rustup/pull/3840 |
| 42 | +[pr#3921]: https://github.com/rust-lang/rustup/pull/3921 |
| 43 | +[pr#3798]: https://github.com/rust-lang/rustup/pull/3798 |
| 44 | +[pr#3903]: https://github.com/rust-lang/rustup/pull/3903 |
| 45 | +[pr#4023]: https://github.com/rust-lang/rustup/pull/4023 |
| 46 | +[pr#3875]: https://github.com/rust-lang/rustup/pull/3875 |
| 47 | +
|
3 | 48 | ## [1.27.1] - 2024-04-14
|
4 | 49 |
|
5 | 50 | This new Rustup release involves some minor bug fixes.
|
@@ -85,7 +130,7 @@ Finally, the project seems to have attracted a total of 23 new contributors with
|
85 | 130 |
|
86 | 131 | ### Added
|
87 | 132 |
|
88 |
| -- Add basic support for `fish` shell [pr#3108] |
| 133 | +- Add basic support for `fish` shell [pr#3108] |
89 | 134 | - Add the `RUSTUP_TERM_COLOR` environment variable to force the use of colored output [pr#3435]
|
90 | 135 | - Improve `rustup-init.sh`'s compatibility with `ksh` and `zsh` [pr#3475]
|
91 | 136 | - Add a warning when running under Rosetta 2 [pr#3068]
|
|
0 commit comments