Releases: microsoft/vscode-python
Releases · microsoft/vscode-python
2020.9.111407
2020.9.0 (23 September 2020)
Enhancements
- Docstrings are added to
classanddefsnippets (thanks alannt777).
(#5578) - Upgraded isort to
5.3.2.
(#12932) - Remove default "--no-reload" from debug configurations.
(thanks ian910297)
(#13061) - Update API to expose events for cell excecution and kernel restart.
(#13306) - Show a general warning prompt pointing to the upgrade guide when users attempt to run isort5 using deprecated settings.
(#13716) - Upgrade isort to
5.5.2.
(#13831) - Enable custom editor support in stable VS code at 20%.
(#13890) - Upgraded to isort
5.5.3.
(#14027)
Fixes
- Fixed the output being trimmed. Tables that start with empty space will now display correctly.
(#10270) - #11729
Prevent test discovery from picking up stdout from low level file descriptors.
(thanks Ryo Miyajima)
(#11729) - Fix opening new blank notebooks when using the VS code custom editor API.
(#12245) - Support starting kernels with the same directory as the notebook.
(#12760) - Fixed
Sort importscommand with setuptools version49.2.
(#12949) - Do not fail interpreter discovery if accessing Windows registry fails.
(#12962) - Show error output from nbconvert when exporting a notebook fails.
(#13229) - Prevent daemon from trying to prewarm an execution service.
(#13258) - Respect stop on error setting for executing cells in native notebook.
(#13338) - Native notebook launch doesn't hang if the kernel does not start, and notifies the user of the failure. Also does not show the first cell as executing until the kernel is actually started and connected.
(#13409) - Fix path to isolated script on Windows shell_exec.
(#13493) - Updating other cells with display.update does not work in native notebooks.
(#13509) - Fix for notebook using the first kernel every time. It will now use the language in the notebook to determine the most appropriate kernel.
(#13520) - Shift+enter should execute current cell and select the next cell.
(#13553) - Fixes typo in export command registration.
(thanks Anton Kosyakov)
(#13612) - Fix the behavior of the 'python.showStartPage' setting.
(#13706) - Correctly install ipykernel when launching from an interpreter.
(#13956) - Backup on custom editors is being ignored.
(#13981)
Code Health
- Fix bandit issues in vscode_datascience_helpers.
(#13103) - Cast type to
anyto get around issues withts-node(ts-nodeis used bynycfor code coverage).
(#13411) - Drop support for Python 3.5 (it reaches end-of-life on September 13, 2020 and isort 5 does not support it).
(#13459) - Fix nightly flake test issue with timeout waiting for kernel.
(#13501) - Disable sorting tests for Python 2.7 as isort5 is not compatible with Python 2.7.
(#13542) - Fix nightly flake test current directory failing test.
(#13605) - Rename the
masterbranch tomain.
(#13645) - Remove usage of the terms "blacklist" and "whitelist".
(#13647) - Fix a test failure and warning when running test adapter tests under pytest 5.
(#13726) - Remove unused imports from data science ipython test files.
(#13729) - Fix nighly failure with beakerx.
(#13734)
2020.8.109390
2020.8.108011
2020.8.106424
2020.8.105369
Enhancements
- Add telemetry about the install source for the extension.
2020.8.105045
2020.8.2 (27 August 2020)
Enhancements
- Update "Tip" notification for new users to either show the existing tip, a link to a feedback survey or nothing.
(#13535)
Fixes
2020.8.103604
2020.8.101144
2020.8.0 (12 August 2020)
Enhancements
- Cell id and cell metadata are now passed as the metadata field for execute_request messages.
(thanks stisa)
(#13252) - Add "Restart Language Server" command.
(#3073) - Support multiple and per file interactive windows. See the description for the new 'python.dataScience.interactiveWindowMode' setting.
(#3104) - Add cell editing shortcuts for python interactive cells. (thanks @earthastronaut).
(#12414) - Allow
python.dataScience.runStartupCommandsto be an array. (thanks @janosh).
(#12827) - Remember remote kernel ids when reopening notebooks.
(#12828) - The file explorer dialog now has an appropriate title when browsing for an interpreter. (thanks ziebam).
(#12959) - Warn users if they are connecting over http without a token.
(#12980) - Allow a custom display string for remote servers as part of the remote Jupyter server provider extensibility point.
(#12988) - Update to the latest version of
jedi(0.17.2). This adds support for Python 3.9 and fixes some bugs, but is expected to be the last release to support Python 2.7 and 3.5. (thanks Peter Law).
(#13037) - Expose
Pylancesetting inpython.languageServer. If Pylance extension is not installed, prompt user to install it.
(#13122) - Added "pythonArgs" to debugpy launch.json schema.
(#13218) - Use jupyter inspect to get signature of dynamic functions in notebook editor when language server doesn't provide enough hint.
(#13259) - The gather icon will change and get disabled while gather is executing.
(#13177)
Fixes
- Gathered notebooks will now use the same kernelspec as the notebook it was created from.
(#10924) - Don't loop selection through all failed tests every time tests are run.
(#11743) - Some tools (like pytest) rely on the existence of
sys.path[0], so
deleting it in the isolation script can sometimes cause problems. The
solution is to pointsys.path[0]to a bogus directory that we know
does not exist (assuming noone modifies the extension install dir).
(#11875) - Fix missing css for some ipywidget output.
(#12202) - Delete backing untitled ipynb notebook files as soon as the remote session has been created.
(#12510) - Make the data science variable explorer support high contrast color theme.
(#12766) - The change in PR #12795 led to one particular test suite to take longer
to run. Here we increase the timeout for that suite to get the test
passing.
(#12833) - Refactor data science filesystem usage to correctly handle files which are potentially remote.
(#12931) - Allow custom Jupyter server URI providers to have an expiration on their authorization headers.
(#12987) - If a webpanel fails to load, dispose our webviewhost so that it can try again.
(#13106) - Ensure terminal is not shown or activated if hideFromUser is set to true.
(#13117) - Do not automatically start kernel for untrusted notebooks.
(#13124) - Fix settings links to open correctly in the notebook editor.
(#13156) - "a" and "b" Jupyter shortcuts should not automatically enter edit mode.
(#13165) - Scope custom notebook keybindings to Jupyter Notebooks.
(#13172) - Rename "Count" column in variable explorer to "Size".
(#13205) - Handle
Save Asof preview Notebooks.
(#13235)
Code Health
- Move non-mock jupyter nightly tests to use raw kernel by default.
(#10772) - Add new services to data science IOC container and rename misspelled service.
(#12809) - Disable Notebook icons when Notebook is not trusted.
(#12893) - Removed control tower code for the start page.
(#12919) - Add better tests for trusted notebooks in the classic notebook editor.
(#12966) - Custom renderers for
png/jpegimages inNotebooks.
(#12977) - Fix broken nightly variable explorer tests.
(#13075) - Fix nightly flake test failures for startup and shutdown native editor test.
(#13171) - Fix failing interactive window and variable explorer tests.
(#13269)
Thanks
Thanks to the following projects which we fully rely on to provide some of
our features:
- debugpy
- isort
- jedi
and parso - Microsoft Python Language Server
- Pylance
- 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!
2020.7.96456
2020.7.94776
2020.7.0 (16 July 2020)
Enhancements
- Support connecting to Jupyter hub servers. Use either the base url of the server (i.e. 'https://111.11.11.11:8000') or your user folder (i.e. 'https://111.11.11.11:8000/user/theuser).
Works with password authentication.
(#9679) - Added "argsExpansion" to debugpy launch.json schema.
(#11678) - The extension will now automatically load if a
pyproject.tomlfile is present in the workspace root directory.
(thanks Brandon White)
(#12056) - Add ability to check and update whether a notebook is trusted.
(#12146) - Support formatting of Notebook Cells when using the VS Code Insiders API for Notebooks.
(#12195) - Added exporting notebooks to HTML.
(#12375) - Change stock launch.json "attach" config to use "connect".
(#12446) - Update to the latest version of
jedi(0.17.1). This brings completions for Django (viadjango-stubs) as well as support for Python 3.9 and various bugfixes (mostly around generic type annotations). (thanks Peter Law)
(#12486) - Prompt users that we have deleted pythonPath from their workspace settings when in
Deprecate PythonPathexperiment.
(#12533) - Changed public API for execution to return an object and provide a callback which is called when interpreter setting changes.
(#12596) - Allow users to opt out of us checking whether their notebooks can be trusted. This setting is turned off by default and must be manually enabled.
(#12611) - Include the JUPYTER_PATH environment variable when searching the disk for kernels.
(#12694) - Added exporting to python, HTML and PDF from the interactive window.
(#12732) - Show a prompt asking user to upgrade Code runner to new version to keep using it when in Deprecate PythonPath experiment.
(#12764) - Opening notebooks in the preview Notebook editor for Visual Studio Code Insiders.
(#10496)
Fixes
- Ensure we only have a single isort process running on a single file.
(#10579) - Provided a method for external partners to participate in jupyter server URI picking/authentication.
(#10993) - Check for hideFromUser before activating current terminal.
(#11122) - In Markdown cells, turn HTML links to markdown links so that nteract renders them.
(#11254) - Prevent incorrect ipywidget display (double plots) due to synchronization issues.
(#11281) - Removed the Kernel Selection toolbar from the Interactive Window when using a local Jupyter Server.
To show it again, set the setting 'Python > Data Science > Show Kernel Selection On Interactive Window'.
(#11347) - Get Jupyter connections to work with a Windows store installed Python/Jupyter combination.
(#11412) - Disable hover intellisense in the interactive window unless the code is expanded.
(#11459) - Make layout of markdown editors much faster to open.
(#11584) - Watermark in the interactive window can appear on top of entered text.
(#11691) - Jupyter can fail to run a kernel if the user's environment contains non string values.
(#11749) - On Mac meta+Z commands are performing both cell and editor undos.
(#11758) - Paste can sometimes double paste into a notebook or interactive window editor.
(#11796) - Fix jupyter connections going down when azure-storage or other extensions with node-fetch are installed.
(#11830) - Variables should not flash when running by line.
(#12046) - Discard changes on Notebooks when the user selects 'Don't Save' on the save changes dialog.
(#12180) - Disable
Extract variable & methodcommands inNotebook Cells.
(#12206) - Disable linting in Notebook Cells.
(#12208) - Register services before extension activates.
(#12227) - Infinite loop of asking to reload the extension when enabling custom editor.
(#12231) - Fix raw kernel autostart and remove jupyter execution from interactive base.
(#12330) - If we fail to start a raw kernel daemon then fall back to using process execution.
(#12355) - Fix the export button from the interactive window to export again.
(#12460) - Process Jupyter messages synchronously when possible.
(#12588) - Open variable explorer when opening variable explorer during debugging.
(#12773) - Use the given interpreter for launching the non-daemon python
(#12821) - Correct the color of the 'Collapse All' button in the Interactive Window
(#12838)
Code Health
- Move all logging to the Python output channel.
(#9837) - Add a functional test that opens both the interactive window and a notebook at the same time.
(#11445) - Added setting
python.logging.levelwhich carries the logging level value the extension will log at.
(#11699) - Monkeypatch
console.*calls to the logger only in CI.
(#11896) - Replace python.dataScience.ptvsdDistPath with python.dataScience.debugpyDistPath.
(#11993) - Rename ptvsd to debugpy in Telemetry.
(#11996) - Update JSDoc annotations for many of the APIs (thanks Anthony Shaw)
(#12101) - Refactor
LinterIdto an enum instead of a string union.
(thanks to Anthony Shaw)
(#12116) - Remove webserver used to host contents in WebViews.
(#12140) - Inline interface due to issues with custom types when using
ts-node.
(#12238) - Fix linux nightly tests so they run and report results. Also seems to get rid of stream destroyed messages for raw kernel.
(#12539) - Log ExP experiments the user belongs to in the output panel.
(#12656) - Add more telemetry for "Select Interpreter" command.
(#12722) - Add tests for trusted notebooks.
(#12554) - Update categories in
package.json.
(#12844)
Thanks
Thanks to the following projects which we fully rely on to provide some of
our features:
- debugpy
- isort
- jedi
and parso - Microsoft Python Language Server
- exuberant ctags (user-installed)
- rope (user-installed)
Also thanks to the various projects we provide integrations with ...