Changelog History
Page 1
-
v2022.10.0 Changes
July 07, 2022โจ Enhancements
- ๐ Add
breakpoint
support fordjango-html
&django-txt
by Lakshmikanth2001 in (#19288). - โ
Fix
unittest
discovery issue with experimental component by ksy7588 in (#19324). - Trigger refresh when using
Select Interpreter
command if no envs were found previously by karrtikr in (#19361). - โก๏ธ Update
debugpy
to 1.6.2.
๐ Bug Fixes
- Fix variable name for
flake8Path
's description by usta in (#19313). - Ensure we dispose objects on deactivate by karthiknadig in (#19341).
- Ensure we can change interpreters after trusting a workspace by karrtikr in (#19353).
- โ
Fix for
::::
in node id forpytest
by karthiknadig in (#19356). - Ensure we register for interpreter change when moving from untrusted to trusted. by karthiknadig in (#19351).
Code Health
- ๐ Update CI for using GitHub Actions for release notes by brettcannon in (#19273).
- ๐ Add missing translations by paulacamargo25 in (#19305).
- Delete the
news
directory by brettcannon in (#19308). - Fix interpreter discovery related telemetry by karrtikr in (#19319).
- ๐ Simplify and merge async dispose and dispose by karthiknadig in (#19348).
- โก๏ธ Updating required packages by karthiknadig in (#19375).
- โก๏ธ Update the issue notebook by brettcannon in (#19388).
- ๐ Remove
notebookeditor
proposed API by karthiknadig in (#19392).
Full Changelog: https://github.com/microsoft/vscode-python/compare/2022.8.1...2022.10.0
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:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, poetry, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: 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
-
v2022.8.1 Changes
June 28, 2022Code Health
โก๏ธ 1. Update vscode
extension-telemetry
package. (#19375)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:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, poetry, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: 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!
-
v2022.8.0 Changes
June 09, 2022โจ Enhancements
๐ง 1. Make cursor focus switch automatically to the terminal after launching a python process with configuration option. (Thanks djplt) (#14851)
- Enable localization using vscode-nls.
(#18286)
๐ 1. Add support for referencing multiroot-workspace folders in settings using
${workspaceFolder:<folder_name>}
. (#18650) - Ensure conda envs lacking an interpreter which do not use a valid python binary are also discovered and is selectable, so that
conda env list
matches with what the extension reports. (#18934) - Improve information collected by the
Python: Report Issue
command. (#19067) - Only trigger auto environment discovery if a user attempts to choose a different interpreter, or when a particular scope (a workspace folder or globally) is opened for the first time. (#19102)
- Added a proposed API to report progress of environment discovery in two phases.
(#19103)
โก๏ธ 1. Update to latest LS client (v8.0.0) and server (v8.0.0).
(#19114)
โก๏ธ 1. Update to latest LS client (v8.0.1) and server (v8.0.1) that contain the race condition fix around
LangClient.stop
. (#19139)
๐ Fixes
- Do not use
--user
flag when installing in a virtual environment. (#14327) - Fix error
No such file or directory
on conda activate, and simplify the environment activation code. (#18989) - Add proposed async execution API under environments. (#19079)
Code Health
๐ป 1. Capture whether environment discovery was triggered using Quickpick UI. (#19077)
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:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, poetry, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: 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!
- Enable localization using vscode-nls.
(#18286)
๐ 1. Add support for referencing multiroot-workspace folders in settings using
-
v2022.6.0 Changes
May 05, 2022โจ Enhancements
โ 1. Rewrite support for unittest test discovery. (#17242)
- Do not require a reload when swapping between language servers. (#18509)
๐ Fixes
- Do not show inherit env prompt for conda envs when running "remotely". (#18510) ๐ 1. Fixes invalid regular expression logging error occurs when file paths contain special characters. (Thanks sunyinqi0508) (#18829)
- Do not prompt to select new virtual envrionment if it has already been selected. (#18915)
- Disable isort when using isort extension.
(#18945)
๐ 1. Remove
process
check from browser specific entry point for the extension. (#18974) โ 1. Use built-in test refresh button. (#19012) โก๏ธ 1. Update vscode-telemetry-extractor to @vscode/[email protected]. (Thanks Quan Zhuo) (#19036) - Ensure 64-bit interpreters are preferred over 32-bit when auto-selecting. (#19042)
Code Health
โก๏ธ 1. Update Jedi minimum to python 3.7. (#18324) ๐ 1. Stop using
--live-stream
when usingconda run
(see https://github.com/conda/conda/issues/11209 for details). (#18511) ๐ 1. Remove prompt to recommend users in old insiders program to switch to pre-release. (#18809) โก๏ธ 1. Update requirements to remove python 2.7 version restrictions. (#19060)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:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, poetry, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: 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!
-
v2022.4.1 Changes
April 07, 2022๐ Fixes
- Ensure
conda info
command isn't run multiple times during startup when large number of conda interpreters are present. (#18200) - If a conda environment is not returned via the
conda env list
command, consider it as unknown env type. (#18530) - Wrap file paths containing an ampersand in double quotation marks for running commands in a shell. (#18722) ๐ 1. Fixes regression with support for python binaries not following the standard names. (#18835)
- Fix launch of Python Debugger when using conda environments. (#18847)
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:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, poetry, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: 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!
- Ensure
-
v2022.4.0 Changes
March 30, 2022โจ Enhancements
๐ 1. Use new pre-release mechanism to install insiders. (#18144) ๐ 1. Add support for detection and selection of conda environments lacking a python interpreter. (#18357)
- Retains the state of the TensorBoard webview.
(#18591)
๐ 1. Move interpreter info status bar item to the right.
(#18710)
โก๏ธ 1.
debugpy
updated to versionv1.6.0
. (#18795)
๐ Fixes
๐ 1. Properly dismiss the error popup dialog when having a linter error. (Thanks Virgil Sisoe) (#18553) โ 1. Python files are no longer excluded from Pytest arguments during test discovery. (thanks Marc Mueller) (#18562) ๐ 1. Fixes regression caused due to using
conda run
for executing files. (#18634)- Use
conda run
to get the activated environment variables instead of activation using shell scripts. (#18698)
Code Health
๐ 1. Remove old settings migrator. (#14334) ๐ 1. Remove old language server setting migration. (#14337) ๐ 1. Remove dependency on other file system watchers. (#18381) โก๏ธ 1. Update TypeScript version to 4.5.5. (#18602)
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:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, poetry, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: 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!
- Retains the state of the TensorBoard webview.
(#18591)
๐ 1. Move interpreter info status bar item to the right.
(#18710)
โก๏ธ 1.
-
v2022.2.0 Changes
March 03, 2022โจ Enhancements
- Implement a "New Python File" command (#18376)
- Use
conda run
for conda environments for running python files and installing modules. (#18479) ๐ 1. Better filename patterns for pip-requirements. (thanks Baptiste Darthenay) (#18498)
๐ Fixes
- Ensure clicking "Discovering Python Interpreters" in the status bar shows the current discovery progress.
(#18443)
๐ 1. Fixes Pylama output parsing with MyPy. (thanks Nicola Marella)
(#15609)
๐ 1. Fix CPU load issue caused by poetry plugin by not watching directories which do not exist.
(#18459)
๐ง 1. Explicitly add
"justMyCode": "true"
to alllaunch.json
configurations. (Thanks Matt Bogosian) (#18471) - Identify base conda environments inside pyenv correctly. (#18500)
- Fix for a crash when loading environments with no info. (#18594)
Code Health
๐ 1. Remove dependency on
ts-mock-imports
. (#14757) โก๏ธ 1. Updatevsce
tov2.6.6
. (#18411)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:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, poetry, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: 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!
-
v2022.0.1 Changes
February 08, 2022๐ Fixes
- Fix
invalid patch string
error when using conda. (#18455) โช 1. Revert to old way of running debugger if conda version less than 4.9.0. (#18436)
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:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, poetry, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: 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
-
v2022.0.0 Changes
February 03, 2022โจ Enhancements
๐ 1. Add support for conda run without output, using
--no-capture-output
flag. (#7696)- Add an option to clear interpreter setting for all workspace folders in multiroot scenario. (#17693)
- Public API for environments (proposed). (#17905)
- Group interpreters in interpreter quick picker using separators.
(#17944)
๐ 1. Add support for pylint error ranges. Requires Python 3.8 and pylint 2.12.2 or higher. (thanks Marc Mueller)
(#18068)
๐ 1. Move pinned interpreter status bar item towards the right behind
pythonInterpreterInfoPinned
experiment. (#18282) ๐ 1. Move interpreter status bar item into thePython
language status item behindpythonInterpreterInfoUnpinned
experiment. (#18283) โก๏ธ 1. Update Jedi language server to latest. (#18325)
๐ Fixes
โก๏ธ 1. Update zh-tw translations. (thanks ted1030) (#17991) ๐ 1. Support selecting conda environments with python
3.10
. (#18128) ๐ 1. Fixes to telemetry handler in language server middleware. (#18188) 0๏ธโฃ 1. Resolve system variables inpython.defaultInterpreterPath
. (#18207) ๐จ 1. Ensures interpreters are discovered even when runninginterpreterInfo.py
script prints more than just the script output. (#18234) ๐ง 1. Remove restrictions on usingpurpose
in debug configuration. (#18248) โก๏ธ 1. Ensure Python Interpreter information in the status bar is updated if Interpreter information changes. (#18257)- Fix "Run Selection/Line in Python Terminal" for Python < 3.8 when the code includes decorators. (#18258)
- Ignore notebook cells for pylance. Jupyter extension is handling notebooks. (#18259)
- Fix for UriError when using python.interpreterPath command in tasks.
(#18285)
๐ 1. Ensure linting works under
conda run
(work-around for https://github.com/conda/conda/issues/10972). (#18364) ๐ 1. Ensure items are removed from the array in reverse order when using array indices. (#18382) โก๏ธ 1. Log experiments only after we finish updating active experiments list. (#18393)
Code Health
โ 1. Improve unit tests for envVarsService, in particular the variable substitution logic (Thanks Keshav Kini) (#17747) ๐ 1. Remove
python.pythonPath
setting andpythonDeprecatePythonPath
experiment. (#17977) ๐ 1. RemovepythonTensorboardExperiment
andPythonPyTorchProfiler
experiments. (#18074)- Reduce direct dependency on IOutputChannel. (#18132) โฌ๏ธ 1. Upgrade to Node 14 LTS (v14.18.2). (#18148)
- Switch
jedils_requirements.txt
torequirements.txt
underpythonFiles/jedilsp_requirements/
. (#18185) ๐ 1. Removedexperiments.json
file. (#18235) ๐ 1. Fixed typescript and namespace errors. (Thanks Harry-Hopkinson) (#18345)
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:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, poetry, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: 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.12.0 Changes
December 09, 2021โจ Enhancements
- Python extension should activate on onDebugInitialConfigurations. (thanks Nayana Vinod and Jessica Jolly). (#9557) ๐ 1. Declare limited support when running in virtual workspaces by only supporting language servers. (#17519)
- Add a "Do not show again" option to the formatter installation prompt.
(#17937)
๐ฆ 1. Add the ability to install
pip
if missing, when installing missing packages from theJupyter Extension
. (#17975) ๐ 1. Declare limited support for untrusted workspaces by only supporting Pylance. (#18031) โก๏ธ 1. Update to latest jedi language server. (#18051) - Add language status item indicating that extension works partially in virtual and untrusted workspaces. (#18059)
๐ Fixes
โ 1. Partial fix for using the same directory as discovery when running tests. (thanks Brian Rutledge) (#9553)
- Handle decorators properly when using the
Run Selection/Line in Python Terminal
command. (#15058) โ 1. Don't interpret--rootdir
as a test folder forpytest
. (thanks Brian Rutledge) (#16079) ๐ง 1. Ensure debug configuration env variables overwrite env variables defined in .env file. (#16984) โ 1. Fix forpytest
run all tests when usingpytest.ini
andcwd
. (thanks Brian Rutledge) (#17546) โ 1. When parsing pytest node ids with parameters, use native pytest information to separate out the parameter decoration rather than try and parse the nodeid as text. (thanks Martijn Pieters) (#17676) ๐ 1. Do not process system Python 2 installs on macOS Monterey. (#17870) ๐ 1. Remove duplicate "Clear Workspace Interpreter Setting" command from the command palette. (#17890) ๐ 1. Ensure that path towards extenal tools like linters are not synched between machines. (thanks Sorin Sbarnea) (#18008) โฑ 1. Increase timeout for activation of conda environments from 30s to 60s. (#18017)
Code Health
โ 1. Removing experiments for refresh and failed tests buttons. (#17868) ๐ง 1. Remove caching debug configuration experiment only. (#17895) ๐ 1. Remove "join mailing list" notification experiment. (#17904) ๐ 1. Remove dependency on
winston
logger. (#17921)- Bump isort from 5.9.3 to 5.10.0.
(#17923)
๐ 1. Remove old discovery code and discovery experiments.
(#17962)
๐ 1. Remove dependency on
azure-storage
. (#17972) ๐ 1. Ensure telemetry correctly identifies when users set linter paths. (#18019)
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, poetry, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: 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!