Releases: microsoft/pylance-release
Releases · microsoft/pylance-release
2021.10.0
Notable changes:
- Return type inference is now skipped for high-complexity unannotated functions, which prevents hangs in
sympy
,scipy
, and other unannotated libraries.
(pylance-release#946, pylance-release#1890, pylance-release#1895) - The bundled stubs for pandas have been updated.
- Pylance's copy of typeshed has been updated.
(pylance-release#1909)
For the full changelog, see CHANGELOG.md
2021.9.4
Notable changes:
- Completion is now supported for TypedDict keys and values. Thanks to Robert Cragie for this contribution!
- Variables captured by lambdas and functions are now narrowed when they are known to not be reassigned.
(pylance-release#261, pylance-release#1016) - Auto-imports no longer incorrectly add to
*
import lines.
(pylance-release#1679) - The "Add Optional to Type Annotation" quick fix no longer fails to run.
(pylance-release#1873) - Pylance's copy of typeshed has been updated.
(pylance-release#1872)
For the full changelog, see CHANGELOG.md
2021.9.3
Notable changes:
- A number of IntelliCode bugs have been fixed, including cases where starred entries would disappear when more code is typed.
(pylance-release#89) - Signature help should no longer trigger when typing a parenthesis in a string.
(pylance-release#1677) - Pylance's copy of typeshed has been updated.
For the full changelog, see CHANGELOG.md
2021.9.2
Notable changes:
- Method override completions now correctly include default parameters.
(pylance-release#869) - PEP 258 style attribute docstrings now work on type aliases.
(pylance-release#1815) - Parenthesized expressions are now better handled in hover, document highlight, and semantic highlighting.
(pylance-release#591) - A number of errors and inconsistencies with unrooted environments (like open file mode) have been fixed.
(pylance-release#1586) - The docstring for
os.path.splitext
is now correctly handled.
(pylance-release#1408) - The bundled stubs for pandas have been updated.
- Pylance's copy of typeshed has been updated.
For the full changelog, see CHANGELOG.md
2021.9.1
Notable changes:
- Docstrings are no longer inherited from builtins like
object
.
(pylance-release#653, pylance-release#1047, pylance-release#1205) - Builtin module variables (like
__file__
and__package__
) are now correctly highlighted.
(pylance-release#964)
For the full changelog, see CHANGELOG.md
2021.9.0
Notable changes:
- Docstrings for the
decimal
module are now supported.
(pylance-release#1350)) - The
None
,True
,False
, and__debug__
builtin constants are now correctly colorized within quoted type annotations.
(pylance-release#1039)) - Completions for keywords that aren't available in the currently selected version of Python will no longer be offered.
(pylance-release#1724)) - Import completions will no longer include imports which will not resolve if accepted.
(pylance-release#1046)) - The bundled stubs for pandas have been updated.
- Pylance's copy of typeshed has been updated.
For the full changelog, see CHANGELOG.md
2021.8.3
Notable changes:
- A bug that prevented navigation to directory-based eggs has been fixed. (pylance-release#1685))
- Corrupt eggs and zips will no longer cause a crash. (pylance-release#1692)
- Triple quote auto-close has been disabled for multi-line selections. (pylance-release#1716)
- The bundled stubs for django and pandas have been updated.
- pth files in directories in extraPaths will now be processed for additional paths. (pylance-release#1709)
- Pylance's copy of typeshed has been updated.
For the full changelog, see CHANGELOG.md
2021.8.2
Notable changes:
- Attribute doc strings are now supported in hover tooltips.
- Diagnostics and other language features now work in untitled files and files manually marked as Python.
- The "remove unused imports" code action now handles multiple statements on the same line properly. (pylance-release#1547)
- Support for native modules stored in
dist-packages
has been improved, includingnumpy
when installed globally on Debian-based Linux distributions. - Support for
cv2
has been improved. (pylance-release#1339), (pylance-release#1609)
For the full changelog, see CHANGELOG.md
2021.8.1
Notable changes:
- More literal completions are now supported. (pylance-release#1497)
- The bundled pandas stubs have been updated.
- Pylance's copy of typeshed has been updated.
- Creating new file in open file mode no longer causes a hang.
For the full changelog, see CHANGELOG.md
2021.8.0
Notable changes:
- Performance of completions for huggingface/transformers has been improved by adding partial stubs. (pylance-release#1258)
- Variable renaming now works in open file mode. (pylance-release#1300)
- Pylance's copy of typeshed has been updated.
For the full changelog, see CHANGELOG.md