Releases: microsoft/vscode-python
Releases ยท microsoft/vscode-python
v2024.8.1
What's Changed
Bug Fixes
- Don't send to REPL from a notebook editor by @anthonykim1 in #23608
- Restore computing version in legacy locators by @karthiknadig in #23609
- Add missing telemetry for REPL by @anthonykim1 in #23610
Full Changelog: v2024.8.0...v2024.8.1
v2024.8.0
What's Changed
Enhancements
- Add native locator for finding pythons by @karthiknadig in #23208
- Show PyPi link in requirements by @LouisGobert in #23288
- Add Interactive REPL Experiment by @anthonykim1 in #23235
- Build rust python finder for CI and produce a package by @karthiknadig in #23465
- Allow execute on enter and Intellisense for native REPL with notebook UI by @anthonykim1 in #23442
- Allow reopening of native REPL after closing by @anthonykim1 in #23478
Bug Fixes
- Fix Pyenv for Codespaces by @anthonykim1 in #23315
- Fix get-pip download where
tags
may not be available by @karthiknadig in #23353 - Fix get-pip download where
tags
may not be available (#23353) by @karthiknadig in #23354 - dont execute to console from the IW input box by @amunger in #23389
- Fixes
KeyError: 'params'
when running tests by @andybbruno in #23397 - Resolve bug with session not being a parent of tests while building test tree with pytest by @eleanorjboyd in #23420
- add sys config scripts path to test execution path by @eleanorjboyd in #23418
- fix parameterized test duplicate function different classes by @eleanorjboyd in #23439
- Stop creating duplicate REPL and allow new REPL instance by @anthonykim1 in #23496
- Bug: Fix python.execInREPL stealing shift+enter by @anthonykim1 in #23526
- Bug Fix: REPL reuse and do not overwrite Jupyter's IW title by @anthonykim1 in #23530
- dont override shift+enter behavior by @amunger in #23546
Code Health
- Adding detail to create environment pip install prompt by @cwebster-99 in #23470
New Contributors
- @LouisGobert made their first contribution in #23288
- @andybbruno made their first contribution in #23397
Full Changelog: v2024.6.0...v2024.8.0
v2024.6.0
Changes:
Feature Requests:
- #23241: option to configure experiments in the workspace
settings.json
- #23247: Trigger env creation prompt on
pip install
in terminal with global environment - #23211: Use python debugger api
- #772: Look into notifying users of new features when installing new versions
- #763: Add an option to exclude certain kinds of
ctags
- #764: Place a timeout in Debug adapter when waiting for PTVSD to connect to the socket server
- #363: [feature request] get python.pythonPath from cwd rather than system wide.
- #358: relative pythonpath in .env is expanded wrt current file
- #484: MoveUp Line Auto-Indent
See More
Bugs:
- #23267: support configuring experiments in workspace settings
- #23262: Debug cancelation
- #23273: Add more command patterns for pip trigger
- #23258: Apply feedback for the create env trigger prompts
- #23257: support symlinks in parents of the root of the workspace
- #23230: Fix for unittest with
testscenarios
- #23238: fix to support classes with parameterized tests inside
- #751: Pylint do not work correct. Missing code analysis
- #758: "Debug adapter process has terminated unexpectedly" using integrated terminal (if debugging with Python config everything works)
- #757: Python version not being correctly recognised?
- #23220: Add missing jedi requirements file to VSIX
- #23217: Failed to get jedi-language-server version
- #23212: Fix activated Conda Envs vars in Jupyter Ext API
- #23201: Fix duplicated
venv
prompt parenthesis - #23193: Double parantheses: "((.venv) )"
- #23080: Respect
VIRTUAL_ENV_PROMPT
when calculating PS1 - #23176: Revert "revert arg map change to remove from stable release (#23160)"
- #23171: Add
homebrew
path toconda
search list - #23172: Use editable install only when
project
andbuild-system
are present inpyproject.toml
- #23166: Fix check install bug when running global python
- #23165: Fix python path for install checker
- #22954: Ensure that we check
.venv
dir not.venv
file
Others:
- #23319: Finalized release
- #23310: bump release 2024.6
- #23301: Revert "Debug cancelation (#23262)"
- #23275: Fix the YML for azure build
- #23274: Cleanup
.nox
environments after build - #23256: Remove some unused files
- #23263: Add module version telemetry
- #23255: chore: use full names for CredScan false positives
- #23254: Try another path pattern
- #23252: Try a different pattern for the path
- #23251: Add cred scan suppression for dist utils
- #23214: Adopting Python Walkthrough edits
- #22390: Switch to using named pipes for test communication
- #23210: Use
nox
for python dependency installs - #23046: Bump packaging from 23.2 to 24.0
- #761: ๐ use 32bit integers for threadid in protocol layer
- #1: 1228 multi root master
- #752: Enable unit testing of experimental debugger other than just launching
- #750: Cannot install pylint
- #23198: Bump typing-extensions from 4.9.0 to 4.11.0
- #362: Use new environment variable parser
- #293: Log and ignore errors when looking for interpreters
- #355: Force package.json and package-lock.json to end in LF
- #353: Clean up tool execution in Refactoring feature of extension
- #352: Clean up tool execution in Formatters
- #351: Clean up tool execution in Linters
- #348: Re-order configuration opens in package.json to be logically grouped
- #23184: Incorrect PS1 env being set for terminals, duplicated parenthesis
- #23160: revert arg map change to remove from stable release
- #23106: Bump importlib-metadata from 7.0.1 to 7.1.0
- #23161: Update main to next pre-release
This list of changes was auto generated.
v2024.4.0
What's Changed
Enhancements
- Take Smart Send Out of Experiment by @anthonykim1 in #23067
- Smart Send default value should be true by @anthonykim1 in #23074
- Add support for Hatch environments by @flying-sheep in #22779
- Select pyenv environment based on folder
.python-version
file by @karrtikr in #23094 - Auto select pipenv and poetry environments created for a workspace by @karrtikr in #23102
- Change default value of env settings by @luabud in #23144
Bug Fixes
- Fix duplicated environments in interpreter list by @karrtikr in #22964
- Reactivate terminals if
.env
file changes by @karrtikr in #22969 - Make
environments.known
API faster by @karrtikr in #23010 - Do not use readSync everytime telemetry is sent by @karrtikr in #23011
- fixes bug which stops duplicate pytest args by @eleanorjboyd in #23024
- Fix backed up command and false exit code by @anthonykim1 in #23025
- Clear duplicated environments from storage by @karrtikr in #23076
- Respect
VIRTUAL_ENV_PROMPT
when calculating PS1 by @karrtikr in #23080 - If type identifier for an environment is not registered, infer type from locator by @karrtikr in #23083
- Double quote value returned by
${command:python.interpreterPath}
if it contains spaces by @karrtikr in #23085 - Address localization bug in walkthrough by @cwebster-99 in #23112
- Add workaround for hatch environment discovery on Windows by @karrtikr in #23129
- Resolve test suite execution import errors due to path ordering by @shanesaravia in #23099
- revert symlink changes which switched to using argMap for testing args by @eleanorjboyd in #23148
Code Health
- Add more validation checks when accessing envs from cache by @karrtikr in #22966
- Log best effort versions calculated for an environment by @karrtikr in #22980
- Log environment collection activity at info level by @karrtikr in #22990
- Remove old Pylance-related code by @debonte in #22985
- Remove sync file operation to unblock ext host by @DonJayamanne in #22997
- Remove verbose logging which is not used by @karrtikr in #23001
- Rename
pythonFiles
topython_files
by @karthiknadig in #22921 - Updating devcontainer.json and README.md by @cwebster-99 in #22984
- Do not use worker threads to launching binaries by @karrtikr in #23030
- Add linting rules for ruff by @brettcannon in #22741
- Move to Ruff for formatting by @brettcannon in #23060
- Ignore reformatting commits in
git blame
by @brettcannon in #23063 - Use new report issue command api by @paulacamargo25 in #23033
- Include windows registry perf improvement in
pythonDiscoveryUsingWorkers
experiment by @karrtikr in #23075 - Use random sampling for sending Python environments API telemetry by @karrtikr in #23103
- Updates to walkthrough by @cwebster-99 in #23107
Full Changelog: v2024.2.1...v2024.4.0
v2024.2.1
2024.2.0
What's Changed
Enhancements
- Use terminal data write event to figure out whether shell integration is working by @karrtikr in #22872
Bug Fixes
- Do not run commands to check whether shell integration is working by @karrtikr in #22850
- Fix venv activation for cshell by @karrtikr in #22852
- Improve time taken to trigger language server startup once extension activation is triggered by @karrtikr in #22514
- Fix Run Recent Command Caching Issue by @anthonykim1 in #22867
- update tree comparison for tests to be order independent for children by @eleanorjboyd in #22832
- Add UnicodeDecodeError catching by @aydar-kamaltdinov in #22873
- Prepend
PATH
both at shell integration and process creation by @karrtikr in #22905 - Do not activate microvenv if terminal.activateEnvironment is set to false and when not in terminal experiment by @karrtikr in #22909
- Use python debugger in testing by @paulacamargo25 in #22903
- Prevent first Python command being lost by @anthonykim1 in #22902
- Fix Bug with Pytest when using symlinked workspaces by @eleanorjboyd in #22885
- Fix bug with symlink for pytest execution by @eleanorjboyd in #22952
Code Health
- Remove experimental flag for create env prompt by @cwebster-99 in #22892
- Log options being passed when using environment collection APIs by @karrtikr in #22907
- Add "isMeasurement" for LANGUAGE_SERVER_TRIGGER_DURATION by @karrtikr in #22912
- Updating installed extensions section of README.md by @cwebster-99 in #22893
- Update vscode-tas-client version by @luabud in #22876
- Adding GDPR tag for isFirstSession by @cwebster-99 in #22955
New Contributors
- @aydar-kamaltdinov made their first contribution in #22873
Full Changelog: v2024.0.1...2024.2.0
v2024.0.1
v2024.0.0
What's Changed
Enhancements
- Add create environment to select interpreter by @karthiknadig in #22746
- Allow run recent command for REPL using shell integration by @anthonykim1 in #22720
Bug Fixes
- Revert "Remove old code for folder support in interpreter path setting" by @karrtikr in #22638
- support multi-level nested classes pytest by @eleanorjboyd in #22681
- unittest: switch to using top dir since test ids are relative to it by @eleanorjboyd in #22609
- Bring back REPL shell integration decoration for Mac and Linux by @anthonykim1 in #22714
- Fix for issue with environment path and Jedi by @karthiknadig in #22713
- use abspath for top_level_dir for build_test_tree by @eleanorjboyd in #22740
- Remove star from recommended by @karthiknadig in #22759
- Rename
utils
topvsc_utils
to prevent shadowing by @karthiknadig in #22760 - Show name for conda environments created in the workspace by @PopoDev in #22701
- Remove unsupported proposed APIs enablement from
package.json
by @karthiknadig in #22787 - changes to support pytest 8 by @eleanorjboyd in #22799
Code Health
- Fix localization failure for pre-release by @karrtikr in #22639
- Remove experimental tag from createEnvironment.contentButton setting by @luabud in #22629
- Add localization check to CI by @karrtikr in #22646
- add logging for when testing is already running and causes new runs to be canceled by @eleanorjboyd in #22653
- Add permissions to triage-info-needed.yml by @karthiknadig in #22663
- Remove debugger by @paulacamargo25 in #22502
- Set debug as deprecated by @paulacamargo25 in #22738
New Contributors
Full Changelog: v2023.22.1...v2024.0.0
v2023.22.1
v2023.22.0
What's Changed
Enhancements
- Reliably detect whether shell integration is working by @karrtikr in #22440
- Add consoleTitle to launch.json properties schema by @trysten in #22406
- Support deactivating virtual environments without user intervention by @karrtikr in #22405
- Use worker threads for fetching Windows Registry interpreters by @karrtikr in #22479
- Show warning and allow user to turn off smart send for deprecated Python code by @anthonykim1 in #22353
- Use worker threads for fetching conda environments and interpreter related info by @karrtikr in #22481
- Use shell integration to denote success/failure by @anthonykim1 in #22487
Bug Fixes
- Do not prefer Microsoft store interpreter over other global interpreters when auto-selecting by @karrtikr in #22380
- Ensure Python environment defined in
python.defaultInterpreterPath
is returned via discovery API by @karrtikr in #22389 - Refactor get_node_path function to handle fspath greedy access by @eleanorjboyd in #22384
- Do not attempt to kill the process if it has already exited by @karrtikr in #22424
- Improve shell identifier on case-insensitive system by @JamzumSum in #22391
- Adding
Locked
comments to walkthrough commands by @cwebster-99 in #22432 - If active editor opened is outside the editor, activate the first workspace by @karrtikr in #22450
- Install requirements before toml by @karthiknadig in #22468
- Use
WorkspaceFolder.name
in addition to workspace folder's basename when resolving${workspaceFolder:name}
syntax in settings by @karrtikr in #22471 - Bump
vscode-tas-client
and fix tests by @karthiknadig in #22493 - Resolve test suite discovery import errors due to path ordering by @shanesaravia in #22454
- switch to conditional error message on check for UUID and port during pytest config by @eleanorjboyd in #22534
- Improvement: Pass along python interpreter to jedi-language-server by @johnhany97 in #22466
- White space after REPL prompt by @anthonykim1 in #22549
- Fix shell integration decoration for windows pwsh by @anthonykim1 in #22560
- fix no test id provided for pytest run by @eleanorjboyd in #22569
- Fix shell integration decoration bug for Windows pwsh by @anthonykim1 in #22572
- Revert unsuccessful REPL decoration fix and disable for windows by @anthonykim1 in #22578
Code Health
- Remove deprecated settings by @karthiknadig in #22377
- Use python test runner for extension python tests by @karthiknadig in #22385
- Use nox to install packages by @karthiknadig in #22381
- Remove unused packages from
package.json
by @karthiknadig in #22386 - Add cwd to error logs by @eleanorjboyd in #22387
- remove new line chars from error text messages in testing rewrite by @eleanorjboyd in #22402
- Remove old code for folder support in interpreter path setting by @karrtikr in #22413
- Add 3.12 to conda version list by @karthiknadig in #22470
New Contributors
- @JamzumSum made their first contribution in #22391
- @trysten made their first contribution in #22406
- @shanesaravia made their first contribution in #22454
- @johnhany97 made their first contribution in #22466
Full Changelog: v2023.20.0...v2023.22.0