Python v2021.4.0 Release Notes
Release Date: 2021-04-19 // about 3 years ago-
โจ Enhancements
- Add new command to report an Issue using the vscode-python template.
(#1119)
๐ 1. Highlight
.pypirc
,.pep8
, and.pylintrc
as ini-files. (thanks Jan Pilzer) (#11250) ๐ 1. Addedpython.linting.cwd
to change the working directory of the linters. (thanks Matthew Shirley) (#15170) ๐ 1. Remove prompt to install a linter when none are available. (#15465) ๐ 1. Add jump to source integration with the PyTorch profiler TensorBoard plugin during TensorBoard sessions. (#15641) - Drop prompt being displayed on first extension launch with a tip or a survey. (#15647) โก๏ธ 1. Use the updated logic for normalizing code sent to REPL as the default behavior. (#15649) ๐ 1. Open TensorBoard webview panel in the active viewgroup on the first launch or the last viewgroup that it was moved to. (#15708) ๐ 1. Support discovering Poetry virtual environments when in discovery experiment. (#15765)
- Install dev tools using Poetry when the poetry environment related to current folder is selected when in discovery experiment. (#15786)
- Add a refresh icon next to interpreter list. (#15868)
- Added command
Python: Clear internal extension cache
to clear extension related cache. (#15883)
๐ Fixes
๐ 1. Fix
python.poetryPath
setting for installer on Windows. (#9672)- Prevent mypy errors for other files showing in current file. (thanks Steve Dignam) (#10190) โก๏ธ 1. Update pytest results when debugging. (thanks djplt) (#15353) ๐ 1. Ensure release level is set when using new environment discovery component. (#15462) ๐ฆ 1. Ensure right environment is activated in the terminal when installing Python packages. (#15503) โก๏ธ 1. Update nosetest results when debugging. (thanks djplt) (#15642)
- Ensure any stray jedi process is terminated on language server dispose. (#15644)
- Fix README image indent for VSCode extension page. (thanks Johnson)
(#15662)
โก๏ธ 1. Run
conda update
and notconda install
when installing a compatible version of thetensorboard
package. (#15778) ๐ 1. Temporarily fix support for folders in interpreter path setting. (#15782) ๐ 1. In completions.py: jedi.api.names has been deprecated, switch to new syntax. (thanks moselhy). (#15791) ๐ 1. Fixes activation of prefixed conda environments. (#15823)
Code Health
๐ 1. Deprecating on-type line formatter since it isn't used in newer Language servers. (#15709) ๐ 1. Removing old way of feature deprecation where we showed notification for each feature we deprecated. (#15714) ๐ 1. Remove unused code from extension. (#15717)
- Add telemetry for identifying torch.profiler users. (#15825) โก๏ธ 1. Update notebook code to not use deprecated .cells function on NotebookDocument. (#15885)
Thanks
Thanks to the following projects which we fully rely on to provide some of our features:
- debugpy
- isort
- jedi and parso
- jedi-language-server
- Microsoft Python Language Server
- ๐ Pylance
- 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 new command to report an Issue using the vscode-python template.
(#1119)
๐ 1. Highlight