diff --git a/docs/changelog.md b/docs/changelog.md new file mode 100644 index 0000000..9af94e8 --- /dev/null +++ b/docs/changelog.md @@ -0,0 +1,16 @@ +# Changelog + +# 1.* + +## 1.1.0 - 24-05-24 - Instance Checking + +https://github.com/p2p-ld/numpydantic/pull/1 + +Features: +- Add `__instancecheck__` method to NDArrayMeta to support `isinstance()` validation +- Add finer grained errors and parent classes for validation exceptions +- Add fast matching mode to {meth}`.Interface.match` that returns the first match without checking for duplicate matches + +Bugfix: +- get all interface classes recursively, instead of just first-layer children +- fix stubfile generation which badly handled `typing` imports. \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index 1e6a1f8..5c2b680 100644 --- a/docs/index.md +++ b/docs/index.md @@ -475,6 +475,7 @@ design syntax interfaces todo +changelog ``` ```{toctree} diff --git a/pyproject.toml b/pyproject.toml index 6fc15b4..9136e37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "numpydantic" -version = "1.0.0" +version = "1.1.0" description = "Type and shape validation and serialization for numpy arrays in pydantic models" authors = [ {name = "sneakers-the-rat", email = "sneakers-the-rat@protonmail.com"},