Skip to content

Releases: microsoft/vscode-python

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)

2022.6.3

01 Jun 00:38
23f4a6d
Compare
Choose a tag to compare

2022.6.3 (31May 2022)

Fixes

  1. Update to latest LS client (v8.0.2) and server (v8.0.2) that contain fixes for language server start/stop scenarios.
    (#19215)

2022.6.2

12 May 19:50
5396c9c
Compare
Choose a tag to compare

2022.6.2 (12 May 2022)

Fixes

  1. Update to latest LS client (v8.0.1) and server (v8.0.1) that contain the race condition fix around LanguageClient.stop.
    (#19139)

2022.6.1

10 May 23:52
da9932d
Compare
Choose a tag to compare

2022.6.1 (10 May 2022)

Enhancements

  1. Update to latest LS client (v8.0.0) and server (v8.0.0).
    (#19114)
  2. Improve information collected by the Python: Report Issue command.
    (#19067)

2022.6.0

05 May 20:45
5ce9884
Compare
Choose a tag to compare

2022.6.0 (5 May 2022)

Enhancements

  1. Rewrite support for unittest test discovery.
    (#17242)
  2. Do not require a reload when swapping between language servers.
    (#18509)

Fixes

  1. Do not show inherit env prompt for conda envs when running "remotely".
    (#18510)
  2. Fixes invalid regular expression logging error occurs when file paths contain special characters.
    (Thanks sunyinqi0508)
    (#18829)
  3. Do not prompt to select new virtual envrionment if it has already been selected.
    (#18915)
  4. Disable isort when using isort extension.
    (#18945)
  5. Remove process check from browser specific entry point for the extension.
    (#18974)
  6. Use built-in test refresh button.
    (#19012)
  7. Update vscode-telemetry-extractor to @vscode/[email protected].
    (Thanks Quan Zhuo)
    (#19036)
  8. Ensure 64-bit interpreters are preferred over 32-bit when auto-selecting.
    (#19042)

Code Health

  1. Update Jedi minimum to python 3.7.
    (#18324)
  2. Stop using --live-stream when using conda run (see conda/conda#11209 for details).
    (#18511)
  3. Remove prompt to recommend users in old insiders program to switch to pre-release.
    (#18809)
  4. Update requirements to remove python 2.7 version restrictions.
    (#19060)

2022.4.1

07 Apr 18:48
b82d784
Compare
Choose a tag to compare

2022.4.1 (7 April 2022)

Fixes

  1. Ensure conda info command isn't run multiple times during startup when large number of conda interpreters are present.
    (#18200)
  2. If a conda environment is not returned via the conda env list command, consider it as unknown env type.
    (#18530)
  3. Wrap file paths containing an ampersand in double quotation marks for running commands in a shell.
    (#18722)
  4. Fixes regression with support for python binaries not following the standard names.
    (#18835)
  5. Fix launch of Python Debugger when using conda environments.
    (#18847)