From 01e622b8a675b3fa4d41617def6dea9291536cde Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Fri, 24 May 2024 18:57:16 -0700 Subject: [PATCH] v1.1.0 bump version, add changelog --- docs/changelog.md | 16 ++++++++++++++++ docs/index.md | 1 + pyproject.toml | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 docs/changelog.md 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"},