Skip to content

Releases: microsoft/pylance-release

2021.7.7

29 Jul 00:07
9549ce6
Compare
Choose a tag to compare

This is a hotfix release, fixing a tokenizer bug that caused identifiers called "constructor" to be mishandled.
(pylance-release#1618)

2021.7.6

28 Jul 22:09
f7677b6
Compare
Choose a tag to compare

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

22 Jul 22:06
b80e885
Compare
Choose a tag to compare

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

15 Jul 19:20
36acc2a
Compare
Choose a tag to compare

This is a hotfix release, fixing an error message that could appear when the "add to extraPaths" code action was used.

2021.7.3

15 Jul 00:06
8225814
Compare
Choose a tag to compare

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

07 Jul 21:02
070b600
Compare
Choose a tag to compare

This is a hotfix release, fixing a completion regression introduced in 2021.6.3.

2021.7.1

07 Jul 00:18
02c006c
Compare
Choose a tag to compare

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

06 Jul 23:42
e86a20d
Compare
Choose a tag to compare

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

24 Jun 00:02
834ba69
Compare
Choose a tag to compare

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

17 Jun 00:07
80cb8d8
Compare
Choose a tag to compare

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.