Releases: microsoft/vscode-jupyter
2021.8.0 (8 July 2021)
Enhancements
- In preview native notebooks UI, contribute
L
keybinding to toggle line numbers for the current cell, andshift+L
keybinding to toggle line numbers for all cells.
(#4438) - Add xarray arrays to Data Viewer.
(#5590) - When editing a markdown cell in preview native notebooks UI, contribute
ctrl+enter
keybinding to render current markdown cell, andshift+enter
to render current markdown cell and skip to the next cell.
(#5976) - Contribute extension-level
shift+enter
keybinding to execute current code cell and select below in preview native notebooks UI.
(#6037) - Added ability to save plots in the preview native notebooks UI.
(#6183) - Added a preview to run by line and debugging in native notebooks. Set the
jupyter.experimental.debugging
setting to true, install ipykernel 6 on your selected kernel and adebug
button will appear. Pressing it will start a debugging session and let you set and hit breakpoints.
(#5607) - Add
jupyter.enableNativeInteractiveWindow
setting to opt into the preview native interactive window experience, with support for VS Code customizations like keybindings, themes, snippets and more.(#1388)
Fixes
- Fix problems loading other language kernels in the Interactive Window and in non insiders webviews.
(#893) - Only ask user to switch to
"perFile"
mode if"jupyter.interactiveWindowMode": "multiple"
and they have submitted code from two different source files.
(#5471) - On remote connections check for new or removed LiveKernelConnections on document open.
(#5984) - In preview native notebooks interface, show editor title buttons only when "notebook.globalToolbar" setting is set to
false
.
(#6019) - Ship require.js with our notebook preloads and renderers.
(#6034) - Save output in *.ipynb even when output is created without any Jupyter output metadata.
(#6192) - In preview native notebooks interface, contribute
ctrl+enter
keybinding which puts the current cell into control mode instead of leaving it in edit mode after running.
(#6198) - Fix interrupt button in Native Notebook toolbar.
(#6254) - Fix problem where the active interpreter is not being used for the interactive window when not running with raw kernel.
(#6409)
Code Health
- Add doc switching variable view tests for native notebooks.
(#4355) - Fix 'Restarting kernel will cancel cell execution & we can re-run a cell' test.
(#6139) - Restore GitHub token access for CodeQL, issue locking and issue assignment workflows.
(#6170) - Fix flake notebookAndWebview test.
(#6234)
Thanks
Thanks to the following projects which we fully rely on to provide some of
our features:
Also thanks to the various projects we provide integrations with which help
make this extension useful:
2021.6.9999 (23 June 2021)
Fixes
- Resolve DataFrame horizontal scrollbar issue on Jupyter side.
(#6354)
2021.6.999 (16 June 2021)
Fixes
- On remote connections check for new or removed LiveKernelConnections on document open.
(#5984) - When editing a markdown cell in preview native notebooks UI, contribute
ctrl+enter
keybinding to render current markdown cell, andshift+enter
to render current markdown cell and skip to the next cell.
(#5976) - In preview native notebooks UI, contribute
L
keybinding to toggle line numbers for the current cell, andshift+L
keybinding to toggle line numbers for all cells.
(#4438) - Contribute extension-level
shift+enter
keybinding to execute current code cell and select below in preview native notebooks UI.
(#6037) - In preview native notebooks interface, contribute
ctrl+enter
keybinding which puts the current cell into control mode instead of leaving it in edit mode after running.
(#6198) - Fix interrupt button in Native Notebook toolbar.
(#6254)
Code Health
- Fix 'Restarting kernel will cancel cell execution & we can re-run a cell' test.
(#6139)
2021.6.99
2021.6.99 (8 June 2021)
Enhancements
- Data Viewer Filter Rows must use explicit wildcards to search for substrings in string filters. For example, filtering by "stable" will not show the value "unstable" anymore, but filtering by "*stable" will show "stable" and "unstable".
(#1142) - Sort variables by name and type in variable explorer.
(#4585) - Limit languages dispalyed in the Cell language picker to languages supported by the kernel.
(#5580) - Move native notebooks cell toolbar to the left by default.
(#5605) - Display modal dialog box (so users don't miss this) when IPyKernel (or Jupyter) is missing (required to run Python in Interactive Window or Notebooks).
(#5798) - Add support for Virtual Workspaces.
(#5803) - Losslessly compressed PNG images to save ~20KB.
(thanks Christopher Yeh)
(#5869) - Adopt
notebook/toolbar
contribution point for native notebooks.
(#5954) - Tweak variable view fit and finish to match VS Code.
(#5955) - Replace 'Run cells above' and 'Run cell and below' commands and cell toolbar buttons with VS Code's built-in 'Execute Above Cells' and 'Execute Cell And Below' commands and unified run button.
(#6025)
Fixes
- Update/reinstall if module such as
IPyKernel
was installed once before or already exists.
(#4758) - Stop listing default kernelspecs in kernel picker.
(#5445) - Store interpreter information in notebook metadata instead of the generated kernelspec name.
(#5612) - Restore the
Run Above/Below
cells command inCommand Palette
.
(#5746) - Migrate 'workbench.editorAssociations' setting to new format.
(#5806) - Add ABCMeta and type to variable explorer exclude list.
(#5865) - Blank Python notebooks do not use active interpreter.
(#5874) - Change language of cell to reflect langauges supported by the selected Kernel.
(#5924) - Resolve issue related to
Interrupt
button vanishing when tabbing across notebooks while a cell is being executed.
(#5925) - Delete encrypted storage in a try catch to avoid errors.
(#5934) - Support new renderer API in Jupyter.
(#5952) - Hide kernels belonging to deleted Python environments from kernel picker.
(#6164)
Code Health
- Error category for unsupported kernelspec file args.
(#5492) - Fix basic execution issues with nonConda 'remote' and nonConda 'local' test suites.
(#5660) - Update to new message API for native notebook preloads.
(#5753) - Rename of onDidChangeCellExecutionState.
(#5809) - Fix functional ipywidget tests.
(#5842) - When using remote Jupyter connections pre-fetch kernels only when opening a notebook.
(#5846) - Removed execution isolation script.
(#5931) - VSCode API naming changes for NotebookCellExecution, NotebookRendererScript.
(#6014) - API Changes viewType => notebookType and notebook namespace to notebooks.
(#6046) - Update test init code to use window and not notebook for editor properties.
(#6098) - Support the new renderer API in jupyter extension.
(#6118) - Update to new notebookcontroller selection function name.
(#6121) - Inline execution handler change to notebook API.
(#6137)
Thanks
Thanks to the following projects which we fully rely on to provide some of
our features:
Also thanks to the various projects we provide integrations with which help
make this extension useful:
2021.6.0
Enhancements
- Manage contributed Jupyter kernels registration.
(#4490) - Update variable explorer icon.
(#5355) - Add keybind 'O' to toggle the output of all selected cells in a notebook.
(#5425) - Recommend extensions when opening notebooks targeting specific languages.
(#5577)
Fixes
- Restore the Intellisense documentation on custom editor notebook.
(#5124) - Upgrade vega-transforms and support vegalite v4.
(#5149) - Add a 10 minute delay to surveys.
(#5261) - Display formatted markdown description for
jupyter.variableQueries
setting in settings UI.
(#5289) - Pass remote Jupyter server's default kernelspec name in remote kernel connection.
(#5290) - Ensure data viewer grid is resized when slice panel is toggled so that horizontal scrollbar remains visible.
(#5309) - When 3rd party CDN downloads need to be enabled for ipywidgets support, display More Info and Enable Downloads buttons instead of embedding them as links in the message.
(#5352) - Fix the output link in the kernel timeout message.
(#5360) - Stop asking users to install ipykernel on autostart, only do it when a cell is run.
(#5368) - Fix for 'Export as Python Script' option not appearing.
(#5403) - Update to remove usage of .cells property from NotebookDocument. Also update TextDocument with notebook property and QuickPick.
(#5417) - Delete extension context secrets if we get an error when getting them.
Small fixes on error handling.
(#5419) - When native notebook is untrusted, do not allow cell execution and prompt to trust.
(#5436) - Resize the untrusted icon.
(#5437) - Save notebook metadata in ipynb even if the selected Kernel is provided by some other extension.
(#5460) - Invalidate cached interpreters when Python extension active interpreter changes.
(#5470) - Use interpreter information stored in kernelspec.json file when starting kernels.
(#5495) - Update to new selections API.
(#5515) - CellStatusBarItem update for Native Notebooks. Along with other breaking API changes.
(#5527) - Remove statusbar from Notebook Cells.
(#5541) - Hide Jupyter commands from other types of notebooks.
(#5559) - Update to newest vscode Notebook API changes.
(#5598) - Increase the width of the data viewer scrollbar.
(#5610) - Fix
NameError: name '_VSCODE_InfoImport' is not defined
when attempting to open the data viewer from 2 or more different scopes in a single debug session.
(#5627) - Use active interpreter when starting Kernels for Interactive Window.
(#5628) - Use
download
package to download widget scripts.
(#5633) - Start kernel if not already started when using
Run cells above/below
.
(#5636)
Code Health
- Add functional test for large data in data viewer.
(#5207) - Pass
NotebookDocument
when invokingjupyter.notebookeditor.interruptkernel
.
(#5242) - Remove data slicing experiment feature gate.
(#5399) - Ignore errors throw by VS Code when updating cell output during execution.
(#5446) - Improvements to telemetry used to check if we're not starting the right interpreter (for a Python kernel).
(#5509) - Add telemetry to check if we fail to update kernelspecs with environment variables.
(#5547) - Ensure
canvas
andplaywright-chromium
are setup as optional dependencies inpackage.json
.
(#5567) - Fix tests after kernel push changes.
(#5585)
Thanks
Thanks to the following projects which we fully rely on to provide some of
our features:
Also thanks to the various projects we provide integrations with which help
make this extension useful:
Release 2021.5.1
Code Health
- Check the responses of prompts for installation of missing packages such as
IPyKernel
.
(#5432)
Fixes
- Fix for 'Export as Python Script' option not appearing.
(#5403) - Delete extension context secrets if we get an error when getting them.
Small fixes on error handling.
(#5419) - Enable correct plot background for Native Notebooks.
(#5353) - Stop asking users to install ipykernel on autostart, only do it when a cell is ran.
(#5368) - Invalidate cached interpreters when Python extension active interpreter changes.
(#5470)
Release 2021.5.0
Enhancements
- Be able to provide string argument to jupyter.execSelectionInteractive for extensibility.
(thanks Andrew Craig)
(#1689)
Fixes
- Jupyter variables tab will always be named 'Jupyter Variables'.
(#4458) - Variable view will stay as long as you have a notebook open (not necessarily active).
(#4562) - Add quotations to arguments with blank spaces when executing kernel processes.
(#4647) - Do not prompt to install Python extension when creating a blank notebook.
(#4965) - Cache the active workspace Python Interpreter.
(#5004) - Don't prewarm variables for global jupyter interpreter if ZMQ is supported.
(#5009) - When closing the Interactive Window, shutdown sessions started by Interactive Window.
(#5030) - Stop wrapping new errors if we threw the original error.
(#5089) - Ignore errors when getting the environment variables for a Python environment.
(#5093) - Revert viewsContainter name to Jupyter and view name to Variables to avoid un-named viewsContainer.
(#5102) - Ensure extensions depending on Jupyter do not fail to load if Jupyter extension fails to load.
(#5145) - Don't display the data science banner for non-Jupyter notebooks.
(#5181) - Don't use NotebookEditor.onDidDispose and support new err / out specific stream mime types.
(#5191) - Prevent unnecessary activation of the Python extension.
(#5193) - Update widget kernel for new NotebookOutputEventParams.
(#5195) - Updates to code used to run Python in an isolated manner.
(#5212) - Changes to proposed API for using resolveKernel instead of resolveNotebook. Since this change goes along with widget tests also renable and fix those tests.
(#5217) - Fix data viewer display of non-numeric index columns in DataFrames.
(#5253) - Display messages notifying user to enable support for CDNs when rendering IPyWidgets.
(#5074) - When reopening a newly created Notebook with a Julia kernel, the cells should be detected as
Julia
.
(#5148) - Support switching kernels in Native Notebooks when connecting to Jupyter.
(#1215) - Refactor how Kernels are searched and selected.
(#4995) - Fix run selection/line to work from the active editor
(#5287) - Update variable view to use the new API for native cell execution notification.
(#5316) - Ensure users in CodeSpaces do not get prompted to forward Kernel Ports.
(#5283) - Disable surveys in CodeSpaces.
(#5295) - Ensure Git diff viewer does not get replaced by Notebook Editor.
(#633)
(thanks Matt Bierner)
Code Health
- Ability to queue telemetry until all of the data required is available.
(#4956) - Fix variables test. We had a new import of sys, which was causing the variable fetching to have to do one extra fetch, pushing it over the limit to require a second chunk fetch.
(#5016) - Add tests for data viewer slice data functionality.
(#5066) - Remove setting
jupyter.useNotebookEditor
.
(#5130) - Enable
debug
logging by default.
(#5238)
Thanks
Thanks to the following projects which we fully rely on to provide some of
our features:
Also thanks to the various projects we provide integrations with which help
make this extension useful:
2021.3.1
2021.3.0
Enhancements
- Add ability to view a slice of the current variable in the data viewer using either axis/index dropdowns or a slice expression input field. (#305)
- Enable refreshing active data viewer contents using Jupyter: Refresh Data Viewer command in the command palette, Cmd+R or Ctrl+R, or the refresh button in the editor title menu. (#1143)
- Always open the data viewer in the last view group that it was moved to. (#4689)
- Support for other extensions to provide a default language when creating new notebooks. (#4859)
Fixes
- Remove special casing to ignore warnings. (#1312)
- Allow jupyter kernels to not be handled by the jupyter extension. (#4423)
- Restore the 'Select a Kernel' command on the interactive window. (#4479)
- Correctly syntax color items in native variable view. (#4499)
- Don't ask for a kernel restart if the kernel was interrupted in native notebooks.(#4669)
- Popup a tip when opening a notebook for the first time.(#4775)
- Ensure we save the contents when closing a (webview based) notebook.(#4779)
- Stop sending cells executed silently to other extensions.(#4867)
- Do not prompt to install missing dependencies on GitHub Codespaces.(#4882)
Code Health
- Synchronously check if
zmq
is supported.(#4764) - Telemetry to track the commands executed using ICommandManager.(#4926)
- More telemetry to track kernel failure reasons.(#4940)
- Add telemetry flag to differentiate between stable vs insider builds of the extension.(#4959)
- Add telemetry to check if we have started the right local Python kernel. (#4999)
2021.02.1
Fixes
- Popup a tip when opening a notebook for the first time. (#4775)
- Ensure we save the contents when closing a (webview based) notebook. (#4779)
- Allow kernels to not be handled by the jupyter extension. (#4423
- Enable native notebook if sync'd settings is forcing it. (#4845
- Fix 'Export as Notebook' not working after opening a notebook on a python file. (#4869