pylance-release

Documentation and issues for Pylance

CC-BY-4.0 License

Downloads
138
Stars
1.7K
Committers
23

Bot releases are hidden (Show)

pylance-release - 2021.7.5

Published by jakebailey about 3 years ago

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

pylance-release - 2021.7.4

Published by jakebailey over 3 years ago

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

pylance-release - 2021.7.3

Published by bschnurr over 3 years ago

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

pylance-release - 2021.7.2

Published by jakebailey over 3 years ago

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

pylance-release - 2021.7.1

Published by jakebailey over 3 years ago

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

pylance-release - 2021.7.0

Published by bschnurr over 3 years ago

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

pylance-release - 2021.6.3

Published by bschnurr over 3 years ago

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.

pylance-release - 2021.6.2

Published by jakebailey over 3 years ago

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.

pylance-release - 2021.6.1

Published by jakebailey over 3 years ago

Notable changes:

  • Search paths returned by the Python interpreter are now normalized according to the case provided by the OS.
    (pylance-release#1375)
  • An error related to file watcher creation will no longer appear.
    (pylance-release#1392)
  • Pylance will no longer crash at startup when an invalid zip or egg file are present in the workspace.
    (pylance-release#1397)
  • Match/case statements will now be checked for exhaustiveness.
    (pylance-release#1380)

For the full changelog, see CHANGELOG.md.

pylance-release - 2021.6.0

Published by jakebailey over 3 years ago

Notable changes:

  • Libraries installed via egg/zip files are now supported (including transformers installed via conda).
    (pylance-release#1260)
  • Unannotated decorators are now treated as no-ops, rather than using type inference and potentially obscuring the signature of the function they decorate.
  • Files that were referenced but unopened will no longer be mistakenly reanalyzed when opened.
  • Tables in docstrings are now better spaced.
  • The bundled stubs for django have been updated.
  • Pylance's copy of typeshed has been updated.

For the full changelog, see CHANGELOG.md.

pylance-release - 2021.5.4

Published by jakebailey over 3 years ago

Notable changes:

  • Auto-import quick fixes now more closely match auto-import completions.
    (pylance-release#1250)
  • TypedDict support has been improved, supporting **kwargs unpacking checks and tagged union narrowing.
    (pylance-release#374, pylance-release#1328, pylance-release#1240)
  • A bug that led to infinite recursion has been fixed.
    (pylance-release#1315)
  • Memory usage when indexing is enabled has been improved.
  • The bundled stubs for pandas have been updated.
  • The bundled stubs now include partial stubs for gym.

For the full changelog, see CHANGELOG.md.

pylance-release - 2021.5.3

Published by jakebailey over 3 years ago

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.

pylance-release - 2021.5.2

Published by jakebailey over 3 years ago

Pylance has reached stable and is officially out of public preview! (https://aka.ms/announcing-pylance-stable)

pylance-release - 2021.5.1

Published by jakebailey over 3 years ago

This is a hotfix release, fixing raw format strings (pylance-release#1241) and handling language server settings changes available in the next Python extension release.

pylance-release - 2021.5.0

Published by jakebailey over 3 years ago

Notable changes:

For the full changelog, see CHANGELOG.md.

pylance-release - 2021.4.3

Published by jakebailey over 3 years ago

Notable changes:

  • The bundled native module stubs for sklearn, numpy, and pandas have been updated.
  • Markdown-style links in docstrings will now be passed through as-is to tooltips.
  • Docstrings for all compiled standard library modules (such as math, sys, and time) are now supported.
    (pylance-release#465)
  • Docstrings in signature help tooltips will now show the same docstrings as completion and hover tooltips.
  • Overload matching has been changed to more closely match matching in other type checkers.
    (pylance-release#549, pylance-release#1111)
  • A number of bugs that could cause potentially nondeterministic behavior when semantic highlighting is enabled have been fixed.
    (pylance-release#1180, pylance-release#1181)

For the full changelog, see CHANGELOG.md.

pylance-release - 2021.4.2

Published by jakebailey over 3 years ago

Notable changes:

  • A number of CPU and memory improvements have been made, which should lead to faster initial startup, faster analysis, and lower peak memory usage.
  • A partial stub for scikit-learn has been included, which should fix many classes (such as MinMaxScalar).
    (pylance-release#1139)
  • A number of crashes have been fixed.
    (pylance-release#1072)
  • self/cls, parameters in abstract methods, parameters in Protocol definitions, and parameters in function overloads will no longer be marked as "not accessed" and grayed out.
    (pylance-release#194)
  • The bundled matplotlib stubs have been updated.
  • Pylance's copy of typeshed has been updated. Stubs that are marked as Python 2 only are no longer included.
  • Interpreter paths are now correctly queried when the selected interpreter is PyPy.
  • Indexing has been re-enabled in the insiders build.

For the full changelog, see CHANGELOG.md.

pylance-release - 2021.4.1

Published by jakebailey over 3 years ago

Notable changes:

  • Source mapping has been greatly improved. Notably, in more recent versions of numpy (1.20+), docstrings and navigation should work for many more symbols.
    (pylance-release#855)
  • The yield keyword will no longer be duplicated in completions.
    (pylance-release#1137)

For the full changelog, see CHANGELOG.md.

pylance-release - 2021.4.0

Published by jakebailey over 3 years ago

Notable changes:

  • lxml.etree (and other compiled modules) should no longer be mistakenly marked as unresolved in some cases.
    (pylance-release#392)
  • A bug in a performance optimization for __all__ involving py.typed libraries has been fixed. This issue manifested as auto-imports using an unwanted path (e.g. fastapi.param_functions.Query instead of fastapi.Query).
    (pylance-release#774)
  • Signature help in broken code will now more correctly signatures and parameters.
    (pylance-release#1128)
  • A regression in namespace package handling has been fixed.
    (pylance-release#1132)
  • The default setting for indexing in the insiders build has been temporarily changed to false as we continue to analyze and improve its performance. It can still be manually enabled with "python.analysis.indexing": true.
  • The bundled matplotlib stubs have been updated.
  • Pylance's copy of typeshed has been updated.

For the full changelog, see CHANGELOG.md.

pylance-release - 2021.3.4

Published by jakebailey over 3 years ago

Notable changes:

  • Broken symlinks in the workspace should no longer cause crashes.
    (pylance-release#1102)
  • Completion performance when IntelliCode is enabled has been improved.
  • The bundled matplotlib stubs have been updated.
  • Method override completions while editing a stub will no longer include super() calls, and instead add the correct ... body.
  • Auto-import completions and quick fixes will now more correctly handle import blocks that have been split onto multiple lines.
    (pylance-release#1097)

For the full changelog, see CHANGELOG.md.