Skip to content

Releases: microsoft/vscode-python

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)

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