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-rsby writing directly into Python bytes instead of materializing a large Rust string first. - ⚡️ Publishes
json2xml-rs0.3.0 and updatesjson2xml[fast]to requirejson2xml-rs>=0.3.0. - ⚡️ Updates the Rust extension crate to Rust 2024 with
rust-version = 1.96. - 🛠 Fixes macOS
cargo testlinking 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.rstfor methodology and reproduction details.🚀 Release order
🚀
json2xml-rs0.3.0 was published first viarust-v0.3.0, then thisjson2xml6.2.0 release was published sojson2xml[fast]resolves cleanly.
Previous changes from v6.1.0
-
What's Changed
Full Changelog : v6.0.7...v6.1.0