Skip to content

Releases: microsoft/vscode-python

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)

2022.4.0

30 Mar 22:34
7a00635
Compare
Choose a tag to compare

2022.4.0 (30 March 2022)

Enhancements

  1. Use new pre-release mechanism to install insiders.
    (#18144)
  2. Add support for detection and selection of conda environments lacking a python interpreter.
    (#18357)
  3. Retains the state of the TensorBoard webview.
    (#18591)
  4. Move interpreter info status bar item to the right.
    (#18710)
  5. debugpy updated to version v1.6.0.
    (#18795)

Fixes

  1. Properly dismiss the error popup dialog when having a linter error. (Thanks Virgil Sisoe)
    (#18553)
  2. Python files are no longer excluded from Pytest arguments during test discovery.
    (thanks Marc Mueller)
    (#18562)
  3. Fixes regression caused due to using conda run for executing files.
    (#18634)
  4. Use conda run to get the activated environment variables instead of activation using shell scripts.
    (#18698)

Code Health

  1. Remove old settings migrator.
    (#14334)
  2. Remove old language server setting migration.
    (#14337)
  3. Remove dependency on other file system watchers.
    (#18381)
  4. Update TypeScript version to 4.5.5.
    (#18602)

2022.2.1924087327

03 Mar 18:39
c0f6d96
Compare
Choose a tag to compare

2022.2.0 (3 March 2022)

Enhancements

  1. Implement a "New Python File" command
    (#18376)
  2. Use conda run for conda environments for running python files and installing modules.
    (#18479)
  3. Better filename patterns for pip-requirements.
    (thanks Baptiste Darthenay)
    (#18498)

Fixes

  1. Ensure clicking "Discovering Python Interpreters" in the status bar shows the current discovery progress.
    (#18443)
  2. Fixes Pylama output parsing with MyPy. (thanks Nicola Marella)
    (#15609)
  3. Fix CPU load issue caused by poetry plugin by not watching directories which do not exist.
    (#18459)
  4. Explicitly add "justMyCode": "true" to all launch.json configurations.
    (Thanks Matt Bogosian)
    (#18471)
  5. Identify base conda environments inside pyenv correctly.
    (#18500)
  6. Fix for a crash when loading environments with no info.
    (#18594)

Code Health

  1. Remove dependency on ts-mock-imports.
    (#14757)
  2. Update vsce to v2.6.6.
    (#18411)

2022.0.1814523869

08 Feb 21:03
6b99458
Compare
Choose a tag to compare

2022.0.1 (8 February 2022)

Fixes

  1. Fix invalid patch string error when using isort with conda.
    (#18455)
  2. Revert to old way of running debugger if conda version less than 4.9.0.
    (#18436)

2022.0.1786462952

03 Feb 19:30
0856eb2
Compare
Choose a tag to compare

2022.0.0 (3 February 2022)

Enhancements

  1. Add support for conda run without output, using --no-capture-output flag.
    (#7696)
  2. Add an option to clear interpreter setting for all workspace folders in multiroot scenario.
    (#17693)
  3. Public API for environments (proposed).
    (#17905)
  4. Group interpreters in interpreter quick picker using separators.
    (#17944)
  5. Add support for pylint error ranges. Requires Python 3.8 and pylint 2.12.2 or higher. (thanks Marc Mueller)
    (#18068)
  6. Move pinned interpreter status bar item towards the right behind pythonInterpreterInfoPinned experiment.
    (#18282)
  7. Move interpreter status bar item into the Python language status item behind pythonInterpreterInfoUnpinned experiment.
    (#18283)
  8. Update Jedi language server to latest.
    (#18325)

Fixes

  1. Update zh-tw translations. (thanks ted1030)
    (#17991)
  2. Support selecting conda environments with python 3.10.
    (#18128)
  3. Fixes to telemetry handler in language server middleware.
    (#18188)
  4. Resolve system variables in python.defaultInterpreterPath.
    (#18207)
  5. Ensures interpreters are discovered even when running interpreterInfo.py script prints more than just the script output.
    (#18234)
  6. Remove restrictions on using purpose in debug configuration.
    (#18248)
  7. Ensure Python Interpreter information in the status bar is updated if Interpreter information changes.
    (#18257)
  8. Fix "Run Selection/Line in Python Terminal" for Python < 3.8 when the code includes decorators.
    (#18258)
  9. Ignore notebook cells for pylance. Jupyter extension is handling notebooks.
    (#18259)
  10. Fix for UriError when using python.interpreterPath command in tasks.
    (#18285)
  11. Ensure linting works under conda run (work-around for conda/conda#10972).
    (#18364)
  12. Ensure items are removed from the array in reverse order when using array indices.
    (#18382)
  13. Log experiments only after we finish updating active experiments list.
    (#18393)

Code Health

  1. Improve unit tests for envVarsService, in particular the variable substitution logic (Thanks Keshav Kini)
    (#17747)
  2. Remove python.pythonPath setting and pythonDeprecatePythonPath experiment.
    (#17977)
  3. Remove pythonTensorboardExperiment and PythonPyTorchProfiler experiments.
    (#18074)
  4. Reduce direct dependency on IOutputChannel.
    (#18132)
  5. Upgrade to Node 14 LTS (v14.18.2).
    (#18148)
  6. Switch jedils_requirements.txt to requirements.txt under pythonFiles/jedilsp_requirements/.
    (#18185)
  7. Removed experiments.json file.
    (#18235)
  8. Fixed typescript and namespace errors. (Thanks Harry-Hopkinson)
    (#18345)

2021.12.1559732655

09 Dec 19:32
e7b4f55
Compare
Choose a tag to compare

2021.12.0 (9 December 2021)

Enhancements

  1. Python extension should activate on onDebugInitialConfigurations.
    (thanks Nayana Vinod and Jessica Jolly).
    (#9557)
  2. Declare limited support when running in virtual workspaces by only supporting language servers.
    (#17519)
  3. Add a "Do not show again" option to the formatter installation prompt.
    (#17937)
  4. Add the ability to install pip if missing, when installing missing packages from the Jupyter Extension.
    (#17975)
  5. Declare limited support for untrusted workspaces by only supporting Pylance.
    (#18031)
  6. Update to latest jedi language server.
    (#18051)
  7. Add language status item indicating that extension works partially in virtual and untrusted workspaces.
    (#18059)

Fixes

  1. Partial fix for using the same directory as discovery when running tests.
    (thanks Brian Rutledge)
    (#9553)
  2. Handle decorators properly when using the Run Selection/Line in Python Terminal command.
    (#15058)
  3. Don't interpret --rootdir as a test folder for pytest.
    (thanks Brian Rutledge)
    (#16079)
  4. Ensure debug configuration env variables overwrite env variables defined in .env file.
    (#16984)
  5. Fix for pytest run all tests when using pytest.ini and cwd.
    (thanks Brian Rutledge)
    (#17546)
  6. When parsing pytest node ids with parameters, use native pytest information to separate out the parameter decoration rather than try and parse the nodeid as text.
    (thanks Martijn Pieters)
    (#17676)
  7. Do not process system Python 2 installs on macOS Monterey.
    (#17870)
  8. Remove duplicate "Clear Workspace Interpreter Setting" command from the command palette.
    (#17890)
  9. Ensure that path towards extenal tools like linters are not synched between
    machines. (thanks Sorin Sbarnea)
    (#18008)
  10. Increase timeout for activation of conda environments from 30s to 60s.
    (#18017)

Code Health

  1. Removing experiments for refresh and failed tests buttons.
    (#17868)
  2. Remove caching debug configuration experiment only.
    (#17895)
  3. Remove "join mailing list" notification experiment.
    (#17904)
  4. Remove dependency on winston logger.
    (#17921)
  5. Bump isort from 5.9.3 to 5.10.0.
    (#17923)
  6. Remove old discovery code and discovery experiments.
    (#17962)
  7. Remove dependency on azure-storage.
    (#17972)
  8. Ensure telemetry correctly identifies when users set linter paths.
    (#18019)

2021.11.1422169775

04 Nov 18:42
a92a557
Compare
Choose a tag to compare

2021.11.0 (4 November 2021)

Enhancements

  1. Improve setting description for enabling A/B tests. (Thanks Thi Le)
    (#7793)
  2. Support expectedFailure when running unittest tests using pytest.
    (#8427)
  3. Support environment variable substitution in python property for launch.json.
    (#12289)
  4. Update homebrew instructions to install python 3.
    (thanks Carolinekung2 )
    (#17590)

Fixes

  1. Reworded message for A/B testing in the output channel to "Experiment 'X' is active/inactive".
    (Thanks Vidushi Gupta for the contribution)
    (#6352)
  2. Change text to "Select at workspace level" instead of "Entire workspace" when selecting or clearing interpreters in a multiroot folder scenario.
    (Thanks Quynh Do)
    (#10737)
  3. Fix unresponsive extension issues caused by discovery component.
    (#11924)
  4. Remove duplicate 'Run Python file' commands in command palette.
    (#14562)
  5. Change drive first before changing directory in windows, to anticipate running file outside working directory with different storage drive. (thanks afikrim)
    (#14730)
  6. Support installing Insiders extension in remote sessions.
    (#15145)
  7. If the executeInFileDir setting is enabled, always change to the script directory before running the script, even if the script is in the Workspace folder. (thanks (acash715)[https://github.com/acash715])
    (#15181)
  8. replaceAll for replacing separators. (thanks Aliva Das)
    (#15288)
  9. When activating environment, creating new Integrated Terminal doesn't take selected workspace into account. (Thanks Vidushi Gupta for the contribution)
    (#15522)
  10. Fix truncated mypy errors by setting --no-pretty.
    (thanks Peter Lithammer)
    (#16836)
  11. Renamed the commands in the Run/Debug button of the editor title. (thanks (Analía Bannura)[https://github.com/analiabs] and (Anna Arsentieva)[https://github.com/arsentieva])
    (#17019)
  12. Fix for pytest run all tests when using pytest.ini.
    (#17546)
  13. Ensures test node is updated when unittest sub-tests are used.
    (#17561)
  14. Update debugpy to 1.5.1 to ensure user-unhandled exception setting is false by default.
    (#17789)
  15. Ensure we filter out unsupported features in web scenario using shellExecutionSupported context key.
    (#17811)
  16. Remove python.condaPath from workspace scope.
    (#17819)
  17. Make updateTestItemFromRawData async to prevent blocking the extension.
    (#17823)
  18. Semantic colorization can sometimes require reopening or scrolling of a file.
    (#17878)

Code Health

  1. Remove TSLint comments since we use ESLint.
    (#4060)
  2. Remove unused SHA512 hashing code.
    (#7333)
  3. Remove unused packages.
    (#16840)
  4. Remove old discovery code and discovery experiments.
    (#17795)
  5. Do not query for version and kind if it's not needed when reporting an issue.
    (#17815)
  6. Remove Microsoft Python Language Server support from the extension.
    (#17834)
  7. Bump packaging from 21.0 to 21.2.
    (#17886)

2021.10.1365161279

20 Oct 22:38
Compare
Choose a tag to compare

2021.10.2 (20 October 2021)

Fixes

  1. Ensure we filter out unsupported features in web scenario using shellExecutionSupported context key.
    (#17811)
  2. Fix unresponsive extension issues caused by discovery component.
    (#11924)
  3. Update debugpy to 1.5.1 to ensure user-unhandled exception setting is false by default.
    (#17789)