diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 3742a3a..e43fed4 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.1.1 +current_version = 1.2.0 [bumpversion:file:.bumpversion.cfg] diff --git a/HISTORY.rst b/HISTORY.rst index 3d57746..1a71a56 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,3 +1,17 @@ +1.2.0 (2023-10-11) +================== + +Features +-------- + +- Add a new base class `StrictExtendableBaseModel`. This class is a subclass of + `ExtendableBaseModel` and enforces strict validation by forcing the revalidation + of instances when the method `model_validate` is called and by ensuring that + the values assignment is validated. This class is useful when you need to + instantiate you model from a partial dictionary and you want to ensure that + any value assignment taking place after the instantiation is validated. (`#17 `_) + + 1.1.1 (2023-09-19) ================== diff --git a/news/17.feature b/news/17.feature deleted file mode 100644 index 1a075d6..0000000 --- a/news/17.feature +++ /dev/null @@ -1,6 +0,0 @@ -Add a new base class `StrictExtendableBaseModel`. This class is a subclass of -`ExtendableBaseModel` and enforces strict validation by forcing the revalidation - of instances when the method `model_validate` is called and by ensuring that - the values assignment is validated. This class is useful when you need to - instantiate you model from a partial dictionary and you want to ensure that - any value assignment taking place after the instantiation is validated. diff --git a/src/extendable_pydantic/version.py b/src/extendable_pydantic/version.py index a82b376..c68196d 100644 --- a/src/extendable_pydantic/version.py +++ b/src/extendable_pydantic/version.py @@ -1 +1 @@ -__version__ = "1.1.1" +__version__ = "1.2.0"