Skip to content

Releases: serde-rs/serde

v1.0.177

27 Jul 17:54
v1.0.177
0676673
Compare
Choose a tag to compare
  • Add serde(rename_all_fields = "...") attribute to apply a rename_all on every struct variant of an enum (#1695, thanks @jplatte)
  • Improve diagnostics for attribute parse errors (#2536, thanks @jplatte)

v1.0.176

26 Jul 20:40
v1.0.176
85d5c1f
Compare
Choose a tag to compare
  • Allow tag field of an internally tagged enum to have same name as a field inside a skipped struct variant (#2266, thanks @flisky)

v1.0.175

24 Jul 03:09
v1.0.175
6140b6f
Compare
Choose a tag to compare
  • Restore missing LICENSE files in serde_derive crate (#2527, thanks @ankane)

v1.0.174

21 Jul 05:22
v1.0.174
22be673
Compare
Choose a tag to compare
  • Documentation improvements

v1.0.173

19 Jul 23:46
v1.0.173
6e0b13e
Compare
Choose a tag to compare
  • Fix missing trait implementations when using serde derive macro on a macro-generated data structure, such as via the bitflags crate (#2516)

v1.0.172

19 Jul 21:20
v1.0.172
63c65ef
Compare
Choose a tag to compare
  • Experiment with precompiling the serde_derive macros to reduce build time (#2514)

v1.0.171

10 Jul 01:06
v1.0.171
03da66c
Compare
Choose a tag to compare
  • Support derive(Deserialize) on unit structs that have const generics (#2500, thanks @Baptistemontan)

v1.0.170

09 Jul 18:20
v1.0.170
6502838
Compare
Choose a tag to compare
  • Produce error message on suffixed string literals inside serde attributes (#2242)
  • Support single identifier as unbraced default value for const generic parameter (#2449)

v1.0.169

09 Jul 04:12
v1.0.169
3fb5e71
Compare
Choose a tag to compare
  • Add Deserializer::deserialize_identifier support for adjacently tagged enums (#2475, thanks @Baptistemontan)
  • Fix unused_braces lint in generated Deserialize impl that uses braced const generic expressions (#2414)

v1.0.168

09 Jul 00:54
v1.0.168
09b78b2
Compare
Choose a tag to compare
  • Allow serde::de::IgnoredAny to be the type for a serde(flatten) field (#2436, thanks @Mingun)
  • Allow larger preallocated capacity for smaller elements (#2494)