Skip to content

Add extension deprecation and redirection #4772

Closed

Description

@Tyriar

Allow extensions to specify they are deprecated in their package.json, with an optional alternative extension(s) field. This setting can inform the user of the deprecation in-product, and if specified, potentially update to the new extension automatically without informing of the deprecation?

Related: #3670

Activity

  1. added
    feature-request
    debt
    extensions
    on Mar 29, 2016
  2. be5invis commented on Jun 21, 2016

    @be5invis
    Contributor

    Any progress? I'd like to rename my extension be5invis.julia into be5invis.syntax-julia, but the old one cannot be removed.

  3. joaomoreno commented on Jun 22, 2016

    @joaomoreno
    Contributor

    cc Erich Gamma (@egamma) This could be an alternative for renaming.

  4. egamma commented on Jun 22, 2016

    @egamma
    Member

    João Moreno (@joaomoreno) yes, but this would still have the statistics issue in that the download count is now accounted to 2 extensions. For a not yet popular extension this is not an issue, but for a popular one it is. So I still think we need support for this from the market place.

  5. joaomoreno commented on Jul 5, 2016

    @joaomoreno
    Contributor

    modigrv Is there any concept of deprecation?

  6. modigrv commented on Jul 7, 2016

    @modigrv

    Forwarded the request to Marketplace PM

  7. hamenon commented on Jul 8, 2016

    @hamenon

    João Moreno (@joaomoreno) We don't have the concept of deprecation yet in the Marketplace. But we do intend to support it soon. The fact the extension is deprecated will be added to the extension properties. And the current plan is to not show deprecated extensions on the marketplace in searches etc, to prevent future installs. Will work with Wade on how to handle it on the client side.

  8. Tyriar commented on Oct 5, 2016

    @Tyriar
    ContributorAuthor
  9. waderyan commented on Oct 5, 2016

    @waderyan

    There has been some work here. #10551

  10. Tyriar commented on Oct 5, 2016

    @Tyriar
    ContributorAuthor

    Oh cool, is it planned to look into a deprecated extension automatically installing another extension that supersedes it? These are the use cases I'm aware of:

    • Abandoning an extension (could also use vsce unpublish?)
    • An extension is deprecated in favor of another publisher's (chrisdias.vscodeEditorConfig -> EditorConfig.EditorConfig)
    • An extension being renamed within the same publisher (be5invis.julia -> be5invis.syntax-julia)

    It's not clear after skimming #10551 whether users are informed about the deprecation of they're just hidden from search.

  11. waderyan commented on Oct 5, 2016

    @waderyan

    We punted on the use cases you described for now. We had to get the filter in for the search query, but should look at solving the cases you describe.

  12. 32 remaining items

  13. burkeholland commented on May 11, 2022

    @burkeholland
    Contributor
  14. isidorn commented on May 23, 2022

    @isidorn

    Thanks to the great work done by Sandeep Somavarapu (@sandy081) this is now done.

    Try it out in VS Code insiders and let us know what you think.
    Also please comment here if there are any deprecated extensions which we did not mark as deprecated yet. Thanks!

    I still plan to update our extension author docs to explain extension deprecation.

    Here's an example of how this looks like:

    Screenshot 2022-05-23 at 14 02 03

    Screenshot 2022-05-23 at 14 05 29

  15. lnicola commented on May 23, 2022

    @lnicola
    Contributor

    Isidon isidorn small, drive-by nit: that message at the bottom should probably say "Use the Live Preview extension instead.".

  16. isidorn commented on May 23, 2022

    @isidorn

    Laurențiu Nicola (@lnicola) thanks! I am not 100% convinced - but I am not a native English speaker :)
    Maybe "Use Live Preview instead". So we remove "extension" part

    Sandeep Somavarapu (@sandy081) what do you think?

  17. Tyriar commented on May 23, 2022

    @Tyriar
    ContributorAuthor

    Isidor Nikolic (@isidorn) the current sentence sounds wrong to me but either proposal sounds natural. I'd go with Use Live Preview instead since "extension" is mentioned in the previous sentence already.

  18. mjbvz commented on May 23, 2022

    @mjbvz
    Contributor

    Isidor Nikolic (@isidorn) Are there any plans to (gently) alert users who already have a deprecated extension installed? Right now I find it easy to miss unless you are explicitly looking for it

  19. isidorn commented on May 24, 2022

    @isidorn

    Matt Bierner (@mjbvz) yes, more details here #150011
    Daniel Imms (@Tyriar) thanks, I see Sandy has pushed a change with your proposal.

  20. RandomFractals commented on May 24, 2022

    @RandomFractals

    Matt Bierner (@mjbvz) & Isidor Nikolic (@isidorn): perhaps adding the deprecated extensions list to the welcome/getting started view when vscode IDE is updated could be a good solution to highlight deprecated extensions with alternatives to install and use instead, or migrate to via the new migrate feature you proposed in #150011

  21. isidorn commented on May 24, 2022

    @isidorn

    Taras Novak (@RandomFractals) thanks for the idea. Something to consider.
    Though right now we are leaning towards having everything in the extensions viewlet / extension details scope.

  22. RandomFractals commented on May 24, 2022

    @RandomFractals

    Isidor Nikolic (@isidorn) my suggestion was mainly for the scenario Matt Bierner (@mjbvz) described as many devs, us included, have and use many extensions and unless we go to extension view to review latest changes & updates, finding good up to date alternatives will be hidden. Could be another feature as you iterate on this ext. deprecation implementation later. I like the described experience so far. Thanks for taking it on!

  23. locked and limited conversation to collaborators on Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

extensionsfeature-requestmarketplaceon-testplanupstream

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions