Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 21, 2023

This PR contains the following updates:

Package Type Update Change
serde (source) workspace.dependencies patch 1.0.193 -> 1.0.228
serde_json workspace.dependencies patch 1.0.108 -> 1.0.145
serde_qs workspace.dependencies minor 0.12.0 -> 0.15.0
serde_with workspace.dependencies minor 3.1.0 -> 3.16.0

Release Notes

serde-rs/serde (serde)

v1.0.228

Compare Source

  • Allow building documentation with RUSTDOCFLAGS='--cfg=docsrs' set for the whole dependency graph (#​2995)

v1.0.227

Compare Source

v1.0.226

Compare Source

  • Deduplicate variant matching logic inside generated Deserialize impl for adjacently tagged enums (#​2935, thanks @​Mingun)

v1.0.225

Compare Source

  • Avoid triggering a deprecation warning in derived Serialize and Deserialize impls for a data structure that contains its own deprecations (#​2879, thanks @​rcrisanti)

v1.0.224

Compare Source

  • Remove private types being suggested in rustc diagnostics (#​2979)

v1.0.223

Compare Source

  • Fix serde_core documentation links (#​2978)

v1.0.222

Compare Source

  • Make serialize_with attribute produce code that works if respanned to 2024 edition (#​2950, thanks @​aytey)

v1.0.221

Compare Source

  • Documentation improvements (#​2973)
  • Deprecate serde_if_integer128! macro (#​2975)

v1.0.220

Compare Source

v1.0.219

Compare Source

  • Prevent absolute_paths Clippy restriction being triggered inside macro-generated code (#​2906, thanks @​davidzeng0)

v1.0.218

Compare Source

  • Documentation improvements

v1.0.217

Compare Source

  • Support serializing externally tagged unit variant inside flattened field (#​2786, thanks @​Mingun)

v1.0.216

Compare Source

v1.0.215

Compare Source

v1.0.214

Compare Source

  • Implement IntoDeserializer for all Deserializers in serde::de::value module (#​2568, thanks @​Mingun)

v1.0.213

Compare Source

  • Fix support for macro-generated with attributes inside a newtype struct (#​2847)

v1.0.212

Compare Source

  • Fix hygiene of macro-generated local variable accesses in serde(with) wrappers (#​2845)

v1.0.211

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • Fix deserialization of empty structs and empty tuples inside of untagged enums (#​2805, thanks @​Mingun)

v1.0.208

Compare Source

  • Support serializing and deserializing unit structs in a flatten field (#​2802, thanks @​jonhoo)

v1.0.207

Compare Source

  • Improve interactions between flatten attribute and skip_serializing/skip_deserializing (#​2795, thanks @​Mingun)

v1.0.206

Compare Source

v1.0.205

Compare Source

  • 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

Compare Source

  • 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)

v1.0.203

Compare Source

v1.0.202

Compare Source

  • Provide public access to RenameAllRules in serde_derive_internals (#​2743)

v1.0.201

Compare Source

  • Resolve unexpected_cfgs warning (#​2737)

v1.0.200

Compare Source

  • Fix formatting of "invalid type" and "invalid value" deserialization error messages containing NaN or infinite floats (#​2733, thanks @​jamessan)

v1.0.199

Compare Source

  • Fix ambiguous associated item when forward_to_deserialize_any! is used on an enum with Error variant (#​2732, thanks @​aatifsyed)

v1.0.198

Compare Source

v1.0.197

Compare Source

  • Fix unused_imports warnings when compiled by rustc 1.78
  • Optimize code size of some Display impls (#​2697, thanks @​nyurik)

v1.0.196

Compare Source

  • Improve formatting of "invalid type" error messages involving floats (#​2682)

v1.0.195

Compare Source

  • Prevent remote definitions of tuple struct or tuple variant from triggering dead_code warning (#​2671)

v1.0.194

Compare Source

  • Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache
serde-rs/json (serde_json)

v1.0.145

Compare Source

  • Raise serde version requirement to >=1.0.220

v1.0.144

Compare Source

  • Switch serde dependency to serde_core (#​1285)

v1.0.143

Compare Source

v1.0.142

Compare Source

v1.0.141

Compare Source

v1.0.140

Compare Source

  • Documentation improvements

v1.0.139

Compare Source

  • Documentation improvements

v1.0.138

Compare Source

  • Documentation improvements

v1.0.137

Compare Source

  • Turn on "float_roundtrip" and "unbounded_depth" features for serde_json in play.rust-lang.org (#​1231)

v1.0.136

Compare Source

  • Optimize serde_json::value::Serializer::serialize_map by using Map::with_capacity (#​1230, thanks @​goffrie)

v1.0.135

Compare Source

v1.0.134

Compare Source

  • Add RawValue associated constants for literal null, true, false (#​1221, thanks @​bheylin)

v1.0.133

Compare Source

  • Implement From<[T; N]> for serde_json::Value (#​1215)

v1.0.132

Compare Source

  • Improve binary size and compile time for JSON array and JSON object deserialization by about 50% (#​1205)
  • Improve performance of JSON array and JSON object deserialization by about 8% (#​1206)

v1.0.131

Compare Source

  • Implement Deserializer and IntoDeserializer for Map<String, Value> and &Map<String, Value> (#​1135, thanks @​swlynch99)

v1.0.130

Compare Source

  • Support converting and deserializing Number from i128 and u128 (#​1141, thanks @​druide)

v1.0.129

Compare Source

v1.0.128

Compare Source

v1.0.127

Compare Source

v1.0.126

Compare Source

  • Improve string parsing on targets that use 32-bit pointers but also have fast 64-bit integer arithmetic, such as aarch64-unknown-linux-gnu_ilp32 and x86_64-unknown-linux-gnux32 (#​1182, thanks @​CryZe)

v1.0.125

Compare Source

v1.0.124

Compare Source

v1.0.123

Compare Source

v1.0.122

Compare Source

  • Support using json! in no-std crates (#​1166)

v1.0.121

Compare Source

v1.0.120

Compare Source

v1.0.119

Compare Source

v1.0.118

Compare Source

v1.0.117

Compare Source

  • Resolve unexpected_cfgs warning (#​1130)

v1.0.116

Compare Source

v1.0.115

Compare Source

  • Documentation improvements

v1.0.114

Compare Source

  • Fix unused_imports warnings when compiled by rustc 1.78

v1.0.113

Compare Source

  • Add swap_remove and shift_remove methods on Map (#​1109)

v1.0.112

Compare Source

  • Improve formatting of "invalid type" error messages involving floats (#​1107)

v1.0.111

Compare Source

v1.0.110

Compare Source

  • Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache

v1.0.109

Compare Source

  • Documentation improvements
samscott89/serde_qs (serde_qs)

v0.15.0

Compare Source

Other
  • Support preserving order of parameters when serializing to a Map. (#​106)
  • Fix clippy. (#​129)
  • reorder struct fields to avoid serde buffering (#​128)

v0.14.0

Compare Source

Other
  • Add release plz CI (#​125)
  • Update CI config (#​124)
  • update axum to v0.8 (#​118)
  • :multiple_bound_locations (#​103)
  • Add axum::OptionalQsQuery (#​102)
  • generate docs for axum support as well (#​100)
  • Update README.md

v0.13.0

  • Bump axum support to 0.7
  • Remove support for actix-web 2.0
  • Add support for extracting form data in actix via QsForm
jonasbb/serde_with (serde_with)

v3.16.0: serde_with v3.16.0

Compare Source

Added

v3.15.1: serde_with v3.15.1

Compare Source

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

v3.15.0: serde_with v3.15.0

Compare Source

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.

v3.14.1: serde_with v3.14.1

Compare Source

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.

v3.14.0: serde_with v3.14.0

Compare Source

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

v3.13.0: serde_with v3.13.0

Compare Source

Added
  • Added support for schemars v0.9.0 under the schemars_0_9 feature flag by @​swlynch99 (#​849)
  • Introduce SerializeDisplayAlt derive macro (#​833)
    An alternative to the SerializeDisplay macro except instead of using the
    plain formatting like format!("{}", ...), it serializes with the
    Formatter::alternate flag set to true, like format!("{:#}", ...)
Changed
  • Generalize serde_with::rust::unwrap_or_skip to support deserializing references by @​beroal (#​832)
  • Bump MSRV to 1.71, since that is required for the jsonschema dev-dependency.
  • Make serde_conv available without the std feature by @​arilou (#​839)
  • Bump MSRV to 1.74, since that is required for schemars v0.9.0 by @​swlynch99 (#​849)
Fixed
  • Make the DurationSeconds types and other variants more accessible even without std (#​845)

v3.12.0: serde_with v3.12.0

Compare Source

Added
Changed
Fixed

v3.11.0: serde_with v3.11.0

Compare Source

Added
  • Add support for hashbrown v0.15 (#​787/#​790)

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

v3.10.0: serde_with v3.10.0

Compare Source

Added
  • Add newline separator by @​jayvdb (#​777)

    The UnixLineSeparator and DosLineSeparator can be used together with StringWithSeparator.

Fixed
  • Proper handling of cfg_attr in the serde_as macro by @​sivizius (#​782)

    This allows to parse more valid forms of the cfg_attr macro, including multiple values and attribute that do not follow the key = value schema.

v3.9.0: serde_with v3.9.0

Compare Source

Added
  • Deserialize a map` and skip all elements failing to deserialize by @​johnmave126 (#​763)

    MapSkipError acts like a map (HashMap/BTreeMap), but keys or values that fail to deserialize, like are ignored.

    For formats with heterogeneously typed maps, we can collect only the elements where both key and value are deserializable.
    This is also useful in conjunction to #[serde(flatten)] to ignore some entries when capturing additional fields.

    // JSON
    "value": {"0": "v0", "5": "v5", "str": "str", "10": 2},
    
    // Rust
    #[serde_as(as = "MapSkipError<DisplayFromStr, _>")]
    value: BTreeMap<u32, String>,
    
    // Only deserializes entries with a numerical key and a string value, i.e.,
    {0 => "v0", 5 => "v5"}
    

v3.8.3: serde_with v3.8.3

Compare Source

Fixed
  • Fix compile issues when dependency schemars_0_8 is used with the preserve_order features (#​762)

v3.8.2: serde_with v3.8.2

Compare Source

Changed
  • Bump MSRV to 1.67, since that is required for the time dependency.
    The time version needed to be updated for nightly compatibility.
Fixed

v3.8.1: serde_with v3.8.1

Compare Source

Fixed
  • Do not emit schemars(deserialize_with = "...") annotations, as schemars does not support them (#​735)
    Thanks to @​sivizius for reporting the issue.

v3.8.0: serde_with v3.8.0

Compare Source

Added
Changed
  • Bump base64 dependency to v0.22 (#​724)
  • Update dev dependencies
Fixed
  • serde_conv regressed and triggered clippy::ptr_arg and add test to prevent future problems. (#​731)

v3.7.0: serde_with v3.7.0

Compare Source

Added
Fixed
  • Detect conflicting schema_with attributes on fields with schemars annotations by @​swlynch99 (#​715)
    This extends the existing avoidance mechanism to a new variant fixing #​712.

v3.6.1: serde_with v3.6.1

Compare Source

Changed
  • Eliminate dependency on serde's "derive" feature by @​dtolnay (#​694)
    This allows parallel compilation of serde and serde_derive which can speed up the wallclock time.
    It requires that downstream crates do not use the "derive" feature either.

v3.6.0: serde_with v3.6.0

Compare Source

Added
  • Add IfIsHumanReadable for conditional implementation by @​irriden (#​690)
    Used to specify different transformations for text-based and binary formats.
  • Add more JsonSchemaAs impls for all Duration* and Timestamp* adaptors by @​swlynch99 (#​685)
Changed
  • Bump MSRV to 1.65, since that is required for the regex dependency.

v3.5.1: serde_with v3.5.1

Compare Source

Fixed
  • The serde_as macro now better detects existing schemars attributes on fields and incorporates them by @​swlynch99 (#​682)
    This avoids errors on existing #[schemars(with = ...)] annotations.

v3.5.0: serde_with v3.5.0

Compare Source

Added
  • Support for schemars integration added by @​swlynch99 (#​666)
    The support uses a new Schema top-level item which implements JsonSchema
    The serde_as macro can now detect schemars usage and emits matching annotations for all fields with serde_as attribute.
    Many types of this crate come already with support for the schemars, but support is not complete and will be extended over time.

v3.4.0: serde_with v3.4.0

Compare Source

  • Lower minimum required serde version to 1.0.152 (#​653)
    Thanks to @​banool for submitting the PR.

    This allows people that have a problem with 1.0.153 to still use serde_with.

  • Add support for core::ops::Bound (#​655)
    Thanks to @​qsantos for submitting the PR.

v3.3.0: serde_with v3.3.0

Compare Source

Added
  • Support the hashbrown type HashMap and HashSet (#​636, #​637)
    Thanks to @​OliverNChalk for raising the issue and submitting a PR.

    This extends the existing support for HashMaps and HashSets to the hashbrown crate v0.14.
    The same conversions as for the std and indexmap types are available, like general support for #[serde_as] and converting it to/from sequences or maps.

Changed
  • Generalize some trait bounds for DeserializeAs implementations

    While working on #​637 it came to light that some of the macros for generating DeserializeAs implementations were not as generic as they could.
    This means they didn't work with custom hasher types, but only the default hashers.
    This has now been fixed and custom hashers should work better, as long as they implement BuildHasher + Default.

  • (internal) Change how features are documented (#​639)

    This change moves the feature documentation into Cargo.toml in a format that can be read by lib.rs.
    It will improve the generated features documentation there.
    The page with all features remains in the guide but is now generated from the Cargo.toml information.

v3.2.0: serde_with v3.2.0

Compare Source

Added
  • Add optional support for indexmap v2 (#​621)
    Support for v1 is already available using the indexmap_1 feature.
    This adds identical support for v2 of indexmap using the indexmap_2 feature.
Changed
  • Bump MSRV to 1.64, since that is required for the indexmap v2 dependency.
Fixed
  • Prevent panics when deserializing i64::MIN using TimestampSeconds<i64> (#​632, #​633)
    Thanks to @​hollmmax for reporting and fixing the issue.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/serde-crates branch 2 times, most recently from fb3f0a9 to 0a3a775 Compare July 22, 2023 02:41
@renovate renovate bot changed the title chore(deps): update rust crate serde to 1.0.174 chore(deps): update rust crate serde to 1.0.175 Jul 24, 2023
@renovate renovate bot force-pushed the renovate/serde-crates branch from 0a3a775 to 6b38e5b Compare July 24, 2023 03:45
@renovate renovate bot changed the title chore(deps): update rust crate serde to 1.0.175 chore(deps): update serde crates Jul 26, 2023
@renovate renovate bot force-pushed the renovate/serde-crates branch 5 times, most recently from b3b166a to fc7f4b8 Compare July 31, 2023 23:29
@renovate renovate bot force-pushed the renovate/serde-crates branch 4 times, most recently from b0acb79 to cc40744 Compare August 7, 2023 07:42
@renovate renovate bot force-pushed the renovate/serde-crates branch 4 times, most recently from 1c57f18 to a845956 Compare August 21, 2023 06:07
@renovate renovate bot force-pushed the renovate/serde-crates branch 3 times, most recently from 4d072c7 to 72c3626 Compare August 26, 2023 05:43
@renovate renovate bot force-pushed the renovate/serde-crates branch 7 times, most recently from 996b92f to 7c94c25 Compare September 14, 2023 00:30
@renovate renovate bot force-pushed the renovate/serde-crates branch from 6e95e70 to 0365d39 Compare October 5, 2024 22:07
@renovate renovate bot force-pushed the renovate/serde-crates branch 7 times, most recently from 359bbd6 to 14ac002 Compare October 22, 2024 21:37
@renovate renovate bot force-pushed the renovate/serde-crates branch from 14ac002 to c5195a4 Compare October 28, 2024 18:18
@renovate renovate bot force-pushed the renovate/serde-crates branch 2 times, most recently from ecde74b to abbb01e Compare November 17, 2024 03:08
@renovate renovate bot force-pushed the renovate/serde-crates branch from abbb01e to a594a39 Compare December 11, 2024 05:13
@renovate renovate bot changed the title chore(deps): update serde crates fix(deps): update serde crates Dec 16, 2024
@renovate renovate bot changed the title fix(deps): update serde crates chore(deps): update serde crates Dec 17, 2024
@renovate renovate bot force-pushed the renovate/serde-crates branch 3 times, most recently from 10a4385 to 7111390 Compare December 27, 2024 21:24
@renovate renovate bot force-pushed the renovate/serde-crates branch from 7111390 to f198494 Compare January 7, 2025 01:09
@renovate renovate bot force-pushed the renovate/serde-crates branch 2 times, most recently from ea722d0 to 2f17e62 Compare January 20, 2025 00:36
@renovate renovate bot force-pushed the renovate/serde-crates branch from 2f17e62 to e9df892 Compare January 28, 2025 18:28
@renovate renovate bot force-pushed the renovate/serde-crates branch 2 times, most recently from d3e7bbf to b0ea47e Compare February 20, 2025 10:25
@renovate renovate bot force-pushed the renovate/serde-crates branch 3 times, most recently from af67eb8 to 7d5c54c Compare March 9, 2025 21:29
@renovate renovate bot force-pushed the renovate/serde-crates branch from 7d5c54c to af52abd Compare April 22, 2025 23:05
@renovate renovate bot force-pushed the renovate/serde-crates branch from af52abd to a0c5957 Compare June 14, 2025 16:43
@renovate
Copy link
Contributor Author

renovate bot commented Jun 14, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package [email protected] --precise 3.16.0
    Updating crates.io index
error: failed to select a version for `ref-cast`.
    ... required by package `schemars v0.9.0`
    ... which satisfies dependency `schemars_0_9 = "^0.9.0"` of package `serde_with v3.16.0`
    ... which satisfies dependency `serde_with = "^3.1.0"` of package `httpbin v0.1.0 (/tmp/renovate/repos/github/duskmoon314/httpbin-rs/httpbin)`
    ... which satisfies path dependency `httpbin` (locked to 0.1.0) of package `httpbin-actix v0.1.0 (/tmp/renovate/repos/github/duskmoon314/httpbin-rs/httpbin-actix)`
versions that meet the requirements `^1.0.22` are: 1.0.25, 1.0.24, 1.0.23, 1.0.22

all possible versions conflict with previously selected packages.

  previously selected package `ref-cast v1.0.16`
    ... which satisfies dependency `ref-cast = "^1.0"` (locked to 1.0.16) of package `rocket v0.5.0`
    ... which satisfies dependency `rocket = "^0.5.0"` (locked to 0.5.0) of package `httpbin-rocket v0.1.0 (/tmp/renovate/repos/github/duskmoon314/httpbin-rs/httpbin-rocket)`

failed to select a version for `ref-cast` which could resolve this conflict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant