-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document: Fetch last compatible version of extensions #4318
Comments
we could do something similar to nuget.org in old vscode versions, show the latest you can install with a disclaimer saying "hey this is not the latest! but it's the newest you can install"
|
@rebornix We already support whatever you described in the description. I always fetch the latest extension version that supports the VS Code client from which the extension is asked to install / update. I will close this unless you have other asks here. Following are other ideas being collected in issues |
My bad, I thought I had seen different behavior in the past... One thing that tripped me up though: Steps:
Expected: Without this, it's misleading to the customer as to what version they can actually install. They will also be confused to see that the listing says 0.22.0 and they only got 0.20.0. |
Other than the issue @TylerLeonhardt described above, it works as expected. @sandy081 do you think we can document this and extension authors can rely on this behavior in their release pipeline? If this behavior is golden, extensions can have a release story similar to ours
This can be a fine story for extensions currently using proposed api but not interested in publishing multiple extensions. |
Isn't there a Marketplace restriction that prevents publication of an extension in which |
This also makes the assumption that you only want to allow your "beta" version to work with insiders builds, which I don't think is always the case. For example, I currently have an "insiders" edition of GitLens, and its engine only locked to the feature set it requires. So users can use it on any version of VS Code that meets those needs. Do we also consider 1.53 greater than 1.53-insiders? Meaning if you said you want |
@eamodio this is particularly for releasing features using latest proposed in Insiders, it's different from "beta" as that's talking about shipping extension specific preview features (not necessarily limited by vscode api). If extensions set |
Filed separate issue for tracking showing extension with compatible version. I wonder if this needs support from Marketplace team too. |
@rebornix Sure. We can have one of our extensions as an example following this and document it. |
I just verified that the extension update flow works exactly as described above, thanks @sandy081 for confirmation, it works great. It should be the recommended solution for extensions who want to differentiate Stable and Insiders distro. |
|
This idea has probably been already discussed before but I didn't find the exact issue. @TylerLeonhardt and me discussed how VS Code supports stable/beta releases of extensions without the marketplace doing anything, and found this doable in practice:
1.51
(note that there is no^
so we publish a version targeting VS Code Stable 1.51)1.52-Insider
. This version will only work in 1.52 Insiders1.51
if there are important bug fixes need to ship to users on VS Code 1.511.52-Insider
1.52-Insider
while Stable users will get the last one with engine1.51
With above approach, extensions can use the same extension for different distro, which is helpful for testing proposed api. It's different from support beta version of extensions.
The text was updated successfully, but these errors were encountered: