|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## [1.27.0] - 2024-01-29 |
| 4 | + |
| 5 | +This long-awaited Rustup release has gathered all the new features and fixes since April 2023. |
| 6 | +These changes have greatly improved Rustup's maintainability, user experience, compatibility and documentation quality. |
| 7 | + |
| 8 | +In particular: |
| 9 | +- Basic support for `fish` shell has been added #3108 |
| 10 | +- Rustup now uses `clap` v4 for argument parsing #3444 |
| 11 | +- The project has introduced GitHub Merge Queue as part of its workflow, and the CI pipeline has been revamped accordingly #3567 |
| 12 | + |
| 13 | +### Added |
| 14 | + |
| 15 | +- Add basic support for `fish` shell #3108 |
| 16 | +- Add the `RUSTUP_TERM_COLOR` environment variable to force the use of colored output #3435 |
| 17 | +- Improve `rustup-init.sh`'s compatibility with `ksh` and `zsh` #3475 |
| 18 | +- Add a warning when running under Rosetta 2 #3068 |
| 19 | +- Add browser detection for RISC-V 64 platform #3642 |
| 20 | +- Add a warning when removing the last/host target for a toolchain #3637 #3643 |
| 21 | + |
| 22 | +### Changed |
| 23 | + |
| 24 | +- Upgrade `clap` to v4 #3444 |
| 25 | +- Fix incorrect platform detection on macOS aarch64 due to Rosetta 2 #3438 |
| 26 | +- Fix incorrect platform detection on 32-bit Linux userland with a 64-bit kernel #3488 #3490 |
| 27 | +- Improve Windows system32 DLL loading mechanism #3493 |
| 28 | +- Improve suggestions about missing components #3453 |
| 29 | +- Fix handling of toolchain names with special characters #3518 |
| 30 | +- Fix panic in `component list --toolchain stable` #3548 |
| 31 | +- Rename `llvm-tools-preview` component to `llvm-tools` #3578 |
| 32 | + |
| 33 | +Many thanks to everyone who has contributed to this release! |
| 34 | + |
| 35 | +<details><summary>Details</summary> |
| 36 | + |
| 37 | +* Compile static Mutex where possible by @workingjubilee in https://github.com/rust-lang/rustup/pull/3333 |
| 38 | +* Bumped retry by @gautamprikshit1 in https://github.com/rust-lang/rustup/pull/3271 |
| 39 | +* Upgrade CI image to FreeBSD 13.2 by @asomers in https://github.com/rust-lang/rustup/pull/3325 |
| 40 | +* Fix small typo by @nan60 in https://github.com/rust-lang/rustup/pull/3337 |
| 41 | +* Suggest right toolchain when running clippy by @hi-rustin in https://github.com/rust-lang/rustup/pull/3338 |
| 42 | +* Update Rust crate toml to 0.7.3 by @KamilaBorowska in https://github.com/rust-lang/rustup/pull/3335 |
| 43 | +* Remove repeated definite article by @cuishuang in https://github.com/rust-lang/rustup/pull/3343 |
| 44 | +* Add in opentelemetry tracing as a feature by @rbtcollins in https://github.com/rust-lang/rustup/pull/3287 |
| 45 | +* Rework Toolchain model and drop relative file path overrides by @rbtcollins in https://github.com/rust-lang/rustup/pull/3340 |
| 46 | +* TestProcess and friends should be test only by @rbtcollins in https://github.com/rust-lang/rustup/pull/3359 |
| 47 | +* Update dependencies by @heiher in https://github.com/rust-lang/rustup/pull/3365 |
| 48 | +* Fix compile on rust nightly by @heiher in https://github.com/rust-lang/rustup/pull/3364 |
| 49 | +* CI support for loongarch64-unknown-linux-gnu by @heiher in https://github.com/rust-lang/rustup/pull/3363 |
| 50 | +* Improve CurrentProcess by @rbtcollins in https://github.com/rust-lang/rustup/pull/3368 |
| 51 | +* Improve error message for adding/removing invalid target by @hi-rustin in https://github.com/rust-lang/rustup/pull/3366 |
| 52 | +* Add suggest_message helper for errors by @hi-rustin in https://github.com/rust-lang/rustup/pull/3372 |
| 53 | +* Replace term with termcolor by @hi-rustin in https://github.com/rust-lang/rustup/pull/3351 |
| 54 | +* Make download_tracker thread safe. by @rbtcollins in https://github.com/rust-lang/rustup/pull/3371 |
| 55 | +* Disable the "oldtime" feature of chrono by @hi-rustin in https://github.com/rust-lang/rustup/pull/3377 |
| 56 | +* Update installation methods to use TLS v1.2 by @yerke in https://github.com/rust-lang/rustup/pull/3385 |
| 57 | +* Fix typo: prerequistes -> prerequisites by @acperkins in https://github.com/rust-lang/rustup/pull/3392 |
| 58 | +* Bump some deps by @hi-rustin in https://github.com/rust-lang/rustup/pull/3394 |
| 59 | +* Make clippy happy by @hi-rustin in https://github.com/rust-lang/rustup/pull/3379 |
| 60 | +* Use available_parallelism to replace the `num_cpus`crate by @hi-rustin in https://github.com/rust-lang/rustup/pull/3396 |
| 61 | +* Enable loongarch64-linux-gnu builds on stable by @heiher in https://github.com/rust-lang/rustup/pull/3405 |
| 62 | +* Dev-docs-toc by @rbtcollins in https://github.com/rust-lang/rustup/pull/3436 |
| 63 | +* rustup-init.sh: Check for kernel UAPI compatibility on LoongArch by @xen0n in https://github.com/rust-lang/rustup/pull/3404 |
| 64 | +* Group updates to opentelemetry together by @rbtcollins in https://github.com/rust-lang/rustup/pull/3370 |
| 65 | +* Configure automerge in Renovate by @rbtcollins in https://github.com/rust-lang/rustup/pull/3442 |
| 66 | +* macOS `uname -m` can lie due to Rosetta shenanigans by @rami3l in https://github.com/rust-lang/rustup/pull/3438 |
| 67 | +* Avoid installing protoc for most CI workflows by @djc in https://github.com/rust-lang/rustup/pull/3447 |
| 68 | +* Support `RUSTUP_TERM_COLOR` as an override environment variable by @rami3l in https://github.com/rust-lang/rustup/pull/3435 |
| 69 | +* Return the right lifetime from DistributableToolchain::install by @rbtcollins in https://github.com/rust-lang/rustup/pull/3452 |
| 70 | +* Improve CI debugability by @rbtcollins in https://github.com/rust-lang/rustup/pull/3450 |
| 71 | +* Refactor: Use download_cfg.notify_handler in update() by @rbtcollins in https://github.com/rust-lang/rustup/pull/3449 |
| 72 | +* Fix handling of async tests by @rbtcollins in https://github.com/rust-lang/rustup/pull/3451 |
| 73 | +* Refine suggestions of sourcing `$HOME/.cargo/env` by @rami3l in https://github.com/rust-lang/rustup/pull/3445 |
| 74 | +* buf writes to components to prevent small writes by @klensy in https://github.com/rust-lang/rustup/pull/3402 |
| 75 | +* Isolate trycmd tests from environment by @rbtcollins in https://github.com/rust-lang/rustup/pull/3470 |
| 76 | +* Upgrade to clap 4 by @djc in https://github.com/rust-lang/rustup/pull/3444 |
| 77 | +* Fix some typos by @cuishuang in https://github.com/rust-lang/rustup/pull/3499 |
| 78 | +* Apply clippy suggestions from Rust 1.74 by @djc in https://github.com/rust-lang/rustup/pull/3497 |
| 79 | +* Fix update Rust crate winreg to 0.51 by @rami3l in https://github.com/rust-lang/rustup/pull/3463 |
| 80 | +* 1.26.0 should not be unreleased in the changelog by @rami3l in https://github.com/rust-lang/rustup/pull/3491 |
| 81 | +* Avoid warning for unused variant by @djc in https://github.com/rust-lang/rustup/pull/3500 |
| 82 | +* Mention `brew install rustup-init` in the user guide by @rami3l in https://github.com/rust-lang/rustup/pull/3466 |
| 83 | +* Do not fallback to "arm" in rustup-init.sh on aarch64 with 32-bit userland by @alex in https://github.com/rust-lang/rustup/pull/3488 |
| 84 | +* When running a 32-bit rustup on an aarch64 CPU, select a 32-bit toolchain by @alex in https://github.com/rust-lang/rustup/pull/3490 |
| 85 | +* Windows library loading by @ChrisDenton in https://github.com/rust-lang/rustup/pull/3493 |
| 86 | +* Adjust instructions for manual installation by @rami3l in https://github.com/rust-lang/rustup/pull/3502 |
| 87 | +* Capturing IO error in download_file_with_resume by @ongchi in https://github.com/rust-lang/rustup/pull/3421 |
| 88 | +* Apply more `clippy` suggestions by @rami3l in https://github.com/rust-lang/rustup/pull/3503 |
| 89 | +* Add support for fish shell by @WaffleLapkin in https://github.com/rust-lang/rustup/pull/3108 |
| 90 | +* Remove redundant message if an error occurs during package extraction by @ongchi in https://github.com/rust-lang/rustup/pull/3464 |
| 91 | +* rustup-init.sh ksh and zsh compatibility fixes by @alexhudspith in https://github.com/rust-lang/rustup/pull/3475 |
| 92 | +* Add suggestions to mention sourcing `env.fish` by @rami3l in https://github.com/rust-lang/rustup/pull/3506 |
| 93 | +* Restrict zsh `shwordsplit` to `downloader()` by @rami3l in https://github.com/rust-lang/rustup/pull/3508 |
| 94 | +* Adjust suggestions about sourcing `env` files by @rami3l in https://github.com/rust-lang/rustup/pull/3509 |
| 95 | +* Typo fixed in tips-and-tricks.md file by @Sandesh-Pyakurel in https://github.com/rust-lang/rustup/pull/3510 |
| 96 | +* Warn when running under Rosetta emulation by @kornelski in https://github.com/rust-lang/rustup/pull/3068 |
| 97 | +* Refine suggestions about missing components by @rami3l in https://github.com/rust-lang/rustup/pull/3453 |
| 98 | +* Fix the test toolchain_broken_symlink on Windows by @majaha in https://github.com/rust-lang/rustup/pull/3522 |
| 99 | +* Suggest installing MSYS2 for `windows-gnu` by @rami3l in https://github.com/rust-lang/rustup/pull/3521 |
| 100 | +* Rewrite `toolchain_sort` to prevent panics by @rami3l in https://github.com/rust-lang/rustup/pull/3518 |
| 101 | +* Assorted dependency updates by @djc in https://github.com/rust-lang/rustup/pull/3524 |
| 102 | +* [doc] windows.md: fix link by @olivierlemasle in https://github.com/rust-lang/rustup/pull/3527 |
| 103 | +* CI: Disable openssl for loongarch64-unknown-linux-gnu by @heiher in https://github.com/rust-lang/rustup/pull/3536 |
| 104 | +* Improvements and clean-up for docs and help messages by @majaha in https://github.com/rust-lang/rustup/pull/3542 |
| 105 | +* Upgrade hyper to 1.0 by @dzvon in https://github.com/rust-lang/rustup/pull/3543 |
| 106 | +* Fix panic in `component list --toolchain stable` by @majaha in https://github.com/rust-lang/rustup/pull/3548 |
| 107 | +* Fix test permanently adding to PATH by @majaha in https://github.com/rust-lang/rustup/pull/3551 |
| 108 | +* CI: Enable openssl and rustls on loongarch64 by @heiher in https://github.com/rust-lang/rustup/pull/3579 |
| 109 | +* Fix rustup-init failure to read ZDOTDIR from zsh when SHELL is not zsh by @ericswanson-dfinity in https://github.com/rust-lang/rustup/pull/3584 |
| 110 | +* docs: move "rls" and "rust-analysis" to separate section "previous…" by @burakemir in https://github.com/rust-lang/rustup/pull/3591 |
| 111 | +* ci: streamline CI actions to prepare for merge queue introduction by @rami3l in https://github.com/rust-lang/rustup/pull/3582 |
| 112 | +* fix(ci): use `github.event_name == 'push'` instead of `github.event.push` by @rami3l in https://github.com/rust-lang/rustup/pull/3627 |
| 113 | +* feat(ci): enable the `merge_group` trigger by @rami3l in https://github.com/rust-lang/rustup/pull/3633 |
| 114 | +* Add browser detection for RISC-V 64 platform by @airstone42 in https://github.com/rust-lang/rustup/pull/3642 |
| 115 | +* feat(cli): warn when removing the last/host target for a toolchain by @rami3l in https://github.com/rust-lang/rustup/pull/3637 |
| 116 | +* feat(cli): warn when removing the last/host target for a toolchain, pt. 2 by @rami3l in https://github.com/rust-lang/rustup/pull/3643 |
| 117 | +* refactor(cli): clean up `rustup-init` implementation by @rami3l in https://github.com/rust-lang/rustup/pull/3644 |
| 118 | +* chore: disable some unix-only helper functions on Windows by @rami3l in https://github.com/rust-lang/rustup/pull/3650 |
| 119 | +* 'llvm-tools-preview' component is now named 'llvm-tools' by @mbrossard in https://github.com/rust-lang/rustup/pull/3578 |
| 120 | +* Download rust CI Docker images from a registry by @Kobzol in https://github.com/rust-lang/rustup/pull/3648 |
| 121 | +</details> |
| 122 | + |
| 123 | +**Full Changelog**: https://github.com/rust-lang/rustup/compare/1.26.0...1.27.0 |
| 124 | + |
| 125 | +[1.27.0]: https://github.com/rust-lang/rustup/releases/tag/1.27.0 |
| 126 | + |
3 | 127 | ## [1.26.0] - 2023-04-05
|
4 | 128 |
|
5 | 129 | This version of Rustup involves a significant number of internal refactors, both in terms
|
|
0 commit comments