Releases: microsoft/vscode-python
Releases · microsoft/vscode-python
2022.18.0
What's Changed
Enhancements
- Wait for refresh to complete before deciding whether an environment has updated by @karrtikr in #19902
- Do not use deprecated poetry
--dev
option for installing packages by @SaidBySolo in #19980 - Add back support to create Python file using
File -> New File...
in taskbar by @karrtikr in #19959 - Make lookup for new environments detected faster by @karrtikr in #19922
- Use isort extension instead of isort by @karthiknadig in #19997
- Add proposed api to get custom environment variables for a workspace by @karrtikr in #19999
- Deprecate python.sortImports settings by @karthiknadig in #20012
- Add prompts to install linter extensions by @karthiknadig in #20050
- Updating package.json for Create Env tile by @cwebster-99 in #20066
- Only return local environments from the currently opened workspace folders in environments api by @karrtikr in #20108
Bug Fixes
- Default to
--capture=no
when debugging pytest by @harupy in #19903 - Revert to using
conda run
for fetching activated environment variables by @karrtikr in #19986 - Fix 100% CPU caused due to FS watchers when using liveshare by @rchiodo in #20006
- Show busy indicator when quickpick is loading by @karrtikr in #20033
- Fix no interpreters found error when not able to read
python.envFile
setting by @karrtikr in #20042 - Reset stored info if we detect an environment was modified by @karrtikr in #20038.
- Fix for env creation errors by @karthiknadig in #20075
- Ensure that search location is stored as a string by @karthiknadig in #20106
- Resolve conda environments without relying on the updated list of conda envs by @karrtikr in #20112
Code Health
- Unassign unknown assignies regardless of label and add more logging by @karrtikr in #19964
- Remove debugger banner by @farahtk in #19849
- 19767 remove di in resolvers by @paulacamargo25 in #20048
- Update getting started artwork by @daviddossett in #20065
- Update engine to upcoming VS Code version by @karthiknadig in #20058
New Contributors
- @harupy made their first contribution in #19903
- @SaidBySolo made their first contribution in #19980
- @farahtk made their first contribution in #19849
- @daviddossett made their first contribution in #20065
- @cwebster-99 made their first contribution in #20066
Full Changelog: 2022.16.1...2022.18.0
2022.16.1
2022.16.0
What's Changed
Enhancements
- Remove dynamic prefix in debug configuration providers by @cpinamtz in #19683
- Revert to using
conda activate
for fetching activated environment variables by @karrtikr in #19819 - Ensure an environment is only reported after the final type of environment is known by @karrtikr in #19821
- Remove DI from debug configuration providers by @paulacamargo25 in #19785
- Create environment using
venv
orconda
by @karthiknadig in #19848 - Watch for new conda environments by @karrtikr in #19877
- Finalizing design of proposed API for python environments by @karrtikr in #19841
- Improve keyword hover information displayed when using Jedi by @luabud in #19926
Bug Fixes
- Launch python tb with the activated env vars by @DonJayamanne in #19592
- Update args type by @paulacamargo25 in #19638
- Ensure full refresh icon removes any environment which isn't relevant and remove hard refresh icon in quickpick by @karrtikr in #19806
- Ensure interpreter quickpick is initialized synchronously by @karrtikr in #19828
- Ensure we start watching environments when activating discovery component by @karrtikr in #19827
- Add cancellation token support and link to logs. by @karthiknadig in #19882
Code Health
- Re-assign Kim-Adeline's telemetry by @brettcannon in #19749
- Assign data science telemetry to Don by @brettcannon in #19748
- Simplify buffer decoder. by @karthiknadig in #19836
- Remove code lenses for "set as interpreter" by @ChinazoOnwukaike in #19853
New Contributors
- @ChinazoOnwukaike made their first contribution in #19853
Full Changelog: 2022.14.0...2022.16.0
2022.14.0
What's Changed
Enhancements
- Rename command to clear internal cache and ensure it also reloads window after it finishes by @karrtikr in #19599
- Only show args for pytest parameterized test by @parched in #19479
- Fix buttons in the interpreter quickpick list by @karrtikr in #19611
- Add button to clear list and refresh in interpreters quickpick by @karrtikr in #19628
- Update debugger to latest v1.6.3. by @karthiknadig in #19698
Bug Fixes
- Fix HOME folder substitution when it is not in the beginning of path by @cpinamtz in #19326
- Ensure command to get executable is run only once per session by @karrtikr in #19606
- Update variables in Flask Debug Configuration by @paulacamargo25 in #19625
- Test server should bind to localhost. by @karthiknadig in #19735
- Prevent auto-indent inExperiment method from returning undefined by @debonte in #19739
Code Health
- Use
Microsoft Store
instead ofWindows Store
to represent store related utilities by @karrtikr in #19612 - Ensure any labels or assignees do not carry over when transferring issues to
vscode-python
by @karrtikr in #19656 - add more pylance settings to telemetry by @bschnurr in #19658
- Adds the yml file necessary for the codereview bot by @lramos15 in #19689
- Delete test_plan.md by @brettcannon in #19690
- Fix
any
type issue that caused experiment bug to be missed by @debonte in #19740 - Check telemetry metadata in CI by @brettcannon in #19738
- Fix a YAML mistake in a GH workflow file by @brettcannon in #19747
New Contributors
Full Changelog: 2022.12.1...2022.14.0
2022.12.1
What's Changed
Enhancements
- Update debugger to latest (
debugpy
v1.6.3). by @karthiknadig in #19699
Full Changelog: 2022.12.0...2022.12.1
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)