Skip to content
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

Support version for proposed APIs #216608

Merged
merged 8 commits into from
Jun 19, 2024
Merged

Support version for proposed APIs #216608

merged 8 commits into from
Jun 19, 2024

Conversation

sandy081
Copy link
Member

@sandy081 sandy081 commented Jun 19, 2024

Ref: #214294

  • Support version for API proposals. Version is an incremental number and should be provided in the proposal d.ts file as a comment like below.
// version: 1
  • Updated generateApiProposalNames to generate proposals with versions. Moved the extensionsApiProposals files to platform so that proposals can be accessed by shared process.

  • Extensions can lock the proposal version by mentioning the version while declaring the proposal in enabledApiProposals section. Locking the version should make the extension installable or activated in VS Code with the proposal with that version number only. This PR does not have this installation or activation validation which will be implemented in next PR.

"enabledApiProposals": [
    "testObserver@1",
]
  • Introduced enabledApiProposalNames property in IExtensionDescription that contains parsed enabledApiProposals. This should be used by ExtensionsProposedAPI for validation and modification.

@sandy081 sandy081 requested a review from jrieken June 19, 2024 10:49
@sandy081 sandy081 self-assigned this Jun 19, 2024
@vscodenpa vscodenpa added this to the June 2024 milestone Jun 19, 2024
@sandy081
Copy link
Member Author

Seems, there is something broken with my changes. I will take a look and fix.

@sandy081
Copy link
Member Author

Fixed!

@sandy081 sandy081 merged commit a764c2a into main Jun 19, 2024
6 checks passed
@sandy081 sandy081 deleted the sandy081/payable-duck branch June 19, 2024 16:01
bricefriha pushed a commit to bricefriha/vscode that referenced this pull request Jun 26, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Aug 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants