Skip to content

Releases: microsoft/vscode-python

2020.2.63990

20 Feb 00:40
Compare
Choose a tag to compare

2020.2.63990

2020.2.63072

12 Feb 23:51
5066319
Compare
Choose a tag to compare

2020.2.1 (12 February 2020)

Fixes

  1. Re-install Jupyter instead of installing kernelspec if kernelspec cannot be found in the python environment.
    (#10071)
  2. Fix zh-tw localization file loading issue.
    (thanks to ChenKB91)
    (#10072)

2020.2.62710

11 Feb 21:49
f2d788c
Compare
Choose a tag to compare

2020.2.0 (11 February 2020)

Enhancements

  1. Support opting in and out of an experiment group.
    (#6816)
  2. Add python.languageServer setting with values of Jedi (acts same as jediEnabled),
    Microsoft for the Microsoft Python Language Server and None, which suppresses
    editor support in the extension so neither Jedi nor Microsoft Python Language Server
    start. None is useful for those users who prefer using other extensions for the
    editor functionality.
    (#7010)
  3. Automatically start the Jupyter server when opening a notebook or the interative window, or when either of those has happened in the last 7 days. This behavior can be disabled with the 'python.dataScience.disableJupyterAutoStart' setting.
    (#7232)
  4. Add support for rendering local images within markdown cells in the Notebook Editor.
    (#7704)
  5. Add progress indicator for starting of jupyter with details of each stage.
    (#7868)
  6. Use a dedicated Python Interpreter for starting Jupyter Notebook Server.
    This can be changed using the command Select Interpreter to start Jupyter server from the Command Palette.
    (#8623)
  7. Implement pid quick pick for attach cases with the new debug adapter.
    (#8701)
  8. Provide attach to pid configuration via picker.
    (#8702)
  9. Support for custom python debug adapter.
    (#8720)
  10. Remove insiders re-enroll prompt.
    (#8775)
  11. Attach to pid picker - bodyblock users who are not in the new debugger experiment.
    (#8935)
  12. Pass -y to conda installer to disable the prompt to install, as user has already ok'ed this action.
    (#9194)
  13. Updated ptvsd debugger to version v5.0.0a12.
    (#9310)
  14. Use common code to manipulate notebook cells.
    (#9386)
  15. Add support for Find in the Notebook Editor.
    (#9470)
  16. Update Chinese (Traditional) translation.
    (thanks pan93412)
    (#9548)
  17. Look for Conda interpreters in '~/opt/conda/' directory as well.
    (#9701)

Fixes

  1. add --ip=127.0.0.1 argument of jupyter server when running in k8s container
    (#9976)
  2. Correct the server and kernel text for when not connected to a server.
    (#9933)
  3. Make sure to clear variable list on restart kernel.
    (#9740)
  4. Use the autoStart server when available.
    (#9926)
  5. Removed unnecessary warning when executing cells that use Scrapbook,
    Fix an html crash when using not supported mime types
    (#9796)
  6. Fixed the focus on the interactive window when pressing ctrl + 1/ ctrl + 2
    (#9693)
  7. Fix variable explorer in Interactive and Notebook editors from interfering with execution.
    (#5980)
  8. Fix a crash when using pytest to discover doctests with unknown line number.
    (thanks Olivier Grisel)
    (#7487)
  9. Don't show any install product prompts if interpreter is not selected.
    (#7750)
  10. Allow PYTHONWARNINGS to be set and not have it interfere with the launching of Jupyter notebooks.
    (#8496)
  11. Pressing Esc in the config quickpick now cancels debugging.
    (#8626)
  12. Support resolveCompletionItem so that we can get Jedi docstrings in Notebook Editor and Interactive Window.
    (#8706)
  13. Disable interrupt, export, and restart buttons when already performing an interrupt, export, or restart for Notebooks and the Interactive window.
    (#8716)
  14. Icons now cannot be overwritten by styles in cell outputs.
    (#8946)
  15. Command palette (and other keyboard shortcuts) don't work from the Interactive/Notebook editor in the insider's build (or when setting 'useWebViewServer').
    (#8976)
  16. Fix issue that prevented language server diagnostics from being published.
    (#9096)
  17. Fixed the native editor toolbar so it won't overlap.
    (#9140)
  18. Selectively render output and monaco editor to improve performance.
    (#9204)
  19. Set test debug console default to be internalConsole.
    (#9259)
  20. Fix the Data Science "Enable Plot Viewer" setting to pass figure_formats correctly when turned off.
    (#9420)
  21. Shift+Enter can no longer send multiple lines to the interactive window.
    (#9437)
  22. Shift+Enter can no longer run code in the terminal.
    (#9439)
  23. Scrape output to get the details of the registered kernel.
    (#9444)
  24. Update ptvsd debugger to version v5.0.0a11. Fixes signing for inject_dll_x86.exe.
    (#9474)
  25. Disable use of conda run.
    (#9490)
  26. Improvements to responsiveness of code completions in Notebook cells and Interactive Window.
    (#9494)
  27. Revert changes related to calling mypy with relative paths.
    (#9496)
  28. Remove default pathMappings for attach to local process by process Id.
    (#9533)
  29. Ensure event handler is bound to the right context.
    (#9539)
  30. Use the correct interpreter when creating the Python execution service used as a fallback by the Daemon.
    (#9566)
  31. Ensure environment variables are always strings in launch.json.
    (#9568)
  32. Fix error in developer console about serializing gather rules.
    (#9571)
  33. Do not open the output panel when building workspace symbols.
    (#9603)
  34. Use an activated environment python process to check if modules are installed.
    (#9643)
  35. When hidden 'useWebViewServer' is true, clicking on links in Notebook output don't work.
    (#9645)
  36. Always use latest version of the debugger when building extension.
    (#9652)
  37. Fix background for interactive window copy icon.
    (#9658)
  38. Fix text in markdown cells being lost when clicking away.
    (#9719)
  39. Fix debugging of Interactive Window cells. Don't start up a second notebook at Interactive Window startup.
    (#9780)
  40. When comitting intellisense in Notebook Editor with Jedi place code in correct position.
    (#9857)
  41. Ignore errors coming from stat(), where appropriate.
    (#9901)

Code Health

  1. Use prettier as the TypeScript formatter and Black as the Python formatter within the extension.
    (#2012)
  2. Use vanillajs for build scripts (instead of typescript, avoids the step of having to transpile).
    (#5674)
  3. Remove npx from webpack build as it breaks on windows on npm 6.11+ and doesn't seem to be getting fixes. Update npm to current version.
    (#7197)
  4. Clean up npm dependencies.
    ([#8302](https://github.com/Microsoft/...
Read more

2020.1.58038

13 Jan 19:06
db4b190
Compare
Choose a tag to compare

2020.1.0 (6 January 2020)

Enhancements

  1. Added experiment for reloading feature of debugging web apps.
    (#3473)
  2. Activate conda environment using path when name is not available.
    (#3834)
  3. Add QuickPick dropdown option Run All/Debug All when clicking on a Code Lens for a parametrized test to be able to run/debug all belonging test variants at once.
    (thanks to Philipp Loose)
    (#5608)
  4. Use Octicons in Code Lenses. (thanks Aidan Dang)
    (#7192)
  5. Improve startup performance of Jupyter by using a Python daemon.
    (#7242)
  6. Automatically indent following async for and async with statements.
    (#7344)
  7. Added extension option activateEnvInCurrentTerminal to detect if environment should be activated in the current open terminal.
    (#7665)
  8. Add telemetry for usage of activateEnvInCurrentTerminal setting.
    (#8004)
  9. Support multiprocess debugging using the new python debug adapter.
    (#8105)
  10. Support a per interpreter language server so that notebooks that aren't using the currently selected python can still have intellisense.
    (#8206)
  11. Add "processId" key in launch.json to enable attach-to-local-pid scenarios when using the new debug adapter.
    (#8384)
  12. Populate survey links with variables
    (#8484)
  13. Support the ability to take input from users inside of a notebook or the Interactive Window.
    (#8601)
  14. Create an MRU list for Jupyter notebook servers.
    (#8613)
  15. Add icons to the quick pick list for specifying the Jupyter server URI.
    (#8753)
  16. Added kernel status and selection toolbar to the notebook editor.
    (#8866)
  17. Updated ptvsd debugger to version v5.0.0a9.
    (#8930)
  18. Add ability to select an existing remote kernel.
    (#4644)
  19. Notify user when starting jupyter times out and added Jupyter output panel to display output from Jupyter.
    (#9068)

Fixes

  1. Add implementations for python.workspaceSymbols.rebuildOnStart and python.workspaceSymbols.rebuildOnFileSave.
    (#793)
  2. Use relative paths when invoking mypy.
    (thanks to yxliang01)
    (#5326)
  3. Make the dataviewer open a window much faster. Total load time is the same, but initial response is much faster.
    (#6729)
  4. Make sure the data viewer for notebooks comes up as soon as the user clicks.
    (#6840)
  5. Support saving plotly graphs in the Interactive Window or inside of a notebook.
    (#7221)
  6. Change 0th line in output to 1th in flake8.
    (thanks to Ma007ks)
    (#7349)
  7. Support local images in markdown and output for notebooks.
    (#7704)
  8. Default notebookFileRoot to match the file that a notebook was opened with (or the first file run for the interactive window).
    (#7780)
  9. Execution count and output are cleared from the .ipynb file when the user clicks the 'Clear All Output'.
    (#7853)
  10. Fix clear_output(True) to work in notebook cells.
    (#7970)
  11. Prevented '$0' from appearing inside brackets when using intellisense autocomplete.
    (#8101)
  12. Intellisense can sometimes not appear in notebooks or the interactive window, especially when something is a large list.
    (#8140)
  13. Correctly update interpreter and kernel info in the metadata.
    (#8223)
  14. Dataframe viewer should use the same interpreter as the active notebook is using.
    (#8227)
  15. 'breakpoint' line shows up in the interactive window when debugging a cell.
    (#8260)
  16. Run above should include all code, and not just cells above.
    (#8403)
  17. Fix issue with test discovery when using unittest with --pattern flag.
    (#8465)
  18. Set focus to the corresponding Native Notebook Editor when opening an ipynb file again.
    (#8506)
  19. Fix using all environment variables when running in integrated terminal.
    (#8584)
  20. Fix display of SVG images from previously executed ipynb files.
    (#8600)
  21. Fixes that the test selection drop-down did not open when a code lens for a parameterized test was clicked on windows.
    (#8627)
  22. Changes to how node-fetch is bundled in the extension.
    (#8665)
  23. Re-enable support for source-maps.
    (#8686)
  24. Fix order for print/display outputs in a notebook cell.
    (#8739)
  25. Fix scrolling inside of intellisense hover windows for notebooks.
    (#8843)
  26. Fix scrolling in large cells.
    (#8895)
  27. Set python.workspaceSymbols.enabled to false by default.
    (#9046)
  28. Add ability to pick a remote kernel.
    (#3763)
  29. Do not set "redirectOutput": true by default when not specified in launch.json, unless "console" is "internalConsole".
    (#8865)
  30. Fix slowdown in Notebook editor caused by using global storage for too much data.
    (#8961)
  31. 'y' and 'm' keys toggle cell type but also add a 'y' or 'm' to the cell.
    (#9078)
  32. Remove unnecessary matplotlib import from first cell.
    (#9099)
  33. Two 'default' options in the select a Jupyter server URI picker.
    (#9101)
  34. Plot viewer never opens.
    (#9114)
  35. Fix color contrast for kernel selection control.
    (#9138)
  36. Disconnect between displayed server and connected server in Kernel selection UI.
    (#9151)
  37. Eliminate extra storage space from global storage on first open of a notebook that had already written to storage.
    (#9159)
  38. Change kernel selection MRU to just save connection time and don't try to connect when popping the list. Plus add unit tests for it.
    (#9171)

Code Health

  1. Re-enable our mac 3.7 debugger tests as a blocking ptvsd issue has been resolved.
    (#6646)
  2. Use "conda run" (instead of using the "python.pythonPath" setting directly) when executing
    Python and an Anaconda environment is selected.
    (#7696)
  3. Change state management for react code to use redux.
    (#7949)
  4. Pass resource when accessing VS Code settings.
    (#8001)
  5. Adjust some notebook and interactive window telemetry.
    (#8254)
  6. Added a new telemetry event called DATASCIENCE.NATIVE.OPEN_NOTEBOOK_ALL that fires every time the user opens a jupyter notebook by any means.
    (#8262)
  7. Create python daemon for execution of python code.
    (#8451)
  8. Update npm package `https-proxy-a...
Read more

2020.1.57204

07 Jan 17:29
Compare
Choose a tag to compare

2020.1.57204

2019.11.50794

22 Nov 02:05
Compare
Choose a tag to compare

2019.11.50794

2019.11.49689

18 Nov 18:50
Compare
Choose a tag to compare

2019.11.49689

2019.10.44104

23 Oct 19:45
Compare
Choose a tag to compare

2019.10.1 (22 October 2019)

Enhancements

  1. Support other variables for notebookFileRoot besides ${workspaceRoot}. Specifically allow things like ${fileDirName} so that the dir of the first file run in the interactive window is used for the current directory.
    (#4441)
  2. Add command palette commands for native editor (run all cells, run selected cell, add new cell). And remove interactive window commands from contexts where they don't apply.
    (#7800)
  3. Added ability to auto-save chagnes made to the notebook.
    (#7831)

Fixes

  1. Fix regression to allow connection to servers with no token and no password and add functional test for this scenario
    (#7137)
  2. Perf improvements for opening notebooks with more than 100 cells.
    (#7483)
  3. Fix jupyter server startup hang when xeus-cling kernel is installed.
    (#7569)
  4. Make interactive window and native take their fontSize and fontFamily from the settings in VS Code.
    (#7624)
  5. Fix a hang in the Interactive window when connecting guest to host after the host has already started the interactive window.
    (#7638)
  6. Change the default cell marker to '# %%' instead of '#%%' to prevent linter errors in python files with markers.
    Also added a new setting to change this - 'python.dataScience.defaultCellMarker'.
    (#7674)
  7. When there's no workspace open, use the directory of the opened file as the root directory for a jupyter session.
    (#7688)
  8. Fix selection and focus not updating when clicking around in a notebook editor.
    (#7802)
  9. Fix add new cell buttons in the notebook editor to give the new cell focus.
    (#7820)
  10. Do not use the PTVSD package version in the folder name for the wheel experiment.
    (#7836)
  11. Prevent updates to the cell text when cell execution of the same cell has commenced or completed.
    (#7844)
  12. Hide the parameters intellisense widget in the Notebook Editor when it is not longer required.
    (#7851)
  13. Allow the "Create New Blank Jupyter Notebook" command to be run when the python extension is not loaded yet.
    (#7888)
  14. Ensure the *.trie files related to font kit npm module are copied into the output directory as part of the Webpack bundling operation.
    (#7899)
  15. CTRL+S is not saving a Notebook file.
    (#7904)
  16. When automatically opening the Notebook Editor, then ignore uris that do not have a file scheme
    (#7905)
  17. Minimize the changes to an ipynb file when saving - preserve metadata and spacing.
    (#7960)
  18. Fix intellisense popping up in the wrong spot when first typing in a cell.
    (#8009)
  19. Fix python.dataScience.maxOutputSize to be honored again.
    (#8010)
  20. Fix markdown disappearing after editing and hitting the escape key.
    (#8045)

Code Health

  1. Add functional tests for notebook editor's use of the variable list.
    (#7369)
  2. More functional tests for the notebook editor.
    (#7372)
  3. Update version of @types/vscode.
    (#7832)
  4. Use Webview.asWebviewUri to generate a URI for use in the Webview Panel instead of hardcoding the resource vscode-resource.
    (#7834)

2019.10.41019

08 Oct 21:49
48fe766
Compare
Choose a tag to compare

2019.10.41019

2019.9.34911

06 Sep 23:05
40a28fa
Compare
Choose a tag to compare

2019.9.34911