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

respond to latest api changes #1381

Merged
merged 3 commits into from
Jun 2, 2021
Merged

respond to latest api changes #1381

merged 3 commits into from
Jun 2, 2021

Conversation

brettfo
Copy link
Member

@brettfo brettfo commented Jun 1, 2021

More VS Code API changes, the most notable is that the property NotebookCellOutput.outputs has been renamed to NotebookCellOutput.items. The old property name is still runtime compatible, but we should respond to the changes as soon as possible.

N.b., that there are 3 warnings when building the insiders extension:

  • common/vscode/commands.ts:134 - The namespace notebook was renamed to notebooks, but to enable this to build in both stable and insiders, the old name was preserved. This will be runtime compatible for a short while.
  • common/vscode/extension.ts:174 - Same notebook/notebooks namespace issue as above.
  • common/vscode/extension.ts:208 - viewType was renamed to notebookType, but like the namespace change mentioned above, the old name will be runtime compatible for a bit.

Test notebook script was verified against both stable and insiders.

@brettfo brettfo requested a review from colombod June 1, 2021 20:59
@brettfo brettfo merged commit 953cd94 into dotnet:main Jun 2, 2021
@brettfo brettfo deleted the update-api branch June 2, 2021 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants