Releases: microsoft/pylance-release
Releases · microsoft/pylance-release
2021.7.7
This is a hotfix release, fixing a tokenizer bug that caused identifiers called "constructor" to be mishandled.
(pylance-release#1618)
2021.7.6
Notable changes:
- PEP 258 style "attribute docstrings" are now supported.
(pylance-release#1576) - Attribute assignments that use reserved keywords now correctly cause a parser error.
- A number of bugs that caused crashes in certain circumstances have been fixed.
(pylance-release#1597) - The bundled stubs for django and pandas have been updated.
For the full changelog, see CHANGELOG.md
2021.7.5
Notable changes:
- Triple-quote closing now works correctly in LiveShare with multiple cursors.
(pylance-release#1583) - A parser bug with f-strings containing nested strings has been fixed.
(pylance-release#1584) - A new "reportUninitializedInstanceVariable" diagnostic check looks for instance variables that are not initialized in the class body or constructor.
- The bundled stubs for django and pandas have been updated.
- Pylance's copy of typeshed has been updated.
For the full changelog, see CHANGELOG.md
2021.7.4
This is a hotfix release, fixing an error message that could appear when the "add to extraPaths" code action was used.
2021.7.3
Notable changes:
- Fixed bug that caused diagnostics from an open file not to be cleared after closing that file if it was not saved.
(pylance-release#1514) - Fixed document highlight regression when selecting a class attribute.
(pylance-release#1500) - Dictionary key completions now support non-string literals.
(pylance-release#1493) - The bundled stubs for django and pandas have been updated.
For the full changelog, see CHANGELOG.md
2021.7.2
This is a hotfix release, fixing a completion regression introduced in 2021.6.3.
2021.7.1
Notable changes:
- The bundled PIL stubs have been removed, as they have been merged into typeshed's Pillow stubs.
For the full changelog, see CHANGELOG.md
2021.7.0
Notable changes:
- An "add to extraPaths" quick fix for unresolved imports has been added, which suggests and adds potential paths
python.analysis.extraPaths
. - Support for the undocumented "mspythonconfig.json" config file name has been removed. This was previously available as an alternative to "pyrightconfig.json", but we've decided to standardize on the latter.
For the full changelog, see CHANGELOG.md
2021.6.3
Notable changes:
- Absolute imports of local files are now supported in "open file" mode.
- Extract method/variable will now also trigger a rename on the newly generated symbol.
- Pylance will now auto-close triple quoted strings.
- Dictionary key completions that contain non-alpha characters will now work correctly.
(pylance-release#1460) - Completions on nested TypedDicts will now work correctly.
(pylance-release#1485) - The bundled stubs for matplotlib, django, openpyxl, and pandas have been updated.
For the full changelog, see CHANGELOG.md.
2021.6.2
Notable changes:
- Pylance will now offer completions inside dictionary key context if that dictionary was defined in the current scope.
- The bundled stubs now include partial stubs for sympy.
(pylance-release#1388, pylance-release#946)
For the full changelog, see CHANGELOG.md.