json2xml v6.2.0 Release Notes

Release Date: 2026-06-05 // 6 days ago
  • json2xml 6.2.0

    🚀 This release ships the serializer memory savings for both the pure Python package and the optional Rust accelerator.

    Highlights

    • ⬇️ Reduces peak memory in the pure Python rooted-output path by avoiding an intermediate output list.
    • ⬇️ Reduces peak memory in json2xml-rs by writing directly into Python bytes instead of materializing a large Rust string first.
    • ⚡️ Publishes json2xml-rs 0.3.0 and updates json2xml[fast] to require json2xml-rs>=0.3.0.
    • ⚡️ Updates the Rust extension crate to Rust 2024 with rust-version = 1.96.
    • 🛠 Fixes macOS cargo test linking by separating normal PyO3 tests from extension-module builds.

    Memory benchmark

    For the documented 100,000-record benchmark, the Rust serializer RSS delta dropped from 157.70 MiB to 80.26 MiB, saving 77.44 MiB, about 49.1%.

    See docs/rust_memory_benchmark.rst for methodology and reproduction details.

    🚀 Release order

    🚀 json2xml-rs 0.3.0 was published first via rust-v0.3.0, then this json2xml 6.2.0 release was published so json2xml[fast] resolves cleanly.


Previous changes from v6.1.0

  • What's Changed

    • 🛠 fix: address open contribution issues (#292)
    • 📄 docs: improve README and add public roadmap (#287)

    Full Changelog : v6.0.7...v6.1.0