Releases: microsoft/vscode-python
Releases · microsoft/vscode-python
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.toml
file 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 PythonPath
experiment.
(#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 & method
commands 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.level
which 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
LinterId
to 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 ...
2020.6.91350
2020.6.3 (30 June 2020)
Fixes
- Correctly check for ZMQ support, previously it could allow ZMQ to be supported when zmq could not be imported.
(#12585) - Auto indentation no longer working for notebooks and interactive window.
(#12389) - Add telemetry for tracking run by line.
(#12580) - Add more telemetry to distinguish how is the start page opened.
(#12603) - Stop looking for mspythonconfig.json file in subfolders.
(#12614)
2020.6.90262
2020.6.89148
2020.6.1 (17 June 2020)
Fixes
- Fixed issue when
python.jediEnabled
setting was not removed andpython.languageServer
setting was not updated.
(#12429)
2020.6.88468
2020.6.0 (16 June 2020)
Enhancements
- Removed
python.jediEnabled
setting in favor ofpython.languageServer
. Instead of"python.jediEnabled": true
please use"python.languageServer": "Jedi"
.
(#7010) - Added a start page for the extension. It opens to new users or when there is a new release. It can be disabled with the setting 'Python: Show Start Page'.
(#11057) - Preliminary support using other languages for the kernel.
(#11919) - Enable the use of the custom editor for native notebooks.
(#10744)
Fixes
- Ensure sorting imports in a modified file picks up the proper configuration.
thanks Peter Law)
(#4891) - Made variable explorer (from IPython Notebook interface) resizable.
(#5382) - Add junit family to pytest runner args to remove pytest warning.
(#10673) - Switch order of restart and cancel buttons in interactive window to be consistent with ordering in notebook toolbar.
(#11091) - Support opening other URI schemes besides 'file' and 'vsls'.
(#11393) - Fix issue with formatting when the first line is blank.
(#11416) - Force interactive window to always scroll long output. Don't allow scrollbars within scrollbars.
(#11421) - Hover on notebooks or interactive window seems to stutter.
(#11422) - Make shift+tab work again in the interactive window. Escaping focus from the prompt is now relegated to 'Shift+Esc'.
(#11495) - Keep import and export working with raw kernel mode. Also allow for installing dependencies if running an import before jupyter was ever launched.
(#11501) - Extra kernels that just say "Python 3 - python" are showing up in the raw kernel kernel picker.
(#11552) - Fix intermittent launch failure with raw kernels on windows.
(#11574) - Don't register a kernelspec when switching to an interpreter in raw kernel mode.
(#11575) - Keep the notebook input prompt up if you focus out of vscode.
(#11581) - Fix install message to reference run by line instead of debugging.
(#11661) - Run by line does not scroll to the line that is being run.
(#11662) - For direct kernel connection, don't replace a notebook's metadata default kernelspec with a new kernelspec on startup.
(#11672) - Fixes issue with importing
debupy
in interactive window.
(#11686) - Reopen all notebooks when rerunning the extension (including untitled ones).
(#11711) - Make sure to clear 'outputPrepend' when rerunning cells and to also only ever add it once to a cell.
(thanks Barry Nolte)
(#11726) - Disable pre-warming of Kernel Daemons when user does not belong to the
LocalZMQKernel - experiment
experiment.
(#11751) - When switching to an invalid kernel (one that is registered but cannot start) in raw mode respect the launch timeout that is passed in.
(#11752) - Make
python.dataScience.textOutputLimit
apply on subsequent rerun. We were letting the 'outputPrepend' metadata persist from run to run.
(thanks Barry Nolte)
(#11777) - Use
${command:python.interpreterPath}
to get selected interpreter path inlaunch.json
andtasks.json
.
(#11789) - Restarting a kernel messes up run by line.
(#11793) - Correctly show kernel status in raw kernel mode.
(#11797) - Hovering over variables in a python file can show two hover values if the interactive window is closed and reopened.
(#11800) - Make sure to use webView.cspSource for all csp sources.
(#11855) - Use command line arguments to launch our raw kernels as opposed to a connection file. The connection file seems to be causing issues in particular on windows CI machines with permissions.
(#11883) - Improve our status reporting when launching and connecting to a raw kernel.
(#11951) - Prewarm raw kernels based on raw kernel support and don't prewarm if jupyter autostart is disabled.
(#11956) - Don't flood the hard drive when typing in a large notebook file.
(#12058) - Disable run-by-line and continue buttons in run by line mode when running.
(#12169) - Disable
Sort Imports
command inNotebook Cells
.
(#12193) - Fix debugger continue event to actually change a cell.
(#12155) - Make Jedi the Default value for the python.languageServer setting.
(#12225) - Make stop during run by line interrupt the kernel.
(#12249) - Have raw kernel respect the jupyter server disable auto start setting.
(#12246)
Code Health
- Use ts-loader as a tyepscript loader in webpack.
(#9061) - Fixed typo from unitest -> unittest.
(thanks Rameez Khan).
(#10919) - Make functional tests more deterministic.
(#11058) - Reenable CDN unit tests.
(#11442) - Run by line for notebook cells minimal implementation.
(#11607) - Get shape and count when showing debugger variables.
(#11657) - Add more tests to verify data frames can be opened.
(#11658) - Support data tips overtop of python files that have had cells run.
(#11659) - Functional test for run by line functionality.
(#11660) - Fixed typo in a test from lanaguage -> language.
(thanks Ashwin Ramaswami).
(#11775) - Add bitness information to interpreter telemetry.
(#11904) - Fix failing linux debugger tests.
(#11935) - Faster unit tests on CI Pipeline.
(#12017) - Ensure we can use proposed VS Code API with
ts-node
.
(#12025) - Faster node unit tests on Azure pipeline.
(#12027) - Use deemon package for background compilation with support for restarting VS Code during development.
(#12059)
2020.5.86806
2020.5.3 (10 June 2020)
- Update
debugpy
to use1.0.0b11
or greater.
2020.5.86398
2020.5.2 (8 June 2020)
Fixes
- Double-check for interpreters when running diagnostics before displaying the "Python is not installed" message.
(#11870) - Ensure user cannot belong to all experiments in an experiment group.
(#11943) - Ensure extension features are started when in
Deprecate PythonPath
experiment and opening a file without any folder opened.
(#12177)
Code Health
- Integrate VS Code experiment framework in the extension.
(#10790) - Update telemetry on errors and exceptions to use vscode-extension-telemetry.
(#11597)
2020.5.80290
2020.5.80290
2020.5.78807
2020.5.0 (12 May 2020)
Enhancements
- Added ability to manually enter a path to interpreter in the select interpreter dropdown.
(#216) - Add status bar item with icon when installing Insiders/Stable build.
(thanks to ErwanDL)
(#10495) - Support for language servers that don't allow incremental document updates inside of notebooks and the interactive window.
(#10818) - Add telemetry for "Python is not installed" prompt.
(#10885) - Add basic liveshare support for raw kernels.
(#10988) - Do a one-off transfer of existing values for
python.pythonPath
setting to new Interpreter storage if in DeprecatePythonPath experiment.
(#11052) - Ensure the language server can query pythonPath when in the Deprecate PythonPath experiment.
(#11083) - Added prompt asking users to delete
python.pythonPath
key from their workspace settings when in Deprecate PythonPath experiment.
(#11108) - Added
getDebuggerPackagePath
extension API to get the debugger package path.
(#11236) - Expose currently selected interpreter path using API.
(#11294) - Show a prompt asking user to upgrade Code runner to new version to keep using it when in Deprecate PythonPath experiment.
(#11327) - Rename string
${config:python.pythonPath}
which is used inlaunch.json
to refer to interpreter path set in settings, to${config:python.interpreterPath}
.
(#11446)
Fixes
- Added 'Enable Scrolling For Cell Outputs' setting. Works together with the 'Max Output Size' setting.
(#9801) - Fix ctrl+enter on markdown cells. Now they render.
(#10006) - Cancelling the prompt to restart the kernel should not leave the toolbar buttons disabled.
(#10356) - Getting environment variables of activated environments should ignore the setting
python.terminal.activateEnvironment
.
(#10370) - Show notebook path when listing remote kernels.
(#10521) - Allow filtering on '0' for the Data Viewer.
(#10552) - Allow interrupting the kernel more than once.
(#10587) - Make error links in exception tracebacks support multiple cells in the stack and extra spaces.
(#10708) - Add channel property onto returned ZMQ messages.
(#10785) - Fix problem with shape not being computed for some types in the variable explorer.
(#10825) - Enable cell related commands when a Python file is already open.
(#10884) - Fix issue with parsing long conda environment names.
(#10942) - Hide progress indicator once
Interactive Window
has loaded.
(#11065) - Do not perform pipenv interpreter discovery on extension activation.
Fix for CVE-2020-1171.
(#11127) - Ensure arguments are included in log messages when using decorators.
(#11153) - Fix for opening the interactive window when no workspace is open.
(#11291) - Conda environments working with raw kernels.
(#11306) - Ensure isolate script is passed as command argument when installing modules.
(#11399) - Make raw kernel launch respect launched resource environment.
(#11451) - When using a kernelspec without a fully qualified python path make sure we use the resource to get the active interpreter.
(#11469) - For direct kernel launch correctly detect if interpreter has changed since last launch.
(#11530) - Performance improvements when executing multiple cells in
Notebook
andInteractive Window
.
(#11576) - Ensure kernel daemons are disposed correctly when closing notebooks.
(#11579) - When VS quits, make sure to save contents of notebook for next reopen.
(#11557) - Fix scrolling when clicking in the interactive window to not jump around.
(#11554) - Setting "Data Science: Run Startup Commands" is now limited to being a user setting.
Fix for CVE-2020-1192.
Code Health
- Enable the
Self Cert
tests for Notebooks.
(#10447) - Remove deprecated telemetry and old way of searching for
Jupyter
.
(#10809) - Add telemetry for pipenv interpreter discovery.
(#11128) - Update to the latest version of
jedi
(0.17
). Note that this may be the last version of Jedi to support Python 2 and Python 3.5. (#11221; thanks Peter Law)
(#11221) - Lazy load types from
jupyterlab/services
and similarnpm modules
.
(#11297) - Remove IJMPConnection implementation while maintaining tests written for it.
(#11470) - Implement an IJupyterVariables provider for the debugger.
(#11542)