From 8f60c60e8aa326ff3d4e762c700caa55b6f29a71 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Fri, 11 Oct 2024 02:29:38 -0700 Subject: [PATCH] bump version, changelog --- docs/changelog.md | 27 +++++++++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index 75ffcb3..365011a 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -4,6 +4,33 @@ ### 1.6.* +#### 1.6.4 - 24-10-11 - Combinatoric Testing + +PR: https://github.com/p2p-ld/numpydantic/pull/31 + + +We have rewritten our testing system for more rigorous tests, +where before we were limited to only testing dtype or shape cases one at a time, +now we can test all possible combinations together! + +This allows us to have better guarantees for behavior that all interfaces +should support, validating it against all possible dtypes and shapes. + +We also exposed all the helpers and array testing classes for downstream development +so that it would be easier to test and validate any 3rd-party interfaces +that haven't made their way into mainline numpydantic yet - +see the {mod}`numpydantic.testing` module. + +See the [testing documentation](./contributing/testing.md) for more details. + +**Bugfix** +- Previously, numpy and dask arrays with a model dtype would fail json roundtripping + because they wouldn't be correctly cast back to the model type. Now they are. +- Zarr would not dump the dtype of an array when it roundtripped to json, + causing every array to be interpreted as a random integer or float type. + `dtype` is now dumped and used when deserializing. + + #### 1.6.3 - 24-09-26 **Bugfix** diff --git a/pyproject.toml b/pyproject.toml index 37fd01a..bbbce4c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "numpydantic" -version = "1.6.3" +version = "1.6.4" description = "Type and shape validation and serialization for arbitrary array types in pydantic models" authors = [ {name = "sneakers-the-rat", email = "sneakers-the-rat@protonmail.com"},