-
Notifications
You must be signed in to change notification settings - Fork 298
posts: announce rustup 1.28.2 #1593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
rami3l
wants to merge
1
commit into
rust-lang:master
Choose a base branch
from
rami3l:post/rustup-1-28-2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
+++ | ||
path = "2025/04/25/Rustup-1.28.2" | ||
title = "Announcing rustup 1.28.2" | ||
authors = ["The Rustup Team"] | ||
aliases = ["2025/04/25/Rustup-1.28.2.html"] | ||
+++ | ||
|
||
The rustup team is happy to announce the release of rustup version 1.28.2. | ||
[Rustup][install] is the recommended tool to install [Rust][rust], a programming language that | ||
empowers everyone to build reliable and efficient software. | ||
|
||
## What's new in rustup 1.28.2 | ||
|
||
The headlines of this release are: | ||
|
||
- The cURL download backend and the native-tls TLS backend are now officially deprecated and | ||
a warning will start to show up when they are used. [pr#4277] | ||
|
||
- While rustup predates reqwest and rustls, the rustup team has long wanted to standardize on | ||
shepmaster marked this conversation as resolved.
Show resolved
Hide resolved
|
||
an HTTP + TLS stack with more components in Rust, which should increase security, potentially | ||
improve performance, and simplify maintenance of the project. | ||
With the default download backend already switched to reqwest since [2019][pr#1660], the team | ||
thinks it is time to focus maintenance on the default stack powered by these two libraries. | ||
|
||
- For people who have set `RUSTUP_USE_CURL=1` or `RUSTUP_USE_RUSTLS=0` in their environment to | ||
work around issues with rustup, please try to unset these after upgrading to 1.28.2 and file | ||
[an issue][issue tracker] if you still encounter problems. | ||
|
||
- The version of `rustup` can be pinned when installing via `rustup-init.sh`, and | ||
`rustup self update` can be used to upgrade/downgrade rustup 1.28.2+ to a given version. | ||
To do so, set the `RUSTUP_VERSION` environment variable to the desired version (for example `1.28.2`). | ||
[pr#4259] | ||
|
||
- `rustup set auto-install disable` can now be used to disable automatic installation of the toolchain. | ||
This is similar to the `RUSTUP_AUTO_INSTALL` environment variable introduced in 1.28.1 but with a | ||
lower priority. [pr#4254] | ||
|
||
- Fixed a bug in Nushell integration that might generate invalid commands in the shell configuration. | ||
Reinstalling rustup might be required for the fix to work. [pr#4265] | ||
|
||
[pr#1660]: https://github.com/rust-lang/rustup/pull/1660 | ||
[pr#4254]: https://github.com/rust-lang/rustup/pull/4254 | ||
[pr#4259]: https://github.com/rust-lang/rustup/pull/4259 | ||
[pr#4265]: https://github.com/rust-lang/rustup/pull/4265 | ||
[pr#4277]: https://github.com/rust-lang/rustup/pull/4277 | ||
[issue tracker]: https://github.com/rust-lang/rustup/issues/ | ||
|
||
## How to update | ||
|
||
If you have a previous version of rustup installed, getting the new one is as easy as stopping | ||
any programs which may be using rustup (e.g. closing your IDE) and running: | ||
|
||
``` | ||
$ rustup self update | ||
``` | ||
|
||
Rustup will also automatically update itself at the end of a normal toolchain update: | ||
|
||
``` | ||
$ rustup update | ||
``` | ||
|
||
If you don't have it already, you can [get rustup][install] from the appropriate page on our website. | ||
|
||
Rustup's documentation is also available in [the rustup book][book]. | ||
|
||
## Caveats | ||
|
||
Rustup releases can come with problems not caused by rustup itself but just due to having a new release. | ||
|
||
In particular, anti-malware scanners might block rustup or stop it from creating or copying | ||
files, especially when installing `rust-docs` which contains many small files. | ||
|
||
Issues like this should be automatically resolved in a few weeks when the anti-malware scanners are updated | ||
to be aware of the new rustup release. | ||
|
||
## Thanks | ||
|
||
Thanks again to all the [contributors] who made this rustup release possible! | ||
|
||
[book]: https://rust-lang.github.io/rustup/ | ||
[changelog]: https://github.com/rust-lang/rustup/blob/stable/CHANGELOG.md | ||
[contributors]: https://github.com/rust-lang/rustup/blob/stable/CHANGELOG.md#detailed-changes | ||
[install]: https://rustup.rs | ||
[rust]: https://www.rust-lang.org |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am aware that we have a call-for-testing post in https://internals.rust-lang.org/t/seeking-beta-testers-for-rustup-v1-28-2. Do we want to call for testing also in the "Inside Rust Blog"? I could see this is a patch version release so we skip that part :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh it might also be worth mentioning this on zulip. One of the things brought up before is that many people involved with rust don't read internals whereas zulip is more active.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@weihanglo That might indeed be a good idea in general, but the scope of this patch release is relatively small IMHO.
@ChrisDenton The Zulip thing does sound like a good idea. Where are we supposed to post it though?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rami3l We should post in general for visibility I think because it should have a wide audience.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps it should link to a t-rustup thread (or vice versa) so there's a cross-reference of where rustup discussions have happened on zulip.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ChrisDenton Already posted to #general > Seeking beta testers for rustup v1.28.2.