Skip to content

chore: release json2xml 6.5.1 - #375

Merged
vinitkumar merged 1 commit into
masterfrom
release/python-6.5.1
Aug 4, 2026
Merged

chore: release json2xml 6.5.1#375
vinitkumar merged 1 commit into
masterfrom
release/python-6.5.1

Conversation

@vinitkumar

@vinitkumar vinitkumar commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • bump json2xml from 6.5.0 to 6.5.1
  • require the published XML-safe json2xml-rs 0.4.3 accelerator for the fast extra
  • regenerate uv.lock from the public Rust release
  • publish the 6.5.1 changelog, security notes, migration guidance, and package versions

Release order

json2xml-rs 0.4.3 was published and verified on PyPI and GitHub before this dependency floor was raised.

Verification

  • 496 tests passed with 100% statement coverage
  • Ruff passed
  • ty passed
  • isolated install selected json2xml-rs 0.4.3 and activated the Rust backend
  • sdist and wheel builds passed
  • Twine metadata checks passed
  • wheel metadata requires json2xml-rs>=0.4.3 for the fast extra
  • lat check passed

Summary by Sourcery

Release json2xml 6.5.1 with updated security behavior and a pinned Rust accelerator dependency.

New Features:

  • Document and ship json2xml 6.5.1 with clarified URL reading defaults, response size limits, and XML validation behavior.

Bug Fixes:

  • Ensure XML 1.0-forbidden characters are consistently rejected across the Python serializer and Rust accelerator instead of emitting invalid XML.

Enhancements:

  • Tighten URL reading security by pinning connections to validated DNS addresses, enforcing content-encoding and response size limits, and improving error handling for malformed hostnames and allow_private_networks values.
  • Require json2xml-rs>=0.4.3 for the json2xml[fast] extra and refresh the release notes to reflect the coordinated Python/Rust release.
  • Regenerate dependency lockfile and update release documentation with detailed highlights, migration guidance, package versions, and verification steps.

Build:

  • Bump the Python package version to 6.5.1 and update the json2xml[fast] extra to depend on json2xml-rs>=0.4.3.

Documentation:

  • Revise RELEASE_NOTES to describe the 6.5.1 security improvements, migration guidance, and package/version details, and to move previous json2xml-rs 0.4.3 notes into their own section.

Publish the security hardening with the verified json2xml-rs 0.4.3 dependency floor, synchronized lockfile, changelog, and release notes.
@sourcery-ai

sourcery-ai Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Reviewer's Guide

Release json2xml 6.5.1 by bumping the core package version, tightening the fast extra to require json2xml-rs 0.4.3, updating the release notes and history to describe the Python and Rust changes, and regenerating uv.lock against the published Rust accelerator.

File-Level Changes

Change Details Files
Bump json2xml to 6.5.1 and require the XML-safe json2xml-rs 0.4.3 for the fast extra.
  • Update the project version from 6.5.0 to 6.5.1 in packaging metadata.
  • Update the runtime version constant to 6.5.1.
  • Raise the json2xml-rs dependency floor for the fast extra from >=0.4.2 to >=0.4.3.
pyproject.toml
json2xml/__init__.py
Refresh and restructure release notes to document the json2xml 6.5.1 Python release and the json2xml-rs 0.4.3 Rust accelerator, including security, migration, and verification details.
  • Replace the top-level section to focus on json2xml 6.5.1 highlights, security behavior, migration guidance, package versions, and verification steps.
  • Move the json2xml-rs 0.4.3 content into its own section, preserving its highlights, migration guidance, package version, and verification details.
  • Align migration guidance and security notes between the Python package and Rust accelerator, updating wording to reflect current behavior and defaults.
RELEASE_NOTES.md
HISTORY.rst
Regenerate uv.lock to match the new dependency floor and published json2xml-rs 0.4.3 release.
  • Update locked dependency versions and hashes to reflect the new json2xml-rs minimum and current ecosystem state.
  • Ensure the lockfile is consistent with the pyproject.toml fast extra requirement.
uv.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (0754f9d) to head (86ffc47).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #375   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines          920       920           
=========================================
  Hits           920       920           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@vinitkumar
vinitkumar merged commit e951a9c into master Aug 4, 2026
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant