asdf-deno icon indicating copy to clipboard operation
asdf-deno copied to clipboard

Update list-all to fetch stable and RC versions from deno website

Open thgaskell opened this issue 4 months ago • 0 comments

This PR should work along with #44 and help resolve #45


I've was looking into ways to include release candidate versions, and I found that the denoland/setup-deno GitHub Action might offer a useful approach.

They fetch version information from https://deno.com/versions.json, which provides a list of all available Deno versions, including stable, and release candidates. Here’s an example response:

{
  "cli": [
    "v2.0.0-rc.10",
    "v2.0.0-rc.9",
    ...
    "v1.46.3",
    "v1.46.2",
    ...
  ],
  "std": [
    ...
  ]
}

This might be a helpful alternative to the GitHub releases API for managing version resolution, especially when dealing with release candidates. It could simplify access to all available versions, including release candidates, in one place.

thgaskell avatar Oct 09 '24 05:10 thgaskell