Skip to content

Commit 9a75051

Browse files
committed
posts: announce rustup 1.28.2
1 parent 67c0421 commit 9a75051

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed

content/Rustup-1.28.2.md

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
+++
2+
path = "2025/04/25/Rustup-1.28.2"
3+
title = "Announcing rustup 1.28.2"
4+
authors = ["The Rustup Team"]
5+
aliases = ["2025/04/25/Rustup-1.28.2.html"]
6+
+++
7+
8+
The rustup team is happy to announce the release of rustup version 1.28.2.
9+
[Rustup][install] is the recommended tool to install [Rust][rust], a programming language that
10+
empowers everyone to build reliable and efficient software.
11+
12+
## What's new in rustup 1.28.2
13+
14+
The headlines of this release are:
15+
16+
- The cURL download backend and the native-tls TLS backend are now officially deprecated and
17+
a warning will start to show up when they are used. [pr#4277]
18+
19+
- While rustup predates reqwest and rustls, the rustup team has long wanted to standardize on
20+
an HTTP + TLS stack with more components in Rust, which should increase security, potentially
21+
improve performance, and simplify maintenance of the project.
22+
With the default download backend already switched to reqwest since [2019][pr#1660], the team
23+
thinks it is time to focus maintenance on the default stack powered by these two libraries.
24+
25+
- The rustup team encourages everyone still relying on non-default backends to switch back to
26+
reqwest and rustls, and would love to hear from you about your use case via
27+
[GitHub Issues][issue tracker] if it does not work well with your particular setup.
28+
29+
- The version of `rustup` can be pinned when installing via `rustup-init.sh`, and
30+
`rustup self update` can be used to upgrade/downgrade rustup v1.28.2+ to a given version.
31+
To do so, set the `RUSTUP_VERSION` environment variable to the desired version (for example `1.28.2`).
32+
33+
- `rustup set auto-install disable` can now be used to disable automatic installation of the toolchain.
34+
This is similar to the `RUSTUP_AUTO_INSTALL` environment variable introduced in v1.28.1 but with a
35+
lower priority. [pr#4254]
36+
37+
- Fixed a bug in Nushell integration that might generate invalid commands in the shell configuration.
38+
Reinstalling rustup might be required for the fix to work. [pr#4265]
39+
40+
[pr#1660]: https://github.com/rust-lang/rustup/pull/1660
41+
[pr#4254]: https://github.com/rust-lang/rustup/pull/4254
42+
[pr#4259]: https://github.com/rust-lang/rustup/pull/4259
43+
[pr#4265]: https://github.com/rust-lang/rustup/pull/4265
44+
[pr#4277]: https://github.com/rust-lang/rustup/pull/4277
45+
[issue tracker]: https://github.com/rust-lang/rustup/issues/
46+
47+
## How to update
48+
49+
If you have a previous version of rustup installed, getting the new one is as easy as stopping
50+
any programs which may be using rustup (e.g. closing your IDE) and running:
51+
52+
```
53+
$ rustup self update
54+
```
55+
56+
Rustup will also automatically update itself at the end of a normal toolchain update:
57+
58+
```
59+
$ rustup update
60+
```
61+
62+
If you don't have it already, you can [get rustup][install] from the appropriate page on our website.
63+
64+
Rustup's documentation is also available in [the rustup book][book].
65+
66+
## Caveats
67+
68+
Rustup releases can come with problems not caused by rustup itself but just due to having a new release.
69+
70+
In particular, anti-malware scanners might block rustup or stop it from creating or copying
71+
files, especially when installing `rust-docs` which contains many small files.
72+
73+
Issues like this should be automatically resolved in a few weeks when the anti-malware scanners are updated
74+
to be aware of the new rustup release.
75+
76+
## Thanks
77+
78+
Thanks again to all the [contributors] who made this rustup release possible!
79+
80+
[book]: https://rust-lang.github.io/rustup/
81+
[changelog]: https://github.com/rust-lang/rustup/blob/stable/CHANGELOG.md
82+
[contributors]: https://github.com/rust-lang/rustup/blob/stable/CHANGELOG.md#detailed-changes
83+
[install]: https://rustup.rs
84+
[rust]: https://www.rust-lang.org

0 commit comments

Comments
 (0)