Skip to content

chore(deps): bump flate2, quick-xml, jsonschema (minor/patch) - #1834

Merged
mergify[bot] merged 1 commit into
mainfrom
devs/jd/jd/land-cargo-minor-patch-bumps/bump-flate2-quick-xml-jsonschema-minor-patch--34925c03
Sep 18, 2026
Merged

mergify[bot] merged 1 commit into
mainfrom
devs/jd/jd/land-cargo-minor-patch-bumps/bump-flate2-quick-xml-jsonschema-minor-patch--34925c03

Conversation

@jd

@jd jd commented Sep 15, 2026

Copy link
Copy Markdown
Member

flate2 1.1.9 -> 1.1.10, quick-xml 0.41 -> 0.42, jsonschema 0.49 -> 0.55.
Supersedes renovate's #1792, which never got past renovate/artifacts:
the bot regenerates Cargo.lock itself and couldn't, so every downstream
job (rust, MSRV, cargo-deny, wheels, smoke tests, ci-gate) was red for
want of a lockfile, not a real break in the bump.

quick-xml 0.42 replaces its whole byte-oriented name/text API with
&str (QName is now QName<'a>(pub &'a str), and BytesText /
BytesCData / BytesRef all implement AsRef<str> instead of
AsRef<[u8]>), since the crate only ever accepted UTF-8 XML anyway.
Update the JUnit parser's local_name() and every attribute/tag match
in junit.rs from byte-string patterns to string patterns to match.

jsonschema 0.49 -> 0.55 is six minor versions of a pre-1.0 crate; read
the crate's changelog end to end rather than trusting a clean compile.
The one behavior-relevant note (0.52.0: with default-features = false,
idn-hostname/idn-email need the new idna feature or they're
unknown formats) doesn't apply here — the Mergify config schema's own
format keywords (date-time, duration, regex, simple-template,
template) are all custom or already outside that set, so they were
unknown formats (silently accepted) before this bump too. No code
changes needed for mergify-config's validate_against_schema, which
only uses options().build() / iter_errors() / instance_path()
none of which changed shape across the six releases.

Cargo.lock's other moves (jsonschema-regex, jsonschema-value,
referencing pinned in lockstep with jsonschema; fraction and
num-bigint pulled in by jsonschema's own updated deps; miniz_oxide and
an inactive optional zlib-rs pulled in by flate2) are all forced by
these three bumps, not separate dependency moves.

Verified locally against the exact CI steps: cargo fmt --all --check,
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings, cargo test --workspace --all-features --locked (668
passed), cargo build --workspace --all-features --locked, all green.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

Copilot AI lite review requested due to automatic review settings September 15, 2026 15:37
@mergify
mergify Bot had a problem deploying to Mergify Merge Protections September 15, 2026 15:37 Failure
@jd
jd deployed to func-tests-live September 15, 2026 15:37 — with GitHub Actions Active

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

All reviewed changes have no unresolved issues.

Pull request overview

Updates Rust dependencies and migrates the JUnit parser to quick-xml 0.42’s string-based APIs.

Changes:

  • Bumps flate2, quick-xml, jsonschema, and transitive dependencies.
  • Updates JUnit tag, attribute, text, CDATA, and entity handling.
  • Refreshes the lockfile.
File summaries
File Description
crates/mergify-ci/src/junit_process/junit.rs Migrates parser logic to string-based quick-xml APIs.
Cargo.toml Updates workspace dependency constraints.
Cargo.lock Records resolved dependency upgrades.
Review details
  • Files reviewed: 2/3 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mergify

mergify Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 All 6 merge protections satisfied — ready to merge.

Show 6 satisfied protections

🟢 🤖 Continuous Integration

  • all of:
    • check-success=ci-gate

🟢 👀 Review Requirements

  • any of:
    • #approved-reviews-by>=2
    • author = dependabot[bot]
    • author = mergify-ci-bot
    • author = renovate[bot]

🟢 Enforce conventional commit

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|internal|docs|style|refactor|perf|test|build|ci|chore|revert|ui)(?:\(.+\))?!?:

🟢 🔎 Reviews

  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

🟢 📕 PR description

  • body ~= (?ms:.{48,})

🟢 🚦 Auto-queue

When all merge protections are satisfied, this pull request will be queued automatically.

