Releases: microsoft/vscode-python
Releases · microsoft/vscode-python
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)
2020.4.76186
2020.4.1 (27 April 2020)
Fixes
- Use node FS APIs when searching for python. This is a temporary change until VSC FS APIs are fixed.
(#10850) - Show unhandled widget messages in the jupyter output window.
(#11239) - Warn when using a version of the widget
qgrid
greater than1.1.1
with the recommendation to downgrade to1.1.1
.
(#11245) - Allow user modules import when discovering tests.
(#11264) - Fix issue where downloading ipywidgets from the CDN might be busy.
(#11274) - Error: Timeout is shown after running any widget more than once.
(#11334) - Change "python.dataScience.runStartupCommands" commands to be a global setting, not a workspace setting.
(#11352) - Closing the interactive window shuts down other active notebook sessions.
(#11404)
2020.4.74986
2020.4.0 (20 April 2020)
Enhancements
- Add support for
ipywidgets
.
(#3429) - Support output and interact ipywidgets.
(#9524) - Support using 'esc' or 'ctrl+u' to clear the contents of the interactive window input box.
(#10198) - Use new interpreter storage supporting multiroot workspaces when in Deprecate PythonPath experiment.
(#10325) - Modified
Select interpreter
command to support setting interpreter at workspace level.
(#10372) - Added a command
Clear Workspace Interpreter Setting
to clear value of Python interpreter from workspace settings.
(#10374) - Support reverse connection ("listen" in launch.json) from debug adapter to VSCode.
(#10437) - Use specific icons when downloading MPLS and Insiders instead of the spinner.
(#10495) - Notebook metadata is now initialized in alphabetical order.
(#10571) - Added command translations for Hindi Language.
(thanks Pai026)
(#10711) - Prompt when an "untrusted" workspace Python environment is to be auto selected when in Deprecate PythonPath experiment.
(#10879) - Added a command
Reset stored info for untrusted Interpreters
to reset "untrusted" interpreters storage when in Deprecate PythonPath experiment.
(#10912) - Added a user setting
python.defaultInterpreterPath
to set up the default interpreter path when in Deprecate PythonPath experiment.
(#11021) - Hide "untrusted" interpreters from 'Select interpreter' dropdown list when in DeprecatePythonPath Experiment.
(#11046) - Make spacing of icons on notebook toolbars match spacing on other VS code toolbars.
(#10464) - Make jupyter server status centered in the UI and use the same font as the rest of VS code.
(#10465) - Performa validation of interpreter only when a Notebook is opened instead of when extension activates.
(#10893) - Scrolling in cells doesn't happen on new line.
(#10952) - Ensure images in workspace folder are supported within markdown cells in a
Notebook
.
(#11040) - Make sure ipywidgets have a white background so they display in dark themes.
(#11060) - Arrowing down through cells put the cursor in the wrong spot.
(#11094)
Fixes
- Ensure plot fits within the page of the
PDF
.
(#9403) - Fix typing in output of cells to not delete or modify any cells.
(#9519) - Show an error when ipywidgets cannot be found.
(#9523) - Experiments no longer block on telemetry.
(#10008) - Fix interactive window debugging after running cells in a notebook.
(#10206) - Fix problem with Data Viewer not working when builtin functions are overridden (like max).
(#10280) - Fix interactive window debugging when debugging the first cell to be run.
(#10395) - Fix interactive window debugging for extra lines in a function.
(#10396) - Notebook metadata is now initialized in the correct place.
(#10544) - Fix save button not working on notebooks.
(#10647) - Fix toolbars on 3rd party widgets to show correct icons.
(#10734) - Clicking or double clicking in output of a cell selects or gives focus to a cell. It should only affect the controls in the output.
(#10749) - Fix for notebooks not becoming dirty when changing a kernel.
(#10795) - Auto save for focusChange is not respected when switching to non text documents. Menu focus will still not cause a save (no callback from VS code for this), but should work for switching to other apps and non text documents.
(#10853) - Handle display.update inside of cells.
(#10873) - ZMQ should not cause local server to fail.
(#10877) - Fixes issue with spaces in debugger paths when using
getRemoteLauncherCommand
.
(#10905) - Fix output and interact widgets to work again.
(#10915) - Make sure the same python is used for the data viewer as the notebook so that pandas can be found.
(#10926) - Ensure user code in cell is preserved between cell execution and cell edits.
(#10949) - Make sure the interpreter in the notebook matches the kernel.
(#10953) - Jupyter notebooks and interactive window crashing on startup.
(#11035) - Fix perf problems after running the interactive window for an extended period of time.
(#10971) - Fix problem with opening a notebook in jupyter after saving in VS code.
(#11151) - Fix CTRL+Z and Z for undo on notebooks.
(#11160) - Fix saving to PDF for viewed plots.
(#11157) - Fix scrolling in a notebook whenever resizing or opening.
(#11238)
Code Health
- Add conda environments to nightly test runs.
(#10134) - Refactor the extension activation code to split on phases.
(#10454) - Added a kernel launcher to spawn python kernels without Jupyter.
(#10479) - Add ZMQ library to extension.
(#10483) - Added test harness for
ipywidgets
innotebooks
.
(#10655) - Run internal modules and scripts in isolated manner.
This helps avoid problems like shadowing stdlib modules.
(#10681) - Add telemetry for .env files.
(#10780) - Update prettier to latest version.
(#10837) - Update typescript to
3.8
.
(#10839) - Add telemetry around ipywidgets usage, failures, and overhead.
(#11027)
2020.3.71659
2020.3.2 (2 April 2020)
Fixes
- Update
debugpy
to latest (v1.0.0b5). Fixes issue with connections with multi-process.
2020.3.71113
2020.3.1 (31 March 2020)
Fixes
- Update
debugpy
to latest (v1.0.0b4). Fixes issue with locale.
2020.3.69010
2020.3.0 (19 March 2020)
Enhancements
- Make interactive window wrap like the notebook editor does.
(#4466) - Support scrolling beyond the last line in the notebook editor and the interactive window. Uses the
editor.scrollBeyondLastLine
setting.
(#7892) - Allow user to override the arguments passed to Jupyter on startup. To change the arguments, run the 'Python: Specify Jupyter command line arguments" command.
(#8698) - When entering remote Jupyter Server, default the input value to uri in clipboard.
(#9163) - Added a command to allow users to select a kernel for a
Notebook
.
(#9228) - When saving new
notebooks
, default to the current workspace folder.
(#9331) - When the output of a cell gets trimmed for the first time, the user will be informed of it and which setting changes it.
(#9401) - Change the parameters for when a Data Science survey prompt comes up. After opening 5 notebooks (ever) or running 100 cells (ever).
(#10186) - Show quickfixes for launch.json.
(#10245)
Fixes
- Jupyter autocompletion will only show magic commands on empty lines, preventing them of appearing in functions.
(#10023) - Remove extra lines at the end of the file when formatting with Black.
(#1877) - Capitalize
Activate.ps1
in code for PowerShell Core on Linux.
(#2607) - Change interactive window to use the python interpreter associated with the file being run.
(#3123) - Make line numbers in errors for the Interactive window match the original file and make them clickable for jumping back to an error location.
(#6370) - Fix magic commands that return 'paged' output.
(#6900) - Ensure model is updated with user changes after user types into the editor.
(#8589) - Fix latex output from a code cell to render correctly.
(#8742) - Toggling cell type from
code
tomarkdown
will not set focus to the editor in cells of aNotebook
.
(#9102) - Remove whitespace from code before pushing to the interactive window.
(#9116) - Have sys info show that we have connected to an existing server.
(#9132) - Fix IPython.clear_output to behave like Jupyter.
(#9174) - Jupyter output tab was not showing anything when connecting to a remote server.
(#9177) - Fixed our css generation from custom color themes which caused the Data Viewer to not load.
(#9242) - Allow a user to skip switching to a kernel if the kernel dies during startup.
(#9250) - Clean up interative window styling and set focus to input box if clicking in the interactive window.
(#9282) - Change icon spacing to match vscode icon spacing in native editor toolbars and interactive window toolbar.
(#9283) - Display diff viewer for
ipynb
files without openingNotebooks
.
(#9395) - Python environments will not be activated in terminals hidden from the user.
(#9503) - Disable
Restart Kernel
andInterrupt Kernel
buttons when akernel
has not yet started.
(#9731) - Fixed an issue with multiple latex formulas in the same '$$' block.
(#9766) - Make notebook editor and interactive window honor undocumented editor.scrollbar.verticalScrollbarSize option + increase default to match vscode.
(#9803) - Ensure that invalid kernels don't hang notebook startup or running.
(#9845) - Switching kernels should disable the run/interrupt/restart buttons.
(#9935) - Prompt to install
pandas
if not found when opening theData Viewer
.
(#9944) - Prompt to reload VS Code when changing the Jupyter Server connection.
(#9945) - Support opening spark dataframes in the data viewer.
(#9959) - Make sure metadata in a cell survives execution.
(#9997) - Fix run all cells to force each cell to finish before running the next one.
(#10016) - Fix interrupts from always thinking a restart occurred.
(#10050) - Do not delay activation of extension by waiting for terminal to get activated.
(#10094) - LiveShare can prevent the jupyter server from starting if it crashes.
(#10097) - Mark
poetry.lock
file as toml syntax.
(thanks to remcohaszing)
(#10111) - Hide input in
Interactive Window
based on the settingallowInput
.
(#10124) - Fix scrolling for output to consistently scroll even during execution.
(#10137) - Correct image backgrounds for notebook editor.
(#10154) - Fix empty variables to show an empty string in the Notebook/Interactive Window variable explorer.
(#10204) - In addition to updating current working directory also add on our notebook file path to sys.path to match Jupyter.
(#10227) - Ensure message (about trimmed output) displayed in an output cell looks like a link.
(#10231) - Users can opt into or opt out of experiments in remote scenarios.
(#10232) - Ensure to correctly return env variables of the activated interpreter, when dealing with non-workspace interpreters.
(#10250) - Update kernel environments before each run to use the latest environment. Only do this for kernel specs created by the python extension.
(#10255) - Don't start up and shutdown an extra Jupyter notebook on server startup.
(#10311) - When you install missing dependencies for Jupyter successfully in an active interpreter also set that interpreter as the Jupyter selected interpreter.
(#10359) - Ensure default
host
is not set, ifconnect
orlisten
settings are available.
(#10597)
Code Health
- Use the new VS Code filesystem API as much as possible.
(#6911) - Functional tests using real jupyter can take 30-90 seconds each. Most of this time is searching for interpreters. Cache the interpreter search.
(#7997) - Use Python 3.8 in tests run on Azure DevOps.
(#8298) - Display
Commands
related toInteractive Window
andNotebooks
only when necessary.
(#8869) - Change cursor styles of buttons
pointer
inInteractive Window
andNative Editor
.
(#9341) - Update Jedi to 0.16.0.
(#9765) - Update version of
VSCode
inpackage.json
to1.42
.
(#10046) - Capture
mimetypes
of cell outputs.
(#10182) - Use debugpy in the core extension instead of ptvsd.
(#10184) - Add telemetry ...
2020.2.64397
2020.2.3 (21 February 2020)
Fixes
- Ensure to correctly return env variables of the activated interpreter, when dealing with non-workspace interpreters.
(#10250)