Skip to content

Releases: microsoft/vscode-python

2021.7.1060902895

23 Jul 21:01
f79a7e4
Compare
Choose a tag to compare

2021.7.2 (23 July 2021)

Enhancements

  1. Update debugpy with fix for microsoft/debugpy#669.

2021.7.1053846006

21 Jul 20:38
178eaa8
Compare
Choose a tag to compare

2021.7.1 (21 July 2021)

Enhancements

  1. Update debugpy to the latest version.

2021.7.1050252941

20 Jul 21:52
0d910c6
Compare
Choose a tag to compare

2021.7.0 (20 July 2021)

Enhancements

  1. Support starting a TensorBoard session with a remote URL hosting log files.
    (#16461)
  2. Sort environments in the selection quickpick by assumed usefulness.
    (#16520)

Fixes

  1. Add link to docs page on how to install the Python extension to README. (thanks KamalSinghKhanna)
    (#15199)
  2. Make test explorer only show file/folder names on nodes.
    (thanks bobwalker99)
    (#16368)
  3. Ensure we dispose restart command registration before we create a new instance of Jedi LS.
    (#16441)
  4. Ensure shellIdentificationSource is set correctly. (thanks intrigus-lgtm)
    (#16517)
  5. Clear Notebook Cell diagnostics when deleting a cell or closing a notebook.
    (#16528)
  6. The poetryPath setting will correctly apply system variable substitutions. (thanks Anthony Shaw)
    (#16607)
  7. The Jupyter Notebook extension will install any missing dependencies using Poetry or Pipenv if those are the selected environments. (thanks Anthony Shaw)
    (#16615)
  8. Ensure we block on autoselection when no interpreter is explictly set by user.
    (#16723)

2021.6.944021595

16 Jun 22:30
b1d2d2e
Compare
Choose a tag to compare

2021.6.0 (16 June 2021)

Enhancements

  1. Improved telemetry around the availability of pip for installation of Jupyter dependencies.
    (#15937)
  2. Move the Jupyter extension from being a hard dependency to an optional one, and display an informational prompt if Jupyter commands try to be executed from the Start Page.
    (#16102)
  3. Add an enumDescriptions key under the python.languageServer setting to describe all language server options.
    (#16141)
  4. Ensure users upgrade to v0.2.0 of the torch-tb-profiler TensorBoard plugin to access jump-to-source functionality.
    (#16330)
  5. Added python.defaultInterpreterPath setting at workspace level when in pythonDeprecatePythonPath experiment.
    (#16485)
  6. Added default Interpreter path entry at the bottom of the interpreter list.
    (#16485)
  7. Remove execution isolation script used to run tools.
    (#16485)
  8. Show python.pythonPath deprecation prompt when in pythonDeprecatePythonPath experiment.
    (#16485)
  9. Do not show safety prompt before auto-selecting a workspace interpreter.
    (#16485)
  10. Assume workspace interpreters are safe to execute for discovery.
    (#16485)

Fixes

  1. Fixes a bug in the bandit linter where messages weren't being propagated to the editor.
    (thanks Anthony Shaw)
    (#15561)
  2. Workaround existing MIME type misconfiguration on Windows preventing TensorBoard from loading when starting TensorBoard.
    (#16072)
  3. Changed the version of npm to version 6 instead of 7 in the lockfile.
    (#16208)
  4. Ensure selected interpreter doesn't change when the extension is starting up and in experiment.
    (#16291)
  5. Fix issue with sys.prefix when getting environment details.
    (#16355)
  6. Activate the extension when selecting the command Clear Internal Extension Cache (python.clearPersistentStorage).
    (#16397)

2021.5.926500501

10 Jun 22:12
f27cba4
Compare
Choose a tag to compare

2021.5.3 (10 June 2021)

Fixes

  1. Fix go to definition in Python notebooks.
    (#16385)

2021.5.842923320

14 May 18:23
Compare
Choose a tag to compare

2021.5.2 (14 May 2021)

Fixes

  1. Ensure Pylance is used with Python 2 if explicitly chosen
    (#16246)

2021.5.840043038

14 May 02:19
268f8e6
Compare
Choose a tag to compare

2021.5.1 (13 May 2021)

Fixes

  1. Allow Pylance to be used with Python 2 if explicitly chosen
    (#16204)

2021.5.829140558

10 May 20:14
f3c7bb4
Compare
Choose a tag to compare

2021.5.0 (10 May 2021)

Enhancements

  1. In an integrated TensorBoard session, if the jump to source request is for a file that does not exist on disk, allow the user to manually specify the file using the system file picker.
    (#15695)
  2. Allow running tests for all files within directories from test explorer.
    (thanks Vladimir Kotikov)
    (#15862)
  3. Reveal selection in editor after jump to source command. (thanks Wenlu Wang)
    (#15924)
  4. Add support for debugger code reloading.
    (#16029)
  5. Add Python: Refresh TensorBoard command, keybinding and editor title button to reload TensorBoard (equivalent to browser refresh).
    (#16053)
  6. Automatically indent following match and case statements. (thanks Marc Mueller)
    (#16104)
  7. Bundle Pylance with the extension as an optional dependency.
    (#16116)
  8. Add a "Default" language server option, which dynamically chooses which language server to use.
    (#16157)

Fixes

  1. Stop unittest.TestCase appearing as a test suite in the test explorer tree.
    (thanks Bob).
    (#15681)
  2. Support ~ in WORKON_HOME and venvPath setting when in discovery experiment.
    (#15788)
  3. Fix TensorBoard integration in Remote-SSH by auto-configuring port forwards.
    (#15807)
  4. Ensure venvPath and venvFolders setting can only be set at User or Remote settings.
    (#15947)
  5. Added compatability with pypy3.7 interpreter.
    (thanks Oliver Margetts)
    (#15968)
  6. Revert linter installation prompt removal.
    (#16027)
  7. Ensure that dataclasses is installed when using Jedi LSP.
    (#16119)

Code Health

  1. Log the failures when checking whether certain modules are installed or getting their version information.
    (#15837)
  2. Better logging (telemetry) when installation of Python packages fail.
    (#15933)
  3. Ensure npm package canvas is setup as an optional dependency.
    (#16127)
  4. Add ability for Jupyter extension to pass addtional installer arguments.
    (#16131)

2021.4.765268190

20 Apr 00:15
21acd50
Compare
Choose a tag to compare

2021.4.0 (19 April 2021)

Enhancements

  1. Add new command to report an Issue using the vscode-python template.
    (#1119)
  2. Highlight .pypirc, .pep8, and .pylintrc as ini-files. (thanks Jan Pilzer)
    (#11250)
  3. Added python.linting.cwd to change the working directory of the linters. (thanks Matthew Shirley)
    (#15170)
  4. Remove prompt to install a linter when none are available.
    (#15465)
  5. Add jump to source integration with the PyTorch profiler TensorBoard plugin during TensorBoard sessions.
    (#15641)
  6. Drop prompt being displayed on first extension launch with a tip or a survey.
    (#15647)
  7. Use the updated logic for normalizing code sent to REPL as the default behavior.
    (#15649)
  8. Open TensorBoard webview panel in the active viewgroup on the first launch or the last viewgroup that it was moved to.
    (#15708)
  9. Support discovering Poetry virtual environments when in discovery experiment.
    (#15765)
  10. Install dev tools using Poetry when the poetry environment related to current folder is selected when in discovery experiment.
    (#15786)
  11. Add a refresh icon next to interpreter list.
    (#15868)
  12. Added command Python: Clear internal extension cache to clear extension related cache.
    (#15883)

Fixes

  1. Fix python.poetryPath setting for installer on Windows.
    (#9672)
  2. Prevent mypy errors for other files showing in current file.
    (thanks Steve Dignam)
    (#10190)
  3. Update pytest results when debugging. (thanks djplt)
    (#15353)
  4. Ensure release level is set when using new environment discovery component.
    (#15462)
  5. Ensure right environment is activated in the terminal when installing Python packages.
    (#15503)
  6. Update nosetest results when debugging. (thanks djplt)
    (#15642)
  7. Ensure any stray jedi process is terminated on language server dispose.
    (#15644)
  8. Fix README image indent for VSCode extension page. (thanks Johnson)
    (#15662)
  9. Run conda update and not conda install when installing a compatible version of the tensorboard package.
    (#15778)
  10. Temporarily fix support for folders in interpreter path setting.
    (#15782)
  11. In completions.py: jedi.api.names has been deprecated, switch to new syntax.
    (thanks moselhy).
    (#15791)
  12. Fixes activation of prefixed conda environments.
    (#15823)

Code Health

  1. Deprecating on-type line formatter since it isn't used in newer Language servers.
    (#15709)
  2. Removing old way of feature deprecation where we showed notification for each feature we deprecated.
    (#15714)
  3. Remove unused code from extension.
    (#15717)
  4. Add telemetry for identifying torch.profiler users.
    (#15825)
  5. Update notebook code to not use deprecated .cells function on NotebookDocument.
    (#15885)

2021.3.680753044

24 Mar 00:37
e126287
Compare
Choose a tag to compare

2021.3.1 (23 March 2021)

Fixes

  1. Fix link to create a new Jupyter notebook in Python start page.
    (#15621)
  2. Upgrade to latest jedi-language-server and use it for python >= 3.6. Use jedi<0.18 for python 2.7 and <=3.5.
    (#15724)
  3. Check if Python executable file exists instead of launching the Python process.
    (#15725)
  4. Fix for Go to definition needs to be pressed twice.
    (thanks djplt)
    (#15727)