Skip to content

Commit

Permalink
Bump astroid to 3.0.0, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Sep 25, 2023
1 parent 5756eaa commit b85b5d5
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 11 deletions.
31 changes: 22 additions & 9 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,22 @@
astroid's ChangeLog
===================


What's New in astroid 3.1.0?
============================
Release date: TBA



What's New in astroid 3.0.1?
============================
Release date: TBA



What's New in astroid 3.0.0?
=============================
Release date: TBA
Release date: TODO!

* Add support for Python 3.12, including PEP 695 type parameter syntax.

Expand All @@ -14,6 +27,14 @@ Release date: TBA

Refs #2137

* Use the global inference cache when inferring, even without an explicit
``InferenceContext``. This is a significant performance improvement given how
often methods default to ``None`` for the context argument. (Linting ``astroid``
itself now takes ~5% less time on Python 3.12; other projects requiring more
complex inference calculations will see greater speedups.)

Refs #529

* Following a deprecation period starting in astroid 2.7.0, the ``astroid.node_classes``
and ``astroid.scoped_nodes`` modules have been removed in favor of ``astroid.nodes.node_classes``
and ``astroid.nodes.scoped_nodes``.
Expand Down Expand Up @@ -72,14 +93,6 @@ Release date: TBA
Closes pylint-dev/pylint#7464
Closes pylint-dev/pylint#8074

* Use the global inference cache when inferring, even without an explicit
``InferenceContext``. This is a significant performance improvement given how
often methods default to ``None`` for the context argument. (Linting ``astroid``
itself now takes ~5% less time on Python 3.12; other projects requiring more
complex inference calculations will see greater speedups.)

Refs #529

* Fix interrupted ``InferenceContext`` call chains, thereby addressing performance
problems when linting ``sqlalchemy``.

Expand Down
2 changes: 1 addition & 1 deletion astroid/__pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt

__version__ = "3.0.0b1-dev0"
__version__ = "3.0.0"
version = __version__
2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github_url = "https://github.com/pylint-dev/astroid"

[version]
current = "3.0.0b1-dev0"
current = "3.0.0"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down

0 comments on commit b85b5d5

Please sign in to comment.