From 25589a7209dbffd8dd75662d7d1c7ac051492e63 Mon Sep 17 00:00:00 2001 From: "Laurent Mignon (ACSONE)" Date: Fri, 14 Jul 2023 18:27:40 +0200 Subject: [PATCH] 1.0.0 --- .bumpversion.cfg | 2 +- HISTORY.rst | 16 ++++++++++++++++ news/.feature | 3 --- news/exceptions.feature | 2 -- news/refactor.feature | 3 --- src/extendable/version.py | 2 +- 6 files changed, 18 insertions(+), 10 deletions(-) delete mode 100644 news/.feature delete mode 100644 news/exceptions.feature delete mode 100644 news/refactor.feature diff --git a/.bumpversion.cfg b/.bumpversion.cfg index b64da08..81bd459 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.0.5 +current_version = 1.0.0 [bumpversion:file:.bumpversion.cfg] diff --git a/HISTORY.rst b/HISTORY.rst index 3c942e0..2c2d226 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,3 +1,19 @@ +1.0.0 (2023-07-14) +================== + +Features +-------- + +- Access to the context variable used to store the current extended Classes + returns None if no context is available. Previously the access to the context + throws an exception if no context was available. +- Calls to the classmethod "_get_assembled_cls" now raises RegistryNotInitializedError + if the registry is not initialized. +- The metadaclass now provides the method `_wrap_class_method`. This method + can be used to wrap class methods in a way that when the method is called + the logic is delegated to the aggregated class if it exists. + + 0.0.5 (2023-07-13) ================== diff --git a/news/.feature b/news/.feature deleted file mode 100644 index 5842848..0000000 --- a/news/.feature +++ /dev/null @@ -1,3 +0,0 @@ -Access to the context variable used to store the current extended Classes -returns None if no context is available. Previously the access to the context -throws an exception if no context was available. diff --git a/news/exceptions.feature b/news/exceptions.feature deleted file mode 100644 index 59e2274..0000000 --- a/news/exceptions.feature +++ /dev/null @@ -1,2 +0,0 @@ -Calls to the classmethod "_get_assembled_cls" now raises RegistryNotInitializedError -if the registry is not initialized. diff --git a/news/refactor.feature b/news/refactor.feature deleted file mode 100644 index 165cb33..0000000 --- a/news/refactor.feature +++ /dev/null @@ -1,3 +0,0 @@ -The metadaclass now provides the method `_wrap_class_method`. This method -can be used to wrap class methods in a way that when the method is called -the logic is delegated to the aggregated class instance if it exists. diff --git a/src/extendable/version.py b/src/extendable/version.py index b1a19e3..5becc17 100644 --- a/src/extendable/version.py +++ b/src/extendable/version.py @@ -1 +1 @@ -__version__ = "0.0.5" +__version__ = "1.0.0"