You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow engines.vscode to target Insiders versions more precisely #121749
At the moment, the engines only targets a generic "insiders". This can cause issues when developing extensions that are in-use against evolving APIs in Insiders. I've hit this when dealing with testing APIs, and I know the Python people have hit this dealing with notebooks. In some cases it's possible to feature-detect on APIs, but this can be messy and is not always straightforward.
Optimizing for a case where updated extensions are released before the Insiders build is available, I propose adding an RFC3339 date tag that would -- in absence of other good markers -- specify the minimum build timestamp the extension is compatible with. For example, this would match any >=1.56.0 Insiders or Stable builds that happen after the current time:
"engines": {
"vscode": "^1.56.0-20210428",
},
A nicer way would be to use git commits, but unless we embed commit history in builds we can't say "any build after a certain hash".
Not sure what this buys extension users. If a user has the latest VS Code insiders installed, & the extension targets the previous days build, then the extension doesn't load.
Isn't it the same as extension not loading due to errors? Or am i missing somethign in the suggestion.
This allows extension updates for new APIs to be released before the new Insiders -- not the other way around (which I don't see how we could do unless we blocked the Insiders update)
Activity
connor4312 commentedon Apr 28, 2021
Actually, we can follow TypeScript's style. They have versions like
4.3.0-dev.20210428, so we could do^1.56.0-insider.20210428Sandeep 👍 'd this in PM, so will implement next milestone.
Edit: updated original comment to reflect that
connor4312 commentedon Apr 28, 2021
fyi Don Jayamanne (@DonJayamanne) since your team may want to use this
DonJayamanne commentedon May 11, 2021
Not sure what this buys extension users. If a user has the latest VS Code insiders installed, & the extension targets the previous days build, then the extension doesn't load.
Isn't it the same as extension not loading due to errors? Or am i missing somethign in the suggestion.
connor4312 commentedon May 11, 2021
This allows extension updates for new APIs to be released before the new Insiders -- not the other way around (which I don't see how we could do unless we blocked the Insiders update)
DonJayamanne commentedon May 11, 2021
Yes got it, that makes sense