Update Rust crate serde_json to v1.0.150#18
Conversation
ed6ba56 to
d3b7acc
Compare
d3b7acc to
2aa95c9
Compare
2aa95c9 to
065427a
Compare
065427a to
84c86de
Compare
84c86de to
b40b658
Compare
There was a problem hiding this comment.
Summary
This PR updates the serde_json dependency from version 1.0.145 to 1.0.150 via a Cargo.lock-only change. This is a routine maintenance update managed by Renovate.
Verdict: Approved - This is a safe, semver-compatible patch update with no breaking changes for this codebase.
Research notes
I investigated the following:
-
serde_json v1.0.150 release notes (from GitHub releases): The only user-facing change in v1.0.150 is "Reject non-string enum object keys (#1324)". This change affects serialization of enums used as JSON object keys, which this codebase does not use.
-
zmij crate (the new dependency):
zmijis a floating-point to string conversion library created by dtolnay (David Tolnay, who also maintains serde_json). It implements the Schubfach and yy algorithms for efficient float formatting. This is an internal implementation detail - the public API of serde_json remains unchanged. -
Dependency impact: While
ryuis removed from serde_json's direct dependencies, it remains in the dependency tree through other crates (redisat line 1012 andserde_urlencodedat line 1221 of Cargo.lock), so there's no risk of removal-related issues. -
Codebase usage: The project uses serde_json for:
- Serializing/deserializing request/response models with
HashMap<String, serde_json::Value>for extra fields - JSON handling in Redis state persistence
- Error response formatting
None of these use cases involve enum object keys, so the v1.0.150 change is irrelevant here.
- Serializing/deserializing request/response models with
Suggested next steps
- Merge as-is - This is a standard dependency update with no issues.
- Optional: Consider updating
Cargo.tomlto pinserde_json = "1.0.150"if you want to ensure reproducible builds match the tested version, though the currentserde_json = "1.0"is acceptable for most projects.
General findings
No issues found. This is a clean, low-risk update:
- Semver-compatible (patch version within 1.x)
- Maintained by trusted authors (dtolnay)
- No breaking changes affecting this codebase
- Lockfile-only update is appropriate for Renovate-managed dependencies
This PR contains the following updates:
1.0.145→1.0.150Release Notes
serde-rs/json (serde_json)
v1.0.150Compare Source
v1.0.149Compare Source
v1.0.148Compare Source
zmijdependency to 1.0v1.0.147Compare Source
v1.0.146Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.