Skip to content

Releases: microsoft/vscode-python

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)

2021.3.658691958

16 Mar 19:55
cd31228
Compare
Choose a tag to compare

2021.3.0 (16 March 2021)

Enhancements

  1. Activate the extension when the following files are found: Pipfile, setup.py, requirements.txt, manage.py, app.py
    (thanks Dhaval Soneji)
    (#4765)
  2. Add optional user-level python.tensorBoard.logDirectory setting. When starting a TensorBoard session, use this setting if it is present instead of prompting the user to select a log directory.
    (#15476)

Fixes

  1. Fix nosetests to run tests only once. (thanks djplt)
    (#6043)
  2. Make on-enter behaviour after raise much more like that of return, fixing
    handling in the case of pressing enter to wrap the parentheses of an exception
    call.
    (thanks PeterJCLaw)
    (#10583)
  3. Add configuration debugpyPath. (thanks djplt)
    (#14631)
  4. Fix Mypy linter pointing to wrong column number (off by one).
    (thanks anttipessa, haalto, JeonCD and junskU)
    (#14978)
  5. Show each python.org install only once on Mac when in discovery experiment.
    (#15302)
  6. All relative interpreter path reported start with ~ when in discovery experiment.
    (#15312)
  7. Remove FLASK_DEBUG from flask debug configuration to allow reload.
    (#15373)
  8. Install using pipenv only if the selected environment is pipenv which is related to workspace folder, when in discovery experiment.
    (#15489)
  9. Fixes issue with detecting new installations of Windows Store python.
    (#15541)
  10. Add cached-property package to bundled python packages. This is needed by jedi-language-server running on python 3.6 and python 3.7.
    (#15566)
  11. Remove limit on workspace symbols when using Jedi language server.
    (#15576)
  12. Use shorter paths for python interpreter when possible.
    (#15580)
  13. Ensure that jedi language server uses jedi shipped with the extension.
    (#15586)
  14. Updates to Proposed API, and fix the failure in VS Code Insider tests.
    (#15638)

Code Health

  1. Add support for "Trusted Workspaces".

    "Trusted Workspaces" is an upcoming feature in VS Code. (See:
    microsoft/vscode#106488.) For now you need
    the following for the experience:

    • the latest VS Code Insiders
    • add "workspace.trustEnabled": true to your user settings.json

    At that point, when the Python extension would normally activate, VS Code
    will prompt you about whether or not the current workspace is trusted.
    If not then the extension will be disabled (but only for that workspace).
    As soon as the workspace is marked as trusted, the extension will
    activate.
    (#15525)

  2. Updates to the VSCode Notebook API.
    (#15567)

  3. Fix failing smoke tests on CI.
    (#15573)

  4. Update VS Code engine to 1.54.0
    (#15604)

  5. Use onReady method available on language client to ensure language server is ready.
    (#15612)

2021.2.636928669

09 Mar 21:45
f349ab1
Compare
Choose a tag to compare

2021.2.4 (9 March 2021)

Fixes

  1. Update to latest VSCode Notebook API.
    (#15415)

2021.2.633441544

08 Mar 20:37
39d6a21
Compare
Choose a tag to compare

2021.2.3 (8 March 2021)

Fixes

  1. Add event handlers to stream error events to prevent process from exiting due to errors in process stdout & stderr streams.
    (#15395)

2021.2.625869727

06 Mar 00:33
08565f1
Compare
Choose a tag to compare

2021.2.2 (5 March 2021)

Fixes

  1. Fixes issue with Jedi Language Server telemetry.
    (#15419)

2021.2.582707922

19 Feb 22:45
ba1dc7d
Compare
Choose a tag to compare

2021.2.1 (19 February 2021)

Fixes

  1. Fix for missing pyenv virtual environments from selectable environments.
    (#15439)
  2. Register Jedi regardless of what language server is configured.
    (#15452)

2021.2.576481509

18 Feb 00:28
0eeaab4
Compare
Choose a tag to compare

2021.2.0 (17 February 2021)

Enhancements

  1. Use Language Server Protocol to work with Jedi.
    (#11995)

Fixes

  1. Don't suggest insiders program nor show start page when in Codespaces.
    (#14833)
  2. Fix description of Pyramid debug config.
    (thanks vvijayalakshmi21)
    (#5479)
  3. Refactored the Enable Linting command to provide the user with a choice of "Enable" or "Disable" linting to make it more intuitive. (thanks henryboisdequin)
    (#8800)
  4. Fix marketplace links in popups opening a non-browser VS Code instance in Codespaces.
    (#14264)
  5. Fixed the error command suggested when attempting to use "debug tests" configuration
    (Thanks Shahzaib paracha)
    (#14729)
  6. Single test run fails sometimes if there is an error in unrelated file imported during discovery.
    (thanks Szymon Janota)
    (#15147)
  7. Re-enable localization on the start page. It was accidentally
    disabled in October when the Jupyter extension was split out.
    (#15232)
  8. Ensure target environment is activated in the terminal when running install scripts.
    (#15285)
  9. Allow support for using notebook APIs in the VS code stable build.
    (#15364)

Code Health

  1. Raised the minimum required VS Code version to 1.51.
    (#15237)

2021.1.502429796

22 Jan 00:23
c0fe6b5
Compare
Choose a tag to compare

2021.1.0 (21 January 2021)

Enhancements

  1. Remove code snippets (you can copy the
    old snippets
    and use them as
    your own snippets).
    (#14781)
  2. Add PYTHONPATH to the language server settings response.
    (#15106)
  3. Integration with the bandit linter will highlight the variable, function or method for an issue instead of the entire line.
    Requires latest version of the bandit package to be installed.
    (thanks Anthony Shaw)
    (#15003)
  4. Translated some more of the Python Extension messages in Simplified Chinese.
    (thanks Shinoyasan)
    (#15079)
  5. Update Simplified Chinese translation.
    (thanks Fiftysixtimes7)
    (#14997)

Fixes

  1. Fix environment variables not refreshing on env file edits.
    (#3805)
  2. fix npm audit[high]: Remote Code Execution
    (#14640)
  3. Ignore false positives when scraping environment variables.
    (#14812)
  4. Fix unittest discovery when using VS Code Insiders by using Inversify's skipBaseClassChecks option.
    (#14962)
  5. Make filtering in findInterpretersInDir() faster.
    (#14983)
  6. Remove the Buffer() is deprecated warning from Developer tools. (#15045)
    (#15045)
  7. Add support for pytest 6 options.
    (#15094)

Code Health

  1. Update to Node 12.20.0.
    (#15046)

2020.12.424452561

16 Dec 01:08
b1008e0
Compare
Choose a tag to compare

2020.12.2 (15 December 2020)

Fixes

  1. Only activate discovery component when in experiment.
    (#14977)

2020.12.424027540

15 Dec 21:21
af2de4d
Compare
Choose a tag to compare

2020.12.1 (15 December 2020)

Fixes

  1. Fix for extension loading issue in the latest release.
    (#14977)