Python v2019.4.0 Release Notes
Release Date: 2019-04-23 // about 5 years ago-
โจ Enhancements
- Download the language server using HTTP if
http.proxyStrictSSL
is set totrue
. (#2849) ๐ง 1. Launch thePython
debug configuration UI when manually adding entries into thelaunch.json
file. (#3321) - Add tracking of 'current' cell in the editor. Also add cell boundaries for non active cell. (#3542) 0๏ธโฃ 1. Change default behavior of debugger to display return values. (#3754)
- Replace setting
debugStdLib
withjustMyCode
(#4032) โ 1. Change "Unit Test" phrasing to "Test" or "Testing". (#4384) โ 1. Auto expand tree view inTest Explorer
to display failed tests. (#4386) ๐ 1. Add a data grid control and web view panel. (#4675) ๐ 1. Add support for viewing dataframes, lists, dicts, nparrays. (#4677) โ 1. Auto-expand the first level of the test explorer tree view. (#4767) โ 1. UsePython
code for discovery of tests when usingpytest
. (#4795) ๐จ 1. Intergrate the variable explorer into the header better and refactor HTML and CSS. (#4800) - Integrate the variable viewer with the IJupyterVariable interface. (#4802) โ 1. Include number of skipped tests in Test Data item tooltip. (#4849)
- Add prompt to select virtual environment for the worskpace.
(#4908)
๐ 1. Prompt to turn on Pylint if a
pylintrc
or.pylintrc
file is found. (#4941) - Variable explorer handles new cell submissions. (#4948) ๐ 1. Pass one at getting our data grid styled correctly to match vscode styles and the spec. (#4998)
- Ensure
Language Server
can start without ICU. (#5043) ๐ณ 1. Support running under docker. (#5047) - Add exclude list to variable viewer. (#5104)
- Display a tip to the user informing them of the ability to change the interpreter from the statusbar. (#5180)
- Hook up the variable explorer to the data frame explorer. (#5187) ๐ 1. Remove the debug config snippets (rely on handler instead). (#5189)
- Add setting to just enable/disable the data science codelens.
(#5211)
โ
1. Change settings from
python.unitTest.*
topython.testing.*
. (#5219) 0๏ธโฃ 1. Add telemetry for variable explorer and turn on by default. (#5337) - Show a message when no variables are defined (#5228) ๐ป 1. Variable explorer UI fixes via PM / designer (#5274)
- Allow column sorting in variable explorer (#5281)
- Swap getsizeof size value for something more sensible in the variable explorer (#5368)
๐ Fixes
- Ignore the extension's Python files when debugging. (#3201)
- Dispose processes started within the extension during. (#3331)
- Fix problem with errors not showing up for import when no jupyter installed. (#3958)
- Fix tabs in comments to come out in cells. (#4029) ๐ง 1. Use configuration API and provide Resource when retrieving settings. (#4486)
- When debugging, the extension correctly uses custom
.env
files. (#4537) - Accomadate trailing commands in the JSON contents of
launch.json
file. (#4543) - Kill liveshare sessions if a guest connects without the python extension installed. (#4947)
- Shutting down a session should not cause the host to stop working. (#4949)
- Fix cell spacing issues. (#4979) โ 1. Fix hangs in functional tests. (#4992)
- Fix triple quoted comments in cells to not affect anything. (#5012)
- Restarting the kernel will eventually force Jupyter server to shutdown if it doesn't come back. (#5025)
- Adjust styling for data viewer. (#5058) โ 1. Fix MimeTypes test after we stopped stripping comments. (#5086) ๐ 1. No prompt displayed to install pylint. (#5087)
- Fix scrolling in the interactive window. (#5131) 0๏ธโฃ 1. Default colors when theme.json cannot be found. Fix Python interactive window to update when theme changes. (#5136)
- Replace 'Run Above' and 'Run Below' in the palette with 'Run Cells Above Cursor' and 'Run Current Cell and Below'. (#5143)
- Variables not cleared after a kernel restart. (#5244)
- Fix variable explorer to work in Live Share. (#5277) โก๏ธ 1. Update matplotlib based on theme changes. (#5294)
- Restrict files from being processed by
Language Server
only when in a mult-root workspace. (#5333) - Fix dataviewer header column alignment. (#5351)
- Make background cell color useable in all themes. (#5236)
- Filtered rows shows 'fetching' instead of No rows. (#5278)
- Multi-dimensional arrays don't open in the data viewer. (#5395)
- Fix sorting of lists with numbers and missing entries. (#5414)
- Fix error with bad len() values in variable explorer
(#5420)
๐ 1. Update ptvsd to 4.2.8.
- Path mapping bug fixes.
- Fix for hang when using debug console.
- Fix for set next statement.
- Fix for multi-threading.
Code Health
- Enable typescript's strict mode.
(#611)
โก๏ธ 1. Update to use
Node
version10.5.0
. (#1138) โก๏ธ 1. Updatelaunch.json
to useinternalConsole
instead of none. (#4321) โ 1. Change flaky tests (relying on File System Watchers) into unit tests. (#4468) โ 1. Corrected Smoke test failure for 'Run Python File In Terminal'. (#4515) ๐ 1. Drop (official) support for Python 3.4. (#4528) ๐ 1. Support debouncing decorated async methods. (#4641) โ 1. Add functional tests for pytest adapter script. (#4739) ๐ 1. Remove the use of timers in unittest code. Simulate the passing of time instead. (#4776) โ 1. Add functional testing for variable explorer. (#4803) โ 1. Add tests for variable explorer Python files. (#4804) ๐ 1. Add real environment variables provider on to get functional tests to pass on macOS. (#4820) ๐ป 1. Handle done on all jupyter requests to make sure an unhandle exception isn't passed on shutdown. (#4827) ๐ง 1. Clean up language server initialization and configuration. (#4832) ๐ 1. Hash imports of top-level packages to see what users need supported. (#4852) ๐ง 1. Havetpn
clearly state why a project's license entry in the configuration file is considered stale. (#4865) โ 1. Kill the test process on CI, 10s after the tests have completed. (#4905) ๐ 1. Remove hardcoded Azdo Pipeline of 30m, leaving it to the default of 60m. (#4914) ๐ท 1. Use thePython
interpreter prescribed by CI instead of trying to locate the best possible one. (#4920) ๐ 1. Skip linter tests correctly. (#4923) ๐ 1. Remove redundant compilation step on CI. (#4926) - Dispose handles to timers created from using
setTimeout
. (#4930) - Ensure sockets get disposed along with other resources.
(#4935)
โ
1. Fix intermittent test failure with listeners.
(#4936)
โก๏ธ 1. Update
mocha
to the latest version. (#4937) ๐ 1. Remove redundant mult-root tests. (#4943) โ 1. Fix intermittent test failure with kernel shutdown. (#4951) โก๏ธ 1. Update version of isort to4.3.17
(#5059) - Fix typo and use constants instead of hardcoded command names. (thanks Allan Wang) (#5204)
- Add datascience specific settings to telemetry gathered. Make sure to scrape any strings of PII. (#5212)
- Add telemetry around people hitting 'no' on the enable interactive shift enter. Reword the message to be more descriptive. (#5213) โ 1. Fix failing variable explorer test. (#5348) โ 1. Reliably end test tasks in Azure Pipelines. (#5129) ๐ 1. Deprecate travis in favor of Azure Pipelines. (#4024)
Thanks
Thanks to the following projects which we fully rely on to provide some of our features:
- isort 4.3.4
- jedi 0.12.0 and parso 0.2.1
- Microsoft Python Language Server
- ptvsd
- exuberant ctags (user-installed)
- rope (user-installed)
Also thanks to the various projects we provide integrations with which help ๐ make this extension useful:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: nose, pytest, unittest
And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!
- Download the language server using HTTP if