Skip to content

Commit

Permalink
Merge release branch for astroid 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas authored Sep 26, 2023
2 parents 1f0f2f8 + 0ea6d86 commit 0883b04
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 24 deletions.
38 changes: 28 additions & 10 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: 2023-09-25

* 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 Expand Up @@ -225,7 +238,12 @@ Release date: TBA

What's New in astroid 2.15.8?
=============================
Release date: TBA
Release date: 2023-09-26

* Fix a regression in 2.15.7 for ``unsubscriptable-object``.

Closes #2305
Closes pylint-dev/pylint#9069

* Fix a regression in 2.15.7 for ``unsubscriptable-object``.

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.1.0-dev0"
version = __version__
11 changes: 0 additions & 11 deletions doc/upgrade_guide.rst

This file was deleted.

1 change: 0 additions & 1 deletion doc/whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ The "Changelog" contains *all* nontrivial changes to astroid for the current ver
.. toctree::
:maxdepth: 2

upgrade_guide
changelog
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.1.0-dev0"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down

0 comments on commit 0883b04

Please sign in to comment.