From 8f9c2a237c52c9b9d577330487115f9e98880685 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Wed, 11 Sep 2024 16:30:32 +0100 Subject: [PATCH] Prepare for 1.4.0 release See changelog for more details. Signed-off-by: Pablo Galindo --- .bumpversion.cfg | 2 +- NEWS.rst | 19 +++++++++++++++++++ news/184.bugfix.rst | 1 - news/186.feature.rst | 1 - news/194.bugfix.rst | 1 - news/203.feature.rst | 1 - news/204.bugfix.rst | 1 - news/206.feature.rst | 1 - src/pystack/_version.py | 2 +- 9 files changed, 21 insertions(+), 8 deletions(-) delete mode 100644 news/184.bugfix.rst delete mode 100644 news/186.feature.rst delete mode 100644 news/194.bugfix.rst delete mode 100644 news/203.feature.rst delete mode 100644 news/204.bugfix.rst delete mode 100644 news/206.feature.rst diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 0023175d..3a3f84d8 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.3.0 +current_version = 1.4.0 commit = True message = Prepare for {new_version} release diff --git a/NEWS.rst b/NEWS.rst index 6536f179..b411efbe 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -8,6 +8,25 @@ Changelog .. towncrier release notes start +pystack 1.4.0 (2024-09-11) +-------------------------- + +Features +~~~~~~~~ + +- Add support for Python 3.13 (#186) +- Add a new ``--version`` command line flag to show the version of pystack (#203) +- Support debugging free-threading (a.k.a. "nogil") Python 3.13 builds. Note that PyStack can't itself be run with ``python3.13t``, it can only attach to a ``python3.13t`` process or core file from another interpreter. (#206) + + +Bug Fixes +~~~~~~~~~ + +- Fix a bug that was causing Python scripts executed directly via shebang to report the shell script as the executable. (#184) +- Heap corruption could cause PyStack to fail to generate a stack when ``--locals`` mode was used. This has been fixed by falling back to a reasonable default when attempting to format the repr of a local variable causes a dereference of an invalid pointer. (#194) +- Fix a crash when analysing processes where the eval loop has a shim frame at the bottom of the stack (#204) + + pystack 1.3.0 (2023-11-28) -------------------------- diff --git a/news/184.bugfix.rst b/news/184.bugfix.rst deleted file mode 100644 index 1eee3f4a..00000000 --- a/news/184.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a bug that was causing Python scripts executed directly via shebang to report the shell script as the executable. diff --git a/news/186.feature.rst b/news/186.feature.rst deleted file mode 100644 index f32ba63f..00000000 --- a/news/186.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add support for Python 3.13 diff --git a/news/194.bugfix.rst b/news/194.bugfix.rst deleted file mode 100644 index 431fcd05..00000000 --- a/news/194.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Heap corruption could cause PyStack to fail to generate a stack when ``--locals`` mode was used. This has been fixed by falling back to a reasonable default when attempting to format the repr of a local variable causes a dereference of an invalid pointer. diff --git a/news/203.feature.rst b/news/203.feature.rst deleted file mode 100644 index 58cf8a96..00000000 --- a/news/203.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add a new ``--version`` command line flag to show the version of pystack diff --git a/news/204.bugfix.rst b/news/204.bugfix.rst deleted file mode 100644 index b25c833a..00000000 --- a/news/204.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a crash when analysing processes where the eval loop has a shim frame at the bottom of the stack diff --git a/news/206.feature.rst b/news/206.feature.rst deleted file mode 100644 index 2747c2c8..00000000 --- a/news/206.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Support debugging free-threading (a.k.a. "nogil") Python 3.13 builds. Note that PyStack can't itself be run with ``python3.13t``, it can only attach to a ``python3.13t`` process or core file from another interpreter. diff --git a/src/pystack/_version.py b/src/pystack/_version.py index 67bc602a..3e8d9f94 100644 --- a/src/pystack/_version.py +++ b/src/pystack/_version.py @@ -1 +1 @@ -__version__ = "1.3.0" +__version__ = "1.4.0"