|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## 2020.3.0-rc (9 March 2020) |
| 4 | + |
| 5 | +### Enhancements |
| 6 | + |
| 7 | +1. Make interactive window wrap like the notebook editor does. |
| 8 | + ([#4466](https://github.com/Microsoft/vscode-python/issues/4466)) |
| 9 | +1. Support scrolling beyond the last line in the notebook editor and the interactive window. Uses the `editor.scrollBeyondLastLine` setting. |
| 10 | + ([#7892](https://github.com/Microsoft/vscode-python/issues/7892)) |
| 11 | +1. Allow user to override the arguments passed to Jupyter on startup. To change the arguments, run the 'Python: Specify Jupyter command line arguments" command. |
| 12 | + ([#8698](https://github.com/Microsoft/vscode-python/issues/8698)) |
| 13 | +1. When entering remote Jupyter Server, default the input value to uri in clipboard. |
| 14 | + ([#9163](https://github.com/Microsoft/vscode-python/issues/9163)) |
| 15 | +1. Added a command to allow users to select a kernel for a `Notebook`. |
| 16 | + ([#9228](https://github.com/Microsoft/vscode-python/issues/9228)) |
| 17 | +1. When saving new `notebooks`, default to the current workspace folder. |
| 18 | + ([#9331](https://github.com/Microsoft/vscode-python/issues/9331)) |
| 19 | +1. When the output of a cell gets trimmed for the first time, the user will be informed of it and which setting changes it. |
| 20 | + ([#9401](https://github.com/Microsoft/vscode-python/issues/9401)) |
| 21 | +1. Change the parameters for when a Data Science survey prompt comes up. After opening 5 notebooks (ever) or running 100 cells (ever). |
| 22 | + ([#10186](https://github.com/Microsoft/vscode-python/issues/10186)) |
| 23 | +1. Show quickfixes for launch.json. |
| 24 | + ([#10245](https://github.com/Microsoft/vscode-python/issues/10245)) |
| 25 | + |
| 26 | +### Fixes |
| 27 | + |
| 28 | +1. Remove extra lines at the end of the file when formatting with Black. |
| 29 | + ([#1877](https://github.com/Microsoft/vscode-python/issues/1877)) |
| 30 | +1. Capitalize `Activate.ps1` in code for PowerShell Core on Linux. |
| 31 | + ([#2607](https://github.com/Microsoft/vscode-python/issues/2607)) |
| 32 | +1. Change interactive window to use the python interpreter associated with the file being run. |
| 33 | + ([#3123](https://github.com/Microsoft/vscode-python/issues/3123)) |
| 34 | +1. Make line numbers in errors for the Interactive window match the original file and make them clickable for jumping back to an error location. |
| 35 | + ([#6370](https://github.com/Microsoft/vscode-python/issues/6370)) |
| 36 | +1. Fix magic commands that return 'paged' output. |
| 37 | + ([#6900](https://github.com/Microsoft/vscode-python/issues/6900)) |
| 38 | +1. Ensure model is updated with user changes after user types into the editor. |
| 39 | + ([#8589](https://github.com/Microsoft/vscode-python/issues/8589)) |
| 40 | +1. Fix latex output from a code cell to render correctly. |
| 41 | + ([#8742](https://github.com/Microsoft/vscode-python/issues/8742)) |
| 42 | +1. Toggling cell type from `code` to `markdown` will not set focus to the editor in cells of a `Notebook`. |
| 43 | + ([#9102](https://github.com/Microsoft/vscode-python/issues/9102)) |
| 44 | +1. Remove whitespace from code before pushing to the interactive window. |
| 45 | + ([#9116](https://github.com/Microsoft/vscode-python/issues/9116)) |
| 46 | +1. Have sys info show that we have connected to an existing server. |
| 47 | + ([#9132](https://github.com/Microsoft/vscode-python/issues/9132)) |
| 48 | +1. Fix IPython.clear_output to behave like Jupyter. |
| 49 | + ([#9174](https://github.com/Microsoft/vscode-python/issues/9174)) |
| 50 | +1. Jupyter output tab was not showing anything when connecting to a remote server. |
| 51 | + ([#9177](https://github.com/Microsoft/vscode-python/issues/9177)) |
| 52 | +1. Fixed our css generation from custom color themes which caused the Data Viewer to not load. |
| 53 | + ([#9242](https://github.com/Microsoft/vscode-python/issues/9242)) |
| 54 | +1. Allow a user to skip switching to a kernel if the kernel dies during startup. |
| 55 | + ([#9250](https://github.com/Microsoft/vscode-python/issues/9250)) |
| 56 | +1. Clean up interative window styling and set focus to input box if clicking in the interactive window. |
| 57 | + ([#9282](https://github.com/Microsoft/vscode-python/issues/9282)) |
| 58 | +1. Change icon spacing to match vscode icon spacing in native editor toolbars and interactive window toolbar. |
| 59 | + ([#9283](https://github.com/Microsoft/vscode-python/issues/9283)) |
| 60 | +1. Display diff viewer for `ipynb` files without opening `Notebooks`. |
| 61 | + ([#9395](https://github.com/Microsoft/vscode-python/issues/9395)) |
| 62 | +1. Python environments will not be activated in terminals hidden from the user. |
| 63 | + ([#9503](https://github.com/Microsoft/vscode-python/issues/9503)) |
| 64 | +1. Disable `Restart Kernel` and `Interrupt Kernel` buttons when a `kernel` has not yet started. |
| 65 | + ([#9731](https://github.com/Microsoft/vscode-python/issues/9731)) |
| 66 | +1. Fixed an issue with multiple latex formulas in the same '\$\$' block. |
| 67 | + ([#9766](https://github.com/Microsoft/vscode-python/issues/9766)) |
| 68 | +1. Make notebook editor and interactive window honor undocumented editor.scrollbar.verticalScrollbarSize option + increase default to match vscode. |
| 69 | + ([#9803](https://github.com/Microsoft/vscode-python/issues/9803)) |
| 70 | +1. Ensure that invalid kernels don't hang notebook startup or running. |
| 71 | + ([#9845](https://github.com/Microsoft/vscode-python/issues/9845)) |
| 72 | +1. Switching kernels should disable the run/interrupt/restart buttons. |
| 73 | + ([#9935](https://github.com/Microsoft/vscode-python/issues/9935)) |
| 74 | +1. Prompt to install `pandas` if not found when opening the `Data Viewer`. |
| 75 | + ([#9944](https://github.com/Microsoft/vscode-python/issues/9944)) |
| 76 | +1. Prompt to reload VS Code when changing the Jupyter Server connection. |
| 77 | + ([#9945](https://github.com/Microsoft/vscode-python/issues/9945)) |
| 78 | +1. Support opening spark dataframes in the data viewer. |
| 79 | + ([#9959](https://github.com/Microsoft/vscode-python/issues/9959)) |
| 80 | +1. Make sure metadata in a cell survives execution. |
| 81 | + ([#9997](https://github.com/Microsoft/vscode-python/issues/9997)) |
| 82 | +1. Fix run all cells to force each cell to finish before running the next one. |
| 83 | + ([#10016](https://github.com/Microsoft/vscode-python/issues/10016)) |
| 84 | +1. Fix interrupts from always thinking a restart occurred. |
| 85 | + ([#10050](https://github.com/Microsoft/vscode-python/issues/10050)) |
| 86 | +1. Do not delay activation of extension by waiting for terminal to get activated. |
| 87 | + ([#10094](https://github.com/Microsoft/vscode-python/issues/10094)) |
| 88 | +1. LiveShare can prevent the jupyter server from starting if it crashes. |
| 89 | + ([#10097](https://github.com/Microsoft/vscode-python/issues/10097)) |
| 90 | +1. Mark `poetry.lock` file as toml syntax. |
| 91 | + (thanks to [remcohaszing](https://github.com/remcohaszing/)) |
| 92 | + ([#10111](https://github.com/Microsoft/vscode-python/issues/10111)) |
| 93 | +1. Hide input in `Interactive Window` based on the setting `allowInput`. |
| 94 | + ([#10124](https://github.com/Microsoft/vscode-python/issues/10124)) |
| 95 | +1. Fix scrolling for output to consistently scroll even during execution. |
| 96 | + ([#10137](https://github.com/Microsoft/vscode-python/issues/10137)) |
| 97 | +1. Correct image backgrounds for notebook editor. |
| 98 | + ([#10154](https://github.com/Microsoft/vscode-python/issues/10154)) |
| 99 | +1. Fix empty variables to show an empty string in the Notebook/Interactive Window variable explorer. |
| 100 | + ([#10204](https://github.com/Microsoft/vscode-python/issues/10204)) |
| 101 | +1. In addition to updating current working directory also add on our notebook file path to sys.path to match Jupyter. |
| 102 | + ([#10227](https://github.com/Microsoft/vscode-python/issues/10227)) |
| 103 | +1. Ensure message (about trimmed output) displayed in an output cell looks like a link. |
| 104 | + ([#10231](https://github.com/Microsoft/vscode-python/issues/10231)) |
| 105 | +1. Users can opt into or opt out of experiments in remote scenarios. |
| 106 | + ([#10232](https://github.com/Microsoft/vscode-python/issues/10232)) |
| 107 | +1. Ensure to correctly return env variables of the activated interpreter, when dealing with non-workspace interpreters. |
| 108 | + ([#10250](https://github.com/Microsoft/vscode-python/issues/10250)) |
| 109 | +1. Update kernel environments before each run to use the latest environment. Only do this for kernel specs created by the python extension. |
| 110 | + ([#10255](https://github.com/Microsoft/vscode-python/issues/10255)) |
| 111 | +1. Don't start up and shutdown an extra Jupyter notebook on server startup. |
| 112 | + ([#10311](https://github.com/Microsoft/vscode-python/issues/10311)) |
| 113 | +1. When you install missing dependencies for Jupyter successfully in an active interpreter also set that interpreter as the Jupyter selected interpreter. |
| 114 | + ([#10359](https://github.com/Microsoft/vscode-python/issues/10359)) |
| 115 | + |
| 116 | +### Code Health |
| 117 | + |
| 118 | +1. Use the new VS Code filesystem API as much as possible. |
| 119 | + ([#6911](https://github.com/Microsoft/vscode-python/issues/6911)) |
| 120 | +1. Functional tests using real jupyter can take 30-90 seconds each. Most of this time is searching for interpreters. Cache the interpreter search. |
| 121 | + ([#7997](https://github.com/Microsoft/vscode-python/issues/7997)) |
| 122 | +1. Use Python 3.8 in tests run on Azure DevOps. |
| 123 | + ([#8298](https://github.com/Microsoft/vscode-python/issues/8298)) |
| 124 | +1. Display `Commands` related to `Interactive Window` and `Notebooks` only when necessary. |
| 125 | + ([#8869](https://github.com/Microsoft/vscode-python/issues/8869)) |
| 126 | +1. Change cursor styles of buttons `pointer` in `Interactive Window` and `Native Editor`. |
| 127 | + ([#9341](https://github.com/Microsoft/vscode-python/issues/9341)) |
| 128 | +1. Update Jedi to 0.16.0. |
| 129 | + ([#9765](https://github.com/Microsoft/vscode-python/issues/9765)) |
| 130 | +1. Update version of `VSCode` in `package.json` to `1.42`. |
| 131 | + ([#10046](https://github.com/Microsoft/vscode-python/issues/10046)) |
| 132 | +1. Capture `mimetypes` of cell outputs. |
| 133 | + ([#10182](https://github.com/Microsoft/vscode-python/issues/10182)) |
| 134 | +1. Use debugpy in the core extension instead of ptvsd. |
| 135 | + ([#10184](https://github.com/Microsoft/vscode-python/issues/10184)) |
| 136 | +1. Remove UI Tests. |
| 137 | + ([#10192](https://github.com/Microsoft/vscode-python/issues/10192)) |
| 138 | +1. Add telemetry for imports in notebooks. |
| 139 | + ([#10209](https://github.com/Microsoft/vscode-python/issues/10209)) |
| 140 | +1. Update data science component to use `debugpy`. |
| 141 | + ([#10211](https://github.com/Microsoft/vscode-python/issues/10211)) |
| 142 | +1. Use new MacOS VM in Pipelines. |
| 143 | + ([#10288](https://github.com/Microsoft/vscode-python/issues/10288)) |
| 144 | +1. Split the windows PR tests into two sections so they do not time out. |
| 145 | + ([#10293](https://github.com/Microsoft/vscode-python/issues/10293)) |
| 146 | + |
| 147 | +### Thanks |
| 148 | + |
| 149 | +Thanks to the following projects which we fully rely on to provide some of |
| 150 | +our features: |
| 151 | + |
| 152 | +- [debugpy](https://pypi.org/project/debugpy/) |
| 153 | +- [isort](https://pypi.org/project/isort/) |
| 154 | +- [jedi](https://pypi.org/project/jedi/) |
| 155 | + and [parso](https://pypi.org/project/parso/) |
| 156 | +- [Microsoft Python Language Server](https://github.com/microsoft/python-language-server) |
| 157 | +- [ptvsd](https://pypi.org/project/ptvsd/) |
| 158 | +- [exuberant ctags](http://ctags.sourceforge.net/) (user-installed) |
| 159 | +- [rope](https://pypi.org/project/rope/) (user-installed) |
| 160 | + |
| 161 | +Also thanks to the various projects we provide integrations with which help |
| 162 | +make this extension useful: |
| 163 | + |
| 164 | +- Debugging support: |
| 165 | + [Django](https://pypi.org/project/Django/), |
| 166 | + [Flask](https://pypi.org/project/Flask/), |
| 167 | + [gevent](https://pypi.org/project/gevent/), |
| 168 | + [Jinja](https://pypi.org/project/Jinja/), |
| 169 | + [Pyramid](https://pypi.org/project/pyramid/), |
| 170 | + [PySpark](https://pypi.org/project/pyspark/), |
| 171 | + [Scrapy](https://pypi.org/project/Scrapy/), |
| 172 | + [Watson](https://pypi.org/project/Watson/) |
| 173 | +- Formatting: |
| 174 | + [autopep8](https://pypi.org/project/autopep8/), |
| 175 | + [black](https://pypi.org/project/black/), |
| 176 | + [yapf](https://pypi.org/project/yapf/) |
| 177 | +- Interpreter support: |
| 178 | + [conda](https://conda.io/), |
| 179 | + [direnv](https://direnv.net/), |
| 180 | + [pipenv](https://pypi.org/project/pipenv/), |
| 181 | + [pyenv](https://github.com/pyenv/pyenv), |
| 182 | + [venv](https://docs.python.org/3/library/venv.html#module-venv), |
| 183 | + [virtualenv](https://pypi.org/project/virtualenv/) |
| 184 | +- Linting: |
| 185 | + [bandit](https://pypi.org/project/bandit/), |
| 186 | + [flake8](https://pypi.org/project/flake8/), |
| 187 | + [mypy](https://pypi.org/project/mypy/), |
| 188 | + [prospector](https://pypi.org/project/prospector/), |
| 189 | + [pylint](https://pypi.org/project/pylint/), |
| 190 | + [pydocstyle](https://pypi.org/project/pydocstyle/), |
| 191 | + [pylama](https://pypi.org/project/pylama/) |
| 192 | +- Testing: |
| 193 | + [nose](https://pypi.org/project/nose/), |
| 194 | + [pytest](https://pypi.org/project/pytest/), |
| 195 | + [unittest](https://docs.python.org/3/library/unittest.html#module-unittest) |
| 196 | + |
| 197 | +And finally thanks to the [Python](https://www.python.org/) development team and |
| 198 | +community for creating a fantastic programming language and community to be a |
| 199 | +part of! |
| 200 | + |
3 | 201 | ## 2020.2.3 (21 February 2020)
|
4 | 202 |
|
5 | 203 | ### Fixes
|
|
0 commit comments