Skip to content

Releases: microsoft/vscode-python

2021.9.1230869389

13 Sep 20:47
Compare
Choose a tag to compare

2021.9.2 (13 September 2021)

Fixes

  1. Ensure line feeds are changed to CRLF in test messages.
    (#17111)
  2. Fix for unittest ModuleNotFoundError when discovering tests.
    (#17363)
  3. Ensure we block getting active interpreter on auto-selection.
    (#17370)
  4. Fix to handle undefined uri in debug in terminal command.
    (#17374)
  5. Fix for missing buttons for tests when using multiple test folders.
    (#17378)

2021.9.1218897484

09 Sep 22:03
c37dc54
Compare
Choose a tag to compare

2021.9.1 (9 September 2021)

Fixes

  1. Fix for debug configuration used when no launch.json exists is still used after launch.json is created.
    (#17353)
  2. Ensure default python executable to use is 'python' instead of ''.
    (#17089)
  3. Ensure workspace interpreters are discovered and watched when in pythonDiscoveryModuleWithoutWatcher experiment.
    (#17144)
  4. Do path comparisons appropriately in the new discovery component.
    (#17244)
  5. Fix for test result not found for files starting with py.
    (#17270)
  6. Fix for unable to import when running unittest.
    (#17280)
  7. Fix for multiple folders in pytest args.
    (#17281)
  8. Fix issue with incomplete unittest runs.
    (#17282)
  9. Improve detecting lines when using testing wrappers.
    (#17285)
  10. Ensure we trigger discovery for the first time as part of extension activation.
    (#17303)
  11. Correctly indicate when interpreter refresh has finished.
    (#17335)
  12. Missing location info for async def functions.
    (#17309)
  13. For CI ensure tensorboard is installed in python 3 environments only.
    (#17325)

2021.9.1191016588

02 Sep 17:10
5e2cbdd
Compare
Choose a tag to compare

2021.9.0 (1 September 2021)

Enhancements

  1. Added commands to select and run a set of tests.
    (#3652)
  2. Fix for tests should be re-discovered after switching environment.
    (#5347)
  3. Remove the testing functionality from the status bar.
    (#8405)
  4. Automatically detect new test file in test explorer.
    (#8675)
  5. Search test names in test explorer.
    (#8836)
  6. Added a command for displaying the test explorer.
    (#9026)
  7. Make "run all tests" icon gray instead of green.
    (#9402)
  8. Use VS Code's test UI instead of code lenses above tests.
    (#10898)
  9. Added command to run last executed test.
    (#11864)
  10. Fix for PyTest discovery can fail but not give any clue as to what the problem is.
    (#12043)
  11. Add shortcut to run the current test (at cursor position).
    (#12218)
  12. Run all tests in a multi-root workspace without prompting.
    (#13147)
  13. Plug into VS Code's Test UI.
    (#15750)
  14. Show notification to join insiders after 5 mins.
    (#16833)
  15. Update Simplified Chinese translation. (thanks FiftysixTimes7)
    (#16916)
  16. Added Debug file button to editor run menu.
    (#16924)
  17. Cache last selection for debug configuration when debugging without launch.json.
    (#16934)
  18. Improve display of default interpreter and suggested interpreter in the interpreter selection quick pick.
    (#16971)
  19. Improve discovery component API.
    (#17005)
  20. Add a notification about Python 2.7 support, displayed whenever a tool is used or whenever debugging is started.
    (#17009)
  21. Add caching debug configuration behind experiment.
    (#17025)
  22. Do not query to get all interpreters where it's not needed in the extension code.
    (#17030)
  23. Add a warning prompt for the Microsoft Python Language Server deprecation.
    (#17056)
  24. Update to latest jedi-language-server.
    (#17072)

Fixes

  1. Fix for test code lenses do not disappear even after disabling the unit tests.
    (#1654)
  2. Fix for code lens for a test class run under unittest doesn't show overall results for methods.
    (#2382)
  3. Fix for test code lens do not appear on initial activation of testing support.
    (#2644)
  4. Fix for "No tests ran, please check the configuration settings for the tests".
    (#2660)
  5. Fix for code lenses disappear on save, then re-appear when tabbing on/off the file.
    (#2790)
  6. Fix for code lenses for tests not showing up when test is defined on line 1.
    (#3062)
  7. Fix for command 'python.runtests' not found.
    (#3591)
  8. Fix for navigation to code doesn't work with parameterized tests.
    (#4469)
  9. Fix for tests are not being discovered at first in multiroot workspace.
    (#4848)
  10. Fix for tests not found after upgrade.
    (#5417)
  11. Fix for failed icon of the first failed test doesn't changed to running icon when using unittest framework.
    (#5791)
  12. Fix for failure details in unittest discovery are not always logged.
    (#5889)
  13. Fix for test results not updated if test is run via codelens.
    (#6787)
  14. Fix for "Run Current Test File" is not running tests, just discovering them.
    (#7150)
  15. Fix for testing code lenses don't show for remote sessions to a directory symlink.
    (#7443)
  16. Fix for discover test per folder icon is missing in multi-root workspace after upgrade.
    (#7870)
  17. Fix for clicking on a test in the Test Explorer does not navigate to the correct test.
    (#8448)
  18. Fix for if multiple tests have the same name, only one is run.
    (#8761)
  19. Fix for test failure is reported as a compile error.
    (#9640)
  20. Fix for discovering tests immediately after interpreter change often fails.
    (#9854)
  21. Fix for unittest module invoking wrong TestCase.
    (#10972)
  22. Fix for unable to navigate to test function.
    (#11866)
  23. Fix for running test fails trying to access non-existing file.
    (#12403)
  24. Fix for code lenses don't work after opening files from different projects in workspace.
    (#12995)
  25. Fix for the pytest icons keep spinning when run Test Method.
    (#13285)
  26. Test for any functionality related to testing doesn't work if language server is set to none.
    (#13713)
  27. Fix for cannot configure PyTest from UI.
    (#13916)
  28. Fix for test icons not updating when using pytest.
    (#15260)
  29. Fix for debugging tests is returning errors due to "unsupported status".
    (#15736)
  30. Removes "request": "test" as a config option. This can now be done with "purpose": ["debug-test"].
    (#15790)
  31. Fix for "There was an error in running the tests" when stopping debugger.
    (#16475)
  32. Use the vscode API appropriately to find out what terminal is being used.
    (#16577)
  33. Fix unittest discovery. (thanks JulianEdwards)
    (#16593)
  34. Fix run installPythonLibs error in windows.
    (#16844)
  35. Fix for test welcome screen flashes on refresh.
    (#16855)
  36. Show re-run failed test button only when there are failed tests.
    (#16856)
  37. Triggering test refresh shows progress indicator.
    (#16891)
  38. Fix environment sorting for the Python: Select Interpreter command.
    (thanks Marc Mueller)
    (#16893)
  39. Fix for unittest not getting discovered in all cases.
    (#16902)
  40. Don't show full path in the description for each test node.
    (#16927)
  41. Fix for no notification shown if test framework is not configured and run all tests is called.
    (#16941)
  42. In experiments service don't always await on initialfetch which can be slow depending on the network.
    (#16959)
  43. Ensure 2.7 unittest still work with new test support.
    (#16962)
  44. Fix issue with parsing test run ids for reporting test status.
    (#16963)
  45. Fix cell magics, line magics, and shell escaping in jupyter notebooks to not show error diagnostics.
    (#17058)
  46. Fix for testing ui update issue...
Read more

2021.8.1159798656

23 Aug 19:54
9c21f7c
Compare
Choose a tag to compare

2021.8.3 (23 August 2021)

Fixes

  1. Update vsce to latest to fix metadata in VSIX for web extension.
    (#17049)

2021.8.1147840270

19 Aug 20:56
e1d1f8a
Compare
Choose a tag to compare

2021.8.2 (19 August 2021)

Enhancements

  1. Add a basic web extension bundle.
    (#16869)
  2. Add basic Pylance support to the web extension.
    (#16870)

Code Health

  1. Update telemetry client to support browser, plumb to Pylance.
    (#16871)
  2. Refactor language server middleware to work in the browser.
    (#16872)

2021.8.1105858891

06 Aug 17:51
Compare
Choose a tag to compare

2021.8.1 (6 August 2021)

Fixes

  1. Fix random delay before running python code.
    (#16768)
  2. Fix the order of default unittest arguments.
    (thanks Nikolay Kondratyev)
    (#16882)

2021.8.1102490946

05 Aug 21:39
d93ef08
Compare
Choose a tag to compare

2021.8.0 (5 August 2021)

Enhancements

  1. Add new getting started page using VS Code's API to replace our custom start page.
    (#16678)
  2. Replace deprecated vscode-test with @vscode/test-electron for CI. (thanks iChenLei)
    (#16765)

Code Health

  1. Sort Settings Alphabetically. (thanks bfarahdel)
    (#8406)
  2. Changed default language server to Pylance for extension development. (thanks jasleen101010)
    (#13007)

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)