diff --git a/CHANGELOG.md b/CHANGELOG.md index a6224d53..c25114ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,14 @@ for the source-code artifacts of each version. ## Pynguin 0.21.0 +- Fix a bug in the module analysis regarding nested functions + + Nested functions/closures caused Pynguin's module analysis to crash with an + failing assertion. +- Improve the branch-distance computation for `bool` values +- Allow for more statistics variables regarding number of lines and cyclomatic + complexity + ## Pynguin 0.20.1 - Fix a bug in terminating Pynguin due to threading diff --git a/docker/Dockerfile b/docker/Dockerfile index 43bf5b19..eeb70dd1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -36,7 +36,7 @@ FROM python:3.10.4-slim-bullseye AS execute # Set environment variables # Set the Pynguin version -ENV PYNGUIN_VERSION "0.21.0.dev0" +ENV PYNGUIN_VERSION "0.21.0" # Pynguin requires to set the variable to show it that the user is aware that running # Pynguin executes third-party code, which could cause arbitrary harm to the system. # By setting the variable, the user acknowledges that they are aware of this. In the diff --git a/pynguin/__init__.py b/pynguin/__init__.py index 009c15d0..74a757c0 100644 --- a/pynguin/__init__.py +++ b/pynguin/__init__.py @@ -16,7 +16,7 @@ StatisticsBackend = config.StatisticsBackend TypeInferenceStrategy = config.TypeInferenceStrategy -__version__ = "0.21.0.dev" +__version__ = "0.21.0" __all__ = [ "set_configuration", "run_pynguin", diff --git a/pyproject.toml b/pyproject.toml index 93ed8c95..3ec5951c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ [tool.poetry] name = "pynguin" -version = "0.21.0.dev" +version = "0.21.0" description = "Pynguin is a tool for automated unit test generation for Python" authors = ["Stephan Lukasczyk "] license = "LGPL-3.0-or-later"