Python v2019.11.0 Release Notes

Release Date: 2019-11-18 // over 4 years ago
  • โœจ Enhancements

    ๐Ÿ‘ 1. Add Vega support into our list of transforms for output. (#4125)

    1. Add .flake8 file association as ini-file. (thanks thernstig) (#6506)
    2. Provide user feedback when searching for a Jupyter server to use and allow the user to cancel this process. (#7262) 0๏ธโƒฃ 1. By default, don't change matplotlib themes and place all plots on a white background regardless of VS Code theme. Add a setting to allow for plots to try to theme. (#8000)
    3. Prompt to open exported Notebook in the Notebook Editor. (#8078) ๐ŸŒ 1. Add commands translation for Persian locale. (thanks Nikronic) (#8092) โœจ 1. Enhance "select a workspace" message when selecting interpreter. (thanks Nikolay Kondratyev) (#8103) ๐ŸŒฒ 1. Add logging support for python debug adapter. (#8106) ๐Ÿ’… 1. Style adjustments to line numbers (color and width) in the Native Editor, to line up with VS Code styles. (#8289) ๐ŸŒ 1. Added command translations for Turkish. (thanks to alioguzhan) (#8320) โšก๏ธ 1. Toolbar was updated to take less space and be reached more easily. (#8366)

    ๐Ÿ›  Fixes

    โœ… 1. Fix running a unittest file executing only the first test. (thanks Nikolay Kondratyev) (#4567) โœ… 1. Force the pytest root dir to always be the workspace root folder. (#6548)

    1. The notebook editor will now treat wrapped lines as different lines, so moving in cells and between cells with the arrow keys (and j and k) will be easier. (#7227) โœ… 1. During test discovery, ignore tests generated by pytest plugins (like pep8). Tests like that were causing discovery to fail. (#7287)
    2. When exporting a notebook editor to python script don't use the temp file location for generating the export. (#7567) ๐Ÿง 1. Unicode symbol used to mark skipped tests was almost not visible on Linux and Windows. (#7705)
    3. Editing cells in a notebook, closing VS code, and then reopening will not have the cell content visible. (#7754) โš  1. Sonar warnings. (#7812) ๐Ÿšš 1. Remove --ci flag from install_ptvsd.py to fix execution of "Setup" instructions from CONTRIBUTING.md. (#7814)
    4. Add telemetry for control groups in debug adapter experiments. (#7817) 0๏ธโƒฃ 1. Allow the language server to pick a default caching mode. (#7821)
    5. Respect ignoreVSCodeTheme setting and correctly swap icons when changing from light to dark color themes. (#7847)
    6. 'Clear All Output' now deletes execution count for all cells. (#7853)
    7. If a Jupyter server fails to start, allow user to retry without having to restart VS code. (#7865)
    8. Fix strings of commas appearing in text/html output in the notebook editor. (#7873)
    9. When creating a new blank notebook, it has existing text in it already. (#7980) ๐Ÿ’… 1. Can now include a LaTeX-style equation without surrounding the equation with '\$' in a markdown cell. (#7992)
    10. Make a spinner appear during executing a cell. (#8003)
    11. Signature help is overflowing out of the signature help widget on the Notebook Editor. (#8006)
    12. Ensure intellisense (& similar widgets/popups) are dispaled for one cell in the Notebook editor. (#8007)
    13. Correctly restart Jupyter sessions when the active interpreter is changed. (#8019) ๐Ÿšš 1. Clear up wording around jupyterServerURI and remove the quick pick from the flow of setting that. (#8021)
    14. Use actual filename comparison for filename equality checks. (#8022)
    15. Opening a notebook a second time round with changes (made from another editor) should be preserved. (#8025)
    16. Minimize the GPU impact of the interactive window and the notebook editor. (#8039) ๐Ÿ“‡ 1. Store version of the Python interpreter (kernel) in the notebook metadata when running cells. (#8064)
    17. Make shift+enter not take focus unless about to add a new cell. (#8069)
    18. When checking the version of pandas, use the same interpreter used to start Jupyter. (#8084)
    19. Make brackets and paranthesis auto complete in the Notebook Editor and Interactive Window (based on editor settings). (#8086)
    20. Cannot create more than one blank notebook. (#8132)
    21. Fix for code disappearing after switching between markdown and code in a Notebook Editor. (#8141) ๐Ÿ‘ 1. Support โŒ˜+s keyboard shortcut for saving Notebooks. (#8151)
    22. Fix closing a Notebook Editor to actually wait for the kernel to restart. (#8167)
    23. Inserting a cell in a notebook can sometimes cause the contents to be the cell below it. (#8194)
    24. Scroll the notebook editor when giving focus or changing line of a code cell. (#8205)
    25. Prevent code from changing in the Notebook Editor while running a cell. (#8215) โšก๏ธ 1. When updating the Python extension, unsaved changes to notebooks are lost. (#8263) ๐Ÿ‘ท 1. Fix CI to use Python 3.7.5. (#8296)
    26. Correctly transition markdown cells into code cells. (#8386)
    27. Fix cells being erased when saving and then changing focus to another cell. (#8399)
    28. Add a white background for most non-text mimetypes. This lets stuff like Atlair look good in dark mode. (#8423)
    29. Export to python button is blue in native editor. (#8424) ๐Ÿšš 1. CTRL+Z is deleting cells. It should only undo changes inside of the code for a cell. 'Z' and 'SHIFT+Z' are for undoing/redoing cell adds/moves. (#7999)
    30. Ensure clicking ctrl+s in a new notebook prompts the user to select a file once instead of twice. (#8138)
    31. Creating a new blank notebook should not require a search for jupyter. (#8481)
    32. Arrowing up and down through cells can lose code that was just typed. (#8491)
    33. After pasting code, arrow keys don't navigate in a cell. (#8495)
    34. Typing 'z' in a cell causes the cell to disappear. (#8594)

    Code Health

    โœ… 1. Add unit tests for src/client/common/process/pythonProcess.ts. (#6065) ๐Ÿšš 1. Remove try...catch around use of vscode.env.shell. (#6912) โšก๏ธ 1. Test plan needed to be updated to include support for the Notebook Editor. (#7593) ๐Ÿ 1. Add test step to get correct pywin32 installed with python 3.6 on windows. (#7798) โšก๏ธ 1. Update Test Explorer icons to match new VS Code icons. (#7809) โœ… 1. Fix native editor mime type functional test. (#7877) โœ… 1. Fix variable explorer loading test. (#7878)

    1. Add telemetry to capture usage of features in the Notebook Editor for Data Science features. (#7908) ๐Ÿง 1. Fix debug temporary functional test for Mac / Linux. (#7994) โœ… 1. Variable explorer tests failing on nightly. (#8124) โœ… 1. Timeout with new waitForMessage in native editor tests. (#8255) ๐Ÿšš 1. Remove code used to track perf of creation classes. (#8280) โšก๏ธ 1. Update TypeScript to 3.7. (#8395)

    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!