Skip to content

Commit

Permalink
docs: Add tafia#531 into changelog for breaking changes
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo committed Dec 26, 2022
1 parent f63910d commit 5274bd4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Changelog.md
Expand Up @@ -77,6 +77,20 @@
- [#521]: MSRV bumped to 1.52.
- [#473]: `serde` feature that used to make some types serializable, renamed to `serde-types`
- [#528]: Added documentation for XML to `serde` mapping
- [#531]: `Option<Vec<T>>` doesn't work as before.

Replace

```rust
name: Option<Vec<T>>,
```

by

```rust
#[serde(default)] // not needed because if struct is `serde(default)`
name: Vec<T>,
```

[#473]: https://github.com/tafia/quick-xml/issues/473
[#490]: https://github.com/tafia/quick-xml/pull/490
Expand Down

0 comments on commit 5274bd4

Please sign in to comment.