Repository navigation
2026.4.102
Pre-release
Pre-release
Notable changes:
- Bug fix: Pylance MCP server unreachable in Copilot harness – stale port after provideMcpServerDefinitions is called again pylance-release#8308
- Bug fix: textDocument/codeAction fails with "Cannot read properties of undefined (reading 'mro')" and slow np.str_. member completions in a notebook pylance-release#8304
- Bug fix: Persistent "Pending package update" notification in Pylance 2026.4.1 pylance-release#8301
- Bug fix: Pylance MCP tools fail to load in built-in Codex chat because the server name contains spaces pylance-release#8299
- Bug fix: Pylance + Pyrefly: semantic-token requests crash with undefined typeParams/parameters in PEP 723 scripts pylance-release#8295
- Bug fix: Exempt editable installs from
showOnlyDirectDependenciesInAutoImportpylance-release#8294 - Bug fix: In Pylance + Pyrefly mode, textDocument/semanticTokens/full fails on large PyTorch files pylance-release#8293
- Bug fix: Pylance is showing AI action hints even with "chat.disableAIFeatures": true in settings pylance-release#8289
- Bug fix: Workspace symbol search (#) fails for closed files when using Pylance + Pyrefly (TSP launched with --indexing-mode none) pylance-release#8288
- Bug fix: automatically expanded Union member types are not imported when method is auto-inserted pylance-release#8276
- Bug fix: Notebook editing and analysis: missing override/rename actions, comment-highlight mismatch, Enter ignored, and no automatic recovery after restoring Workspace Trust pylance-release#8271
- Bug fix: Pytest fixture support: Unknown member hover, missing signature help and definition, and skipped pytester annotations pylance-release#8270
- Bug fix: [Bug] Experimental Django support breaks datetime.timedelta completion when model contains a DateTimeField pylance-release#8269
- Bug fix: MCP pylanceRunCodeSnippet tool allows bypassing VSCode local agent sandbox pylance-release#8265
For the full changelog, see CHANGELOG.md.