Skip to content

chore(deps): bump the serde group across 1 directory with 2 updates#25227

Draft
pront wants to merge 2 commits intomasterfrom
prontidis/bump-serde-group
Draft

chore(deps): bump the serde group across 1 directory with 2 updates#25227
pront wants to merge 2 commits intomasterfrom
prontidis/bump-serde-group

Conversation

@pront
Copy link
Copy Markdown
Member

@pront pront commented Apr 20, 2026

Summary

Bumped serde_json to 1.0.149 and serde_with to 3.18.0. serde_json switched its float-to-string formatter from Ryū to Żmij in 1.0.147, so floats serialized via the native_json codec may render with slightly different textual form (for example 1e+16 instead of 1e16). The change is purely cosmetic: parsed f32/f64 values round-trip identically, and Vector-to-Vector communication between old and new versions is unaffected.

Vector configuration

How did you test this PR?

Change Type

  • Bug fix
  • New feature
  • Dependencies
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on our guidelines.
  • No. A maintainer will apply the no-changelog label to this PR.

References

Notes

  • Please read our Vector contributor resources.
  • Do not hesitate to use @vectordotdev/vector to reach out to us regarding this PR.
  • Some CI checks run only after we manually approve them.
    • We recommend adding a pre-push hook, please see this template.
    • Alternatively, we recommend running the following locally before pushing to the remote branch:
      • make fmt
      • make check-clippy (if there are failures it's possible some of them can be fixed with make clippy-fix)
      • make test
  • After a review is requested, please avoid force pushes to help us review incrementally.
    • Feel free to push as many commits as you want. They will be squashed into one before merging.
    • For example, you can run git merge origin master and git push.
  • If this PR introduces changes Vector dependencies (modifies Cargo.lock), please
    run make build-licenses to regenerate the license inventory and commit the changes (if any). More details on the dd-rust-license-tool.

dependabot bot and others added 2 commits April 20, 2026 14:05
Bumps the serde group with 2 updates in the / directory: [serde_with](https://github.com/jonasbb/serde_with) and [serde_json](https://github.com/serde-rs/json).


Updates `serde_with` from 3.14.0 to 3.17.0
- [Release notes](https://github.com/jonasbb/serde_with/releases)
- [Commits](jonasbb/serde_with@v3.14.0...v3.17.0)

Updates `serde_json` from 1.0.145 to 1.0.149
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.145...v1.0.149)

---
updated-dependencies:
- dependency-name: serde_with
  dependency-version: 3.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: serde
- dependency-name: serde_json
  dependency-version: 1.0.149
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: serde
...

Signed-off-by: dependabot[bot] <support@github.com>
…atter

serde_json 1.0.147 switched from Ryū to Żmij for float-to-string
formatting. The EstimatedJsonEncodedSizeOf impls for f32/f64 were using
ryu directly to predict serde_json's output size, which silently drifts
after the bump (for example ryu emits `1e16` while serde_json now emits
`1e+16`). Swap to zmij so the estimate tracks what serde_json actually
produces.
@github-actions github-actions bot added the domain: core Anything related to core crates i.e. vector-core, core-common, etc label Apr 20, 2026
@@ -0,0 +1,3 @@
Bumped `serde_json` to `1.0.149` and `serde_with` to `3.18.0`. `serde_json` switched its float-to-string formatter from Ryū to Żmij in `1.0.147`, so floats serialized via the `native_json` codec may render with slightly different textual form (for example `1e+16` instead of `1e16`). The change is purely cosmetic: parsed `f32`/`f64` values round-trip identically, and Vector-to-Vector communication between old and new versions is unaffected.
@datadog-vectordotdev
Copy link
Copy Markdown

⚠️ Tests

Fix all issues with Cursor

⚠️ Warnings

🧪 1 Test failed

roundtrip_current_native_json_fixtures from codecs::native   View in Datadog   (Fix with Cursor)
Test has failed

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: f02b863 | Docs | Give us feedback!

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

Labels

domain: core Anything related to core crates i.e. vector-core, core-common, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants