Skip to content

Latest commit

 

History

History
2294 lines (1896 loc) · 131 KB

CHANGELOG.md

File metadata and controls

2294 lines (1896 loc) · 131 KB

Changelog

Deprecated

This changelog is deprecated. Here is where you can find details about the latest updates to this extension:

2022.10.110 (2 November 2022)

Enhancements

  1. If a display name is specified for a remote jupyte server display that name instead of (Remote) in the kernel picker. (#11381)
  2. Display an error message (with instructions to resolve the issue) in the cell output when attempting to run a cell against a kernel from an untrusted location. (#11622)
  3. Make insiders kernel picker now a two step selection process that picks a source and a controller. (#11642)
  4. Update kernel source command to use newly available NotebookDocument context from kernel picker command source. (#11759)

Fixes

  1. Outputs containing Plotly plots generated with the notebook renderer are now displayed even after re-opening this notebook in a new install of VS Code. (#6404)
  2. Restore the command to import a notebook from the explorer context menu. (#9252)
  3. Optimize the way stream outputs are handled, to support large output streams without crashing VS Code. (#11031)
  4. Fully remove message asking users to try out pre-release Jupyter if they are on Insiders. (#11477)
  5. Ensure kernel messages are handled by a cell even after cell execution completes. (#11526)
  6. A restored Interactive Window will be re-used for code cells from the same python file. (#11574)
  7. In the insiders kernel picker, don't prepopulate the server display name field with the URI. (#11643)
  8. Update the "Install Python" kernel command to use the python api directly and remove controller loaded context. (#11647)

Code Health

  1. Adopt the new Python Extension API used to enumerate Python environments, resulting in improvements such as faster listing of Kernels in the Kernel Picker. (#7583)
  2. Reduce the amount of work done for each code lens creation to help performance. (#11433)
  3. Ship renderer preload scripts in the Notebook Renderer Extension. (#11671)
  4. Initialize the environment variable PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING at the point of spawning the Python kernel. (#11682)

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:

2022.9.120 (11 October 2022)

Enhancements

  1. Display an error message (with instructions to resolve the issue) in the cell output when attempting to run a cell against a kernel from an untrusted location. (#11622)

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:

2022.9.110 (11 October 2022)

Fixes

  1. Fixed vulnerability described in CVE-2022-41083

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:

2022.9.110 (11 October 2022)

Fixes

  1. Fixed vulnerability described in CVE-2022-41083

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:

2022.9.100 (4 October 2022)

Enhancements

  1. Add code folding regions for # %% cells within python files. (#1527)
  2. Deleting a cell in the interactive window is now an undo-able operation. (#7756)
  3. Add cell tag and slideshow editing support. (#1121)

Fixes

  1. The cell scrolled to will be selected after using the go to cell code lens. (#7687)
  2. Make sure the "Install Python" and "Install Python Extension" commands only show up after we have loaded our controllers. (#10960)
  3. Ensure the cache of kernels is not updated when kernel discovery ends midway. (#11240)
  4. Don't show unclickable links when failing to connect to a jupyter server in the web extension. (#11285)

Code Health

  1. Removed delayed scrolling reveal in the interactive window now that core does auto-scrolling. (#7686)
  2. Ignore errors when disposing a kernel. (#11304)

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:

2022.8.100 (30 August 2022)

Fixes

  1. Display a prompt when Python environment used to start Jupyter cannot, providing the user with the ability to select a Python Environment. (#1110)
  2. Start and maintain a single Python process for interrupting Python kernels (one process per session). (#9909)
  3. Don't save an incorrect server password in our cached password list, and keep displaying the server input prompt after a failed password attempt. (#10300)
  4. Pass --user flag when installing dependencies into a Global Python environment such as the one installed from Windows Store. (#10478)
  5. Handle situations when the connection to a remote Kernel is lost after executing a cell. This also fixes the issue Unable to interrupt a kernel when the remote kernel connection is lost #9828. (#10568)
  6. Ensure cells in Interactive Window are executed in correct order when executing from both code lenses and the input box. (#10671)
  7. Do not append/prepend path values unnecessarily. (#10906)
  8. Ensure user variables overriding builtins do not break the dataframe viewer. (#10941)
  9. Remove duplicate Cancel button from modal dialog for interrupting kernels. (#10999)
  10. Kill all of the child processes spawned by a local kernel when the kernel is shutdown. (#11018)
  11. Initialize the environment variable PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING for the Python debugger when debugging Interactive Window and Notebooks. This also addresses the following issues 10600, 10106 (#11033)
  12. Ensure users can connect to Azure ML Jupyter Server. (#11084)

Code Health

  1. Stop creating hidden terminals to look for Jupyter Notebook application. (#10935)
  2. Fix the test "Export a basic notebook document with nbconvert" CI failure. (#11190)
  3. Fix the macOS smoke test which is failing every time on CI. (#11193)

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:

2022.7.110 (12 Aug 2022)

Fixes

  1. Ensure users can connect to Azure ML Jupyter Server. (#11084)

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:

2022.7.100 (3 Aug 2022)

Enhancements

  1. DataFrame viewer enabled on the web. (#9665)
  2. The Variable Viewer now shows strings wrapped in single quotes. (#10225)
  3. Rework kernel selection to be in either 'remote' mode or 'local' mode to avoid confusion about what kernels should be displayed. (#10435)
  4. Added a more info button to the kernel depedency prompt to give more information about ipykernel. (#10658)
  5. Use the Python Extension install python command versus just pointing at python.org. (#10696)
  6. Only show the "kernel may need to be restarted" message when installing Python if there are active kernels. (#10697)
  7. Added a setting 'jupyter.showOnlyOneTypeOfKernel' to allow trying out the new kernel picker UI. (#10782)
  8. Don't show the Python getting started page when installing via the Jupyter kernel picker command. (#10793)

Fixes

  1. Fixes related to loading of environment variables from .env files (#10359, #9774, #10392, #10755).
  2. Load environment variables for Python kernels from file defined in the setting python.envFile (#9691).
  3. Fixes problem where clipboard permissions are required in order to enter a Jupyter server URL. (only applies when 'jupyter.showOnlyOneTypeOfKernel' is enabled) (#10191)
  4. Fix problem of determining whether or not in 'local' or 'remote' mode for a Jupyter connection. (#10363)
  5. Don't prompt to install python extension on just trying to check the packages that are in an interpreter. (#10615)
  6. Ensure the extension loads in the Safari browser. (#10621)
  7. Fixed localization on package.json sections: capabilities, contributes.walkthroughs, contributes.commands and contributes.debuggers. As well as the localizations on the exceptions thrown if the extension fails to activate and the localization on the messages for deprecated features. (#10624)
  8. Fix language of picking a jupyter server when in the web extension. (#10672)
  9. Change wording on 'Connect to Your Own Jupyter Server' to 'Connect to a Jupyter Server'. (#10675)
  10. Fix error that pops up when trying to restart during debugging a notebook. (#10741)
  11. Stop waiting for kernel to start (or be idle) when switching kernels. (#10795)
  12. Display messages from background threads in cell outputs. (#10864)
  13. Fixes problem with starting a kernel when ZMQ wasn't supported on Windows. (#10940)

Code Health

  1. Use modal dialogs in places where user input is necessary as part of a workflow. (#10436)
  2. Load static resources for IPyWidgets from known directories as documented here. (#10722)

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:

2022.6.120 (14 July 2022)

Fixes

  1. Stop incorrectly looking at .python property in the python debug configuration. (#10789)

2022.6.110 (11 July 2022)

Fixes

  1. Temporarily disable localising certain phrases that would break some of the extension features while we investigate the underlying reason. (#10752)

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:

2022.6.100 (6 July 2022)

Enhancements

  1. Ensure static resources required by IPyWidgets get downloaded appropriately in the Web and when using local or remote Jupyter Servers. (#8834)
  2. Enabled export Interactive Window for web. (#10291)
  3. Enabled expand and collapse Interactive Window cells in Web. (#10524)
  4. For the new "Install Python Extension" command only show the modal dialog box if triggered via a running document. (#10548)
  5. Change the logic to show our "Install Python (Extension)" commands in the kernel picker more often. (#10583)

Fixes

  1. Support displaying of complex outputs (such as Plots) in the Output Widget. (#9503)
  2. Fixes to pick the correct python version when opening in the DataViewer from python debug menu. (#10007)
  3. Ensure IPyWidgets get loaded correctly when loading resources from the CDN, Remote Jupyter or local the Python Environment. (#10060)
  4. Fix problem with variable view not refreshing when switching between tabs. (#10241)
  5. Fix error link clicking in the web version of the extension. (#10287)
  6. Fixed loading of scripts related to custom IPyWidgets. (#10319)
  7. Enable IPyWidgets for Kernels other than Python. (#10330)
  8. Fix inconsistent link in README. Thanks @ChaseKnowlden (#10396)
  9. Fix problem with continuous progress bar in the 'Jupyter:Variables' window by making the jupyter extension load when this view is visible. (#10413)
  10. Fix problem with widgets being rendered offscreen and not appearing when scrolling. (#10485)
  11. Replace 'Python 3' dummy kernel with commands to install the python extension or install python. (#10513)
  12. Ensure we always import scripts required to load DataFrame and variable information. (#10516)
  13. Ensure we can run Latex from within a Interactive Window cell (with a cell marker). (#10531)
  14. Remove extra button from Restart Kernel modal. (Thanks kilacoda) (#10539)
  15. Add support for loading of widget scripts found within the global Jupyter data directory. (#8241)
  16. Set a longer timeout so that if we fail to install the Python extension for some reason we don't just wait forever. (#10617)
  17. Expose jQuery in Notebook Cell outputs for IPyWidgets. (#10660)

Code Health

  1. Removed deprecated 'change directory on import/export' option (#8752)
  2. Remove usage of console.log in renderers. (#10202)
  3. Fix 'Special Token Check' test. (#10565)

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:

2022.5.100 (7 June 2022)

Enhancements

  1. Document context keys for keybinding 'when' clauses. (#6573)
  2. Alert boxes of the form <div style="alert alert-danger"> are now styled as colored boxes, to match how they are in Jupyter. (thanks Eric Wieser) (#8399)
  3. Enabled the Interactive Window in web. (#9717)
  4. Enabled the Variables Viewer in web. (#10154) However, neither the DataFrame viewer nor the Plot viewer are enabled in this release. (Tracking: #9665)

Fixes

  1. Validate remote Jupyter Server connections when attempting to start a kernel. (#8043)
  2. Fix to provide autocomplete inside of quoted strings. This fix also enabled a setting to allow the use of Jedi for completions in a kernel, but should be used with caution. Jedi can hang the kernel preventing exeuction from happening. (#8983)
  3. Clear locally saved connection info when we run the server clear command. (#8956)
  4. Ensure the format progress message disappears once export has completed. (#9112)
  5. Notify failures in connection to remote Jupyter Server only when connecting to those kernels. (#9167)
  6. Show the export commands for non-python notebooks. (#9571)
  7. Makes progress indicators appear for web extension when connecting to kernels. (#9784)
  8. Support reopening a notebook in web browser and having it remember its original kernel. (#9826)
  9. Allow usage of the jupyter API in stable builds so Juptyer Power Toys can use it. (#9868)
  10. Support notebook debugging in the web extension. (#9973)
  11. Support widgets that can be downloaded from a CDN in the web extension. Non CDN widgets will come later. (#9984)
  12. Add editor context key support into the web extension. (#9990)
  13. Fix problem with PYTHONNOUSERSITE being set even when not desired. There's a setting now that will set this environment variable on kernel launch if it's needed: jupyter.excludeUserSitePackages. (#9995)
  14. Don't show the python extension install ui when auto starting kernels. (#10011)
  15. Support standard ipywidgets in the web extension. (#10051)
  16. When connecting to a remote Jupyter server with a password you will not have to input the server URL twice to have it apply anymore. (#10103)
  17. Fix clicking on links for error callstacks to open the same original python file instead of a new one. (#10149)
  18. Gracefully handle failures when attempting to convert ANSI codes to HTML in large error output within the errors renderer. (#10172)
  19. Fix 'go to source' to work again in the interactive window. (#10205)
  20. Fixes run by line not stopping on any lines. (#10207)
  21. Fix Jupyter: Variables hiding when closing a notebook or an interactive window. (#10209)
  22. Fix error renderer to return tracebacks. (#10239)
  23. Fix problem with interactive window links being off by one. (#10283)

Code Health

  1. Add test to make sure if the active interpreter is switched, the interactive window switches to that interpreter. (#5478)
  2. Add tests to verify notebook metadata is in a notebook. (#5601)
  3. Add telemetry test to verify we output a specific set for different operations. (#6883)
  4. Added a Performance test to test and ensure expected performance characteristics. (#7437)
  5. Don't skip code completions when the server is busy. Instead let it timeout if the server doesn't come back. (#9797)
  6. Add test for remote https jupyter servers. (#9844)
  7. Change document to notebook off of NotebookEditor class due to API change. (#10083)
  8. Dataframe tests were failing when Pylance was updated to return the 'Name' column for a dataframe. (#10259)

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:

2022.4.101 (6 May 2022)

Fixes

  1. Fix regression in finding the python interpreter for viewing values in the debugger. (#9928)

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:

2022.4.100 (2 May 2022)

Enhancements

  1. Ensure widgets using IPyWidgets 8.0 get rendered correctly. (#8552)
  2. Display a meaningful message in the cell that last ran when the kernel crashed. (#9375)
  3. Add support for connecting to remote jupyter kernels from the web extension. The server needs to start with '--NotebookApp.alloworigin=_baseurl' in order to connect from a webpage. (#9663)

Fixes

  1. Don't append another cell to a python file when the cell was empty. (#9452)
  2. Mark cell as not executing when dismissing the prompt to restart a dead kernel. (#9538)
  3. Fix problem with path names in overriding modules. (#9560)
  4. Replace Buffer constructors with safer methods to reduce security concerns. (Thanks caphosra) (#9589)
  5. Ensure raw cells do not stay in a pending execution state. (#9633)
  6. Only set preferred kernel on exact matches. (#9685)
  7. Use kernel name in preferred kernel sorting algorithm. (#9704)
  8. Make sure that notebook metadata is updating when changing between python envs (or kernelspecs) that use the same python version number. (#9727)
  9. Fix kernels not showing up at all if remote kernel fetch fails. (#9728)
  10. Ask for allowing unauthorized connections for https jupyter servers without certification. (#9758)
  11. Fixes problem with crashes in the python extension preventing the jupyter extension from running. (#9800)
  12. Fix remote kernels not being reselected on reopening a notebook. (#9809)
  13. Fix handling of kernel errors in web extension. (#9817)

Code Health

  1. Finish layout of src folder into:

    • intellisense
    • interactive-window
    • kernels
    • notebooks
    • platform
    • telemetry
    • test
    • webviews (#8976)
  2. Allow passing a Uri instead of a Notebook document to the kernel API. (#9495)

  3. Clean up react17 reference in package.json it's not needed anymore. (#9543)

  4. Remove events from shipping code. Not needed. (#9596)

  5. Switch to using URIs wherever possible instead of strings for file paths. (#9599)

  6. Remove usage of textDocumentNotebook proposed API that was unnecessary. (#9679)

  7. Skip logging the entire server settings. (#9791)

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:

2022.3.100 (25 March 2022)

Enhancements

Fixes

  1. Add support for named index in dataframe viewer for DataFrames and Series. (#5348)
  2. Fix interactive window such that if a new kernel is picked when opening or the kernel is canceled, the interactive window will run with the new kernel or show the canceled state (instead of just showing no status at all). (#8817)
  3. Fix 'ipykernel_launcher' not found when using a global python environment and '.env' file exists. (#9127)
  4. Support conda installations that require using conda.bat instead of conda.exe on windows. (#9133)
  5. Register kernelspecs in a private directory without cluttering user kernelspecs. (#9141)
  6. Hide Notebook Editor icons contributed by the Jupyter extension when selecting a Kernel contributed by another extension. (#9155)
  7. Only append SVG to the figure format if required. If not required, don't mess with the default. (#9191)
  8. Deprecated the "Jupyter: Create new Jupyter notebook" Command since it has moved to the built-in ipynb extension in VS Code. (#9250)
  9. Fix auto scrolling in the interactive window. (#9259)
  10. Fix problem with double install ipykernel message when cancelling. (#9267)
  11. Ensure the handle to the kernel connection file is disposed. (#9298)
  12. Fix notebook intellisense to work again after recent regression. (#9385)
  13. Fix all cells to not show a timer when queueing up multiple. (#9405)
  14. Fixes intellisense provided by the kernel missing. (#9424)
  15. Fixes IPyWidgets not working after refactor of source tree. (#9475)
  16. Register platform commands. (#9476)

Code Health

  1. Eliminate unused parameter for concatMultilineString. (#5144)
  2. Move installation of python packages into the Jupyter extension (stop using an API from the python extension). (#8457)
  3. Re-use the same codeWatchers per document when providing code lenses. (#8919)
  4. Refactor kernel related code into a 'kernels' subfolder. (#8970)
  5. Refactor 'notebook' related code into a 'notebooks' folder. (#8971)
  6. Move interactive window related code to its own root folder. (#8972)
  7. Refactor client code into a 'platform' directory and organize serviceRegistry files in a hierarchical structure. (#8981)
  8. Update to Typescript 4.6. (#9173)
  9. Match the node version used by VS code to build. (#9325)
  10. Remove src\ipywidgets from repository and move to a separate npm module. (#9337)

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:

2022.2.103 (7 March 2022)

Fixes

  1. Load environment variables defined in kernelspecs. (#9171)
  2. Do not inherit PYTHONNOUSERSITE from the process running Jupyter. (#9233)
  3. Update display names of Python Environments in kernel picker if the Python version has changed. (#9104)
  4. Support for detection of missing dependencies in scenarios where users re-create the Python Environments (virtual env or Conda env) or for some reason manually uninstall some of the dependencies. (#9135)

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:

2022.2.102 (4 March 2022)

Fixes

  1. Ensure we detect and set the site_packages directory only for environments that can be activated. This ensures we can correctly start Python Kernels in the Python Windows Store Apps. (#9219)

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:

2022.2.101 (3 March 2022)

Enhancements

  1. When a new Conda Environment is created, refresh the list of kernels to include this new Conda environment. (#8508)
  2. Modify command jupyter.selectjupyteruri to allow URI parameter. (Thanks C-SELLERS) (#8918)

Fixes

  1. Add jupyter.logKernelOutputSeparately to expose the console logs of a kernel and or jupyter server (when we don't start a kernel directly ourselves). This option should make it easier to diagnose kernel only problems. (#4954)
  2. Handle situations where nbconvert is installed but jupyter is not installed (our dependency installer will install both). (#6838)
  3. Re-run the cells when changing kernels due to missing ipykernel. (#8381)
  4. Support connecting to remote kernels that are busy. (#8414)
  5. When using "Show in Data Viewer" from the python debug variables menu prompt to install pandas if it's not there already. (#8423)
  6. Give preference to cellId in the cell metadata when sending cell metadata over for execution. (#8761)
  7. Rename labels to match the new feature of allowing remote and local connections to exist simultaneously. (#8780)
  8. Refresh the remote kernel connection count in kernels for Interactive Window. (#8798)
  9. Do not execute startup code if there isn't any. (#8879)
  10. Fix completions for dataframe columns. (#8888)
  11. Provide a better message to indicate when we have no variables yet and are fetching them instead of saying no variables defined. (#8898)
  12. Make autocomplete return faster regardless of how long pylance takes to return. (#8906)
  13. Fix kernel dying when interrupting on Windows. (#8945)
  14. Fix our waiting for RequestKernelInfo (might have been hurting raw kernel start some). (#8989)
  15. Avoid waiting for completions during kernel startup (as completions request could fail without a response). (#9014)
  16. Adopt new notebookKernel contextkey (1.65) to prevent our interactive window toolbar from appearing on IWs belonging to other extensions. (Thanks gjsjohnmurray) (#9037)
  17. Leverage new notebookKernel contextkey and IW placeholder text fix (1.65) to prevent our interactive window Shift+Enter keybinding from affecting IWs belonging to other extensions. (Thanks gjsjohnmurray) (#9038)
  18. Correctly handle tilde in python traceback file path links. (#9058)
  19. When running shell commands, ensure the kernel first looks for executables in Python Environment associated with the Kernel. E.g. commands such as !pip and !python will point to the pip and python executable associated with the kernel. (#9089)
  20. Fix 'ipykernel_launcher' not found when using a global python environment and '.env' file exists. (#9127)

Code Health

  1. Add 'goto definition' test from a notebook. (#5125)
  2. Switch to building with webpack 5. (#7827)

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:

2022.1.120 (January Release on 11 February 2022)

Fixes

  1. Fix daemon startup to work for non direct kernel cases (#8995)
  2. Fix our waiting for RequestKernelInfo (might have been hurting raw kernel start some). (#8989)

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:

2022.1.110 (January Release on 09 February 2022)

Fixes

  1. Fix kernel dying when interrupting on Windows. (#8945)

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:

2022.1.100 (January Release on 03 February 2022)

Enhancements

  1. Reloading VS Code is no longer necessary when switching between local and remote Jupyter servers. (#1367)
  2. Expose Jupyter Kernel API to 3rd party extensions. This API is still in preview and only available in VS Code Insiders, further information can be found here https://github.com/microsoft/vscode-jupyter/wiki/Accessing-Jupyter-Kernels-from-3rd-party-extensions. (#5532)
  3. Recommend using %matplotlib widget when any other %matplotlib choice is set. (#8365)
  4. Be able to retrieve XSRF token with session cookie from notebook server on Kubeflow. (@shawnzhu) (#8441)
  5. Add support for pre-release version of Extensions for VS Code Insiders. (#8463)
  6. Allow to retrieve the jupyter filename programmatically (vsc_ipynb_file) fix support for ClearML
  7. Display both local and remote kernels together in the kernel picker. (#8489)

Fixes

  1. Install IPyKernel without a terminal when dealing with Virtual Environments on windows. (#1253)
  2. Use the appropriate directory for a notebook if remoting to 'localhost' (#1551)
  3. Fix VS code leaving kernel processes running during shutdown. (#1626)
  4. Deprecate "Change Directory on Import Export Setting" (#4419)
  5. Fix plot viewer so that plots are full size when opening. (#7523)
  6. Support viewing dataframes (in the dataframe viewer) that contain columns used as an index. (#7603)
  7. Support automatic reconnection to a remote kernel when reopening a notebook. (#7610)
  8. Fix completions for paths for notebooks so that you can keep tabbing through all entries. This used to stop after the first level. (#7816)
  9. Prevent variables from getting stuck in the Loading... state after restart. (#7970)
  10. Allow queueing of multiple cells in the interactive window. (#8022)
  11. Correctly handle leading spaces in cells when debugging with the interactive window. (#8263)
  12. Support intellisense after connecting to a remote server (defaults to active python interpreter) (#8285)
  13. Make run file in interactive window respect cell boundaries. (#8312)
  14. Get %matplotlib qt5 working again. QT5's event loop is slightly different and can't handle concurrent requests so make sure to wait for a request before issuing another. (#8322)
  15. Fix problems when 'print' has been overridden by user code. (#8356)
  16. Ensure interactive IPyWidgets work even after restarting Remote Kernels. (#8378)
  17. Continue attempting to create a kernel for the IW if it failed to start previously (#8383)
  18. Fix intellisense to work when no folder is opened. (#8409)
  19. Fix intellisense after deleting a line from a cell that contains the word 'await' or a magic. (#8419)
  20. Set suggested kernel for interactive window correctly. (#8424)
  21. Fix semantic colorization in the first cell of a notebook. (#8437)
  22. Context key not updated when interactive window is created from command palette. (#8455)
  23. Autocompletions from the jupyter kernel can sometimes not appear. (#8536)
  24. Fix problem with markdown cells in the interactive window not being split if they have code in them too. (#8543)
  25. Fix conda environments not working when ZMQ support is not enabled. Ensure sys.path is setup such that packages installed in selected environments is given preference (imported) over global site-packages. I.e. this fix will ensure packages are first imported from the selected environment, and then from the global site-packages. (#8553)
  26. Apply correct resource settings to notebookFileRoot in multi-root workspaces. (#8561)
  27. Fix problem where error stack traces would show random code that hadn't actually been run. (#8568)
  28. Fix caching of conda environment data so that subsequent runs of conda kernels are faster. (#8580)
  29. Allows execution in more than one interactive window at the same time. (#8615)
  30. Don't ask the user to enable CDN widget sources if they are already enabled and add more information to the warning message when we fail to download the widget. (#8626)
  31. Fix traceback parsing when using IPython 8.0 or greater. (#8675)
  32. Expand ~ in notebookFileRoot setting. (#8679)
  33. Fix launching kernel on Mac M1 (or zmq not supported) using default environment. (#8681)
  34. Fix the interactive debugging tests to shut down debugging correctly at the end. (#8684)
  35. Fix error tracebacks to not have background colors. Background colors from Jupyter don't match VS code themes, so they were just removed. (#8697)
  36. Fix prompting to switch to prerelease even when already on prerelease. (#8724)
  37. Fix problem with markdown cells causing off by one errors in notebooks. (#8769)
  38. Fix for intellisense breaking after typing a magic into a cell other than the first. (#8830)

Code Health

  1. Refactor any code using a string for a file path to support a URI instead. This should make remote file systems work better. (#1420)
  2. Make sure submissions include a news file. (#3200)
  3. Consolidate requirements.txt files into a smaller set. (#3992)
  4. Change error message prompting user to install IPykernel into an information message. (#8415)
  5. Display modal dialog when attempting to run Python notebooks without the Python extension installed. (#8416)
  6. Display error message when failing to connect to the remote Jupyter server. (#8474)
  7. Remove jupyter.runMagicCommands (which has been deprecated for over a year) in favor of runStartupCommands. (#8485)
  8. Activate conda environments using conda run. (#8544)
  9. Improvements to progress message displayed when starting kernels. The messages now attempt to provide more information about the progress and hopefully make it easier to understand what is going on (or what is slow when starting a kernel). (#8583)
  10. Update README.md to remove insiders specific references. (#8548)

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:

VS Code Stable releases along with the minimum recommended version of the Jupyter Extension.

Release VS Code Stable Recommended Jupyter Build
November 1.63.0 2021.11.1001550889
October 1.62.0 2021.10.1001414422
September 1.61.2 2021.9.1101343141
August 1.60.2 2021.8.2041215044
July 1.59.1 2021.8.1236758218
June 1.58.2 2021.8.1054968649

2021.11.100 (November Release on 8 December 2021)

Enhancements

  1. Performance improvements related to startup of Kernels.
    • Support pre-warming Kernels to improve startup experience of Notebooks. (#7903)
    • Faster activation of Python environments such as Conda. (#8342)
    • Avoid starting default kernel when starting jupyter. (#8185)
    • Avoid looking for IPyKernel when we've found it once before. (#8196)
    • Avoid unnecessarily searching for Jupyter packages when Jupyter runtime isnt' rqeuired to start Kernels. (#8350) (#8352)
  2. Add diagnostics messages recommending the usage of %pip install & %conda install over !pip install. (#6864)
  3. Prompt and install pip if pip is not available when installing missing dependencies such as ipykernel. (#7739)
  4. Add support for interrupting non-python kernels. (#8107)
  5. Support iPyWidgets when connecting to an existing (already running) remote kernel. (#8179)
  6. Identify and recommend renaming user created python files that overwrite builtins and cause Kernels to crash (or not start at all). (#8195)
  7. Recommend updating traitlets to 5.1.1 if jupyter fails to start. (#8295)
  8. Attempt to pip install Data Science packages such as ipykernel outside a terminal when dealing with Global Python Environments. (#8325)
  9. Display kernel startup failure messages in cell outputs for improved visibility. (#8351)
  10. Improvements to error messages displayed when Kernel startup fails. (#8354)
  11. Warn when using outdated versions of Python (Python 2.7 & the like). (#7960)

Fixes

  1. Top level awaits in a notebook cell should not cause an error to be shown. (#1510)
  2. Cancel active kernel startup when switching to another kernel. (#5896)
  3. Fix highlighting of elements in a cell. (#5932)
  4. For interactive window commands (run all, run above, run below) add them to a queue instead of just trying to execute one by one. (#6982)
  5. Fix completions to skip file names when not inside of a string. (#7136)
  6. Fix regression to show "Show in Data Viewer" option from nested variables in the debug variables view. (#7295)
  7. Eliminate duplicate content in jupyter completions. (#7772)
  8. Make jupyter kernel autocomplete less aggressive and customizable. The new 'jupyter.completionTriggerCharacters' can be used to determine what causes a kernel to return completions. (#7880)
  9. Make 'Jupyter: Export interactive as Jupyter notebook' command work. (#7947)
  10. Let code in 'jupyter.runStartupCommands' work with intellisense. For example, if your startup commands were 'import pandas as pd', auto completion would now work automatically for 'pd.' without having to type the import first. (#7993)
  11. Allow for nbconvert export when a global jupyter interpreter has not been set before. (#8050)
  12. Eliminate extra long labels in jupyter completions. (#8080)
  13. Fixes related to handling of carriage returns in outputs. (#8112)
  14. Make the import ipynb commands use the currently selected pythonExportMethod setting. (#8158)
  15. Display notebook paths associated with remote kernels in the kernel picker. (#8175)
  16. Do not prompt to install Python extension when opening a .NET notebook. (#8204)
  17. Turn off telemetry for tracking the number of notebooks in a workspace. (#8293)
  18. Recommend installing traitlets version 5.1.1 if Jupyter fails to start and the version of traitlets is older. (#8295)
  19. Fix interactive window intellisense to work after new concat changes for notebook intellisense. (#8353)
  20. Fix intellisense problems after editing notebook cells. (#8374)
  21. Ensure interactive widgets work when connecting to remote Jupyter (or when falling back to starting Jupyter locally). (#8378)

Code Health

  1. Make sure interrupt during run by line is tested. (#8002)
  2. Add setting to allow usage of experimental pylance intellisense in notebooks. (#8096)

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.10.100 (October Release on 3 November 2021)

Enhancements

  1. Group kernels in kernel picker based on the type of the Python environment & kernel. (#7934)
  2. Add ability to filter kernels displayed in the kernel picker. (#7373)
  3. Add ability to not generate a new cell when hitting SHIFT+ENTER in a python file. (Thanks janosh) (#7966)

Fixes

  1. New default export that just uses conversion in typescript as opposed to nbconvert. Allow the option to comment out magics or use the old nbconvert style of export via a setting. (#5222)
  2. Track the active kernel in a notebook when providing intellisense. (#6333)
  3. Hide Jupyter specific toolbar icons from notebooks. (#6543)
  4. Fix notebooks opening and being marked as dirty on every open. (#6637)
  5. Fix semantic colorization in notebooks. (#6799)
  6. Close input prompts displayed by kernel when interrupting/restarting kernels. (#6897)
  7. Delete all of the old kernelspecs generated by the extension (as some were incorrectly generated), with the ability to manually recover them if necessary. (#7171)
  8. Support using the variable viewer when a data viewer window is open. (#7325)
  9. Changes to how we check if kernels have started (as a result now suppor kernels such as Wolfram). (#7334)
  10. Allow intellisense completions from Jupyter to be shown in the interactive window. (#7406)
  11. Change filtering for text data in the data viewer to search for any instance of a string unless regular expression chars are detected. If any regular expression chars are detected, switch to using regular expressions to match. (#7628)
  12. Fix debugging from the interactive window. (#7650)
  13. Specifying a jupyter command line only makes sense if we need to use jupyter to launch kernels (no ZMQ support). (#7724)
  14. Don't make the outline button and command dependent on if the outline view is visible. (#7766)
  15. Incorrect paths displayed for non-python kernels in kernel picker. (#7931)
  16. Group kernels in by kernel picker by Python environment type (prefix non-python kernels with Jupyter Kernel). (#7934)
  17. Fix build break in ipywidget build. (thanks ChaseKnowlden) (#7935)
  18. Ensure __file__ is set when changing kernels in Interactive Window. (#7941)
  19. Interactive window is not necessarily using active interpreter when creating the controller. (#7945)
  20. Improve performance of widgets over remote connections. (thanks sdissegna-maystreet) (#7965)
  21. Remove duplicates from kernel picker & ensure globally registered kernels point to the right interpreter. (#7994)
  22. Ensure kernel language is defined in the ipynb metadata. (#8003)
  23. Change 'Stop' for debugging in the interactive window to interrupt the execution so it actually stops as soon as possible. (#8069)
  24. Avoid losing ipywidgets kernel communications when switching kernel. (thanks sdissegna-maystreet) (#8085)

Code Health

  1. Replace instances of traceInfoIf with traceInfoIfCI as almost all of them were just for CI tracing. (#7574)
  2. Upgrade to the latest jupyterlab/services API for communicating with kernels and jupyter servers. (#7675)
  3. Get rid of unnecessary 'Open with Notebook Editor' command as this is built into VS code itself. (#7725)

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.9.110 (September Release on 14 October 2021)

Fixes

  1. Ensure Change Kernel option in the prmopt allows users to change kernels. (#7779)
  2. Ensure restarting kernels in Interactive Window retains support for __file__. (#7883)

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.9.100 (September Release on 6 October 2021)

Enhancements

  1. Split Notebook renderers into a separate extension (Jupyter Notebook Renderers), allowing users to view Notebook outputs such as plotly, vega on github.dev. (#1909)
  2. Added support to use Run by Line and Notebook Debugging in remote kernels. (#7576)
  3. Added ability to create notebooks using the menu option File -> New File.... (#7363)
  4. Added a command to the command palette and an icon to the notebook toolbar to open the the table of contents for Notebooks. (#7305)

Fixes

  1. Strip CR from CRLF of source when sending code to the kernel for execution. (#4576)
  2. Show global Python kernel specs that use ipykernel to launch. (#6389)
  3. Fixes related to remote connections in Interactive Window. (#6881)
  4. Fixes to restarting of kernels when kernel dies (as opposed to manually restarting a kernel). (#7167)
  5. Code cell submissions should go to active window in 'multiple' mode. (#7249)
  6. Interrupt kernel button on interactive window toolbar should be disabled when kernel is not busy. (#7269)
  7. Fix 'Connecting to...' message in interactive window not being updated in-place if a code cell is inserted before the connection completes. (#7280)
  8. Fix changing kernel in interactive windows started with an interpreter that does not have ipykernel installed. (#7288)
  9. Preserve leading tab characters on code lines for #%% cells submitted to interactive window. (#7303)
  10. Display error message from Python stack trace when kernel dies (also if kernel dies when attempting to restart). (#7318)
  11. Don't add an extra linefeed in interactive window markdown. (#7355)
  12. Fix Debug Cell codelens opening the wrong source file after restarting the kernel in the interactive window. (#7366)
  13. Refresh list of remote kernels if a notebook is already open. (#7385)
  14. Fix allowing the dataframe viewer to open large data frames. Also fix variable fetching code from updating the execution count. (#7420)
  15. Apply background to the image element in a notebook output, instead of applying it to the entire output container. (#7470)
  16. Support retina output option for Matplotlib. (#7471)
  17. Clicking 'Change Kernel' for interactive window started from script file when ipykernel is not installed should display the kernel picker. (#7476)
  18. Fix jupyter.magicCommandsAsComments when executing code cells in the interactive window. (#7481)
  19. jupyter.interactive.removeCell now supports being invoked from the command palette or with a custom keybinding when an interactive window has focus. (#7541)
  20. Fix the context keys for the variable explorer when working with the interactive window. (#7556)
  21. Ensure empty #%% cells are skipped and do not interfere with running of subsequent cells in the interactive window. (#7581)
  22. Fix interactive window debugging sourcemap resolution after running a markdown cell. (#7589)
  23. Support a highlight around a cell when goto cell is clicked in the interactive window. (#7648)
  24. Support multiline comments in the middle of a cell being submitted to the interactive window. (#7658)

Code Health

  1. Basic test for plotviewer metadata and SVG setting. (#7209)
  2. Fix failing variable view tests. (#7443)

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.8.203 (August Release on 1 September 2021)

Enhancements

  1. Updated the preview to debugging in native notebooks. Set the jupyter.experimental.debugging setting to true, and a Debug Cell option will appear on the dropdown in the Execute Cell button. Pressing it will run the cell and hit any breakpoints you've set. (#1652)
  2. Added the Run by Line feature. In Python notebooks, press F10 while selecting a cell or click the first button on the cell toolbar to start a lightweight debugging session and run the cell line by line. To set it up, follow the steps here. (#5607)
  3. Add diskpath to logging for loading third party widgets to support local testing of new widget versions. (#6294)
  4. Default plot output to just PNG, and support showing PNGs or SVGs in the Plot Viewer control. The enablePlotViewer setting still turns on both PNG and SVG plot output, but it's now off by default, not on. (#6913)
  5. Update Simplified Chinese translation. (thanks FiftysixTimes7) (#7049)

Fixes

  1. Run by line now stops after running the last line. (#6858)
  2. Ensure execution of raw cells are skipped when we have multiple cells. (#6954)
  3. Fixes to autocompletions returned by Jupyter Kernel (sort as returned by the kernel and trigger when entering quotes). (#6979)
  4. Populate the interactive window variable explorer when focus is in the #%% Python file. (#6993)
  5. Reinitialize kernels after a restart, including resetting current working directory and rerunning startup commands. (#7016)
  6. Restore support for jupyter.collapseCellInputCodeByDefault in native interactive window. (#7031)
  7. Fix restart kernel in native interactive window when executing a #%% cell. (#7081)
  8. Fix code indentation being lost on interactive window export. (#7088)
  9. Ensure variable explorer handles kernel restarts. (#7126)
  10. Add remappable esc keybinding to clear contents of native interactive window input box, bound to interactive.input.clear command in VS Code core. (#7157)
  11. Fix ability to use command palette restart/interrupt from command palette when focus is in a Python file linked to an interactive window. (#7158)
  12. Fix A/B shortcuts to insert cell in command mode instead of edit mode. All Jupyter keyboard shortcuts are now provided through the Jupyter keymap extension, which is included with the Jupyter extension and can be uninstalled. (#7172)
  13. Fixes kernel spec generation (on Mac M1/Non ZMQ supported machines) to include the appropriate environment. (#7186)
  14. Support kernelspec argv containing non traditional args for {connection_file}. (#7203)
  15. Fix export for already-open native notebooks. (#7233)
  16. Fix being able to save PNG plots from the plot viewer. (#7265)
  17. When no notebook or interactive window is active then clear the variables view. (#7266)
  18. Fix placeholder 'Connecting to...' sys info cell not being overwritten after a kernel connection is established if cells are added to the interactive window first. (#7280)
  19. Ensure that interactive window is started with active Python interpreter after active interpreter is changed. (#7301)
  20. Restore support for Bash Kernel. (#7345)

Code Health

  1. Remove old Interactive Window, old Notebook Editor and LiveShare code (all of this functionality is now Natively supported by VS Code). (#6488)

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.8.11 (July Release on 3 August 2021)

Enhancements

  1. Updated the preview to run by line in native notebooks. Set the jupyter.experimental.debugging setting to true, install ipykernel 6 on your selected kernel and a Run by Line button will appear on cell toolbars. Pressing it will start a lightweight debugging session and let you run the cell line by line. (#5607)

Fixes

  1. Restore plotviewer in Native Notebooks. (#6315)
  2. Fix debugging in Interactive Window when using IPyKernel 6. (#6534)
  3. Add a placeholder Python 3 kernel if user doesn't have any Python interpreters, with ability to notify user to install Python extenssion or Python runtime. (#5864)
  4. Fixes to completion items received from Jupyter. (#5956)
  5. Run all and restarting does not actually interrupt the rest of the running cells. (#5996)
  6. Remove popup tip that indicates to users the kernel picker is in the bottom right. (#6016)
  7. Ensure Pyspark kernels are listed. (#6316)
  8. Fix problem where the active interpreter is not being used for the interactive window when not running with raw kernel. (#6409)
  9. Ctrl+Enter in native notebooks should put cell into command mode immediately, then run the cell. (#6582)
  10. List non-traditional (not using ipykernel) global Python kernelspecs. (#6622)
  11. Clone the Notebook metadata before udpating it. (#6624)
  12. Format the readme to render correctly on the VS Code extensions side bar. Thanks jyooru! (#6648)
  13. Ensure we get Jupyter Server info correctly in Python 3.6. (#6738)
  14. List kernels in situations where extension is installed after opening a notebook. (#6824)

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:

Code Health

2021.8.1 (June Release on 19 July 2021)

Fixes

  1. Fix for kernel not starting with correct path (causes DLL load and import modules failures). (#5833)

2021.8.0 (June Release on 8 July 2021)

Enhancements

  1. In preview native notebooks UI, contribute L keybinding to toggle line numbers for the current cell, and shift+L keybinding to toggle line numbers for all cells. (#4438)
  2. Add xarray arrays to Data Viewer. (#5590)
  3. When editing a markdown cell in preview native notebooks UI, contribute ctrl+enter keybinding to render current markdown cell, and shift+enter to render current markdown cell and skip to the next cell. (#5976)
  4. Contribute extension-level shift+enter keybinding to execute current code cell and select below in preview native notebooks UI. (#6037)
  5. Added ability to save plots in the preview native notebooks UI. (#6183)
  6. 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 a debug button will appear. Pressing it will start a debugging session and let you set and hit breakpoints. (#5607)
  7. 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

  1. Fix problems loading other language kernels in the Interactive Window and in non insiders webviews. (#893)
  2. Only ask user to switch to "perFile" mode if "jupyter.interactiveWindowMode": "multiple" and they have submitted code from two different source files. (#5471)
  3. On remote connections check for new or removed LiveKernelConnections on document open. (#5984)
  4. In preview native notebooks interface, show editor title buttons only when "notebook.globalToolbar" setting is set to false. (#6019)
  5. Ship require.js with our notebook preloads and renderers. (#6034)
  6. Save output in *.ipynb even when output is created without any Jupyter output metadata. (#6192)
  7. 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)
  8. Fix interrupt button in Native Notebook toolbar. (#6254)
  9. Fix problem where the active interpreter is not being used for the interactive window when not running with raw kernel. (#6409)

Code Health

  1. Add doc switching variable view tests for native notebooks. (#4355)
  2. Fix 'Restarting kernel will cancel cell execution & we can re-run a cell' test. (#6139)
  3. Restore GitHub token access for CodeQL, issue locking and issue assignment workflows. (#6170)
  4. 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.999 (May Release on 16 June 2021)

Fixes

  1. On remote connections check for new or removed LiveKernelConnections on document open. (#5984)
  2. When editing a markdown cell in preview native notebooks UI, contribute ctrl+enter keybinding to render current markdown cell, and shift+enter to render current markdown cell and skip to the next cell. (#5976)
  3. In preview native notebooks UI, contribute L keybinding to toggle line numbers for the current cell, and shift+L keybinding to toggle line numbers for all cells. (#4438)
  4. Contribute extension-level shift+enter keybinding to execute current code cell and select below in preview native notebooks UI. (#6037)
  5. 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)
  6. Fix interrupt button in Native Notebook toolbar. (#6254)

Code Health

  1. Fix 'Restarting kernel will cancel cell execution & we can re-run a cell' test. (#6139)

2021.6.99 (May Release on 8 June 2021)

Enhancements

  1. 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)
  2. Sort variables by name and type in variable explorer. (#4585)
  3. Limit languages dispalyed in the Cell language picker to languages supported by the kernel. (#5580)
  4. Move native notebooks cell toolbar to the left by default. (#5605)
  5. 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)
  6. Add support for Virtual Workspaces. (#5803)
  7. Losslessly compressed PNG images to save ~20KB. (thanks Christopher Yeh) (#5869)
  8. Adopt notebook/toolbar contribution point for native notebooks. (#5954)
  9. Tweak variable view fit and finish to match VS Code. (#5955)
  10. 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

  1. Update/reinstall if module such as IPyKernel was installed once before or already exists. (#4758)
  2. Stop listing default kernelspecs in kernel picker. (#5445)
  3. Store interpreter information in notebook metadata instead of the generated kernelspec name. (#5612)
  4. Restore the Run Above/Below cells command in Command Palette. (#5746)
  5. Migrate 'workbench.editorAssociations' setting to new format. (#5806)
  6. Add ABCMeta and type to variable explorer exclude list. (#5865)
  7. Blank Python notebooks do not use active interpreter. (#5874)
  8. Change language of cell to reflect langauges supported by the selected Kernel. (#5924)
  9. Resolve issue related to Interrupt button vanishing when tabbing across notebooks while a cell is being executed. (#5925)
  10. Delete encrypted storage in a try catch to avoid errors. (#5934)
  11. Support new renderer API in Jupyter. (#5952)
  12. Hide kernels belonging to deleted Python environments from kernel picker. (#6164)

Code Health

  1. Error category for unsupported kernelspec file args. (#5492)
  2. Fix basic execution issues with nonConda 'remote' and nonConda 'local' test suites. (#5660)
  3. Update to new message API for native notebook preloads. (#5753)
  4. Rename of onDidChangeCellExecutionState. (#5809)
  5. Fix functional ipywidget tests. (#5842)
  6. When using remote Jupyter connections pre-fetch kernels only when opening a notebook. (#5846)
  7. Removed execution isolation script. (#5931)
  8. VSCode API naming changes for NotebookCellExecution, NotebookRendererScript. (#6014)
  9. API Changes viewType => notebookType and notebook namespace to notebooks. (#6046)
  10. Update test init code to use window and not notebook for editor properties. (#6098)
  11. Support the new renderer API in jupyter extension. (#6118)
  12. Update to new notebookcontroller selection function name. (#6121)
  13. 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 (05 May 2021)

Enhancements

  1. Manage contributed Jupyter kernels registration. (#4490)
  2. Update variable explorer icon. (#5355)
  3. Add keybind 'O' to toggle the output of all selected cells in a notebook. (#5425)
  4. Recommend extensions when opening notebooks targeting specific languages. (#5577)

Fixes

  1. Restore the Intellisense documentation on custom editor notebook. (#5124)
  2. Upgrade vega-transforms and support vegalite v4. (#5149)
  3. Add a 10 minute delay to surveys. (#5261)
  4. Display formatted markdown description for jupyter.variableQueries setting in settings UI. (#5289)
  5. Pass remote Jupyter server's default kernelspec name in remote kernel connection. (#5290)
  6. Ensure data viewer grid is resized when slice panel is toggled so that horizontal scrollbar remains visible. (#5309)
  7. 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)
  8. Fix the output link in the kernel timeout message. (#5360)
  9. Stop asking users to install ipykernel on autostart, only do it when a cell is run. (#5368)
  10. Fix for 'Export as Python Script' option not appearing. (#5403)
  11. Update to remove usage of .cells property from NotebookDocument. Also update TextDocument with notebook property and QuickPick. (#5417)
  12. Delete extension context secrets if we get an error when getting them. Small fixes on error handling. (#5419)
  13. When native notebook is untrusted, do not allow cell execution and prompt to trust. (#5436)
  14. Resize the untrusted icon. (#5437)
  15. Save notebook metadata in ipynb even if the selected Kernel is provided by some other extension. (#5460)
  16. Invalidate cached interpreters when Python extension active interpreter changes. (#5470)
  17. Use interpreter information stored in kernelspec.json file when starting kernels. (#5495)
  18. Update to new selections API. (#5515)
  19. CellStatusBarItem update for Native Notebooks. Along with other breaking API changes. (#5527)
  20. Remove statusbar from Notebook Cells. (#5541)
  21. Hide Jupyter commands from other types of notebooks. (#5559)
  22. Update to newest vscode Notebook API changes. (#5598)
  23. Increase the width of the data viewer scrollbar. (#5610)
  24. 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)
  25. Use active interpreter when starting Kernels for Interactive Window. (#5628)
  26. Use download package to download widget scripts. (#5633)
  27. Start kernel if not already started when using Run cells above/below. (#5636)

Code Health

  1. Add functional test for large data in data viewer. (#5207)
  2. Pass NotebookDocument when invoking jupyter.notebookeditor.interruptkernel. (#5242)
  3. Remove data slicing experiment feature gate. (#5399)
  4. Ignore errors throw by VS Code when updating cell output during execution. (#5446)
  5. Improvements to telemetry used to check if we're not starting the right interpreter (for a Python kernel). (#5509)
  6. Add telemetry to check if we fail to update kernelspecs with environment variables. (#5547)
  7. Ensure canvas and playwright-chromium are setup as optional dependencies in package.json. (#5567)
  8. 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:

2021.5.1 (12 April 2021)

Code Health

  1. Check the responses of prompts for installation of missing packages such as IPyKernel. (#5432)

Fixes

  1. Fix for 'Export as Python Script' option not appearing. (#5403)
  2. Delete extension context secrets if we get an error when getting them. Small fixes on error handling. (#5419)
  3. Enable correct plot background for Native Notebooks. (#5353)
  4. Stop asking users to install ipykernel on autostart, only do it when a cell is ran. (#5368)
  5. Invalidate cached interpreters when Python extension active interpreter changes. (#5470)

2021.5.0 (31 March 2021)

Enhancements

  1. Be able to provide string argument to jupyter.execSelectionInteractive for extensibility. (thanks Andrew Craig) (#1689)

Fixes

  1. Jupyter variables tab will always be named 'Jupyter Variables'. (#4458)
  2. Variable view will stay as long as you have a notebook open (not necessarily active). (#4562)
  3. Add quotations to arguments with blank spaces when executing kernel processes. (#4647)
  4. Do not prompt to install Python extension when creating a blank notebook. (#4965)
  5. Cache the active workspace Python Interpreter. (#5004)
  6. Don't prewarm variables for global jupyter interpreter if ZMQ is supported. (#5009)
  7. When closing the Interactive Window, shutdown sessions started by Interactive Window. (#5030)
  8. Stop wrapping new errors if we threw the original error. (#5089)
  9. Ignore errors when getting the environment variables for a Python environment. (#5093)
  10. Revert viewsContainter name to Jupyter and view name to Variables to avoid un-named viewsContainer. (#5102)
  11. Ensure extensions depending on Jupyter do not fail to load if Jupyter extension fails to load. (#5145)
  12. Don't display the data science banner for non-Jupyter notebooks. (#5181)
  13. Don't use NotebookEditor.onDidDispose and support new err / out specific stream mime types. (#5191)
  14. Prevent unnecessary activation of the Python extension. (#5193)
  15. Update widget kernel for new NotebookOutputEventParams. (#5195)
  16. Updates to code used to run Python in an isolated manner. (#5212)
  17. 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)
  18. Fix data viewer display of non-numeric index columns in DataFrames. (#5253)
  19. Display messages notifying user to enable support for CDNs when rendering IPyWidgets. (#5074)
  20. When reopening a newly created Notebook with a Julia kernel, the cells should be detected as Julia. (#5148)
  21. Support switching kernels in Native Notebooks when connecting to Jupyter. (#1215)
  22. Refactor how Kernels are searched and selected. (#4995)
  23. Fix run selection/line to work from the active editor (#5287)
  24. Update variable view to use the new API for native cell execution notification. (#5316)
  25. Ensure users in CodeSpaces do not get prompted to forward Kernel Ports. (#5283)
  26. Disable surveys in CodeSpaces. (#5295)
  27. Ensure Git diff viewer does not get replaced by Notebook Editor. (#633) (thanks Matt Bierner)

Code Health

  1. Ability to queue telemetry until all of the data required is available. (#4956)
  2. 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)
  3. Add tests for data viewer slice data functionality. (#5066)
  4. Remove setting jupyter.useNotebookEditor. (#5130)
  5. 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.0 (3 March 2021)

Enhancements

  1. 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)
  2. 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)
  3. Always open the data viewer in the last view group that it was moved to. (#4689)
  4. Support for other extensions to provide a default language when creating new notebooks. (#4859)

Fixes

  1. Remove special casing to ignore warnings. (#1312)
  2. Allow jupyter kernels to not be handled by the jupyter extension. (#4423)
  3. Restore the 'Select a Kernel' command on the interactive window. (#4479)
  4. Correctly syntax color items in native variable view. (#4499)
  5. Don't ask for a kernel restart if the kernel was interrupted in native notebooks. (#4669)
  6. Popup a tip when opening a notebook for the first time. (#4775)
  7. Ensure we save the contents when closing a (webview based) notebook. (#4779)
  8. Stop sending cells executed silently to other extensions. (#4867)
  9. Do not prompt to install missing dependencies on GitHub Codespaces. (#4882)

Code Health

  1. Synchronously check if zmq is supported. (#4764)
  2. Telemetry to track the commands executed using ICommandManager. (#4926)
  3. More telemetry to track kernel failure reasons. (#4940)
  4. Add telemetry flag to differentiate between stable vs insider builds of the extension. (#4959)
  5. Add telemetry to check if we have started the right local Python kernel. (#4999)

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.2.1 (28 February 2021)

Fixes

  1. Popup a tip when opening a notebook for the first time. (#4775)
  2. Ensure we save the contents when closing a (webview based) notebook. (#4779)
  3. Allow kernels to not be handled by the jupyter extension. (#4423
  4. Enable native notebook if sync'd settings is forcing it. (#4845
  5. Fix 'Export as Notebook' not working after opening a notebook on a python file. (#4869

2021.2.0 (17 February 2021)

Enhancements

  1. Support multidimensional data in the data viewer. >2D dimensions are flattened, with the ability to double-click on a truncated cell to view the full value in a horizontally scrollable field. (#298)
  2. Support NaN, Inf, -Inf in data viewer. (#299)
  3. Support viewing PyTorch tensors and TensorFlow EagerTensors in variable explorer and data viewer. (#304)
  4. Show more detailed error messages when the kernel dies or times out. (#1254)
  5. Do not invoke requestKernelInfo when the Kernel.info property already contains this information. (#3202)
  6. Support rendering of outputs such as Plotly, Altair, Vega, and the like in Native Notebooks. (#3936)
  7. Add full Simplified Chinese translation. (thanks FiftysixTimes7) (#4418)
  8. Add a button to the native notebook toolbar to show the variable panel. Disable button when panel is already visible. (#4486)
  9. Users on AML Compute will automatically get the new Native Notebook experience. (#4550)
  10. Improved Tensor tooltips in Python files which have been run in the interactive window. (#302)
  11. Minimize number of icons on the notebook toolbar (put the rest in overflow). (#4730)
  12. Add survey for the new Notebooks experience experiment. (#4726)
  13. Don't overwrite the top level VS Code Save and Undo command keybindings. (#4527)

Fixes

  1. Added a progress notification when restarting the kernel. (#1197)
  2. Fix error with selecting jupyter server URI when no workspace open. (#4037)
  3. Fix Z (and CTRL+Z when using custom editor support) to update data model so that save works. (#4058)
  4. Preload font awesome for ipywidgets. (#4095)
  5. When comparing to existing running kernel only consider the kernelspec when launched via kernelspec. (#4109)
  6. Fix notebook cells running out of order (for VS code insiders notebook editor). (#4136)
  7. Support installing ipykernel when necessary in native notebooks. (#4153)
  8. __file__ variable is now set after changing kernel in the interactive window. (#4164)
  9. Fix support for IPyWidgets in Interactive Window. (#4203)
  10. Fix hover tips on notebooks (and the interactive window). (#4218)
  11. Fix problem with creating a blank notebook from the python extension start page. (#4242)
  12. Don't suppress whitespace at start of output for native notebooks. (#4254)
  13. Clear output of a cell if its executed while empty. (#4286)
  14. Wait for datascience code to activate when activating the extension. (#4295)
  15. Fix problem when run all cells an exception is thrown, cells can no longer be run. (#4309)
  16. Update trust icons. (#4338)
  17. Display trusted icon when a notebook is trusted. (#4339)
  18. Enable 'Run To Line', 'Run From Line' and 'Run Selection/Line in Interactive Window' on the editor context. The 'shift+enter' keybinding still follows the "jupyter.sendSelectionToInteractiveWindow" setting. (#4368)
  19. If a kernel refuses to interrupt ask the user if they want to restart instead. (#4369)
  20. Refresh variable explorer when docking is changed. (#4485)
  21. Correctly handle kernel restarts in native variable viewer. (#4492)
  22. All notebook commands should be prefixed with 'Notebook'. (#4494)
  23. Don't retain context on variable view. Update view with current execution count when made visible. (#4541)
  24. Remove unnecessary files from the VSIX that just take up space. (#4551)
  25. Support set_next_input message payload. (#4566)
  26. Fix the Variable Explorer height so the horizontal scroll bar is shown. (#4598)
  27. Allow viewing class instance variables in the data viewer. (#4606)
  28. Update message that recommends the python extension to a warning and mention it gives an enhanced experience. (#4615)
  29. Correctly hide old interpreters registered as kernels from the selector. (#4632)
  30. Allow installing python extension in codespaces. (#4664)
  31. Add notebook codicon for Juypter viewContainer. (#4538)
  32. Allow options to show native variable view only when looking at native notebooks. (#4761)
  33. Fix CTRL+ENTER and ALT+ENTER to behave as expected for a jupyter notebook. (#4713)
  34. If .NET interactive is installed, make sure to use the new notebook editor. (#4771)
  35. Only clean up a notebook editor when it's closed, not when the panel is disposed. (#4786)
  36. Fixes problem with duplicate jupyter kernels being generated. (#4720)

Code Health

  1. Deprecate src\client\datascience\kernel-launcher\helpers.ts. (#1195)
  2. Stop preloading requirejs in ipywidgets for native notebooks. (#4015)
  3. Add .vscode tests to test the new variable view. (#4355)
  4. Update CI to set xvfb correctly, and new test step that can do native notebooks + old webviews. (#4412)
  5. Run cells below test randomly failing on shutdown. (#4445)
  6. Fix julia test to pass. (#4453)
  7. Add UI side telemetry for variable view. (#4649)
  8. Prevent Winston logger from exiting the Extension Host when there are unhandled exceptions. (#4702)

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:

2020.12.1 (10 December 2020)

Fixes

  1. Fix support for IPyWidgets in Interactive Window. (#4203)

2020.12.0 (9 December 2020)

Enhancements

  1. Add support for IPyWidget in Native Notebooks. (#251)

Fixes

  1. Information in the interactive window is python specific. (#340)
  2. Allow user to cancel asking about logging level. (#348)
  3. Watch for any addition of the python extension, and don't suggest a full reload when it is added. (#405)
  4. Only offer to export to python script when the metadata specifies python as its language. (#407)
  5. Hide webview based Notebook command Select Kernel when a Notebook is opened using the new VS Code Native Notebook editor. (#426)
  6. Correctly pass the candidate interpreter when exporting. (#1363)
  7. __file__ variable not set after restarting kernel in the interactive window. (#1373)
  8. Fix the search path for Jupyter kernels on UNIX systems (thanks Giulio Girardi) (#3918)
  9. Fix the directory for exporting from the interactive window and notebooks to match the directory where the original file was created. (#3991)
  10. Fix variable fetching on remote machines that don't have our scripts files on them. (#4006)
  11. Display survey prompt once per session. (#4077)
  12. Guard against AttributeErrors in our DataViewer code. (#4082)
  13. Ensure user cannot belong to Custom Editor experiment is already in Native Notebook experiment. (#4105)
  14. Fix problems with code in UI getting out of sync with code being executed or saved to disk. (#1701)

Code Health

  1. Added an onCreated event to the Interactive Window provider so external buttons can appear on creation. (#413)
  2. Use notebookIdentity instead of the notebook when handling external buttons. It handles the case when the user doesn't autostart the kernel. (#414)

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:

2020.11.3 (03 December 2020)

Fixes

  1. Display survey prompt once per session. (#4077)

2020.11.2 (30 November 2020)

Fixes

  1. When removing our dynamically added editor associations always remove them if Native / Custom Editor is disabled, not just if we remember adding them. (#3988)
  2. Ensure survey prompt is not displayed multiple times.. (#4002)
  3. Migrate references to python.dataScience.* in when clauses of keybindings.json. (#1088)

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:

2020.11.1 (19 November 2020)

Fixes

  1. Interactive window input prompt does not allow any keyboard input. (#446)
  2. Support opening Notebooks using Native Notebook editor even if the Python extension is not installed. (#1074)
  3. Show kernel picker in the interactive window. (#411)

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:

2020.11.0 (11 November 2020)

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: