Releases: microsoft/vscode-python
Releases Β· microsoft/vscode-python
v2024.12.0
Changes:
Feature Requests:
- #119: Feature Request: Unit Testing: Clear Output Window before every Run
- #108: Symbols ordering requires improvements
- #120: Is it possible to connect pytest assert failures to problems and code views?
- #118: Implicitly add WORKON_HOME to
python.venvFolders
- #23852: Add support for file system watching with native python locator
- #23791: xdist fixes
- #23797: Correctly display native REPL execution status
- #23823: Use Native Python Finder as the main locator
- #23786: Minimize execution output when there is no output for new REPL
See More
Bugs:
- #23866: fix crash when importing
pluggy.Result
on old versions of pluggy - #23816: backwards compatible hookwrapper for
pytest_xdist_auto_num_workers
doesn't work - #117: Wrong intellisense icons for variables.
- #106: The python debugger is extremely slow
- #114: terminal.external.osxExec not respected as debug terminal?
- #23851: Fix
location
for native environments - #23845: Ensure env manager executable is set
- #23840: Add executable path as
id
for envs - #23817: Read launch from devcontainer
- #23781: add backwards compatibility for pytest hook wrapper
- #23814: Fix debug arg error
- #23737: Add additional context keys to commands
Others:
- #23892: Finalize 2024.12.0
- #23873: Update release_plan.md
- #23864: Bump importlib-metadata from 8.0.0 to 8.1.0
- #489: Fix ctags generate problem
- #23778: Bump zipp from 3.17.0 to 3.19.1 in /python_files/jedilsp_requirements
- #23861: Add a new measure for native finder perf
- #23841: Update Pylance settings telemetry property list to match code
- #23854: Metrics tracking launch times for native locator
- #23853: Add Cache dir for native locator
- #23850: Ensure telemetry measurements are sent correctly
- #23847: Update logging in getConfigurationsForWorkspace
- #23831: More native tests for Native python finder
- #23834: Configure before resolving and remove old API call
- #23832: Updates to use new Python locator Api
- #23825: Add some more telemetry for missing conda envs
- #23810: Capture additional telemetry for conda
- #23805: Additional data to compare conda environments.txt
- #23803: Fix Bad GDPR annotations
- #23802: Await on promises
- #23796: Capture info for missing conda envs in native locator
- #23792: Performance telemetry for native locator
- #23790: Additional conda telemetry
- #23789: Update pylance.ts for GDPR clearning
- #23788: Additional native finder conda telemetry
- #23787: Native Conda Telemetry
- #23779: Gather additional data to determine failures in identifying conda envs
- #23782: Add configuration request
- #23732: Hide Run Python option when in Jupyter Notebook
- #23741: Enable explicit Ruff check rules
- #23771: Determine reasons for Poetry find failures
- #23770: Add more data for conda envs not found
- #23753: Handle & track conda envs not found
- #23745: Support category being undefined
- #23744: Rename category to kind
- #23742: Updates to categories and request object
- #23728: Remove the
pip
trigger to create environment - #23726: Fix telemetry annotations
- #23722: Update main to next pre-release
This list of changes was auto generated.
v2024.10.0
What's Changed
Enhancements
- Rename REPL to Terminal REPL by @anthonykim1 in #23613
- Allow Smart send with new REPL by @anthonykim1 in #23638
- Activate extension when .venv or .conda found in workspace by @nickwarters in #23642
- Add locator for pixi environments by @baszalmstra in #22968
- Add support for Python Environment Tools by @karthiknadig in #23643
Bug Fixes
- Support
pytest
parameterized tests spanning multiple classes when calling the same setup function by @eleanorjboyd in #23535 - Bug fix to have load bar show during test discovery by @eleanorjboyd in #23537
- Don't send to REPL from a notebook editor by @amunger in #23572
- Restore computing version in legacy locators by @karthiknadig in #23596
- Fix smoke tests by @karthiknadig in #23597
- Add missing telemetry for REPL by @anthonykim1 in #23591
- Restore execute bits on deactivate scripts by @covracer in #23620
- Update language server modules to latest release by @rchiodo in #23623
- Add hook to
vscode_pytest
to determine numberxdist
workers to use based on count of selected tests by @DetachHead in #23539 - Use conda-meta to get python version by @karthiknadig in #23650
- Unify Terminal REPL triggers by @anthonykim1 in #23641
- Redirect accessibility users to terminal REPL instead of native REPL by @anthonykim1 in #23711
- Add parent directory to
sys.path
forunittest
discovery and execution by @eleanorjboyd in #23712
Code Health
- Update info-needed-closer.yml by @eleanorjboyd in #23574
- Audit fix and some clean up by @karthiknadig in #23599
- Refactor Native REPL code by @anthonykim1 in #23550
New Contributors
- @covracer made their first contribution in #23620
- @nickwarters made their first contribution in #23642
- @baszalmstra made their first contribution in #22968
Full Changelog: v2024.8.1...v2024.10.0
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