Skip to content

Releases: microsoft/vscode-python

2020.7.96456

23 Jul 07:18
46dc083
Compare
Choose a tag to compare

2020.7.1 (22 July 2020)

  1. Fix language server setting when provided an invalid value, send config event more consistently.
    (#13064)
  2. Add banner for pylance, and remove old LS experiment.
    (#12817)

2020.7.94776

17 Jul 00:14
227a9c5
Compare
Choose a tag to compare

2020.7.0 (16 July 2020)

Enhancements

  1. Support connecting to Jupyter hub servers. Use either the base url of the server (i.e. 'https://111.11.11.11:8000') or your user folder (i.e. 'https://111.11.11.11:8000/user/theuser).
    Works with password authentication.
    (#9679)
  2. Added "argsExpansion" to debugpy launch.json schema.
    (#11678)
  3. The extension will now automatically load if a pyproject.toml file is present in the workspace root directory.
    (thanks Brandon White)
    (#12056)
  4. Add ability to check and update whether a notebook is trusted.
    (#12146)
  5. Support formatting of Notebook Cells when using the VS Code Insiders API for Notebooks.
    (#12195)
  6. Added exporting notebooks to HTML.
    (#12375)
  7. Change stock launch.json "attach" config to use "connect".
    (#12446)
  8. Update to the latest version of jedi (0.17.1). This brings completions for Django (via django-stubs) as well as support for Python 3.9 and various bugfixes (mostly around generic type annotations). (thanks Peter Law)
    (#12486)
  9. Prompt users that we have deleted pythonPath from their workspace settings when in Deprecate PythonPath experiment.
    (#12533)
  10. Changed public API for execution to return an object and provide a callback which is called when interpreter setting changes.
    (#12596)
  11. Allow users to opt out of us checking whether their notebooks can be trusted. This setting is turned off by default and must be manually enabled.
    (#12611)
  12. Include the JUPYTER_PATH environment variable when searching the disk for kernels.
    (#12694)
  13. Added exporting to python, HTML and PDF from the interactive window.
    (#12732)
  14. Show a prompt asking user to upgrade Code runner to new version to keep using it when in Deprecate PythonPath experiment.
    (#12764)
  15. Opening notebooks in the preview Notebook editor for Visual Studio Code Insiders.
    (#10496)

Fixes

  1. Ensure we only have a single isort process running on a single file.
    (#10579)
  2. Provided a method for external partners to participate in jupyter server URI picking/authentication.
    (#10993)
  3. Check for hideFromUser before activating current terminal.
    (#11122)
  4. In Markdown cells, turn HTML links to markdown links so that nteract renders them.
    (#11254)
  5. Prevent incorrect ipywidget display (double plots) due to synchronization issues.
    (#11281)
  6. Removed the Kernel Selection toolbar from the Interactive Window when using a local Jupyter Server.
    To show it again, set the setting 'Python > Data Science > Show Kernel Selection On Interactive Window'.
    (#11347)
  7. Get Jupyter connections to work with a Windows store installed Python/Jupyter combination.
    (#11412)
  8. Disable hover intellisense in the interactive window unless the code is expanded.
    (#11459)
  9. Make layout of markdown editors much faster to open.
    (#11584)
  10. Watermark in the interactive window can appear on top of entered text.
    (#11691)
  11. Jupyter can fail to run a kernel if the user's environment contains non string values.
    (#11749)
  12. On Mac meta+Z commands are performing both cell and editor undos.
    (#11758)
  13. Paste can sometimes double paste into a notebook or interactive window editor.
    (#11796)
  14. Fix jupyter connections going down when azure-storage or other extensions with node-fetch are installed.
    (#11830)
  15. Variables should not flash when running by line.
    (#12046)
  16. Discard changes on Notebooks when the user selects 'Don't Save' on the save changes dialog.
    (#12180)
  17. Disable Extract variable & method commands in Notebook Cells.
    (#12206)
  18. Disable linting in Notebook Cells.
    (#12208)
  19. Register services before extension activates.
    (#12227)
  20. Infinite loop of asking to reload the extension when enabling custom editor.
    (#12231)
  21. Fix raw kernel autostart and remove jupyter execution from interactive base.
    (#12330)
  22. If we fail to start a raw kernel daemon then fall back to using process execution.
    (#12355)
  23. Fix the export button from the interactive window to export again.
    (#12460)
  24. Process Jupyter messages synchronously when possible.
    (#12588)
  25. Open variable explorer when opening variable explorer during debugging.
    (#12773)
  26. Use the given interpreter for launching the non-daemon python
    (#12821)
  27. Correct the color of the 'Collapse All' button in the Interactive Window
    (#12838)

Code Health

  1. Move all logging to the Python output channel.
    (#9837)
  2. Add a functional test that opens both the interactive window and a notebook at the same time.
    (#11445)
  3. Added setting python.logging.level which carries the logging level value the extension will log at.
    (#11699)
  4. Monkeypatch console.* calls to the logger only in CI.
    (#11896)
  5. Replace python.dataScience.ptvsdDistPath with python.dataScience.debugpyDistPath.
    (#11993)
  6. Rename ptvsd to debugpy in Telemetry.
    (#11996)
  7. Update JSDoc annotations for many of the APIs (thanks Anthony Shaw)
    (#12101)
  8. Refactor LinterId to an enum instead of a string union.
    (thanks to Anthony Shaw)
    (#12116)
  9. Remove webserver used to host contents in WebViews.
    (#12140)
  10. Inline interface due to issues with custom types when using ts-node.
    (#12238)
  11. Fix linux nightly tests so they run and report results. Also seems to get rid of stream destroyed messages for raw kernel.
    (#12539)
  12. Log ExP experiments the user belongs to in the output panel.
    (#12656)
  13. Add more telemetry for "Select Interpreter" command.
    (#12722)
  14. Add tests for trusted notebooks.
    (#12554)
  15. Update categories in package.json.
    (#12844)

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 ...

Read more

2020.6.91350

30 Jun 18:27
e370b0a
Compare
Choose a tag to compare

2020.6.3 (30 June 2020)

Fixes

  1. Correctly check for ZMQ support, previously it could allow ZMQ to be supported when zmq could not be imported.
    (#12585)
  2. Auto indentation no longer working for notebooks and interactive window.
    (#12389)
  3. Add telemetry for tracking run by line.
    (#12580)
  4. Add more telemetry to distinguish how is the start page opened.
    (#12603)
  5. Stop looking for mspythonconfig.json file in subfolders.
    (#12614)

2020.6.90262

25 Jun 07:07
9deec1a
Compare
Choose a tag to compare

2020.6.2 (25 June 2020)

Fixes

  1. Fix linting.pylintEnabled setting check.
    (#12285)
  2. Don't modify LS settings if jediEnabled does not exist.
    (#12429)

2020.6.89148

19 Jun 05:13
dd22ae9
Compare
Choose a tag to compare

2020.6.1 (17 June 2020)

Fixes

  1. Fixed issue when python.jediEnabled setting was not removed and python.languageServer setting was not updated.
    (#12429)

2020.6.88468

17 Jun 00:46
Compare
Choose a tag to compare

2020.6.0 (16 June 2020)

Enhancements

  1. Removed python.jediEnabled setting in favor of python.languageServer. Instead of "python.jediEnabled": true please use "python.languageServer": "Jedi".
    (#7010)
  2. Added a start page for the extension. It opens to new users or when there is a new release. It can be disabled with the setting 'Python: Show Start Page'.
    (#11057)
  3. Preliminary support using other languages for the kernel.
    (#11919)
  4. Enable the use of the custom editor for native notebooks.
    (#10744)

Fixes

  1. Ensure sorting imports in a modified file picks up the proper configuration.
    thanks Peter Law)
    (#4891)
  2. Made variable explorer (from IPython Notebook interface) resizable.
    (#5382)
  3. Add junit family to pytest runner args to remove pytest warning.
    (#10673)
  4. Switch order of restart and cancel buttons in interactive window to be consistent with ordering in notebook toolbar.
    (#11091)
  5. Support opening other URI schemes besides 'file' and 'vsls'.
    (#11393)
  6. Fix issue with formatting when the first line is blank.
    (#11416)
  7. Force interactive window to always scroll long output. Don't allow scrollbars within scrollbars.
    (#11421)
  8. Hover on notebooks or interactive window seems to stutter.
    (#11422)
  9. Make shift+tab work again in the interactive window. Escaping focus from the prompt is now relegated to 'Shift+Esc'.
    (#11495)
  10. Keep import and export working with raw kernel mode. Also allow for installing dependencies if running an import before jupyter was ever launched.
    (#11501)
  11. Extra kernels that just say "Python 3 - python" are showing up in the raw kernel kernel picker.
    (#11552)
  12. Fix intermittent launch failure with raw kernels on windows.
    (#11574)
  13. Don't register a kernelspec when switching to an interpreter in raw kernel mode.
    (#11575)
  14. Keep the notebook input prompt up if you focus out of vscode.
    (#11581)
  15. Fix install message to reference run by line instead of debugging.
    (#11661)
  16. Run by line does not scroll to the line that is being run.
    (#11662)
  17. For direct kernel connection, don't replace a notebook's metadata default kernelspec with a new kernelspec on startup.
    (#11672)
  18. Fixes issue with importing debupy in interactive window.
    (#11686)
  19. Reopen all notebooks when rerunning the extension (including untitled ones).
    (#11711)
  20. Make sure to clear 'outputPrepend' when rerunning cells and to also only ever add it once to a cell.
    (thanks Barry Nolte)
    (#11726)
  21. Disable pre-warming of Kernel Daemons when user does not belong to the LocalZMQKernel - experiment experiment.
    (#11751)
  22. When switching to an invalid kernel (one that is registered but cannot start) in raw mode respect the launch timeout that is passed in.
    (#11752)
  23. Make python.dataScience.textOutputLimit apply on subsequent rerun. We were letting the 'outputPrepend' metadata persist from run to run.
    (thanks Barry Nolte)
    (#11777)
  24. Use ${command:python.interpreterPath} to get selected interpreter path in launch.json and tasks.json.
    (#11789)
  25. Restarting a kernel messes up run by line.
    (#11793)
  26. Correctly show kernel status in raw kernel mode.
    (#11797)
  27. Hovering over variables in a python file can show two hover values if the interactive window is closed and reopened.
    (#11800)
  28. Make sure to use webView.cspSource for all csp sources.
    (#11855)
  29. Use command line arguments to launch our raw kernels as opposed to a connection file. The connection file seems to be causing issues in particular on windows CI machines with permissions.
    (#11883)
  30. Improve our status reporting when launching and connecting to a raw kernel.
    (#11951)
  31. Prewarm raw kernels based on raw kernel support and don't prewarm if jupyter autostart is disabled.
    (#11956)
  32. Don't flood the hard drive when typing in a large notebook file.
    (#12058)
  33. Disable run-by-line and continue buttons in run by line mode when running.
    (#12169)
  34. Disable Sort Imports command in Notebook Cells.
    (#12193)
  35. Fix debugger continue event to actually change a cell.
    (#12155)
  36. Make Jedi the Default value for the python.languageServer setting.
    (#12225)
  37. Make stop during run by line interrupt the kernel.
    (#12249)
  38. Have raw kernel respect the jupyter server disable auto start setting.
    (#12246)

Code Health

  1. Use ts-loader as a tyepscript loader in webpack.
    (#9061)
  2. Fixed typo from unitest -> unittest.
    (thanks Rameez Khan).
    (#10919)
  3. Make functional tests more deterministic.
    (#11058)
  4. Reenable CDN unit tests.
    (#11442)
  5. Run by line for notebook cells minimal implementation.
    (#11607)
  6. Get shape and count when showing debugger variables.
    (#11657)
  7. Add more tests to verify data frames can be opened.
    (#11658)
  8. Support data tips overtop of python files that have had cells run.
    (#11659)
  9. Functional test for run by line functionality.
    (#11660)
  10. Fixed typo in a test from lanaguage -> language.
    (thanks Ashwin Ramaswami).
    (#11775)
  11. Add bitness information to interpreter telemetry.
    (#11904)
  12. Fix failing linux debugger tests.
    (#11935)
  13. Faster unit tests on CI Pipeline.
    (#12017)
  14. Ensure we can use proposed VS Code API with ts-node.
    (#12025)
  15. Faster node unit tests on Azure pipeline.
    (#12027)
  16. Use deemon package for background compilation with support for restarting VS Code during development.
    (#12059)

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)