Python v2021.4.0 Release Notes

Release Date: 2021-04-19 // about 3 years ago
  • โœจ Enhancements

    1. 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. Added python.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)
    2. 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)
    3. Install dev tools using Poetry when the poetry environment related to current folder is selected when in discovery experiment. (#15786)
    4. Add a refresh icon next to interpreter list. (#15868)
    5. Added command Python: Clear internal extension cache to clear extension related cache. (#15883)

    ๐Ÿ›  Fixes

    ๐Ÿ 1. Fix python.poetryPath setting for installer on Windows. (#9672)

    1. 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)
    2. Ensure any stray jedi process is terminated on language server dispose. (#15644)
    3. Fix README image indent for VSCode extension page. (thanks Johnson) (#15662) โšก๏ธ 1. Run conda update and not conda install when installing a compatible version of the tensorboard 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)

    1. 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:

    Also thanks to the various projects we provide integrations with which help ๐Ÿ‘‰ make this extension useful:

    And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!