Skip to content

Releases: microsoft/vscode-python

2020.5.86806

10 Jun 21:28
407634d
Compare
Choose a tag to compare

2020.5.3 (10 June 2020)

  1. Update debugpy to use 1.0.0b11 or greater.

2020.5.86398

09 Jun 00:35
94bc061
Compare
Choose a tag to compare

2020.5.2 (8 June 2020)

Fixes

  1. Double-check for interpreters when running diagnostics before displaying the "Python is not installed" message.
    (#11870)
  2. Ensure user cannot belong to all experiments in an experiment group.
    (#11943)
  3. Ensure extension features are started when in Deprecate PythonPath experiment and opening a file without any folder opened.
    (#12177)

Code Health

  1. Integrate VS Code experiment framework in the extension.
    (#10790)
  2. Update telemetry on errors and exceptions to use vscode-extension-telemetry.
    (#11597)

2020.5.80290

19 May 18:40
4c78f3b
Compare
Choose a tag to compare

2020.5.80290

2020.5.78807

12 May 18:46
d1b7b8e
Compare
Choose a tag to compare

2020.5.0 (12 May 2020)

Enhancements

  1. Added ability to manually enter a path to interpreter in the select interpreter dropdown.
    (#216)
  2. Add status bar item with icon when installing Insiders/Stable build.
    (thanks to ErwanDL)
    (#10495)
  3. Support for language servers that don't allow incremental document updates inside of notebooks and the interactive window.
    (#10818)
  4. Add telemetry for "Python is not installed" prompt.
    (#10885)
  5. Add basic liveshare support for raw kernels.
    (#10988)
  6. Do a one-off transfer of existing values for python.pythonPath setting to new Interpreter storage if in DeprecatePythonPath experiment.
    (#11052)
  7. Ensure the language server can query pythonPath when in the Deprecate PythonPath experiment.
    (#11083)
  8. Added prompt asking users to delete python.pythonPath key from their workspace settings when in Deprecate PythonPath experiment.
    (#11108)
  9. Added getDebuggerPackagePath extension API to get the debugger package path.
    (#11236)
  10. Expose currently selected interpreter path using API.
    (#11294)
  11. Show a prompt asking user to upgrade Code runner to new version to keep using it when in Deprecate PythonPath experiment.
    (#11327)
  12. Rename string ${config:python.pythonPath} which is used in launch.json to refer to interpreter path set in settings, to ${config:python.interpreterPath}.
    (#11446)

Fixes

  1. Added 'Enable Scrolling For Cell Outputs' setting. Works together with the 'Max Output Size' setting.
    (#9801)
  2. Fix ctrl+enter on markdown cells. Now they render.
    (#10006)
  3. Cancelling the prompt to restart the kernel should not leave the toolbar buttons disabled.
    (#10356)
  4. Getting environment variables of activated environments should ignore the setting python.terminal.activateEnvironment.
    (#10370)
  5. Show notebook path when listing remote kernels.
    (#10521)
  6. Allow filtering on '0' for the Data Viewer.
    (#10552)
  7. Allow interrupting the kernel more than once.
    (#10587)
  8. Make error links in exception tracebacks support multiple cells in the stack and extra spaces.
    (#10708)
  9. Add channel property onto returned ZMQ messages.
    (#10785)
  10. Fix problem with shape not being computed for some types in the variable explorer.
    (#10825)
  11. Enable cell related commands when a Python file is already open.
    (#10884)
  12. Fix issue with parsing long conda environment names.
    (#10942)
  13. Hide progress indicator once Interactive Window has loaded.
    (#11065)
  14. Do not perform pipenv interpreter discovery on extension activation.
    Fix for CVE-2020-1171.
    (#11127)
  15. Ensure arguments are included in log messages when using decorators.
    (#11153)
  16. Fix for opening the interactive window when no workspace is open.
    (#11291)
  17. Conda environments working with raw kernels.
    (#11306)
  18. Ensure isolate script is passed as command argument when installing modules.
    (#11399)
  19. Make raw kernel launch respect launched resource environment.
    (#11451)
  20. When using a kernelspec without a fully qualified python path make sure we use the resource to get the active interpreter.
    (#11469)
  21. For direct kernel launch correctly detect if interpreter has changed since last launch.
    (#11530)
  22. Performance improvements when executing multiple cells in Notebook and Interactive Window.
    (#11576)
  23. Ensure kernel daemons are disposed correctly when closing notebooks.
    (#11579)
  24. When VS quits, make sure to save contents of notebook for next reopen.
    (#11557)
  25. Fix scrolling when clicking in the interactive window to not jump around.
    (#11554)
  26. Setting "Data Science: Run Startup Commands" is now limited to being a user setting.
    Fix for CVE-2020-1192.

Code Health

  1. Enable the Self Cert tests for Notebooks.
    (#10447)
  2. Remove deprecated telemetry and old way of searching for Jupyter.
    (#10809)
  3. Add telemetry for pipenv interpreter discovery.
    (#11128)
  4. Update to the latest version of jedi (0.17). Note that this may be the last version of Jedi to support Python 2 and Python 3.5. (#11221; thanks Peter Law)
    (#11221)
  5. Lazy load types from jupyterlab/services and similar npm modules.
    (#11297)
  6. Remove IJMPConnection implementation while maintaining tests written for it.
    (#11470)
  7. Implement an IJupyterVariables provider for the debugger.
    (#11542)

2020.4.76186

27 Apr 22:49
f4ae575
Compare
Choose a tag to compare

2020.4.1 (27 April 2020)

Fixes

  1. Use node FS APIs when searching for python. This is a temporary change until VSC FS APIs are fixed.
    (#10850)
  2. Show unhandled widget messages in the jupyter output window.
    (#11239)
  3. Warn when using a version of the widget qgrid greater than 1.1.1 with the recommendation to downgrade to 1.1.1.
    (#11245)
  4. Allow user modules import when discovering tests.
    (#11264)
  5. Fix issue where downloading ipywidgets from the CDN might be busy.
    (#11274)
  6. Error: Timeout is shown after running any widget more than once.
    (#11334)
  7. Change "python.dataScience.runStartupCommands" commands to be a global setting, not a workspace setting.
    (#11352)
  8. Closing the interactive window shuts down other active notebook sessions.
    (#11404)

2020.4.74986

21 Apr 18:31
69d2691
Compare
Choose a tag to compare

2020.4.0 (20 April 2020)

Enhancements

  1. Add support for ipywidgets.
    (#3429)
  2. Support output and interact ipywidgets.
    (#9524)
  3. Support using 'esc' or 'ctrl+u' to clear the contents of the interactive window input box.
    (#10198)
  4. Use new interpreter storage supporting multiroot workspaces when in Deprecate PythonPath experiment.
    (#10325)
  5. Modified Select interpreter command to support setting interpreter at workspace level.
    (#10372)
  6. Added a command Clear Workspace Interpreter Setting to clear value of Python interpreter from workspace settings.
    (#10374)
  7. Support reverse connection ("listen" in launch.json) from debug adapter to VSCode.
    (#10437)
  8. Use specific icons when downloading MPLS and Insiders instead of the spinner.
    (#10495)
  9. Notebook metadata is now initialized in alphabetical order.
    (#10571)
  10. Added command translations for Hindi Language.
    (thanks Pai026)
    (#10711)
  11. Prompt when an "untrusted" workspace Python environment is to be auto selected when in Deprecate PythonPath experiment.
    (#10879)
  12. Added a command Reset stored info for untrusted Interpreters to reset "untrusted" interpreters storage when in Deprecate PythonPath experiment.
    (#10912)
  13. Added a user setting python.defaultInterpreterPath to set up the default interpreter path when in Deprecate PythonPath experiment.
    (#11021)
  14. Hide "untrusted" interpreters from 'Select interpreter' dropdown list when in DeprecatePythonPath Experiment.
    (#11046)
  15. Make spacing of icons on notebook toolbars match spacing on other VS code toolbars.
    (#10464)
  16. Make jupyter server status centered in the UI and use the same font as the rest of VS code.
    (#10465)
  17. Performa validation of interpreter only when a Notebook is opened instead of when extension activates.
    (#10893)
  18. Scrolling in cells doesn't happen on new line.
    (#10952)
  19. Ensure images in workspace folder are supported within markdown cells in a Notebook.
    (#11040)
  20. Make sure ipywidgets have a white background so they display in dark themes.
    (#11060)
  21. Arrowing down through cells put the cursor in the wrong spot.
    (#11094)

Fixes

  1. Ensure plot fits within the page of the PDF.
    (#9403)
  2. Fix typing in output of cells to not delete or modify any cells.
    (#9519)
  3. Show an error when ipywidgets cannot be found.
    (#9523)
  4. Experiments no longer block on telemetry.
    (#10008)
  5. Fix interactive window debugging after running cells in a notebook.
    (#10206)
  6. Fix problem with Data Viewer not working when builtin functions are overridden (like max).
    (#10280)
  7. Fix interactive window debugging when debugging the first cell to be run.
    (#10395)
  8. Fix interactive window debugging for extra lines in a function.
    (#10396)
  9. Notebook metadata is now initialized in the correct place.
    (#10544)
  10. Fix save button not working on notebooks.
    (#10647)
  11. Fix toolbars on 3rd party widgets to show correct icons.
    (#10734)
  12. Clicking or double clicking in output of a cell selects or gives focus to a cell. It should only affect the controls in the output.
    (#10749)
  13. Fix for notebooks not becoming dirty when changing a kernel.
    (#10795)
  14. Auto save for focusChange is not respected when switching to non text documents. Menu focus will still not cause a save (no callback from VS code for this), but should work for switching to other apps and non text documents.
    (#10853)
  15. Handle display.update inside of cells.
    (#10873)
  16. ZMQ should not cause local server to fail.
    (#10877)
  17. Fixes issue with spaces in debugger paths when using getRemoteLauncherCommand.
    (#10905)
  18. Fix output and interact widgets to work again.
    (#10915)
  19. Make sure the same python is used for the data viewer as the notebook so that pandas can be found.
    (#10926)
  20. Ensure user code in cell is preserved between cell execution and cell edits.
    (#10949)
  21. Make sure the interpreter in the notebook matches the kernel.
    (#10953)
  22. Jupyter notebooks and interactive window crashing on startup.
    (#11035)
  23. Fix perf problems after running the interactive window for an extended period of time.
    (#10971)
  24. Fix problem with opening a notebook in jupyter after saving in VS code.
    (#11151)
  25. Fix CTRL+Z and Z for undo on notebooks.
    (#11160)
  26. Fix saving to PDF for viewed plots.
    (#11157)
  27. Fix scrolling in a notebook whenever resizing or opening.
    (#11238)

Code Health

  1. Add conda environments to nightly test runs.
    (#10134)
  2. Refactor the extension activation code to split on phases.
    (#10454)
  3. Added a kernel launcher to spawn python kernels without Jupyter.
    (#10479)
  4. Add ZMQ library to extension.
    (#10483)
  5. Added test harness for ipywidgets in notebooks.
    (#10655)
  6. Run internal modules and scripts in isolated manner.
    This helps avoid problems like shadowing stdlib modules.
    (#10681)
  7. Add telemetry for .env files.
    (#10780)
  8. Update prettier to latest version.
    (#10837)
  9. Update typescript to 3.8.
    (#10839)
  10. Add telemetry around ipywidgets usage, failures, and overhead.
    (#11027)

2020.3.71659

03 Apr 00:44
ce1f4a2
Compare
Choose a tag to compare

2020.3.2 (2 April 2020)

Fixes

  1. Update debugpy to latest (v1.0.0b5). Fixes issue with connections with multi-process.

2020.3.71113

31 Mar 22:10
81a7959
Compare
Choose a tag to compare

2020.3.1 (31 March 2020)

Fixes

  1. Update debugpy to latest (v1.0.0b4). Fixes issue with locale.

2020.3.69010

19 Mar 23:05
1fd5509
Compare
Choose a tag to compare

2020.3.0 (19 March 2020)

Enhancements

  1. Make interactive window wrap like the notebook editor does.
    (#4466)
  2. Support scrolling beyond the last line in the notebook editor and the interactive window. Uses the editor.scrollBeyondLastLine setting.
    (#7892)
  3. Allow user to override the arguments passed to Jupyter on startup. To change the arguments, run the 'Python: Specify Jupyter command line arguments" command.
    (#8698)
  4. When entering remote Jupyter Server, default the input value to uri in clipboard.
    (#9163)
  5. Added a command to allow users to select a kernel for a Notebook.
    (#9228)
  6. When saving new notebooks, default to the current workspace folder.
    (#9331)
  7. When the output of a cell gets trimmed for the first time, the user will be informed of it and which setting changes it.
    (#9401)
  8. Change the parameters for when a Data Science survey prompt comes up. After opening 5 notebooks (ever) or running 100 cells (ever).
    (#10186)
  9. Show quickfixes for launch.json.
    (#10245)

Fixes

  1. Jupyter autocompletion will only show magic commands on empty lines, preventing them of appearing in functions.
    (#10023)
  2. Remove extra lines at the end of the file when formatting with Black.
    (#1877)
  3. Capitalize Activate.ps1 in code for PowerShell Core on Linux.
    (#2607)
  4. Change interactive window to use the python interpreter associated with the file being run.
    (#3123)
  5. Make line numbers in errors for the Interactive window match the original file and make them clickable for jumping back to an error location.
    (#6370)
  6. Fix magic commands that return 'paged' output.
    (#6900)
  7. Ensure model is updated with user changes after user types into the editor.
    (#8589)
  8. Fix latex output from a code cell to render correctly.
    (#8742)
  9. Toggling cell type from code to markdown will not set focus to the editor in cells of a Notebook.
    (#9102)
  10. Remove whitespace from code before pushing to the interactive window.
    (#9116)
  11. Have sys info show that we have connected to an existing server.
    (#9132)
  12. Fix IPython.clear_output to behave like Jupyter.
    (#9174)
  13. Jupyter output tab was not showing anything when connecting to a remote server.
    (#9177)
  14. Fixed our css generation from custom color themes which caused the Data Viewer to not load.
    (#9242)
  15. Allow a user to skip switching to a kernel if the kernel dies during startup.
    (#9250)
  16. Clean up interative window styling and set focus to input box if clicking in the interactive window.
    (#9282)
  17. Change icon spacing to match vscode icon spacing in native editor toolbars and interactive window toolbar.
    (#9283)
  18. Display diff viewer for ipynb files without opening Notebooks.
    (#9395)
  19. Python environments will not be activated in terminals hidden from the user.
    (#9503)
  20. Disable Restart Kernel and Interrupt Kernel buttons when a kernel has not yet started.
    (#9731)
  21. Fixed an issue with multiple latex formulas in the same '$$' block.
    (#9766)
  22. Make notebook editor and interactive window honor undocumented editor.scrollbar.verticalScrollbarSize option + increase default to match vscode.
    (#9803)
  23. Ensure that invalid kernels don't hang notebook startup or running.
    (#9845)
  24. Switching kernels should disable the run/interrupt/restart buttons.
    (#9935)
  25. Prompt to install pandas if not found when opening the Data Viewer.
    (#9944)
  26. Prompt to reload VS Code when changing the Jupyter Server connection.
    (#9945)
  27. Support opening spark dataframes in the data viewer.
    (#9959)
  28. Make sure metadata in a cell survives execution.
    (#9997)
  29. Fix run all cells to force each cell to finish before running the next one.
    (#10016)
  30. Fix interrupts from always thinking a restart occurred.
    (#10050)
  31. Do not delay activation of extension by waiting for terminal to get activated.
    (#10094)
  32. LiveShare can prevent the jupyter server from starting if it crashes.
    (#10097)
  33. Mark poetry.lock file as toml syntax.
    (thanks to remcohaszing)
    (#10111)
  34. Hide input in Interactive Window based on the setting allowInput.
    (#10124)
  35. Fix scrolling for output to consistently scroll even during execution.
    (#10137)
  36. Correct image backgrounds for notebook editor.
    (#10154)
  37. Fix empty variables to show an empty string in the Notebook/Interactive Window variable explorer.
    (#10204)
  38. In addition to updating current working directory also add on our notebook file path to sys.path to match Jupyter.
    (#10227)
  39. Ensure message (about trimmed output) displayed in an output cell looks like a link.
    (#10231)
  40. Users can opt into or opt out of experiments in remote scenarios.
    (#10232)
  41. Ensure to correctly return env variables of the activated interpreter, when dealing with non-workspace interpreters.
    (#10250)
  42. Update kernel environments before each run to use the latest environment. Only do this for kernel specs created by the python extension.
    (#10255)
  43. Don't start up and shutdown an extra Jupyter notebook on server startup.
    (#10311)
  44. When you install missing dependencies for Jupyter successfully in an active interpreter also set that interpreter as the Jupyter selected interpreter.
    (#10359)
  45. Ensure default host is not set, if connect or listen settings are available.
    (#10597)

Code Health

  1. Use the new VS Code filesystem API as much as possible.
    (#6911)
  2. Functional tests using real jupyter can take 30-90 seconds each. Most of this time is searching for interpreters. Cache the interpreter search.
    (#7997)
  3. Use Python 3.8 in tests run on Azure DevOps.
    (#8298)
  4. Display Commands related to Interactive Window and Notebooks only when necessary.
    (#8869)
  5. Change cursor styles of buttons pointer in Interactive Window and Native Editor.
    (#9341)
  6. Update Jedi to 0.16.0.
    (#9765)
  7. Update version of VSCode in package.json to 1.42.
    (#10046)
  8. Capture mimetypes of cell outputs.
    (#10182)
  9. Use debugpy in the core extension instead of ptvsd.
    (#10184)
  10. Add telemetry ...
Read more

2020.2.64397

21 Feb 22:44
9bcce5e
Compare
Choose a tag to compare

2020.2.3 (21 February 2020)

Fixes

  1. Ensure to correctly return env variables of the activated interpreter, when dealing with non-workspace interpreters.
    (#10250)