Notable changes:
- A number of CPU and memory improvements have been made, improving parsing, indexing, and overall performance.
- Libraries which indicate that they are
py.typed
will now be correctly preferred over typeshed, following PEP 561. This allows the use of the types in well-typed libraries such as the newly-released Flask 2.0, PyJWT, and tornado, improving completions, hover, navigation, and the type checking experience.
(pylance-release#1197) - Auto-imports now require the first character to match before fuzzy matching is applied, which reduces the number of unwanted completions and greatly improves performance when indexing is enabled.
- Extract method now supports extracting comments.
(pylance-release#1262) - Variable names using supplementary characters are now supported.
(pylance-release#1286) - Tables in docstrings are now supported.
- Incompatible type diagnostics will now fully qualify type names if the incompatible types have the same short name.
(pylance-release#1306) - A bug which caused some imports from
pywin32
to not be resolved has been fixed.
(pylance-release#1423) - Added stubs for pywin32, openpyxl.
(pylance-release#947, pylance-release#1423) - The bundled stubs for django and pandas have been updated.
- File watcher events from
.git
directories will no longer trigger reanalysis.
(pylance-release#1282) - The import resolver now supports typeshed's VERSIONS file, which indicates which versions of Python each standard library module is available.
- Pylance's copy of typeshed has been updated.
For the full changelog, see CHANGELOG.md.