Python v2019.3.6139 Release Notes

Release Date: 2019-03-26 // about 5 years ago
  • โœจ Enhancements

    ๐Ÿ“ฆ 1. Add support for poetry to install packages. (#1871)

    1. Disabled opening the output pane when sorting imports via isort fails. (thanks chrised) (#2522) ๐Ÿšš 1. Remove run all cells codelens and replace with run above and run below commands Add run to and from line commands in context menu (#4259) โœ… 1. Support multi-root workspaces in test explorer. (#4268) ๐Ÿ‘ 1. Added support for fetching variable values from the jupyter server (#4291) ๐Ÿ’… 1. Added commands translation for polish locale. (thanks pypros) (#4435) โœ… 1. Show sub-tests in a subtree in the test explorer. (#4503) ๐Ÿ‘ 1. Add support for palette commands for Live Share scenarios. (#4520) โœ… 1. Retain state of tests when auto discovering tests. (#4576) โšก๏ธ 1. Update icons and tooltip in test explorer indicating status of test files/suites (#4583)
    2. Add 'ignoreVscodeTheme' setting to allow a user to skip using the theme for VS Code in the Python Interactive Window. (#4640)
    3. Add telemetry around imports. (#4718) โšก๏ธ 1. Update status of test suite when all tests pass (#4727) ๐ŸŽ 1. Add button to ignore the message warning about the use of the macOS system install of Python. (thanks Alina Lobastova) (#4448)
    4. Add "Run In Interactive" command to run the contents of a file not cell by cell. Group data science context commands in one group. Add run file command to explorer context menu. (#4855)

    ๐Ÿ›  Fixes

    0๏ธโƒฃ 1. Add 'errorBackgroundColor' (defaults to white/#FFFFFF) for errors in the Interactive Window. Computes foreground based on background. (#3175) ๐Ÿ 1. If selection is being sent to the Interactive Windows still allow for context menu commands to run selection in terminal or run file in terminal (#4207) ๐Ÿ‘ 1. Support multiline comments for markdown cells (#4215)

    1. Conda activation fails when there is a space in the env name (#4243) โœ… 1. Fixes to ensure tests work in multi-root workspaces. (#4268)
    2. Allow Interactive Window to run commands as both -m jupyter command and as -m command (#4306)
    3. Fix shift enter to send selection when cells are defined. (#4413) โœ… 1. Test explorer icon should be hidden when tests are disabled (#4494)
    4. Fix double running of cells with the context menu (#4532) โœ… 1. Show an "unknown" icon when test status is unknown. (#4578)
    5. Add sys info when switching interpreters (#4588) โœ… 1. Display test explorer when discovery has been run. (#4590)
    6. Resolve pythonPath before comparing it to shebang (#4601)
    7. When sending selection to the Interactive Window nothing selected should send the entire line (#4604)
    8. Provide telemetry for when we show the shift+enter banner and if the user clicks yes (#4636) ๐Ÿ‘ 1. Better error message when connecting to remote server (#4666)
    9. Fix problem with restart never finishing (#4691) โœ… 1. Fixes to ensure we invoke the right command when running a parameterized test function. (#4713)
    10. Handle view state changes for the Python Interactive window so that it gains focus when appropriate. (CTRL+1/2/3 etc should give focus to the interactive window) (#4733)
    11. Don't have "run all above" on first cell and don't start history for empty code runs (#4743)
    12. Perform case insensitive comparison of Python Environment paths (#4797)
    13. Ensure Jedi uses the currently selected interpreter. (thanks Selim Belhaouane) (#4687)
    14. Multiline comments with text on the first line break Python Interactive window execution. (#4791)
    15. Fix status bar when using Live Share or just starting the Python Interactive window. (#4853)
    16. Change the names of our "Run All Cells Above" and "Run Cell and All Below" commands to be more concise (#4876)
    17. Ensure the Python output panel does not steal focus when there errors in the Language Server. (#4868) ๐Ÿš€ 1. Update ptvsd to 4.2.5. (#4932)
      • Fix issues with django and jinja2 exceptions.
      • Detaching sometimes throws ValueError.
      • StackTrace request respecting just-my-code.
      • Don't give error redirecting output with pythonw.
      • Fix for stop on entry issue. โšก๏ธ 1. Update the Python language server to 0.2.31.

    Code Health

    โœ… 1. Add a Python script to run PyTest correctly for discovery. (#4033)

    1. Ensure post npm install scripts do not fail when run more than once. (#4109) ๐Ÿ‘ 1. Improve Azure DevOps pipeline for PR validation. Added speed improvements, documented the process better, and simplified what happens in PR validation. (#4123) ๐Ÿ— 1. Move to new Azure DevOps instance and bring the Nightly CI build closer to running cleanly by skipping tests and improving reporting transparency. (#4336) ๐ŸŒฒ 1. Add more logging to diagnose issues getting the Python Interactive window to show up. Add checks for Conda activation never finishing. (#4424) โšก๏ธ 1. Update nyc and remove gulp-watch and gulp-debounced-watch. (#4490) ๐Ÿ”’ 1. Force WS to at least 3.3.1 to alleviate security concerns. (#4497) โœ… 1. Add tests for Live Share support. (#4521) ๐Ÿš€ 1. Fix running Live Share support in a release build. (#4529)
    2. Delete the pvsc-dev-ext.py file as it was not being properly maintained. (#4530) โœ… 1. Increase timeouts for loading of extension when preparing to run tests. (#4540) โœ… 1. Exclude files travis*.log, pythonFiles/tests/**, types/** from the extension. (#4554)
    3. Exclude *.vsix from source control. (#4556) ๐ŸŒฒ 1. Add more logging for ECONNREFUSED errors and Jupyter server crashes (#4573)
    4. Add travis task to verify bundle can be created. (#4711) โœ… 1. Add manual test plan for data science (#4716) โœ… 1. Fix Live Share nightly functional tests (#4757) โœ… 1. Make cancel test and server cache test more robust (#4818) โœ… 1. Generalize code used to parse Test results service (#4796)

    Thanks

    Thanks to the following projects which we fully rely on to provide some of our features:

    Also thanks to the various projects we provide integrations with which help ๐Ÿ‘‰ make this extension useful:

    And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!