-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Rely on UUIDs for extension identification #34812
Comments
Maybe then you can implement that an extension can be renamed. @Binaryify had that problem. |
@jens1o |
Adding a few more items (so I don't forget)
Sean |
Implementation
Test casesExtensions Installed from MarketplaceAn extension is installed from Marketplace and
VSIX ExtensionsAn extension is installed through VSIX and
Update
Enablement / Disablement
Recommendations and Dependencies
|
and "settings sync" extension is broken for insiders with this change 😄 |
@shanalikhan Not sure if I understand, Can you explain how does this change broke your extension? |
Extension identification is essential to the update mechanism. It is through an identifier that we're able to match several extension versions against one another.
We are currently using the
publisher.name
tuple as an identifier. This is very beneficial in some scenarios such as VSIX side-loading, in which updates would still work seamlessly.The Marketplace team intends to provide publisher/extension renames. This will break our assumptions that the
publisher.name
tuple is valid during its entire lifecycle. So we must only rely on the marketplace UUID returned from the Marketplace, which will stay consistent in renaming situations.This needs to be adopted in a few places:
publisher.name
.cc @sandy081
The text was updated successfully, but these errors were encountered: