Skip to content

Releases: serde-rs/serde

v0.8.0-rc1

17 Jul 18:52
v0.8.0-rc1
6fe01bc
Compare
Choose a tag to compare
v0.8.0-rc1 Pre-release
Pre-release
Release 0.8.0-rc1

v0.7.14

09 Jul 20:53
v0.7.14
Compare
Choose a tag to compare

(this release is a Syntex bump only)

v0.7.13

06 Jul 03:17
v0.7.13
97bc1e0
Compare
Choose a tag to compare
  • Excludes generated code from Clippy lints (rust-clippy#969)
  • Fixes the error code when deserializing a struct or enum from a seq of the wrong length (#421)

v0.7.12

03 Jul 16:01
v0.7.12
Compare
Choose a tag to compare

(this release is a Syntex bump only)

v0.7.11

24 Jun 03:05
v0.7.11
6ab508a
Compare
Choose a tag to compare
  • Better error when attempting to derive Deserialize for a struct containing &str (#378)
  • Error when a struct field has duplicate attributes (#355)
  • Serialize and Deserialize impls for tuples up to 16 elements (previously only up to 12 elements) (#387)

v0.7.10

11 Jun 20:15
v0.7.10
8a09f05
Compare
Choose a tag to compare
  • Adds Serialize and Deserialize support for HashMap and HashSet that use a non-default Hasher (#369)

v0.7.9

10 Jun 03:29
v0.7.9
bb059b9
Compare
Choose a tag to compare
  • Adds serde_codegen::expand as an alternative to serde_codegen::register when using the with-syntex feature. This hides the dependency on Syntex and allows Syntex users to avoid being broken by Serde bumping its Syntex dependency. The serde_codegen::register function is deprecated and will be removed in 0.8.0. #362

v0.7.8

06 Jun 17:25
v0.7.8
58fa302
Compare
Choose a tag to compare
  • Adds a bound attribute for specifying handwritten where clause for Serialize and Deserialize impls in tricky situations (#352)
    • #[serde(bound="D: Serialize + Deserialize")]
    • #[serde(bound(serialize="D: Serialize", deserialize="D: Deserialize"))]
  • No longer generates bounds based on fields that contain direct recursion as this typically leads to infinite recursion in rustc (#336)
  • Fixes rename attributes canceling one another if specified separately for ser and de (#353)

v0.7.7

05 Jun 01:43
v0.7.7
Compare
Choose a tag to compare
  • Reverts an unintentional breaking change in 0.7.6 (#349)

v0.7.6

05 Jun 01:42
v0.7.6
Compare
Choose a tag to compare
  • Enables use in no_std environments, controlled by the following feature flags (#316)
    • alloc (implies nightly)
    • collections (implies alloc and nightly)
    • std (default)
  • Fixes a number of bugs around (de)serialize_with in newtype structs, tuple structs, newtype variants, and tuple variants (#335)
  • Serializes double-references to generic types correctly (#337)
  • Fixes some compiler warnings that snuck into 0.7.5 (#322)