vitest-dev / vscode

VS Code extension for Vitest
https://vitest.dev/vscode
MIT License
726 stars 77 forks source link

Open VSX Registry (VSCodium) forcing outdated version (1.0.0-beta.X) #427

Open flx-sta opened 4 days ago

flx-sta commented 4 days ago

Describe the bug

When installing the extension in VSCodum via the VSX Registry it install the wrong version (1.0.0-beta.X). Even though those version were released month ago

I'm able to use it by just manually selecting the correct version to install but it's a real inconvenience

image

I have a parallel report on discord of this: https://discord.com/channels/917386801235247114/1257899109311057990

Reproduction

  1. Install VSCodium
  2. Start it
  3. Install vitest extension
  4. Check the version

Output

[INFO 8:17:07 PM] Trying to get vitest version from /Users/<user>/projects/<git-repo>/node_modules/.bin/vitest -v...
[INFO 8:17:07 PM] Running command in directory: /Users/<user>/projects/<git-repo>
[INFO 8:17:07 PM] vitest/1.5.2 darwin-arm64 node-v20.13.0

[INFO 8:17:07 PM] Vitest Workspace [<git-repo>]: Vitest version = 1.5.2
[INFO 8:17:07 PM] pure/WS Close
[INFO 8:17:07 PM] RECONNECT
[INFO 8:17:41 PM] pure/WS Close
[INFO 8:17:41 PM] RECONNECT
[INFO 8:17:41 PM] pure/WS Close
[INFO 8:17:42 PM] RECONNECT
[INFO 8:17:42 PM] pure/WS Close
[INFO 8:17:42 PM] RECONNECT
[INFO 8:17:42 PM] pure/WS Close
[INFO 8:17:43 PM] RECONNECT
[INFO 8:17:43 PM] pure/WS Close
[INFO 8:17:43 PM] RECONNECT
[INFO 8:17:43 PM] pure/WS Close
[INFO 8:17:44 PM] RECONNECT
[INFO 8:17:44 PM] pure/WS Close
[INFO 8:17:44 PM] RECONNECT
[INFO 8:17:44 PM] pure/WS Close
[INFO 8:17:45 PM] RECONNECT
[INFO 8:17:45 PM] pure/WS Close
[INFO 8:17:45 PM] RECONNECT
[INFO 8:17:45 PM] pure/WS Close
[INFO 8:17:46 PM] RECONNECT
[INFO 8:17:46 PM] pure/WS Close
[INFO 8:17:46 PM] RECONNECT
[INFO 8:17:46 PM] pure/WS Close
[INFO 8:17:47 PM] RECONNECT
[INFO 8:17:47 PM] pure/WS Close
[INFO 8:17:47 PM] RECONNECT
[INFO 8:17:47 PM] pure/WS Close
[INFO 8:17:48 PM] RECONNECT
[INFO 8:17:48 PM] pure/WS Close
[INFO 8:17:48 PM] RECONNECT
[INFO 8:17:48 PM] pure/WS Close
[INFO 8:17:49 PM] RECONNECT
[INFO 8:17:49 PM] pure/WS Close
[INFO 8:17:49 PM] RECONNECT
[INFO 8:17:49 PM] pure/WS Close
[INFO 8:17:50 PM] RECONNECT
[INFO 8:17:50 PM] pure/WS Close

Version

1.0.0-beta.1

Validations

sheremet-va commented 4 days ago

Yeah, Open VSX doesn't support tagging - we can't override the latest version until we publish v1.

flx-sta commented 4 days ago

@sheremet-va thanks for the quick response. That's too bad.. Can't those version be removed from Open VSX or am I thinking to simple?

sheremet-va commented 4 days ago

I didn't find a way to remove them using the API, it's pretty limited

flx-sta commented 4 days ago

@sheremet-va Alright. How annoying.. Well I've left a 5 ⭐ review referencing this issue and explaining the situation. Hope this helps some ppl. MAYBE adding an info the readme would help too?

sheremet-va commented 4 days ago

I am planning to release v1 pretty with the browser support soon, so I don't think it will be a problem for long.

flx-sta commented 4 days ago

@sheremet-va sounds good. Can i close this issue or do you want me to keep it open till then?