Skip to content

Commit bed1d8f

Browse files
authored
Merge pull request #96 from yukinarit/bump-to-0.3.0
Bump to 0.3.0
2 parents af8d45f + 1c38bf8 commit bed1d8f

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
## 0.3.0 (2020-03-08)
2+
3+
* feat: Support PEP585 type hint annotation ([81d3f4f](https://github.com/yukinarit/pyserde/commit/81d3f4f))
4+
```python
5+
@deserialize
6+
@serialize
7+
@dataclass
8+
class Foo:
9+
l: list[str]
10+
t: tuple[str, bool]
11+
d: dict[str, list[int]]
12+
```
13+
* feat: add support for typing.Set & set ([20a4cdc](https://github.com/yukinarit/pyserde/commit/20a4cdc))
14+
* feat: add more types & use code generation ([d352d2d](https://github.com/yukinarit/pyserde/commit/d352d2d))
15+
* IPv4Address, IPv6Address, IPv4Network, IPv6Network, IPv4Interface, IPv6Interface
16+
* PosixPath, WindowsPath, PurePath, PurePosixPath, PureWindowsPath
17+
* UUID
18+
* feat: add convert_sets option required for to_json & to_msgpack ([f954586](https://github.com/yukinarit/pyserde/commit/f954586))
19+
* feat: add union support for complex types ([434edf6](https://github.com/yukinarit/pyserde/commit/434edf6))
20+
```python
21+
@deserialize
22+
@serialize
23+
@dataclass
24+
class Foo:
25+
v: Union[int, str]
26+
c: Union[Dict[str, int], List[int]]
27+
```
28+
* fix: Ellipsis overwriting configured default for reuse_instances ([b0366e5](https://github.com/yukinarit/pyserde/commit/b0366e5))
29+
* fix: forward reuse_instances & fix call order for optionals ([c56128c](https://github.com/yukinarit/pyserde/commit/c56128c))
30+
* fix: compatibility with python 3.6 ([7ae87b4](https://github.com/yukinarit/pyserde/commit/7ae87b4))
31+
* fix: this pytest option does not exist #58 ([c5938da](https://github.com/yukinarit/pyserde/commit/c5938da)), closes [#58](https://github.com/yukinarit/pyserde/issues/58)
32+
* fix: scope should not be shared between classes ([889ada1](https://github.com/yukinarit/pyserde/commit/889ada1))
33+
* fix: use iter_unions to recursively collect all unions of dataclass ([577aeb9](https://github.com/yukinarit/pyserde/commit/577aeb9))
34+
* build: Add PEP561 py.typed marker file ([c0f46b9](https://github.com/yukinarit/pyserde/commit/c0f46b9))
35+
* build: Don't install dataclasses for python>3.6 ([f47caa9](https://github.com/yukinarit/pyserde/commit/f47caa9))
36+
* build: setup pre-commit as formatting tool ([2876de4](https://github.com/yukinarit/pyserde/commit/2876de4))
37+
* ci: add code style check ([c52f7e9](https://github.com/yukinarit/pyserde/commit/c52f7e9))
38+
39+
This release had contibutions from 2 people: [@ydylla](https://github.com/ydylla), [@alexmisk](https://github.com/alexmisk). Thank you so much! :tada: :joy:
40+
141
## 0.2.2 (2020-01-19)
242

343
* Support inference of types on deserialization ([8c4efb2](https://github.com/yukinarit/pyserde/commit/8c4efb2))

serde/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from .se import asdict, astuple, is_serializable, serialize, to_dict, to_tuple # noqa
88

99
""" Version of pyserde. """
10-
__version__ = '0.2.2'
10+
__version__ = '0.3.0'
1111

1212
__all__ = [
1313
'serialize',

0 commit comments

Comments
 (0)