Releases: microsoft/vscode-python
Releases · microsoft/vscode-python
2021.5.840043038
2021.5.829140558
2021.5.0 (10 May 2021)
Enhancements
- In an integrated TensorBoard session, if the jump to source request is for a file that does not exist on disk, allow the user to manually specify the file using the system file picker.
(#15695) - Allow running tests for all files within directories from test explorer.
(thanks Vladimir Kotikov)
(#15862) - Reveal selection in editor after jump to source command. (thanks Wenlu Wang)
(#15924) - Add support for debugger code reloading.
(#16029) - Add Python: Refresh TensorBoard command, keybinding and editor title button to reload TensorBoard (equivalent to browser refresh).
(#16053) - Automatically indent following
matchandcasestatements. (thanks Marc Mueller)
(#16104) - Bundle Pylance with the extension as an optional dependency.
(#16116) - Add a "Default" language server option, which dynamically chooses which language server to use.
(#16157)
Fixes
- Stop
unittest.TestCaseappearing as a test suite in the test explorer tree.
(thanks Bob).
(#15681) - Support
~in WORKON_HOME and venvPath setting when in discovery experiment.
(#15788) - Fix TensorBoard integration in Remote-SSH by auto-configuring port forwards.
(#15807) - Ensure venvPath and venvFolders setting can only be set at User or Remote settings.
(#15947) - Added compatability with pypy3.7 interpreter.
(thanks Oliver Margetts)
(#15968) - Revert linter installation prompt removal.
(#16027) - Ensure that
dataclassesis installed when using Jedi LSP.
(#16119)
Code Health
- Log the failures when checking whether certain modules are installed or getting their version information.
(#15837) - Better logging (telemetry) when installation of Python packages fail.
(#15933) - Ensure npm package
canvasis setup as an optional dependency.
(#16127) - Add ability for Jupyter extension to pass addtional installer arguments.
(#16131)
2021.4.765268190
2021.4.0 (19 April 2021)
Enhancements
- Add new command to report an Issue using the vscode-python template.
(#1119) - Highlight
.pypirc,.pep8, and.pylintrcas ini-files. (thanks Jan Pilzer)
(#11250) - Added
python.linting.cwdto change the working directory of the linters. (thanks Matthew Shirley)
(#15170) - Remove prompt to install a linter when none are available.
(#15465) - Add jump to source integration with the PyTorch profiler TensorBoard plugin during TensorBoard sessions.
(#15641) - Drop prompt being displayed on first extension launch with a tip or a survey.
(#15647) - Use the updated logic for normalizing code sent to REPL as the default behavior.
(#15649) - Open TensorBoard webview panel in the active viewgroup on the first launch or the last viewgroup that it was moved to.
(#15708) - Support discovering Poetry virtual environments when in discovery experiment.
(#15765) - Install dev tools using Poetry when the poetry environment related to current folder is selected when in discovery experiment.
(#15786) - Add a refresh icon next to interpreter list.
(#15868) - Added command
Python: Clear internal extension cacheto clear extension related cache.
(#15883)
Fixes
- Fix
python.poetryPathsetting for installer on Windows.
(#9672) - Prevent mypy errors for other files showing in current file.
(thanks Steve Dignam)
(#10190) - Update pytest results when debugging. (thanks djplt)
(#15353) - Ensure release level is set when using new environment discovery component.
(#15462) - Ensure right environment is activated in the terminal when installing Python packages.
(#15503) - Update nosetest results when debugging. (thanks djplt)
(#15642) - Ensure any stray jedi process is terminated on language server dispose.
(#15644) - Fix README image indent for VSCode extension page. (thanks Johnson)
(#15662) - Run
conda updateand notconda installwhen installing a compatible version of thetensorboardpackage.
(#15778) - Temporarily fix support for folders in interpreter path setting.
(#15782) - In completions.py: jedi.api.names has been deprecated, switch to new syntax.
(thanks moselhy).
(#15791) - Fixes activation of prefixed conda environments.
(#15823)
Code Health
- Deprecating on-type line formatter since it isn't used in newer Language servers.
(#15709) - Removing old way of feature deprecation where we showed notification for each feature we deprecated.
(#15714) - Remove unused code from extension.
(#15717) - Add telemetry for identifying torch.profiler users.
(#15825) - Update notebook code to not use deprecated .cells function on NotebookDocument.
(#15885)
2021.3.680753044
2021.3.1 (23 March 2021)
Fixes
- Fix link to create a new Jupyter notebook in Python start page.
(#15621) - Upgrade to latest
jedi-language-serverand use it for python >= 3.6. Usejedi<0.18for python 2.7 and <=3.5.
(#15724) - Check if Python executable file exists instead of launching the Python process.
(#15725) - Fix for Go to definition needs to be pressed twice.
(thanks djplt)
(#15727)
2021.3.658691958
2021.3.0 (16 March 2021)
Enhancements
- Activate the extension when the following files are found:
Pipfile,setup.py,requirements.txt,manage.py,app.py
(thanks Dhaval Soneji)
(#4765) - Add optional user-level
python.tensorBoard.logDirectorysetting. When starting a TensorBoard session, use this setting if it is present instead of prompting the user to select a log directory.
(#15476)
Fixes
- Fix nosetests to run tests only once. (thanks djplt)
(#6043) - Make on-enter behaviour after
raisemuch more like that ofreturn, fixing
handling in the case of pressing enter to wrap the parentheses of an exception
call.
(thanks PeterJCLaw)
(#10583) - Add configuration debugpyPath. (thanks djplt)
(#14631) - Fix Mypy linter pointing to wrong column number (off by one).
(thanks anttipessa, haalto, JeonCD and junskU)
(#14978) - Show each python.org install only once on Mac when in discovery experiment.
(#15302) - All relative interpreter path reported start with
~when in discovery experiment.
(#15312) - Remove FLASK_DEBUG from flask debug configuration to allow reload.
(#15373) - Install using pipenv only if the selected environment is pipenv which is related to workspace folder, when in discovery experiment.
(#15489) - Fixes issue with detecting new installations of Windows Store python.
(#15541) - Add
cached-propertypackage to bundled python packages. This is needed byjedi-language-serverrunning onpython 3.6andpython 3.7.
(#15566) - Remove limit on workspace symbols when using Jedi language server.
(#15576) - Use shorter paths for python interpreter when possible.
(#15580) - Ensure that jedi language server uses jedi shipped with the extension.
(#15586) - Updates to Proposed API, and fix the failure in VS Code Insider tests.
(#15638)
Code Health
-
Add support for "Trusted Workspaces".
"Trusted Workspaces" is an upcoming feature in VS Code. (See:
microsoft/vscode#106488.) For now you need
the following for the experience:- the latest VS Code Insiders
- add
"workspace.trustEnabled": trueto your user settings.json
At that point, when the Python extension would normally activate, VS Code
will prompt you about whether or not the current workspace is trusted.
If not then the extension will be disabled (but only for that workspace).
As soon as the workspace is marked as trusted, the extension will
activate.
(#15525) -
Updates to the VSCode Notebook API.
(#15567) -
Fix failing smoke tests on CI.
(#15573) -
Update VS Code engine to 1.54.0
(#15604) -
Use
onReadymethod available on language client to ensure language server is ready.
(#15612)
2021.2.636928669
2021.2.633441544
2021.2.3 (8 March 2021)
Fixes
- Add event handlers to stream error events to prevent process from exiting due to errors in process stdout & stderr streams.
(#15395)
2021.2.625869727
2021.2.582707922
2021.2.576481509
2021.2.0 (17 February 2021)
Enhancements
- Use Language Server Protocol to work with Jedi.
(#11995)
Fixes
- Don't suggest insiders program nor show start page when in Codespaces.
(#14833) - Fix description of
Pyramiddebug config.
(thanks vvijayalakshmi21)
(#5479) - Refactored the Enable Linting command to provide the user with a choice of "Enable" or "Disable" linting to make it more intuitive. (thanks henryboisdequin)
(#8800) - Fix marketplace links in popups opening a non-browser VS Code instance in Codespaces.
(#14264) - Fixed the error command suggested when attempting to use "debug tests" configuration
(Thanks Shahzaib paracha)
(#14729) - Single test run fails sometimes if there is an error in unrelated file imported during discovery.
(thanks Szymon Janota)
(#15147) - Re-enable localization on the start page. It was accidentally
disabled in October when the Jupyter extension was split out.
(#15232) - Ensure target environment is activated in the terminal when running install scripts.
(#15285) - Allow support for using notebook APIs in the VS code stable build.
(#15364)
Code Health
- Raised the minimum required VS Code version to 1.51.
(#15237)