|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## 2020.7.0-rc (8 July 2020) |
| 4 | + |
| 5 | +### Enhancements |
| 6 | + |
| 7 | +1. 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). |
| 8 | + Works with password authentication. |
| 9 | + ([#9679](https://github.com/Microsoft/vscode-python/issues/9679)) |
| 10 | +1. Added "argsExpansion" to debugpy launch.json schema. |
| 11 | + ([#11678](https://github.com/Microsoft/vscode-python/issues/11678)) |
| 12 | +1. The extension will now automatically load if a `pyproject.toml` file is present in the workspace root directory. (@BrandonLWhite) |
| 13 | + ([#12056](https://github.com/Microsoft/vscode-python/issues/12056)) |
| 14 | +1. Add ability to check and update whether a notebook is trusted. |
| 15 | + ([#12146](https://github.com/Microsoft/vscode-python/issues/12146)) |
| 16 | +1. Support formatting of Notebook Cells when using the VS Code Insiders API for Notebooks. |
| 17 | + ([#12195](https://github.com/Microsoft/vscode-python/issues/12195)) |
| 18 | +1. Added exporting notebooks to HTML. |
| 19 | + ([#12375](https://github.com/Microsoft/vscode-python/issues/12375)) |
| 20 | +1. Change stock launch.json "attach" config to use "connect". |
| 21 | + ([#12446](https://github.com/Microsoft/vscode-python/issues/12446)) |
| 22 | +1. Update to the latest version of [`jedi`](https://github.com/davidhalter/jedi) (`0.17.1`). This brings completions for Django (via [`django-stubs`](https://github.com/typeddjango/django-stubs)) as well as support for Python 3.9 and various bugfixes (mostly around generic type annotations). (thanks [Peter Law](https://gitlab.com/PeterJCLaw/)) |
| 23 | + ([#12486](https://github.com/Microsoft/vscode-python/issues/12486)) |
| 24 | +1. Prompt users that we have deleted pythonPath from their workspace settings when in `Deprecate PythonPath` experiment. |
| 25 | + ([#12533](https://github.com/Microsoft/vscode-python/issues/12533)) |
| 26 | +1. Changed public API for execution to return an object and provide a callback which is called when interpreter setting changes. |
| 27 | + ([#12596](https://github.com/Microsoft/vscode-python/issues/12596)) |
| 28 | +1. 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. |
| 29 | + ([#12611](https://github.com/Microsoft/vscode-python/issues/12611)) |
| 30 | +1. Include the JUPYTER_PATH environment variable when searching the disk for kernels. |
| 31 | + ([#12694](https://github.com/Microsoft/vscode-python/issues/12694)) |
| 32 | +1. Added exporting to python, HTML and PDF from the interative window. |
| 33 | + ([#12732](https://github.com/Microsoft/vscode-python/issues/12732)) |
| 34 | +1. Show a prompt asking user to upgrade Code runner to new version to keep using it when in Deprecate PythonPath experiment. |
| 35 | + ([#12764](https://github.com/Microsoft/vscode-python/issues/12764)) |
| 36 | + |
| 37 | +### Fixes |
| 38 | + |
| 39 | +1. Ensure we only have a single isort process running on a single file. |
| 40 | + ([#10579](https://github.com/Microsoft/vscode-python/issues/10579)) |
| 41 | +1. Provided a method for external partners to participate in jupyter server URI picking/authentication. |
| 42 | + ([#10993](https://github.com/Microsoft/vscode-python/issues/10993)) |
| 43 | +1. In Markdown cells, turn HTML links to markdown links so that nteract renders them. |
| 44 | + ([#11254](https://github.com/Microsoft/vscode-python/issues/11254)) |
| 45 | +1. Prevent incorrect ipywidget display (double plots) due to synchronization issues. |
| 46 | + ([#11281](https://github.com/Microsoft/vscode-python/issues/11281)) |
| 47 | +1. Removed the Kernel Selection toolbar from the Interactive Window when using a local Jupyter Server. |
| 48 | + To show it again, set the setting 'Python > Data Science > Show Kernel Selection On Interactive Window'. |
| 49 | + ([#11347](https://github.com/Microsoft/vscode-python/issues/11347)) |
| 50 | +1. Get Jupyter connections to work with a Windows store installed Python/Jupyter combination. |
| 51 | + ([#11412](https://github.com/Microsoft/vscode-python/issues/11412)) |
| 52 | +1. Disable hover intellisense in the interactive window unless the code is expanded. |
| 53 | + ([#11459](https://github.com/Microsoft/vscode-python/issues/11459)) |
| 54 | +1. Make layout of markdown editors much faster to open. |
| 55 | + ([#11584](https://github.com/Microsoft/vscode-python/issues/11584)) |
| 56 | +1. Watermark in the interactive window can appear on top of entered text. |
| 57 | + ([#11691](https://github.com/Microsoft/vscode-python/issues/11691)) |
| 58 | +1. Jupyter can fail to run a kernel if the user's environment contains non string values. |
| 59 | + ([#11749](https://github.com/Microsoft/vscode-python/issues/11749)) |
| 60 | +1. On Mac meta+Z commands are performing both cell and editor undos. |
| 61 | + ([#11758](https://github.com/Microsoft/vscode-python/issues/11758)) |
| 62 | +1. Paste can sometimes double paste into a notebook or interactive window editor. |
| 63 | + ([#11796](https://github.com/Microsoft/vscode-python/issues/11796)) |
| 64 | +1. Fix jupyter connections going down when azure-storage or other extensions with node-fetch are installed. |
| 65 | + ([#11830](https://github.com/Microsoft/vscode-python/issues/11830)) |
| 66 | +1. Variables should not flash when running by line. |
| 67 | + ([#12046](https://github.com/Microsoft/vscode-python/issues/12046)) |
| 68 | +1. Discard changes on Notebooks when the user selects 'Don't Save' on the save changes dialog. |
| 69 | + ([#12180](https://github.com/Microsoft/vscode-python/issues/12180)) |
| 70 | +1. Disable `Extract variable & method` commands in `Notebook Cells`. |
| 71 | + ([#12206](https://github.com/Microsoft/vscode-python/issues/12206)) |
| 72 | +1. Disable linting in Notebook Cells. |
| 73 | + ([#12208](https://github.com/Microsoft/vscode-python/issues/12208)) |
| 74 | +1. Register services before extension activates. |
| 75 | + ([#12227](https://github.com/Microsoft/vscode-python/issues/12227)) |
| 76 | +1. Infinite loop of asking to reload the extension when enabling custom editor. |
| 77 | + ([#12231](https://github.com/Microsoft/vscode-python/issues/12231)) |
| 78 | +1. Fix raw kernel autostart and remove jupyter execution from interactive base. |
| 79 | + ([#12330](https://github.com/Microsoft/vscode-python/issues/12330)) |
| 80 | +1. If we fail to start a raw kernel daemon then fall back to using process execution. |
| 81 | + ([#12355](https://github.com/Microsoft/vscode-python/issues/12355)) |
| 82 | +1. Fix the export button from the interactive window to export again. |
| 83 | + ([#12460](https://github.com/Microsoft/vscode-python/issues/12460)) |
| 84 | +1. Process Jupyter messages synchronously when possible. |
| 85 | + ([#12588](https://github.com/Microsoft/vscode-python/issues/12588)) |
| 86 | +1. Open variable explorer when opening variable explorer during debugging. |
| 87 | + ([#12773](https://github.com/Microsoft/vscode-python/issues/12773)) |
| 88 | + |
| 89 | +### Code Health |
| 90 | + |
| 91 | +1. Move all logging to the Python output channel. |
| 92 | + ([#9837](https://github.com/Microsoft/vscode-python/issues/9837)) |
| 93 | +1. Add a functional test that opens both the interactive window and a notebook at the same time. |
| 94 | + ([#11445](https://github.com/Microsoft/vscode-python/issues/11445)) |
| 95 | +1. Added setting `python.logging.level` which carries the logging level value the extension will log at. |
| 96 | + ([#11699](https://github.com/Microsoft/vscode-python/issues/11699)) |
| 97 | +1. Monkeypatch `console.*` calls to the logger only in CI. |
| 98 | + ([#11896](https://github.com/Microsoft/vscode-python/issues/11896)) |
| 99 | +1. Replace python.dataScience.ptvsdDistPath with python.dataScience.debugpyDistPath. |
| 100 | + ([#11993](https://github.com/Microsoft/vscode-python/issues/11993)) |
| 101 | +1. Rename ptvsd to debugpy in Telemetry. |
| 102 | + ([#11996](https://github.com/Microsoft/vscode-python/issues/11996)) |
| 103 | +1. Update JSDoc annotations for many of the APIs (thanks [Anthony Shaw](https://github.com/tonybaloney)) |
| 104 | + ([#12101](https://github.com/Microsoft/vscode-python/issues/12101)) |
| 105 | +1. Refactor `LinterId` to an enum instead of a string union. |
| 106 | + (thanks to [Anthony Shaw](https://github.com/tonybaloney)) |
| 107 | + ([#12116](https://github.com/Microsoft/vscode-python/issues/12116)) |
| 108 | +1. Remove webserver used to host contents in WebViews. |
| 109 | + ([#12140](https://github.com/Microsoft/vscode-python/issues/12140)) |
| 110 | +1. Inline interface due to issues with custom types when using `ts-node`. |
| 111 | + ([#12238](https://github.com/Microsoft/vscode-python/issues/12238)) |
| 112 | +1. Fix linux nightly tests so they run and report results. Also seems to get rid of stream destroyed messages for raw kernel. |
| 113 | + ([#12539](https://github.com/Microsoft/vscode-python/issues/12539)) |
| 114 | +1. Log ExP experiments the user belongs to in the output panel. |
| 115 | + ([#12656](https://github.com/Microsoft/vscode-python/issues/12656)) |
| 116 | +1. Add more telemetry for "Select Interpreter" command. |
| 117 | + ([#12722](https://github.com/Microsoft/vscode-python/issues/12722)) |
| 118 | + |
| 119 | +### Thanks |
| 120 | + |
| 121 | +Thanks to the following projects which we fully rely on to provide some of |
| 122 | +our features: |
| 123 | + |
| 124 | +- [debugpy](https://pypi.org/project/debugpy/) |
| 125 | +- [isort](https://pypi.org/project/isort/) |
| 126 | +- [jedi](https://pypi.org/project/jedi/) |
| 127 | + and [parso](https://pypi.org/project/parso/) |
| 128 | +- [Microsoft Python Language Server](https://github.com/microsoft/python-language-server) |
| 129 | +- [exuberant ctags](http://ctags.sourceforge.net/) (user-installed) |
| 130 | +- [rope](https://pypi.org/project/rope/) (user-installed) |
| 131 | + |
| 132 | +Also thanks to the various projects we provide integrations with which help |
| 133 | +make this extension useful: |
| 134 | + |
| 135 | +- Debugging support: |
| 136 | + [Django](https://pypi.org/project/Django/), |
| 137 | + [Flask](https://pypi.org/project/Flask/), |
| 138 | + [gevent](https://pypi.org/project/gevent/), |
| 139 | + [Jinja](https://pypi.org/project/Jinja/), |
| 140 | + [Pyramid](https://pypi.org/project/pyramid/), |
| 141 | + [PySpark](https://pypi.org/project/pyspark/), |
| 142 | + [Scrapy](https://pypi.org/project/Scrapy/), |
| 143 | + [Watson](https://pypi.org/project/Watson/) |
| 144 | +- Formatting: |
| 145 | + [autopep8](https://pypi.org/project/autopep8/), |
| 146 | + [black](https://pypi.org/project/black/), |
| 147 | + [yapf](https://pypi.org/project/yapf/) |
| 148 | +- Interpreter support: |
| 149 | + [conda](https://conda.io/), |
| 150 | + [direnv](https://direnv.net/), |
| 151 | + [pipenv](https://pypi.org/project/pipenv/), |
| 152 | + [pyenv](https://github.com/pyenv/pyenv), |
| 153 | + [venv](https://docs.python.org/3/library/venv.html#module-venv), |
| 154 | + [virtualenv](https://pypi.org/project/virtualenv/) |
| 155 | +- Linting: |
| 156 | + [bandit](https://pypi.org/project/bandit/), |
| 157 | + [flake8](https://pypi.org/project/flake8/), |
| 158 | + [mypy](https://pypi.org/project/mypy/), |
| 159 | + [prospector](https://pypi.org/project/prospector/), |
| 160 | + [pylint](https://pypi.org/project/pylint/), |
| 161 | + [pydocstyle](https://pypi.org/project/pydocstyle/), |
| 162 | + [pylama](https://pypi.org/project/pylama/) |
| 163 | +- Testing: |
| 164 | + [nose](https://pypi.org/project/nose/), |
| 165 | + [pytest](https://pypi.org/project/pytest/), |
| 166 | + [unittest](https://docs.python.org/3/library/unittest.html#module-unittest) |
| 167 | + |
| 168 | +And finally thanks to the [Python](https://www.python.org/) development team and |
| 169 | +community for creating a fantastic programming language and community to be a |
| 170 | +part of! |
| 171 | + |
3 | 172 | ## 2020.6.3 (30 June 2020)
|
4 | 173 |
|
5 | 174 | ### Fixes
|
|
0 commit comments