Skip to content

Releases: serde-rs/serde

v1.0.213

22 Oct 18:17
v1.0.213
58a8d22
Compare
Choose a tag to compare
  • Fix support for macro-generated with attributes inside a newtype struct (#2847)

v1.0.212

22 Oct 16:43
v1.0.212
7ae1b5f
Compare
Choose a tag to compare
  • Fix hygiene of macro-generated local variable accesses in serde(with) wrappers (#2845)

v1.0.211

22 Oct 06:33
v1.0.211
1b8310d
Compare
Choose a tag to compare
  • Improve error reporting about mismatched signature in with and default attributes (#2558, thanks @Mingun)
  • Show variant aliases in error message when variant deserialization fails (#2566, thanks @Mingun)
  • Improve binary size of untagged enum and internally tagged enum deserialization by about 12% (#2821)

v1.0.210

06 Sep 18:20
v1.0.210
89c4b02
Compare
Choose a tag to compare
  • Support serializing and deserializing IpAddr and SocketAddr in no-std mode on Rust 1.77+ (#2816, thanks @MathiasKoch)
  • Make serde::ser::StdError and serde::de::StdError equivalent to core::error::Error on Rust 1.81+ (#2818)

v1.0.209

24 Aug 03:31
v1.0.209
30752ac
Compare
Choose a tag to compare
  • Fix deserialization of empty structs and empty tuples inside of untagged enums (#2805, thanks @Mingun)

v1.0.208

15 Aug 15:43
v1.0.208
026e91a
Compare
Choose a tag to compare
  • Support serializing and deserializing unit structs in a flatten field (#2802, thanks @jonhoo)

v1.0.207

12 Aug 20:09
v1.0.207
1b4da41
Compare
Choose a tag to compare
  • Improve interactions between flatten attribute and skip_serializing/skip_deserializing (#2795, thanks @Mingun)

v1.0.206

11 Aug 07:13
v1.0.206
85c73ef
Compare
Choose a tag to compare
  • Improve support for flatten attribute inside of enums (#2567, thanks @Mingun)

v1.0.205

08 Aug 01:56
v1.0.205
9b868ef
Compare
Choose a tag to compare
  • Use serialize_entry instead of serialize_key + serialize_value when serialize flattened newtype enum variants (#2785, thanks @Mingun)
  • Avoid triggering a collection_is_never_read lint in the deserialization of enums containing flattened fields (#2791)

v1.0.204

06 Jul 20:40
v1.0.204
18dcae0
Compare
Choose a tag to compare
  • Apply #[diagnostic::on_unimplemented] attribute on Rust 1.78+ to suggest adding serde derive or enabling a "serde" feature flag in dependencies (#2767, thanks @weiznich)