Releases: microsoft/vscode-python
Releases · microsoft/vscode-python
2022.20.0
What's Changed
Enhancements
- Extend scope of
python.tensorBoard.logDirectory
and support variable substitution by @evanphilip in #20103 - Add button to open folder from venv failure message by @luabud in #20243
Bug Fixes
- Don't show certain python commands in command palette when you don't have a python file open by @ChaseKnowlden in #19977
- Update engine to upcoming VS Code version by @karrtikr in #20128
- Accept pytest exit code 1 for some tests cannot be collected by @mago0211 in #20074
- Fix poetry discovery by @karrtikr in #20181
- Fix issue with extension prompt being shown to users after install by @karthiknadig in #20158
- Only use environment cache to resolve environment if it has complete information by @karrtikr in #20186
- Fix errors related to
python.envFile
setting by @karrtikr in #20192 - Do not replace discovered python executable using
sys.executable
by @karrtikr in #20197 - Ensure we don't use the same interpreter for equally named project on different hosts by @karrtikr in #20212
Code Health
- Update Jedi to latest by @karthiknadig in #20134
- Remove DI from factory by @paulacamargo25 in #20057
- Fix linting in debugger by @paulacamargo25 in #20152
- Monkeypatch terminals created to log commands sent by @karrtikr in #20173
- Improve description for
python.terminal.focusAfterLaunch
setting by @karrtikr in #20195 - Cache the value of
extensions.all
by @DonJayamanne in #20222 - Remove DI from config launch by @paulacamargo25 in #20226
- Update to proposed telemetry logger by @lramos15 in #20238
- Show user deprecated message for unsupported Python versions when launching the debugger by @paulacamargo25 in #20172
- Bump VS Code engine to
1.74.0-insiders
by @brettcannon in #20255 - Merge Getting Started walkthrough to include Create Environment Tile by @cwebster-99 in #20258
- Fix CI tests by @paulacamargo25 in #20273
- Upgrade debugpy to 1.6.4 by @brettcannon in #20291
- Simplify launch debug by @paulacamargo25 in #20286
- create RC for 2022.20 by @eleanorjboyd in #20328
New Contributors
- @ChaseKnowlden made their first contribution in #19977
- @mago0211 made their first contribution in #20074
- @evanphilip made their first contribution in #20103
Full Changelog: 2022.18.2...2022.20.0
2022.18.2
What's Changed
Bug Fixes
- Fix issue with extension prompt being shown to users after install by @karthiknadig in #20187
Full Changelog: 2022.18.1...2022.18.2
2022.18.1
What's Changed
Code Health
- Update Jedi to latest (#20134) by @karthiknadig in #20143
- Update engine to latest VS Code release version 1.73.0 by @karthiknadig in #20146
Full Changelog: 2022.18.0...2022.18.1
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