Releases: microsoft/vscode-python
Releases · microsoft/vscode-python
2022.4.1
2022.4.1 (7 April 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) - Fixes regression with support for python binaries not following the standard names.
(#18835) - Fix launch of Python Debugger when using conda environments.
(#18847)
2022.4.0
2022.4.0 (30 March 2022)
Enhancements
- Use new pre-release mechanism to install insiders.
(#18144) - Add support for detection and selection of conda environments lacking a python interpreter.
(#18357) - Retains the state of the TensorBoard webview.
(#18591) - Move interpreter info status bar item to the right.
(#18710) debugpy
updated to versionv1.6.0
.
(#18795)
Fixes
- Properly dismiss the error popup dialog when having a linter error. (Thanks Virgil Sisoe)
(#18553) - Python files are no longer excluded from Pytest arguments during test discovery.
(thanks Marc Mueller)
(#18562) - 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
2022.2.1924087327
2022.2.0 (3 March 2022)
Enhancements
- Implement a "New Python File" command
(#18376) - Use
conda run
for conda environments for running python files and installing modules.
(#18479) - 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) - Fixes Pylama output parsing with MyPy. (thanks Nicola Marella)
(#15609) - Fix CPU load issue caused by poetry plugin by not watching directories which do not exist.
(#18459) - 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
2022.0.1814523869
2022.0.1786462952
2022.0.0 (3 February 2022)
Enhancements
- 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) - Add support for pylint error ranges. Requires Python 3.8 and pylint 2.12.2 or higher. (thanks Marc Mueller)
(#18068) - Move pinned interpreter status bar item towards the right behind
pythonInterpreterInfoPinned
experiment.
(#18282) - Move interpreter status bar item into the
Python
language status item behindpythonInterpreterInfoUnpinned
experiment.
(#18283) - Update Jedi language server to latest.
(#18325)
Fixes
- Update zh-tw translations. (thanks ted1030)
(#17991) - Support selecting conda environments with python
3.10
.
(#18128) - Fixes to telemetry handler in language server middleware.
(#18188) - Resolve system variables in
python.defaultInterpreterPath
.
(#18207) - Ensures interpreters are discovered even when running
interpreterInfo.py
script prints more than just the script output.
(#18234) - Remove restrictions on using
purpose
in debug configuration.
(#18248) - 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) - Ensure linting works under
conda run
(work-around for conda/conda#10972).
(#18364) - Ensure items are removed from the array in reverse order when using array indices.
(#18382) - Log experiments only after we finish updating active experiments list.
(#18393)
Code Health
- Improve unit tests for envVarsService, in particular the variable substitution logic (Thanks Keshav Kini)
(#17747) - Remove
python.pythonPath
setting andpythonDeprecatePythonPath
experiment.
(#17977) - Remove
pythonTensorboardExperiment
andPythonPyTorchProfiler
experiments.
(#18074) - Reduce direct dependency on IOutputChannel.
(#18132) - Upgrade to Node 14 LTS (v14.18.2).
(#18148) - Switch
jedils_requirements.txt
torequirements.txt
underpythonFiles/jedilsp_requirements/
.
(#18185) - Removed
experiments.json
file.
(#18235) - Fixed typescript and namespace errors. (Thanks Harry-Hopkinson)
(#18345)
2021.12.1559732655
2021.12.0 (9 December 2021)
Enhancements
- Python extension should activate on onDebugInitialConfigurations.
(thanks Nayana Vinod and Jessica Jolly).
(#9557) - 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) - Add the ability to install
pip
if missing, when installing missing packages from theJupyter Extension
.
(#17975) - Declare limited support for untrusted workspaces by only supporting Pylance.
(#18031) - Update to latest jedi language server.
(#18051) - Add language status item indicating that extension works partially in virtual and untrusted workspaces.
(#18059)
Fixes
- 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) - Don't interpret
--rootdir
as a test folder forpytest
.
(thanks Brian Rutledge)
(#16079) - Ensure debug configuration env variables overwrite env variables defined in .env file.
(#16984) - Fix for
pytest
run all tests when usingpytest.ini
andcwd
.
(thanks Brian Rutledge)
(#17546) - 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) - Do not process system Python 2 installs on macOS Monterey.
(#17870) - Remove duplicate "Clear Workspace Interpreter Setting" command from the command palette.
(#17890) - Ensure that path towards extenal tools like linters are not synched between
machines. (thanks Sorin Sbarnea)
(#18008) - Increase timeout for activation of conda environments from 30s to 60s.
(#18017)
Code Health
- Removing experiments for refresh and failed tests buttons.
(#17868) - Remove caching debug configuration experiment only.
(#17895) - Remove "join mailing list" notification experiment.
(#17904) - Remove dependency on
winston
logger.
(#17921) - Bump isort from 5.9.3 to 5.10.0.
(#17923) - Remove old discovery code and discovery experiments.
(#17962) - Remove dependency on
azure-storage
.
(#17972) - Ensure telemetry correctly identifies when users set linter paths.
(#18019)
2021.11.1422169775
2021.11.0 (4 November 2021)
Enhancements
- Improve setting description for enabling A/B tests. (Thanks Thi Le)
(#7793) - Support
expectedFailure
when runningunittest
tests usingpytest
.
(#8427) - Support environment variable substitution in
python
property forlaunch.json
.
(#12289) - Update homebrew instructions to install python 3.
(thanks Carolinekung2 )
(#17590)
Fixes
- Reworded message for A/B testing in the output channel to "Experiment 'X' is active/inactive".
(Thanks Vidushi Gupta for the contribution)
(#6352) - Change text to "Select at workspace level" instead of "Entire workspace" when selecting or clearing interpreters in a multiroot folder scenario.
(Thanks Quynh Do)
(#10737) - Fix unresponsive extension issues caused by discovery component.
(#11924) - Remove duplicate 'Run Python file' commands in command palette.
(#14562) - Change drive first before changing directory in windows, to anticipate running file outside working directory with different storage drive. (thanks afikrim)
(#14730) - Support installing Insiders extension in remote sessions.
(#15145) - If the executeInFileDir setting is enabled, always change to the script directory before running the script, even if the script is in the Workspace folder. (thanks (acash715)[https://github.com/acash715])
(#15181) - replaceAll for replacing separators. (thanks Aliva Das)
(#15288) - When activating environment, creating new Integrated Terminal doesn't take selected workspace into account. (Thanks Vidushi Gupta for the contribution)
(#15522) - Fix truncated mypy errors by setting
--no-pretty
.
(thanks Peter Lithammer)
(#16836) - Renamed the commands in the Run/Debug button of the editor title. (thanks (Analía Bannura)[https://github.com/analiabs] and (Anna Arsentieva)[https://github.com/arsentieva])
(#17019) - Fix for
pytest
run all tests when usingpytest.ini
.
(#17546) - Ensures test node is updated when
unittest
sub-tests are used.
(#17561) - Update debugpy to 1.5.1 to ensure user-unhandled exception setting is false by default.
(#17789) - Ensure we filter out unsupported features in web scenario using
shellExecutionSupported
context key.
(#17811) - Remove
python.condaPath
from workspace scope.
(#17819) - Make updateTestItemFromRawData async to prevent blocking the extension.
(#17823) - Semantic colorization can sometimes require reopening or scrolling of a file.
(#17878)
Code Health
- Remove TSLint comments since we use ESLint.
(#4060) - Remove unused SHA512 hashing code.
(#7333) - Remove unused packages.
(#16840) - Remove old discovery code and discovery experiments.
(#17795) - Do not query for version and kind if it's not needed when reporting an issue.
(#17815) - Remove Microsoft Python Language Server support from the extension.
(#17834) - Bump
packaging
from 21.0 to 21.2.
(#17886)
2021.10.1365161279
2021.10.2 (20 October 2021)
Fixes
2021.10.1336267007
2021.10.1 (13 October 2021)
Enhancements
- Provide IntelliSense status information when using
github.dev
or any other web platform.
(#17658)
Fixes
- Ensure commands run are not logged twice in Python output channel.
(#7160) - Ensure we use fragment when formatting notebook cells.
(#16980) - Hide UI elements that are not applicable when using
github.dev
or any other web platform.
(#17252) - Localize strings on
github.dev
using VSCode FS API.
(#17712)
Code Health
- Log commands run by the discovery component in the output channel.
(#16732)
2021.10.1317843341
2021.10.0 (7 October 2021)
Enhancements
- Set the default value of
python.linting.pylintEnabled
tofalse
.
(#3007) - Phase out Jedi 0.17, and use Jedi behind a language server protocol as the Jedi option. Remove Jedi-related settings
python.jediMemoryLimit
andpython.jediPath
, since they are not used with the new language server implementation.
(#11995) - Add support for dynamic updates in interpreter list.
(#17043) - Query for fresh workspace envs when auto-selecting interpreters in a new workspace.
(#17264) - Increase Microsoft Python Language Server deprecation prompt frequency and update wording.
(#17361) - Remove "The Python extension will have limited support for Python 2.7 in the next release" notification.
(#17451) - Added non-blocking discovery APIs for Jupyter.
(#17452) - Resolve environments using cache if cache has complete env info.
(#17474) - Ensure debugger contribution points are turned off when using virtual workspaces.
(#17493) - Display a notification about the end of Jedi support when using Python 2.7.
(#17512) - If user has selected an interpreter which is not discovery cache, correctly add it to cache.
(#17575) - Update to latest version of Jedi LS.
(#17591) - Update to
vscode-extension-telemetry
0.4.2.
(#17608)
Fixes
- Don't override user provided
--rootdir
in pytest args.
(#8678) - Don't log error during settings migration if settings.json doesn't exist.
(#11354) - Fix casing of text in
unittest
patterns quickpick.
(thanks Anupama Nadig)
(#17093) - Use quickpick details for the "Use Python from
python.defaultInterpreterPath
setting" entry.
(#17124) - Fix refreshing progress display in the status bar.
(#17338) - Ensure we do not start a new discovery for an event if one is already scheduled.
(#17339) - Do not display workspace related envs if no workspace is open.
(#17358) - Ensure we correctly evaluate Unknown type before sending startup telemetry.
(#17362) - Fix for unittest discovery failure due to root id mismatch.
(#17386) - Improve pattern matching for shell detection on Windows.
(thanks Erik Demaine)
(#17426) - Changed the way of searching left bracket
[
in case of subsets of tests.
(thanks ilexei)
(#17461) - Fix hang caused by loop in getting interpreter information.
(#17484) - Ensure database storage extension uses to track all storages does not grow unnecessarily.
(#17488) - Ensure all users use new discovery code regardless of their experiment settings.
(#17563) - Add timeout when discovery runs
conda info --json
command.
(#17576) - Use
conda-forge
channel when installing packages into conda environments.
(#17628)
Code Health
- Remove support for
rope
. Refactoring now supported via language servers.
(#10440) - Remove
pylintMinimalCheckers
setting. Syntax errors now reported via language servers.
(#13321) - Remove
ctags
support. Workspace symbols now supported via language servers.
(#16063) - Fix linting for some files in .eslintignore.
(#17181)