Skip to content

Commit 25b0dca

Browse files
committed
chore: Bump version to 0.6.0
1 parent 035ff61 commit 25b0dca

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
## `0.6.0` (2021-12-20)
2+
3+
* feat: Add @serde decorator ([523dc9c](https://github.com/yukinarit/pyserde/commit/523dc9c))
4+
* feat: Add serde field function ([488bf00](https://github.com/yukinarit/pyserde/commit/488bf00))
5+
* feat: Add serde_skip_default field attribute ([0f0b212](https://github.com/yukinarit/pyserde/commit/0f0b212))
6+
* feat: Automatically put dataclass decorator ([2f0cf01](https://github.com/yukinarit/pyserde/commit/2f0cf01))
7+
8+
With `serde` decorator and `field` function, you can declare pyserde class more easily.
9+
10+
```python
11+
from serde import serde, field
12+
13+
@serde
14+
class Foo:
15+
a : List[str] = field(default_factory=list, skip_if_false=True)
16+
```
17+
18+
The declaration until v0.5.3 still works.
19+
20+
```python
21+
from dataclasses import dataclass
22+
from serde import serialize, deserialize
23+
24+
@deserialize
25+
@serialize
26+
@dataclass
27+
class Foo:
28+
a : List[str] = field(default_factory=list, metadata={'serde_skip_if_false': True})
29+
```
30+
131
## `0.5.3` (2021-11-24)
232

333
* feat: Add more dataclass Field's attrs to Field ([7b57c53](https://github.com/yukinarit/pyserde/commit/7b57c53))

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.5.3"
3+
version = "0.6.0"
44
description = "Yet another serialization library on top of dataclasses"
55
authors = ["yukinarit <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)