Python v2019.10.1 Release Notes
Release Date: 2019-10-22 // over 4 years ago-
โจ 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) ๐ 1. 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)
- 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)
- Perf improvements for opening notebooks with more than 100 cells. (#7483)
- Fix jupyter server startup hang when xeus-cling kernel is installed. (#7569)
- Make interactive window and native take their fontSize and fontFamily from the settings in VS Code. (#7624)
- Fix a hang in the Interactive window when connecting guest to host after the host has already started the interactive window. (#7638) ๐ 1. 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)
- When there's no workspace open, use the directory of the opened file as the root directory for a jupyter session. (#7688) โก๏ธ 1. Fix selection and focus not updating when clicking around in a notebook editor. (#7802)
- Fix add new cell buttons in the notebook editor to give the new cell focus. (#7820) ๐ฆ 1. Do not use the PTVSD package version in the folder name for the wheel experiment. (#7836) โก๏ธ 1. Prevent updates to the cell text when cell execution of the same cell has commenced or completed. (#7844)
- Hide the parameters intellisense widget in the
Notebook Editor
when it is not longer required. (#7851) - Allow the "Create New Blank Jupyter Notebook" command to be run when the python extension is not loaded yet. (#7888)
- Ensure the
*.trie
files related tofont kit
npm module are copied into the output directory as part of theWebpack
bundling operation. (#7899) - CTRL+S is not saving a Notebook file. (#7904)
- When automatically opening the
Notebook Editor
, then ignore uris that do not have afile
scheme (#7905) ๐ 1. Minimize the changes to an ipynb file when saving - preserve metadata and spacing. (#7960) - Fix intellisense popping up in the wrong spot when first typing in a cell. (#8009)
- Fix python.dataScience.maxOutputSize to be honored again. (#8010)
- 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) โ 1. More functional tests for the notebook editor. (#7372) โก๏ธ 1. Update version of
@types/vscode
. (#7832)- Use
Webview.asWebviewUri
to generate a URI for use in theWebview Panel
instead of hardcoding the resourcevscode-resource
. (#7834)
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!