FuelLabs/sway

Warn users when their `forc` toolchain is out of date

Open

#5.280 geöffnet am 15. Nov. 2023

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)Rust (5.421 Forks)batch import
enhancementforcgood first issuelanguage server

Repository-Metriken

Stars
 (61.702 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 5T 4h) (19 gemergte PRs in 30 T)

Beschreibung

forc should should notify users when their active toolchain is out of date. E.g. if they use forc commands on the beta-4 toolchain, but there are new patch releases available it could have some warning message that they are on an out of date version. Same for the LSP - perhaps we could propagate this message in the editor somehow.

A single console message would be good, similar to what the github cli does when you use it and there is a new update you havent applied yet:

A new release of gh is available: 2.32.1 → 2.38.0
To upgrade, run: brew upgrade gh
https://github.com/cli/cli/releases/tag/v2.38.0

Contributor Guide