Releases: microsoft/vscode-python
Releases · microsoft/vscode-python
2022.12.0
What's Changed
Enhancements
- Improve how to notify the user they don't have Python installed when installing the Python extension for the first time by @karrtikr in #19379
- Add tip to reload window if user has attempted to install Python in the interpreter quickpick by @karrtikr in #19446
- Improve prompts in case no Python is installed or an invalid interpreter is selected by @karrtikr in #19397
- Do not attempt to launch Jedi language server in case when selected Python interpreter is invalid by @karrtikr in #19449
- Register a command to trigger environment diagnostic prompts by @karrtikr in #19462
- Trigger select environment prompt if an invalid interpreter is selected by @karrtikr in #19473
- Do not trigger test discovery if an invalid interpreter is selected for the workspace by @karrtikr in #19470
- Ensure prompts related to environment selection do not show up at startup by @karrtikr in #19483
- Do not trigger any commands which requires an interpreter if an invalid interpreter is selected by @karrtikr in #19481
- Ensure
Install Python
button on the walkthrough opens and fills in the suggested command by @karrtikr in #19487 - Implement automatic configuration for Django by @paulacamargo25 in #19350
- Ensure install pylance prompt does not show up when starting codespaces by @karrtikr in #19495
- Use status bar to indicate whether selected Python interpreter is invalid by @karrtikr in #19510
- Add dynamic FastAPI debug config by @paulacamargo25 in #19505
- Added setting to control when interpreter information is displayed in the status bar by @karrtikr in #19513
- Add flask debug config by @paulacamargo25 in #19536
- Source the conda activation script when using Gitbash by @karrtikr in #19552
- Look one more level deep in the fastAPI detection by @paulacamargo25 in #19578
Bug Fixes
- Ensure tooltip for environment in status bar updates when env is changed by @karrtikr in #19409
- Do not restart language server for Pylance on interpreter change by @karrtikr in #19425
- Unittest top-level-directory option by @dazfuller in #19398
- Ensure all components in extension are correctly re-activated when a workspace is trusted by @karrtikr in #19488
- More clear error message for invalid debug configuration by @scottshambaugh in #19436
- Ensure virtual environment created using
python -m venv .
is recognized by @karrtikr in #19543 - Fix prompt that shows up when debugging using an invalid Python by @karrtikr in #19561
- Display problematic environments towards the end of the interpreters list by @karrtikr in #19588
Code Health
New Contributors
- @dazfuller made their first contribution in #19398
- @scottshambaugh made their first contribution in #19436
Full Changelog: 2022.10.1...2022.12.0
2022.10.1
2022.10.1 (14 July 2022)
Code Health
- Update app insights key by karthiknadig in (#19463).
Full Changelog: 2022.10.0...2022.10.1
2022.10.0
2022.10.0 (7 July 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: 2022.8.1...2022.10.0
2022.8.1
2022.8.0
2022.8.0 (9 June 2022)
Enhancements
- 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) - 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) - Update to latest LS client (v8.0.0) and server (v8.0.0).
(#19114) - 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
- Capture whether environment discovery was triggered using Quickpick UI.
(#19077)
2022.6.3
2022.6.2
2022.6.1
2022.6.0
2022.6.0 (5 May 2022)
Enhancements
- 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) - 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) - Remove
process
check from browser specific entry point for the extension.
(#18974) - Use built-in test refresh button.
(#19012) - 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
- Update Jedi minimum to python 3.7.
(#18324) - Stop using
--live-stream
when usingconda run
(see conda/conda#11209 for details).
(#18511) - Remove prompt to recommend users in old insiders program to switch to pre-release.
(#18809) - Update requirements to remove python 2.7 version restrictions.
(#19060)
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)