flate2 1.1.9 -> 1.1.10, quick-xml 0.41 -> 0.42, jsonschema 0.49 -> 0.55.
Supersedes renovate's #1792, which never got past `renovate/artifacts`:
the bot regenerates Cargo.lock itself and couldn't, so every downstream
job (rust, MSRV, cargo-deny, wheels, smoke tests, ci-gate) was red for
want of a lockfile, not a real break in the bump.

quick-xml 0.42 replaces its whole byte-oriented name/text API with
`&str` (`QName` is now `QName<'a>(pub &'a str)`, and `BytesText` /
`BytesCData` / `BytesRef` all implement `AsRef<str>` instead of
`AsRef<[u8]>`), since the crate only ever accepted UTF-8 XML anyway.
Update the JUnit parser's `local_name()` and every attribute/tag match
in junit.rs from byte-string patterns to string patterns to match.

jsonschema 0.49 -> 0.55 is six minor versions of a pre-1.0 crate; read
the crate's changelog end to end rather than trusting a clean compile.
The one behavior-relevant note (0.52.0: with `default-features = false`,
`idn-hostname`/`idn-email` need the new `idna` feature or they're
unknown formats) doesn't apply here — the Mergify config schema's own
`format` keywords (`date-time`, `duration`, `regex`, `simple-template`,
`template`) are all custom or already outside that set, so they were
unknown formats (silently accepted) before this bump too. No code
changes needed for `mergify-config`'s `validate_against_schema`, which
only uses `options().build()` / `iter_errors()` / `instance_path()` —
none of which changed shape across the six releases.

Cargo.lock's other moves (jsonschema-regex, jsonschema-value,
referencing pinned in lockstep with jsonschema; fraction and
num-bigint pulled in by jsonschema's own updated deps; miniz_oxide and
an inactive optional zlib-rs pulled in by flate2) are all forced by
these three bumps, not separate dependency moves.

Verified locally against the exact CI steps: `cargo fmt --all --check`,
`cargo clippy --workspace --all-targets --all-features --locked --
-D warnings`, `cargo test --workspace --all-features --locked` (668
passed), `cargo build --workspace --all-features --locked`, all green.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Change-Id: I34925c0376293e993db7b1048faa55005f3d1b9e
@jd
jd force-pushed the devs/jd/jd/land-cargo-minor-patch-bumps/bump-flate2-quick-xml-jsonschema-minor-patch--34925c03 branch from 2135318 to 05a2648 Compare September 16, 2026 16:16
@jd

jd commented Sep 16, 2026

Copy link
Copy Markdown
Member Author

Revision history

# Type Changes Reason Date
1 initial 2135318 2026-09-16 16:16 UTC
2 rebase 2135318 → 05a2648 (rebase only) rebase onto main: picks up rustls 0.23.45 from #1833, which clears RUSTSEC-2026-0285 in cargo-deny; no change to the bumps themselves 2026-09-16 16:16 UTC

@jd
jd deployed to func-tests-live September 16, 2026 16:17 — with GitHub Actions Active
@jd

jd commented Sep 16, 2026

Copy link
Copy Markdown
Member Author

Rebased onto main to pick up rustls 0.23.45 (came in with #1833), which clears the RUSTSEC-2026-0285 advisory that was failing cargo-deny here. The three bumps themselves are unchanged. cargo deny check and cargo clippy -D warnings pass locally on the new head.

Compare: https://github.com/Mergifyio/mergify-cli/compare/2135318cd8b0baf819b0373d53ad7ea1545eb823..05a2648292eb

@mergify
mergify Bot requested a review from a team September 16, 2026 16:31
@mergify
mergify Bot deployed to Mergify Merge Protections September 16, 2026 16:31 Active
@jd
jd marked this pull request as ready for review September 17, 2026 08:11
@mergify
mergify Bot requested a review from a team September 17, 2026 08:26
@mergify

mergify Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 8 minutes 30 seconds in the queue, including 7 minutes 59 seconds running CI.

Required conditions to merge

@mergify mergify Bot added the queued label Sep 18, 2026
@mergify
mergify Bot merged commit 92d556d into main Sep 18, 2026
22 checks passed
@mergify
mergify Bot deleted the devs/jd/jd/land-cargo-minor-patch-bumps/bump-flate2-quick-xml-jsonschema-minor-patch--34925c03 branch September 18, 2026 09:10
@mergify mergify Bot removed the queued label Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants