Skip to content

Releases: microsoft/vscode-python

2022.18.0

02 Nov 05:28
e8ab9be
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 2022.16.1...2022.18.0

2022.16.1

13 Oct 21:58
347094f
Compare
Choose a tag to compare

What's Changed

Bug Fixes

  • Revert to using conda run for fetching activated environment variables by @karrtikr in #19986

Full Changelog: 2022.16.0...2022.16.1

2022.16.0

06 Oct 17:15
456ca37
Compare
Choose a tag to compare

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 or conda 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

Code Health

New Contributors

Full Changelog: 2022.14.0...2022.16.0

2022.14.0

01 Sep 19:22
814e9b7
Compare
Choose a tag to compare

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

Code Health

New Contributors

Full Changelog: 2022.12.1...2022.14.0

2022.12.1

18 Aug 01:25
252312b
Compare
Choose a tag to compare

What's Changed

Enhancements

Full Changelog: 2022.12.0...2022.12.1

2022.12.0

04 Aug 20:36
16af70c
Compare
Choose a tag to compare

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

  • Add verbose logging as to what activation command is sent to terminal by @karrtikr in #19416

New Contributors

Full Changelog: 2022.10.1...2022.12.0

2022.10.1

14 Jul 21:45
10e8f05
Compare
Choose a tag to compare

2022.10.1 (14 July 2022)

Code Health

Full Changelog: 2022.10.0...2022.10.1

2022.10.0

07 Jul 22:32
367caa5
Compare
Choose a tag to compare

2022.10.0 (7 July 2022)

Enhancements

  • Add breakpoint support for django-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 for pytest by karthiknadig in (#19356).
  • Ensure we register for interpreter change when moving from untrusted to trusted. by karthiknadig in (#19351).

Code Health

Full Changelog: 2022.8.1...2022.10.0

2022.8.1

29 Jun 17:44
Compare
Choose a tag to compare

2022.8.1 (28 June 2022)

Code Health

  1. Update vscode extension-telemetry package.
    (#19375)

2022.8.0

09 Jun 17:35
fd7e6b7
Compare
Choose a tag to compare

2022.8.0 (9 June 2022)

Enhancements

  1. Make cursor focus switch automatically to the terminal after launching a python process with configuration option. (Thanks djplt)
    (#14851)
  2. Enable localization using vscode-nls.
    (#18286)
  3. Add support for referencing multiroot-workspace folders in settings using ${workspaceFolder:<folder_name>}.
    (#18650)
  4. 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)
  5. Improve information collected by the Python: Report Issue command.
    (#19067)
  6. 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)
  7. Added a proposed API to report progress of environment discovery in two phases.
    (#19103)
  8. Update to latest LS client (v8.0.0) and server (v8.0.0).
    (#19114)
  9. Update to latest LS client (v8.0.1) and server (v8.0.1) that contain the race condition fix around LangClient.stop.
    (#19139)

Fixes

  1. Do not use --user flag when installing in a virtual environment.
    (#14327)
  2. Fix error No such file or directory on conda activate, and simplify the environment activation code.
    (#18989)
  3. Add proposed async execution API under environments.
    (#19079)

Code Health

  1. Capture whether environment discovery was triggered using Quickpick UI.
    (#19077)