Changelog History
Page 4
-
v2021.4.0 Changes
April 19, 2021โจ 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
-
v2021.3.1 Changes
March 23, 2021๐ Fixes
- Fix link to create a new Jupyter notebook in Python start page.
(#15621)
โฌ๏ธ 1. Upgrade to latest
jedi-language-server
and use it for python >= 3.6. Usejedi<0.18
for python 2.7 and <=3.5. (#15724) - Check if Python executable file exists instead of launching the Python process. (#15725)
- Fix for Go to definition needs to be pressed twice. (thanks djplt) (#15727)
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!
- Fix link to create a new Jupyter notebook in Python start page.
(#15621)
โฌ๏ธ 1. Upgrade to latest
-
v2021.3.0 Changes
March 16, 2021โจ Enhancements
- Activate the extension when the following files are found:
Pipfile
,setup.py
,requirements.txt
,manage.py
,app.py
(thanks Dhaval Soneji) (#4765) ๐ฒ 1. Add optional user-levelpython.tensorBoard.logDirectory
setting. When starting a TensorBoard session, use this setting if it is present instead of prompting the user to select a log directory. (#15476)
๐ Fixes
โ 1. Fix nosetests to run tests only once. (thanks djplt) (#6043)
- Make on-enter behaviour after
raise
much more like that ofreturn
, fixing handling in the case of pressing enter to wrap the parentheses of an exception call. (thanks PeterJCLaw) (#10583) ๐ง 1. Add configuration debugpyPath. (thanks djplt) (#14631) ๐ 1. Fix Mypy linter pointing to wrong column number (off by one). (thanks anttipessa, haalto, JeonCD and junskU) (#14978) - Show each python.org install only once on Mac when in discovery experiment. (#15302)
- All relative interpreter path reported start with
~
when in discovery experiment. (#15312) ๐ง 1. Remove FLASK_DEBUG from flask debug configuration to allow reload. (#15373) - Install using pipenv only if the selected environment is pipenv which is related to workspace folder, when in discovery experiment.
(#15489)
๐ 1. Fixes issue with detecting new installations of Windows Store python.
(#15541)
๐ฆ 1. Add
cached-property
package to bundled python packages. This is needed byjedi-language-server
running onpython 3.6
andpython 3.7
. (#15566) ๐ 1. Remove limit on workspace symbols when using Jedi language server. (#15576) - Use shorter paths for python interpreter when possible. (#15580)
- Ensure that jedi language server uses jedi shipped with the extension. (#15586) โก๏ธ 1. Updates to Proposed API, and fix the failure in VS Code Insider tests. (#15638)
Code Health
๐ 1. Add support for "Trusted Workspaces".
"Trusted Workspaces" is an upcoming feature in VS Code. (See: https://github.com/microsoft/vscode/issues/106488.) For now you need the following for the experience: - the latest VS Code Insiders - add `"workspace.trustEnabled": true` to your user settings.json At that point, when the Python extension would normally activate, VS Code will prompt you about whether or not the current workspace is trusted. If not then the extension will be disabled (but only for that workspace). As soon as the workspace is marked as trusted, the extension will activate. ([#15525](https://github.com/Microsoft/vscode-python/issues/15525))
โก๏ธ 1. Updates to the VSCode Notebook API. (#15567) โ 1. Fix failing smoke tests on CI. (#15573) โก๏ธ 1. Update VS Code engine to 1.54.0 (#15604)
- Use
onReady
method available on language client to ensure language server is ready. (#15612)
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!
- Activate the extension when the following files are found:
-
v2021.2.4 Changes
March 09, 2021๐ Fixes
โก๏ธ 1. Update to latest VSCode Notebook API. (#15415)
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!
-
v2021.2.3 Changes
March 08, 2021๐ Fixes
- Add event handlers to stream error events to prevent process from exiting due to errors in process stdout & stderr streams. (#15395)
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!
-
v2021.2.2 Changes
March 05, 2021๐ Fixes
๐ 1. Fixes issue with Jedi Language Server telemetry. (#15419)
Thanks
Thanks to the following projects which we fully rely on to provide some of our features:
- debugpy
- isort
- jedi and parso
- 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!
-
v2021.2.1 Changes
February 19, 2021๐ Fixes
- Fix for missing pyenv virtual environments from selectable environments. (#15439) ๐ง 1. Register Jedi regardless of what language server is configured. (#15452)
Thanks
Thanks to the following projects which we fully rely on to provide some of our features:
- debugpy
- isort
- jedi and parso
- 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!
-
v2021.2.0 Changes
February 17, 2021โจ Enhancements
- Use Language Server Protocol to work with Jedi. (#11995)
๐ Fixes
- Don't suggest insiders program nor show start page when in Codespaces. (#14833)
- Fix description of
Pyramid
debug config. (thanks vvijayalakshmi21) (#5479) ๐จ 1. Refactored the Enable Linting command to provide the user with a choice of "Enable" or "Disable" linting to make it more intuitive. (thanks henryboisdequin) (#8800) ๐ป 1. Fix marketplace links in popups opening a non-browser VS Code instance in Codespaces. (#14264) ๐ง 1. Fixed the error command suggested when attempting to use "debug tests" configuration (Thanks Shahzaib paracha) (#14729) โ 1. Single test run fails sometimes if there is an error in unrelated file imported during discovery. (thanks Szymon Janota) (#15147) - Re-enable localization on the start page. It was accidentally disabled in October when the Jupyter extension was split out. (#15232)
- Ensure target environment is activated in the terminal when running install scripts. (#15285) ๐ 1. Allow support for using notebook APIs in the VS code stable build. (#15364)
Code Health
- Raised the minimum required VS Code version to 1.51. (#15237)
Thanks
Thanks to the following projects which we fully rely on to provide some of our features:
- debugpy
- isort
- jedi and parso
- 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!
-
v2021.1.0 Changes
January 21, 2021โจ Enhancements
๐ 1. Remove code snippets (you can copy the old snippets and use them as your own snippets). (#14781)
- Add PYTHONPATH to the language server settings response. (#15106) ๐ 1. Integration with the bandit linter will highlight the variable, function or method for an issue instead of the entire line. Requires latest version of the bandit package to be installed. (thanks Anthony Shaw) (#15003)
- Translated some more of the Python Extension messages in Simplified Chinese. (thanks Shinoyasan) (#15079) โก๏ธ 1. Update Simplified Chinese translation. (thanks Fiftysixtimes7) (#14997)
๐ Fixes
- Fix environment variables not refreshing on env file edits. (#3805)
- fix npm audit[high]: [Remote Code Execution](npmjs.com/advisories/1548) (#14640)
- Ignore false positives when scraping environment variables.
(#14812)
โ
1. Fix unittest discovery when using VS Code Insiders by using Inversify's
skipBaseClassChecks
option. (#14962) - Make filtering in findInterpretersInDir() faster. (#14983) ๐ 1. Remove the Buffer() is deprecated warning from Developer tools. (#15045) (#15045) โ 1. Add support for pytest 6 options. (#15094)
Code Health
โก๏ธ 1. Update to Node 12.20.0. (#15046)
Thanks
Thanks to the following projects which we fully rely on to provide some of our features:
- debugpy
- isort
- jedi and parso
- 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!
-
v2020.12.2 Changes
December 15, 2020๐ Fixes
- Only activate discovery component when in experiment. (#14977)
Thanks
Thanks to the following projects which we fully rely on to provide some of our features:
- debugpy
- isort
- jedi and parso
- 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!