Python v2019.2.0 Release Notes
Release Date: 2019-02-26 // about 5 years ago-
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!
✨ Enhancements
✅ 1. Support launch configs for debugging tests. (#332)
- Add way to send code to the Python Interactive window without having to put
#%%
into a file. (#3171) 👍 1. Support simple variable substitution in.env
files. (#3275) 👍 1. Support live share in Python interactive window (experimental). (#3581) - Strip comments before sending so shell command and multiline jupyter magics work correctly. (#4064) 🚀 1. Add a build number to our released builds. (#4183)
- Prompt the user to send shift-enter to the interactive window. (#4184) 🌐 1. Added Dutch translation. (thanks Robin Martijn with the feedback of Michael van Tellingen) (#4186) ✅ 1. Add the Test Activity view. (#4272) ✅ 1. Added action buttons to top of Test Explorer. (#4275) ✅ 1. Navigation to test output from Test Explorer. (#4279) 🔧 1. Add the command 'Configure Unit Tests'. (#4286) ⚡️ 1. Do not update unit test settings if configuration is cancelled. (#4287) 🔧 1. Keep testing configuration alive when losing UI focus. (#4288) ✅ 1. Display test activity only when tests have been discovered. (#4317) 🔧 1. Added a button to configure unit tests when prompting users that tests weren't discovered. (#4318) 💻 1. Use VSC API to open browser window (#4322)
- Don't shut down the notebook server on window close. (#4348)
- Added command
Show Output
to display thePython
output panel. (#4362) ✅ 1. Fix order of icons in test explorer and items. (#4364) ✅ 1. Run failed tests icon should only appear if and when a test has failed. (#4371) 🚀 1. Update ptvsd to 4.2.4. (#4457)- Validate breakpoint targets.
- Properly exclude certain files from showing up in the debugger.
🛠 Fixes
👍 1. Add support for multi root workspaces with the new language server server. (#3008) 👕 1. Move linting tests to unit-testing for better reliability. (#3914)
- Allow "Run Cell" code lenses on non-local files. (#3995) ✅ 1. Functional test for the input portion of the python interactive window. (#4057)
- Fix hitting the up arrow on the input prompt for the Python Interactive window to behave like the terminal window when only 1 item in the history. (#4145)
- Fix problem with webview panel not being dockable anywhere but view column 2.
(#4237)
🛠 1. More fixes for history in the Python Interactive window input prompt.
(#4255)
✅ 1. Fix precedence in
parsePyTestModuleCollectionResult
. (thanks Tammo Ippen) (#4360) ⏪ 1. Revert pipenv activation to not usepipenv
shell.` (#4394) - Fix shift enter to send selection when cells are defined.
(#4413)
✅ 1. Icons should display only in test explorer.
(#4418)
🚀 1. Update ptvsd to 4.2.4.
(#4457)
BreakOnSystemExitZero
now respected.- Fix a bug causing breakpoints not to be hit when attached to a remote target.
- Fix double running of cells with the context menu (#4532) ⚡️ 1. Update the Python language server to 0.1.80.
Code Health
- Fix all typescript errors when compiled in strict mode. (#611) ✅ 1. Get functional tests running nightly again. (#3973)
- Turn on strict type checking (typescript compiling) for Datascience code. (#4058)
- Turn on strict typescript compile for the data science react code. (#4091) 👷 1. Fix issue causing debugger tests to timeout on CI servers. (#4148)
- Don't register language server onTelemetry when downloadLanguageServer is false. (#4199) ✅ 1. Fixes to smoke tests on CI. (#4201)