Python v2020.1.0 Release Notes
Release Date: 2020-01-06 // over 4 years ago-
โจ Enhancements
๐ 1. Added experiment for reloading feature of debugging web apps. (#3473)
- Activate conda environment using path when name is not available. (#3834) โ 1. 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)
- Use Octicons in Code Lenses. (thanks Aidan Dang) (#7192) ๐ 1. Improve startup performance of Jupyter by using a Python daemon. (#7242)
- Automatically indent following
async for
andasync with
statements. (#7344) - Added extension option
activateEnvInCurrentTerminal
to detect if environment should be activated in the current open terminal. (#7665) - Add telemetry for usage of activateEnvInCurrentTerminal setting. (#8004) ๐ 1. Support multiprocess debugging using the new python debug adapter. (#8105) ๐ 1. Support a per interpreter language server so that notebooks that aren't using the currently selected python can still have intellisense. (#8206)
- Add "processId" key in launch.json to enable attach-to-local-pid scenarios when using the new debug adapter. (#8384)
- Populate survey links with variables (#8484) ๐ 1. Support the ability to take input from users inside of a notebook or the Interactive Window. (#8601)
- Create an MRU list for Jupyter notebook servers. (#8613)
- Add icons to the quick pick list for specifying the Jupyter server URI. (#8753)
- Added kernel status and selection toolbar to the notebook editor.
(#8866)
โก๏ธ 1. Updated
ptvsd
debugger to version v5.0.0a9. (#8930) - Add ability to select an existing remote
kernel
. (#4644) - Notify user when starting jupyter times out and added
Jupyter
output panel to display output from Jupyter. (#9068)
๐ Fixes
- Add implementations for
python.workspaceSymbols.rebuildOnStart
andpython.workspaceSymbols.rebuildOnFileSave
. (#793) - Use relative paths when invoking mypy. (thanks to yxliang01) (#5326)
- Make the dataviewer open a window much faster. Total load time is the same, but initial response is much faster. (#6729)
- Make sure the data viewer for notebooks comes up as soon as the user clicks. (#6840) ๐ 1. Support saving plotly graphs in the Interactive Window or inside of a notebook. (#7221)
- Change 0th line in output to 1th in flake8. (thanks to Ma007ks) (#7349) ๐ 1. Support local images in markdown and output for notebooks. (#7704) 0๏ธโฃ 1. Default notebookFileRoot to match the file that a notebook was opened with (or the first file run for the interactive window). (#7780)
- Execution count and output are cleared from the .ipynb file when the user clicks the 'Clear All Output'. (#7853)
- Fix clear_output(True) to work in notebook cells. (#7970)
- Prevented '\$0' from appearing inside brackets when using intellisense autocomplete. (#8101)
- Intellisense can sometimes not appear in notebooks or the interactive window, especially when something is a large list. (#8140) ๐ 1. Correctly update interpreter and kernel info in the metadata. (#8223)
- Dataframe viewer should use the same interpreter as the active notebook is using. (#8227)
- 'breakpoint' line shows up in the interactive window when debugging a cell. (#8260)
- Run above should include all code, and not just cells above.
(#8403)
โ
1. Fix issue with test discovery when using
unittest
with--pattern
flag. (#8465) - Set focus to the corresponding
Native Notebook Editor
when opening anipynb
file again. (#8506) - Fix using all environment variables when running in integrated terminal. (#8584)
- Fix display of SVG images from previously executed ipynb files. (#8600) ๐ 1. Fixes that the test selection drop-down did not open when a code lens for a parameterized test was clicked on windows. (#8627)
- Changes to how
node-fetch
is bundled in the extension. (#8665) ๐ 1. Re-enable support for source-maps. (#8686) ๐จ 1. Fix order for print/display outputs in a notebook cell. (#8739) ๐ 1. Fix scrolling inside of intellisense hover windows for notebooks. (#8843) - Fix scrolling in large cells.
(#8895)
0๏ธโฃ 1. Set
python.workspaceSymbols.enabled
to false by default. (#9046) - Add ability to pick a remote kernel. (#3763) 0๏ธโฃ 1. Do not set "redirectOutput": true by default when not specified in launch.json, unless "console" is "internalConsole". (#8865)
- Fix slowdown in Notebook editor caused by using global storage for too much data. (#8961)
- 'y' and 'm' keys toggle cell type but also add a 'y' or 'm' to the cell. (#9078) ๐ 1. Remove unnecessary matplotlib import from first cell. (#9099) 0๏ธโฃ 1. Two 'default' options in the select a Jupyter server URI picker. (#9101)
- Plot viewer never opens. (#9114)
- Fix color contrast for kernel selection control. (#9138) ๐ป 1. Disconnect between displayed server and connected server in Kernel selection UI. (#9151)
- Eliminate extra storage space from global storage on first open of a notebook that had already written to storage. (#9159) โ 1. 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)
- Use "conda run" (instead of using the "python.pythonPath" setting directly) when executing Python and an Anaconda environment is selected. (#7696)
- Change state management for react code to use redux. (#7949)
- Pass resource when accessing VS Code settings. (#8001)
- Adjust some notebook and interactive window telemetry. (#8254)
- 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) - Create python daemon for execution of python code.
(#8451)
โก๏ธ 1. Update npm package
https-proxy-agent
by updating the packages that pull it in. (#8537) โ 1. Improve startup times of unit tests by optionally ignoring some bootstrapping required formonaco
andreact
tests. (#8564) ๐ท 1. Skip checking dependencies on CI in PRs. (#8840) ๐ง 1. Fix installation of sqlite on CI linux machines. (#8883) โ 1. Fix the "convert to python" functional test failure. (#8899) ๐ 1. Remove unused auto-save-enabled telemetry. (#8906) - Added ability to wait for completion of the installation of modules. (#8952) โ 1. Fix failing Data Viewer functional tests. (#8992)
Thanks
Thanks to the following projects which we fully rely on to provide some of our features:
- isort
- jedi and parso
- Microsoft Python Language Server
- ptvsd
- exuberant ctags (user-installed)
- rope (user-installed)
Also thanks to the various projects we provide integrations with which help ๐ make this extension useful:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: nose, pytest, unittest
And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!