Releases: microsoft/vscode-python
Releases · microsoft/vscode-python
2023.10.1
What's Changed
Bug Fixes
- Fix for showing Create Environment button in merge result editor by @karthiknadig in #21409
- Revert: Run in dedicated terminal feature due to regressions by @karthiknadig in #21427
Full Changelog: v2023.10.0...v2023.10.1
2023.10.0
What's Changed
Enhancements
- Disable "snippets" expansion in Jedi LSP by @PeterJCLaw in #21194
- Add
createEnvironment.contentButton
setting by @karthiknadig in #21212 - Added option to run multiple Python files in separate terminals by @karrtikr in #21223
- Add option for pyenv interpreters when creating environments with venv by @JonathanRayner in #21219
- Detect installed packages in the selected environment by @karthiknadig in #21231
- Set up testing rewrite experiment by @eleanorjboyd in #21258
- Apply environment variables after shell initialization scripts are run in
pythonTerminalEnvVarActivation
experiment by @karrtikr in #21290 - Add pythonTestAdapter to experiment enum by @eleanorjboyd in #21357
Bug Fixes
- Add reload flag on fastApi provider by @paulacamargo25 in #21241
- Don't show command for button trigger in command pallet by @karthiknadig in #21350
- Fix bug so canceling debug works in rewrite by @eleanorjboyd in #21361
Code Health
- Update extension to node 16 by @karthiknadig in #21161
- Fix typo in a type declaration of MultiStepInput module by @cpinamtz in #21156
- Insert debug configuration function on every quickpick item by @cpinamtz in #21165
- Add some more coverage to utils functions by @cpinamtz in #21026
- Use
saveEditor
proposed API for running untitled Python files by @karrtikr in #21183 - Remove hack to check the vscode version by @paulacamargo25 in #21180
- Use actions from
vscode-github-triage-actions
in all Python automations by @karrtikr in #21178 - Open separate Python terminals when running different Python files by @karrtikr in #21202
- Fix startup telemetry issue by @karrtikr in #21203
- Add logging when interpreter path changes by @karrtikr in #21210
- Remove IS_WINDOWS constant in favor of PlatformService by @cpinamtz in #21157
- Do not open "save as" window when running existing Python files by @karrtikr in #21232
- Revert "Remove hack to check the vscode version" by @karrtikr in #21294
- Update pyright version by @paulacamargo25 in #21296
- Check config type in the ChildProcessAttachEvents by @paulacamargo25 in #21272
- Allow pytest tests to handle multiple payloads by @eleanorjboyd in #21301
- Adding extra log messages for rewrite debugging by @eleanorjboyd in #21352
New Contributors
- @JonathanRayner made their first contribution in #21219
Full Changelog: 2023.8.0...2023.10.0
2023.8.0
What's Changed
Enhancements
- No longer install the Jupyter extension by default by @luabud in #20218
- Add nushell support to venv activation by @flying-sheep in #20842
- Add
microvenv
support for non-windows platforms by @karthiknadig in #20985 - Localize walkthroughs by @karthiknadig in #21045
- Direct users to the Jupyter extension when using Run in Interactive window by @karrtikr in #21072
- Add quick pick hover support to explain conda environment lacking a Python interpreter by @karrtikr in #21073
- Create environment proposed API by @karthiknadig in #21074
- Support
pythonTerminalEnvVarActivation
experiment in multiroot workspaces by @karrtikr in #21047 - Update to latest
debugpy
version 1.6.7 by @karthiknadig in #21001
Bug Fixes
- Fix telemetry when updating pip by @karthiknadig in #20903
- Fix running Untitled files with the play button by @karrtikr in #20955
- Don't show create env in diff editor by @karthiknadig in #20998
- Make fixes to
pythonTerminalEnvVarActivation
experiment by @karrtikr in #21036 - Fix workspaceFolderToken -> workspaceFolder by @pamelafox in #21095
- Fix telemetry event when using debug file configuration by @r3m0t in #21118
- Show formatter extension install prompt and not the old prompt by @karthiknadig in #21138
Code Health
- Add diagnostic to validate ComSpec by @karrtikr in #20927
- Fix linting in APIs by @paulacamargo25 in #20623
- Auto add community feedback comment by @karthiknadig in #20956
- Move 'Run in ...' commands to sub-menu by @karthiknadig in #20965
- Automatically add and remove the "info needed" label by @karrtikr in #20970
- Remove non-existent files from
.eslintignore
by @cpinamtz in #21011 - Add an automation to close issue with response if Python 2.7 was selected by @karrtikr in #21003
- fix typing to be 3.7 compatible by @eleanorjboyd in #21012
- add tests for unittest execution adapter by @eleanorjboyd in #21017
- Switch to lists for checking known UUIDs in Test Server by @eleanorjboyd in #21018
- Add Testing for PytestExecutionAdapter by @eleanorjboyd in #21019
- Add testing for unittest execution python logic by @eleanorjboyd in #21022
- Fix debugging when using "internalConsole" by @karrtikr in #21033
- Expand Testing for Unittest Run in PythonFiles by @eleanorjboyd in #21028
- Remove unused bits entries from package.json by @karthiknadig in #21046
- Use new logging API for python extension logger and LS logger by @karthiknadig in #21062
- Add black to
extensions.json
by @cpinamtz in #20912 - Deprecate python logging level setting by @karthiknadig in #21083
- Pytest fix execution args by @eleanorjboyd in #21094
New Contributors
- @flying-sheep made their first contribution in #20842
- @aidoskanapyanov made their first contribution in #21048
- @pamelafox made their first contribution in #21095
- @r3m0t made their first contribution in #21118
Full Changelog: 2023.6.1...2023.8.0
2023.6.1
What's Changed
Bug Fixes
- Don't show create env in diff editor by @karthiknadig in #20999
- Fix debugging when using "internalConsole" by @karrtikr in #21068
Full Changelog: 2023.6.0...2023.6.1
2023.6.0
What's Changed
Enhancements
- Add option to control if environment is selected after creation by @karthiknadig in #20738
- Add experiment to implicitly use environment variables for environment activation by @karrtikr in #20651
- Show prompt asking user to install formatter extension by @karthiknadig in #20861
- Ensure
resolveEnvironment
API resolves the latest details for conda envs without python by @karrtikr in #20862 - Finalize Python Environment API by @karrtikr in #20868
- Add create environment button to
requirements.txt
andpyproject.toml
files by @karthiknadig in #20879
Bug Fixes
- Ensure picker returns array only if multi-select is enabled by @karthiknadig in #20772
- Ensure both
python
andpythonPath
are not set when resolving config by @karthiknadig in #20781 - Do not use
-I
flag in case we're unable to findencodings
module when validating python by @karrtikr in #20803 - Set
clientOS
debug option by @paulacamargo25 in #20805 - Fix title and placeholder for python selection when using create env command by @karthiknadig in #20896
Code Health
- Increase timeout of running
interpreterInfo.py
script on CI by @karrtikr in #20780 - Update README.md for isort changes by @cwebster-99 in #20787
- Update description of
python.terminal.activateEnvironment
setting by @karrtikr in #20788 - Improve getting started experience when starting on a fresh macOS by @karrtikr in #20789
- Fix ability to recognize extensions which access environment API by @karrtikr in #20791
- Add logging which could help indicate why
Discovering Python Interpreters...
never finishes by @karrtikr in #20792 - Restart reason telemetry event for
pylance
by @karthiknadig in #20821 - Remove HTTP Client usage by @karthiknadig in #20922
Full Changelog: 2023.4.0...2023.6.0
2023.4.1
What's Changed
Bug Fixes
- Ensure both
python
andpythonPath
are not set when resolving config by @karthiknadig in #20801 - Set clientOS debug option by @karthiknadig in #20818
Full Changelog: 2023.4.0...2023.4.1
2023.4.0
What's Changed
Enhancements
- Add a button in prompt to check logs in case the selected interpreter is invalid by @karrtikr in #20642
- Remove
isort
extension dependency by @karthiknadig in #20577 - Only use activated environment from terminal if VSCode was launched via CLI by @karrtikr in #20667
- Add support for 'back' to all create env UI by @karthiknadig in #20693
- Detect ActiveState Python runtimes by @mitchell-as in #20534
- Point to Python v3.11 instead of Python v3.10 when opening windows store by @karrtikr in #20742
- Make sure conda activate is used for micromamba by @karrtikr in #20760
Bug Fixes
- Skip windows store interpreters found via windows registry when discovering by @karrtikr in #20613
- Ensure IDs of Conda environments without python does not change after python is installed by @karrtikr in #20609
- Do not recommend Python2 as an interpreter by @karrtikr in #20628
- Ensure editable install only when [build-system] is present
pyproject.toml
by @karthiknadig in #20625 - Allow to select a Python2.7 interpreter by @karrtikr in #20639
- Use correct API to get interpreter path for language servers by @karrtikr in #20656
- Ensure interpreter path isn't truncated for workspace-relative paths when storing value by @karrtikr in #20661
- Call the correct API to determine if a user is in treatment or control group by @karrtikr in #20690
- Show
Python: Report issue
command in palette regardless of whether a Python file is opened by @karrtikr in #20726 - Ensure escape on TOML and requirements is treated as cancel. by @karthiknadig in #20739
- Fix debugger attach to process when running on WSL by @JCMais in #20741
Code Health
- Add option to skip showing recommended interpreter in quick pick API by @karthiknadig in #20604
- Use
markdownDescription
for settings with markdown in description by @karthiknadig in #20600 - Update to latest
jedi-language-server
by @karthiknadig in #20611 - Fix test failures due to linting by @karrtikr in #20617
- Fix wording in conda inherit env prompt by @karrtikr in #20627
- Add description for
python.experiment
settings values by @karrtikr in #20751
New Contributors
- @mitchell-as made their first contribution in #20534
- @JCMais made their first contribution in #20741
Full Changelog: 2023.2.0...2023.4.0
2023.2.0
What's Changed
Enhancements
- Use
uniqueItems
for settings by @brettcannon in #20375 - Stop asking which package manager to use for installing tools by @karrtikr in #20405
- Use isolated flag when gathering environment information by @karrtikr in #20403
- Add description on hover to interpreter status bar item by @karrtikr in #20411
- Create env shows requirements files or
pyproject.toml
extras when available by @karthiknadig in #20524 - Detect if VSCode is launched from an activated environment and select it by @karrtikr in #20526
Bug Fixes
- Re-register API for jupyter integration once trust is granted by @karrtikr in #20370
- Do not remove envs which are provided by the consumer by @karrtikr in #20424
- Enables successful running of python file even when parentheses are present in the path by @enthusiastic2003 in #20414
- Make sure we do not use or execute the default
python
onPATH
if there is any other known interpreter by @karrtikr in #20457
Code Health
- 2022.21.0 version bump by @brettcannon in #20342
- Remove
python.pythonPath
deprecation prompt by @karrtikr in #20371 - Stop installing pre-release version of black when using poetry or pipenv environments by @karrtikr in #20381
- Display user friendly path when displaying create environment notification by @karrtikr in #20387
- Bump VS Code engine in
package.json
by @brettcannon in #20392 - Remove poetry watcher by @karrtikr in #20404
- Update link to A/B experiments description by @karrtikr in #20409
- Make auto indent depend on formatOnType setting value by @luabud in #20480
- Update to new l10n by @paulacamargo25 in #20484
- Remove telemetry proposal + implicit activations by @lramos15 in #20542
- Log as error in case we're unable to detect the active terminal shell type by @karrtikr in #20545
- Update
debugpy
to v1.6.6 by @karthiknadig in #20596
New Contributors
- @enthusiastic2003 made their first contribution in #20414
Full Changelog: 2022.20.2...2023.2.0
2022.20.2
What's Changed
Bug Fixes
- Make auto indent depend on formatOnType setting value by @luabud, @karthiknadig in #20490
- Update debugpy to 1.6.5 by @luabud, @karthiknadig in #20488
Full Changelog: 2022.20.1...2022.20.2
2022.20.1
What's Changed
Bug Fixes
- Point release to roll back debugpy to 1.6.3 by @brettcannon in #20369
Full Changelog: 2022.20.0...2022.20.1