denoland / denoland/deno

Support semver ranges in `deno upgrade --version=`

Open
#25,035 2 comments 0 reactions 0 assignees View on GitHub
cli suggestion
Dominant language
Rust
Stars
108k
Forks
6.4k
Avg merge
2d 22h
Merged PRs (30d)
59

Description

Due to https://github.com/denoland/deno/issues/25034 I need to downgrade to Deno 1.41. I would like to use the _latest_ 1.41.x version, since that's probably better than using 1.41.0.

The only way to do so is by checking on https://github.com/denoland/deno/releases what the latest patch was, and then run `deno upgrade --version=1.41.3`. It'd be great if I could run either `deno upgrade --version=1.41` or `deno upgrade --version=~1.41.0`, without having to first manually figure out which exact version I want.

This need would probably be more common once you release a new major version, since some projects might need Deno 1 to run and I'd want to install whatever the latest 1.x.y version was.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.