Skip to content

Commit

Permalink
1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lmignon committed Oct 11, 2023
1 parent 92d7fd9 commit 4b8c7c3
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.1.1
current_version = 1.2.0

[bumpversion:file:.bumpversion.cfg]

Expand Down
14 changes: 14 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/lmignon/extendable-pydantic/issues/17>`_)


1.1.1 (2023-09-19)
==================

Expand Down
6 changes: 0 additions & 6 deletions news/17.feature

This file was deleted.

2 changes: 1 addition & 1 deletion src/extendable_pydantic/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.1"
__version__ = "1.2.0"

0 comments on commit 4b8c7c3

Please sign in to comment.