Notable changes:
- Completions for class property overrides are now supported.
(pylance-release#1054) - Editable installs are now supported.
(pylance-release#78) - Module members appearing in
__all__
are now always suggested in auto-imports, regardless of their name.
(pylance-release#703) - Completions offered within stub files will now correctly show symbols available in the current file, rather than only the stub's "externally visible" symbols.
(pylance-release#685) - A bug in symlink support (introduced in the previous release) has been fixed. Some code paths were not correctly handling symlinked directories.
(pylance-release#1031) - Imports of the form
from . import X
now work correctly in non-__init__.py
files.
(pylance-release#1050) - Analysis performance has been improved some code patterns with many inferred variables and deeply nested loops.
(pylance-release#1049) - Python 3.10
match
support has been updated to support unparenthesized pattern subject lists.
(pylance-release#1044) - Type aliases can now be defined within the class scope.
(pylance-release#1043) - The bundled Django, matplotlib, and pandas stubs have been updated to fix several bugs and missing members.
(pylance-release#780, pylance-release#792, pylance-release#850, pylance-release#1037) - When indexing is enabled (
"python.analysis.indexing": true
), auto-import quick fixes will now include results from user code. This was disabled in the previous release; completions from indexed user code are still not offered.
(pylance-release#1055) - Pylance no longer needs to copy files at startup for cross-platform support, which should improve startup time.
- The hover tooltip now separates the type from the docstring with a horizontal line, matching the completion tooltip.
- Stubs for
scipy
's compiled modules are now included, which should improve performance and completion quality. - Pylance's copy of typeshed has been updated.
For the full changelog, see CHANGELOG.md.