mirror of
https://github.com/p2p-ld/numpydantic.git
synced 2024-11-09 16:24:28 +00:00
v1.1.0 bump version, add changelog
This commit is contained in:
parent
0fc5c39178
commit
01e622b8a6
3 changed files with 18 additions and 1 deletions
16
docs/changelog.md
Normal file
16
docs/changelog.md
Normal file
|
@ -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.
|
|
@ -475,6 +475,7 @@ design
|
||||||
syntax
|
syntax
|
||||||
interfaces
|
interfaces
|
||||||
todo
|
todo
|
||||||
|
changelog
|
||||||
```
|
```
|
||||||
|
|
||||||
```{toctree}
|
```{toctree}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "numpydantic"
|
name = "numpydantic"
|
||||||
version = "1.0.0"
|
version = "1.1.0"
|
||||||
description = "Type and shape validation and serialization for numpy arrays in pydantic models"
|
description = "Type and shape validation and serialization for numpy arrays in pydantic models"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "sneakers-the-rat", email = "sneakers-the-rat@protonmail.com"},
|
{name = "sneakers-the-rat", email = "sneakers-the-rat@protonmail.com"},
|
||||||
|
|
Loading…
Reference in a new issue