feat(deps): upgrade jaq to 3.0, digest crates to 0.11#893
Merged
Conversation
Breaking dependency upgrades: - jaq-core 2.2→3.0, jaq-std 2.1→3.0, jaq-json 1.1→2.0 - md-5, sha1, sha2: 0.10→0.11 (digest ecosystem 0.11) jaq 3.0 required rewriting the jq builtin integration: - Custom DataT impl for input/inputs filter support - Manual serde_json::Value ↔ jaq_json::Val conversion (Val no longer implements From<serde_json::Value>) - Updated Compiler/Ctx/Filter API (Vars, filter.id.run, etc.) - Chain jaq_core::defs() alongside std/json defs Fixed jq_try spec test: .foo on null returns null (not error) in jaq 3.0, matching real jq behavior. Digest 0.11 upgrade was seamless — no code changes needed.
Add/update cargo-vet exemptions for 20 new/changed transitive dependencies from the jaq 3.0 and digest 0.11 upgrades.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
These were flagged as outdated during maintenance but skipped because
cargo updateonly resolves within semver-compatible ranges. Major version bumps require editingCargo.tomlconstraints.Changes
jq.rs — Rewrote jaq integration for 3.0 API:
DataTimpl (InputData/InputDataRef) forinput/inputsfilter supportserde_json::Value↔jaq_json::Valconversion (From impls removed in jaq-json 2.0)Vars::new,filter.id.run,Ctx::new(data, vars))jaq_core::defs()alongside std/json defs (new requirement in 3.0)checksum.rs — No code changes needed (digest 0.11 API compatible)
jq.test.sh — Fixed
jq_tryspec test:.fooonnullreturnsnull(not error) in jaq 3.0, matching real jq behaviorTest plan
cargo clippy --all-targets --all-features -- -D warningscleancargo fmt --checkclean