Skip to content

Releases: jonasbb/serde_with

serde_with v3.20.0

10 May 19:53
v3.20.0
f1b06c7

Choose a tag to compare

Added

  • Add support for base58 encoding, similar to the existing base64 setup by @mitinarseny (#943)

Fixed

  • Extend base64 with schemars support by @mitinarseny (#9949)

serde_with v3.19.0

02 May 22:20
v3.19.0
b4cbda0

Choose a tag to compare

Added

  • Add support for hashbrown v0.17 (#940)

    This extends the existing support for hashbrown to the newly released version.

serde_with v3.18.0

13 Mar 21:23
v3.18.0
d50ec96

Choose a tag to compare

Added

  • Support OneOrMany with more sequence and set types (#929)

Changed

  • Bump MSRV to 1.88 due to the darling dependency

serde_with v3.17.0

25 Feb 00:04
v3.17.0
4031878

Choose a tag to compare

Added

  • Support OneOrMany with smallvec v1 (#920, #922)

Changed

  • Switch to yaml_serde for a maintained yaml dependency by @kazan417 (#921)
  • Bump MSRV to 1.82, since that is required for yaml_serde dev-dependency.

serde_with v3.16.1

27 Nov 23:42
v3.16.1
8513323

Choose a tag to compare

Fixed

  • Fix JsonSchemaAs of SetPreventDuplicates and SetLastValueWins. (#906, #907)

serde_with v3.16.0

14 Nov 23:46
v3.16.0
066b9d4

Choose a tag to compare

Added

  • Added support for smallvec v1 under the smallvec_1 feature flag by @isharma228 (#895)
  • Add JsonSchemaAs implementation for json::JsonString by @yogevm15 (#901)

serde_with v3.15.1

21 Oct 23:17
v3.15.1
d5ccc10

Choose a tag to compare

Fixed

  • Fix building of the documentation by updating references to use serde_core.

serde_with v3.15.0

03 Oct 14:03
v3.15.0
ea38dce

Choose a tag to compare

Added

  • Added error inspection to VecSkipError and MapSkipError by @michelhe (#878)
    This allows interacting with the previously hidden error, for example for logging.
    Checkout the newly added example to both types.

  • Allow documenting the types generated by serde_conv!.
    The serde_conv! macro now acceps outer attributes before the optional visibility modifier.
    This allow adding doc comments in the shape of #[doc = "..."] or any other attributes, such as lint modifiers.

    serde_conv!(
        #[doc = "Serialize bools as string"]
        #[allow(dead_code)]
        pub BoolAsString,
        bool,
        |x: &bool| ::std::string::ToString::to_string(x),
        |x: ::std::string::String| x.parse()
    );
  • Add support for hashbrown v0.16 (#877)

    This extends the existing support for hashbrown v0.14 and v0.15 to the newly released version.

Changed

  • Bump MSRV to 1.76, since that is required for toml dev-dependency.

serde_with v3.14.1

19 Sep 23:02
v3.14.1
15022b1

Choose a tag to compare

Fixed

  • Show macro expansion in the docs.rs generated rustdoc.
    Since macros are used to generate trait implementations, this is useful to understand the exact generated code.

serde_with v3.14.0

30 Jun 17:20
v3.14.0
16ea265

Choose a tag to compare

Added

  • Add support for Range, RangeFrom, RangeTo, RangeInclusive (#851)
    RangeToInclusive is currently unsupported by serde.
  • Add schemars implementations for Bound, Range, RangeFrom, RangeTo, RangeInclusive.
  • Added support for schemars v1 under the schemars_1 feature flag