Skip to content

Commit 2974a37

Browse files
bump version, changelog
1 parent 0ffca84 commit 2974a37

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docs/changelog.md

+9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44

55
### 1.6.*
66

7+
#### 1.6.8 - 25-03-10
8+
9+
**Bugfix**
10+
11+
- [#46](https://github.com/p2p-ld/numpydantic/issues/46), [#47](https://github.com/p2p-ld/numpydantic/pull/47) -
12+
Correctly handle `np.datetime64` types. Typically `datetime.datetime` would be used to be generic across interfaces,
13+
but special types like `np.datetime64` were incorrectly rejected because they have a special type function/class
14+
relationship similar to `np.str_`. Make dtype checking also check the `dtype.type` attribute, if present.
15+
716
#### 1.6.7 - 25-01-23
817

918
**UX**

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "numpydantic"
3-
version = "1.6.7"
3+
version = "1.6.8"
44
description = "Type and shape validation and serialization for arbitrary array types in pydantic models"
55
authors = [
66
{name = "sneakers-the-rat", email = "[email protected]"},

0 commit comments

Comments
 (0)