Python v2019.11.0 Release Notes
Release Date: 2019-11-18 // over 4 years ago-
โจ Enhancements
๐ 1. Add Vega support into our list of transforms for output. (#4125)
- Add
.flake8
file association as ini-file. (thanks thernstig) (#6506) - Provide user feedback when searching for a Jupyter server to use and allow the user to cancel this process. (#7262) 0๏ธโฃ 1. By default, don't change matplotlib themes and place all plots on a white background regardless of VS Code theme. Add a setting to allow for plots to try to theme. (#8000)
- Prompt to open exported
Notebook
in theNotebook Editor
. (#8078) ๐ 1. Add commands translation for Persian locale. (thanks Nikronic) (#8092) โจ 1. Enhance "select a workspace" message when selecting interpreter. (thanks Nikolay Kondratyev) (#8103) ๐ฒ 1. Add logging support for python debug adapter. (#8106) ๐ 1. Style adjustments to line numbers (color and width) in theNative Editor
, to line up with VS Code styles. (#8289) ๐ 1. Added command translations for Turkish. (thanks to alioguzhan) (#8320) โก๏ธ 1. Toolbar was updated to take less space and be reached more easily. (#8366)
๐ Fixes
โ 1. Fix running a unittest file executing only the first test. (thanks Nikolay Kondratyev) (#4567) โ 1. Force the pytest root dir to always be the workspace root folder. (#6548)
- The notebook editor will now treat wrapped lines as different lines, so moving in cells and between cells with the arrow keys (and j and k) will be easier. (#7227) โ 1. During test discovery, ignore tests generated by pytest plugins (like pep8). Tests like that were causing discovery to fail. (#7287)
- When exporting a notebook editor to python script don't use the temp file location for generating the export. (#7567) ๐ง 1. Unicode symbol used to mark skipped tests was almost not visible on Linux and Windows. (#7705)
- Editing cells in a notebook, closing VS code, and then reopening will not have the cell content visible. (#7754) โ 1. Sonar warnings. (#7812) ๐ 1. Remove --ci flag from install_ptvsd.py to fix execution of "Setup" instructions from CONTRIBUTING.md. (#7814)
- Add telemetry for control groups in debug adapter experiments. (#7817) 0๏ธโฃ 1. Allow the language server to pick a default caching mode. (#7821)
- Respect ignoreVSCodeTheme setting and correctly swap icons when changing from light to dark color themes. (#7847)
- 'Clear All Output' now deletes execution count for all cells. (#7853)
- If a Jupyter server fails to start, allow user to retry without having to restart VS code. (#7865)
- Fix strings of commas appearing in text/html output in the notebook editor. (#7873)
- When creating a new blank notebook, it has existing text in it already. (#7980) ๐ 1. Can now include a LaTeX-style equation without surrounding the equation with '\$' in a markdown cell. (#7992)
- Make a spinner appear during executing a cell. (#8003)
- Signature help is overflowing out of the signature help widget on the Notebook Editor. (#8006)
- Ensure intellisense (& similar widgets/popups) are dispaled for one cell in the Notebook editor. (#8007)
- Correctly restart Jupyter sessions when the active interpreter is changed. (#8019) ๐ 1. Clear up wording around jupyterServerURI and remove the quick pick from the flow of setting that. (#8021)
- Use actual filename comparison for filename equality checks. (#8022)
- Opening a notebook a second time round with changes (made from another editor) should be preserved. (#8025)
- Minimize the GPU impact of the interactive window and the notebook editor.
(#8039)
๐ 1. Store version of the
Python
interpreter (kernel) in the notebook metadata when running cells. (#8064) - Make shift+enter not take focus unless about to add a new cell. (#8069)
- When checking the version of
pandas
, use the same interpreter used to startJupyter
. (#8084) - Make brackets and paranthesis auto complete in the Notebook Editor and Interactive Window (based on editor settings). (#8086)
- Cannot create more than one blank notebook. (#8132)
- Fix for code disappearing after switching between markdown and code in a Notebook Editor.
(#8141)
๐ 1. Support
โ+s
keyboard shortcut for savingNotebooks
. (#8151) - Fix closing a Notebook Editor to actually wait for the kernel to restart. (#8167)
- Inserting a cell in a notebook can sometimes cause the contents to be the cell below it. (#8194)
- Scroll the notebook editor when giving focus or changing line of a code cell. (#8205)
- Prevent code from changing in the Notebook Editor while running a cell. (#8215) โก๏ธ 1. When updating the Python extension, unsaved changes to notebooks are lost. (#8263) ๐ท 1. Fix CI to use Python 3.7.5. (#8296)
- Correctly transition markdown cells into code cells. (#8386)
- Fix cells being erased when saving and then changing focus to another cell. (#8399)
- Add a white background for most non-text mimetypes. This lets stuff like Atlair look good in dark mode. (#8423)
- Export to python button is blue in native editor. (#8424) ๐ 1. CTRL+Z is deleting cells. It should only undo changes inside of the code for a cell. 'Z' and 'SHIFT+Z' are for undoing/redoing cell adds/moves. (#7999)
- Ensure clicking
ctrl+s
in a newnotebook
prompts the user to select a file once instead of twice. (#8138) - Creating a new blank notebook should not require a search for jupyter. (#8481)
- Arrowing up and down through cells can lose code that was just typed. (#8491)
- After pasting code, arrow keys don't navigate in a cell. (#8495)
- Typing 'z' in a cell causes the cell to disappear. (#8594)
Code Health
โ 1. Add unit tests for src/client/common/process/pythonProcess.ts. (#6065) ๐ 1. Remove try...catch around use of vscode.env.shell. (#6912) โก๏ธ 1. Test plan needed to be updated to include support for the Notebook Editor. (#7593) ๐ 1. Add test step to get correct pywin32 installed with python 3.6 on windows. (#7798) โก๏ธ 1. Update Test Explorer icons to match new VS Code icons. (#7809) โ 1. Fix native editor mime type functional test. (#7877) โ 1. Fix variable explorer loading test. (#7878)
- Add telemetry to capture usage of features in the
Notebook Editor
forData Science
features. (#7908) ๐ง 1. Fix debug temporary functional test for Mac / Linux. (#7994) โ 1. Variable explorer tests failing on nightly. (#8124) โ 1. Timeout with new waitForMessage in native editor tests. (#8255) ๐ 1. Remove code used to track perf of creation classes. (#8280) โก๏ธ 1. Update TypeScript to3.7
. (#8395)
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
- ๐ pyparsing
- 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!
- Add