Skip to content

Commit 4e1f8e1

Browse files
committed
chore: Bump version to 0.7.3
1 parent 5fa8b97 commit 4e1f8e1

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
## `0.7.3` (2022-05-10)
2+
3+
Thanks to the great contribution by [@kmsquire](https://github.com/kmsquire), pyserde supports some numpy types!
4+
5+
```python
6+
@serde
7+
class NPFoo:
8+
i: np.int32
9+
j: np.int64
10+
f: np.float32
11+
g: np.float64
12+
h: np.bool_
13+
u: np.ndarray
14+
v: npt.NDArray
15+
w: npt.NDArray[np.int32]
16+
x: npt.NDArray[np.int64]
17+
y: npt.NDArray[np.float32]
18+
z: npt.NDArray[np.float64]
19+
```
20+
21+
* feat: Remove try-catch from is_numpy_array() (unnecessary) ([731876f](https://github.com/yukinarit/pyserde/commit/731876f))
22+
* feat: Support Literal[...] type annotation ([e50c958](https://github.com/yukinarit/pyserde/commit/e50c958))
23+
* feat: Support numpy types ([78eb22e](https://github.com/yukinarit/pyserde/commit/78eb22e))
24+
* feat(compat): Only define np_get_origin() for python 3.8 or earlier ([02c5af2](https://github.com/yukinarit/pyserde/commit/02c5af2))
25+
* feat(numpy): Support serialization of numpy.datetime64 ([5e521cf](https://github.com/yukinarit/pyserde/commit/5e521cf))
26+
* Don't import tests module from pyserde package ([d664426](https://github.com/yukinarit/pyserde/commit/d664426))
27+
* fix: Recognized numpy arrays on Python 3.7, 3.8 ([a0fa36f](https://github.com/yukinarit/pyserde/commit/a0fa36f))
28+
* fix(numpy): Fix direct numpy array deserialization ([8f9f71c](https://github.com/yukinarit/pyserde/commit/8f9f71c))
29+
* ci: Remove pypy-3.8 until a numpy wheel is released for it ([61b6130](https://github.com/yukinarit/pyserde/commit/61b6130))
30+
* chore: Update black, fix test_union formatting ([4a708fd](https://github.com/yukinarit/pyserde/commit/4a708fd))
31+
* chore: Update numpy version specification based on numpy compatibility with python ([1fa5e07](https://github.com/yukinarit/pyserde/commit/1fa5e07))
32+
33+
This release had contributions from 2 people: [@kmsquire](https://github.com/kmsquire) and [@chagui](https://github.com/chagui). Thank you so much! :tada: :joy:
34+
135
## `0.7.2` (2022-04-11)
236

337
* Don't package tests and examples ([af829ae](https://github.com/yukinarit/pyserde/commit/af829ae)), closes [#214](https://github.com/yukinarit/pyserde/issues/214)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pyserde"
3-
version = "0.7.2"
3+
version = "0.7.3"
44
description = "Yet another serialization library on top of dataclasses"
55
authors = ["yukinarit <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)