Skip to content

Releases: pylint-dev/astroid

v3.0.0a1

25 Apr 12:17
Compare
Choose a tag to compare
v3.0.0a1 Pre-release
Pre-release

This is the first pre-release for astroid 3.0.0. For a full list of changes see https://github.com/pylint-dev/astroid/blob/v3.0.0a1/ChangeLog

v2.15.4

24 Apr 08:54
420a59a
Compare
Choose a tag to compare
  • Add visitor function for TryStar to AsStringVisitor and
    add TryStar to astroid.nodes.ALL_NODE_CLASSES.

    Refs #2142

v2.15.3

16 Apr 20:55
Compare
Choose a tag to compare
  • Fix infer_call_result() crash on methods called with_metaclass().

    Closes #1735

  • Suppress UserWarning when finding module specs.

    Closes pylint-dev/pylint#7906

v2.15.2

03 Apr 10:20
Compare
Choose a tag to compare

v2.15.1

26 Mar 13:53
Compare
Choose a tag to compare

v2.15.0

05 Mar 23:08
edf88c6
Compare
Choose a tag to compare
  • astroid now supports TryStar nodes from python 3.11 and should be fully compatible with python 3.11.

    Closes #2028

  • Formattedvalue.postinit is now keyword only. This is to allow correct typing of the
    Formattedvalue class.

    Refs #1516

  • Astroid now supports custom import hooks.

    Refs pylint-dev/pylint#7306

  • astroid now infers return values from match cases.

    Refs pylint-dev/pylint#5288

  • AstroidManager.clear_cache now also clears the inference context cache.

    Refs #1780

  • Astroid now retrieves the default values of keyword only arguments and sets them on
    Arguments.kw_defaults.

  • Uninferable now has the type UninferableBase. This is to facilitate correctly type annotating
    code that uses this singleton.

    Closes #1680

  • Deprecate modutils.is_standard_module(). It will be removed in the next minor release.
    Functionality has been replaced by two new functions,
    modutils.is_stdlib_module() and modutils.module_in_path().

    Closes #2012

  • Fix are_exclusive function when a walrus operator is used inside IfExp.test field.

    Closes #2022

v2.14.2

12 Feb 17:15
Compare
Choose a tag to compare
  • '_infer_str_format_call' won't crash anymore when the string it analyses are uninferable.

    Closes pylint-dev/pylint#8109

v2.14.1

31 Jan 21:39
b421414
Compare
Choose a tag to compare
  • Revert CallContext change as it caused a RecursionError regression.

v2.14.0

31 Jan 14:41
b644c1e
Compare
Choose a tag to compare
  • Add support for inferring binary union types added in Python 3.10.
    Refs pylint-dev/pylint#8119
  • Capture and log messages emitted when inspecting a module for astroid.
    Closes #1904

v2.13.5

31 Jan 21:19
de9736d
Compare
Choose a tag to compare
  • Revert CallContext change as it caused a RecursionError regression.