chore: release json2xml 6.5.0#342
Merged
Merged
Conversation
Contributor
Reviewer's GuideRelease prep for json2xml 6.5.0: bump the library’s public version, update the fast extra to require json2xml-rs 0.4.2, refresh uv lockfile to the new Rust accelerator artifacts, and add detailed 6.5.0 release notes, performance profiling references, and history entries. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #342 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 7 7
Lines 759 759
=========================================
Hits 759 759
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Contributor
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="HISTORY.rst" line_range="8" />
<code_context>
+ * perf: reduce pure Python serializer time by 31.1% on the deterministic 5,000-record benchmark through exact native-type dispatch
+ * perf: release ``json2xml-rs`` 0.4.2 with hybrid SIMD/word XML escape scanning and a 6.23% benchmark reduction
+ * fix: preserve numeric, string, dictionary, and sequence subclass behavior across the optimized Python dispatch paths
+ * test: require exactly 100% statement coverage from the complete Python suite and add dense Rust escape-scanner regression coverage
+ * chore: require ``json2xml-rs>=0.4.2`` from ``json2xml[fast]`` and validate release wheels before PyPI publication
+ * docs: add Python and Rust before/after flamegraphs, buffer-capacity measurements, and release performance notes
</code_context>
<issue_to_address>
**nitpick (typo):** Consider aligning "escape-scanner" wording with "escape scanning" used elsewhere for consistency.
Here you use "escape-scanner", while elsewhere you say "XML escape scanning"; choosing one phrasing and using it consistently across the docs would improve clarity.
```suggestion
* test: require exactly 100% statement coverage from the complete Python suite and add dense Rust XML escape scanning regression coverage
```
</issue_to_address>Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
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
json2xmlfrom 6.4.0 to 6.5.0 in package metadata and the public module versionjson2xml-rs>=0.4.2accelerator from thefastextraPerformance
On the deterministic 5,000-record uv-managed CPython 3.15.0b3 workload, pure Python conversion improved from 83.0 ms to 57.2 ms (31.1%). The Rust 0.4.2 accelerator released first and improved from 6.007 ms to 5.632 ms (6.23%) with identical output.
Validation
json2xml==6.5.0and publishedjson2xml-rs==0.4.2rust; CLI reported version 6.5.0lat checkpassedSummary by Sourcery
Release json2xml 6.5.0 with performance optimizations, updated fast-accelerator dependency, and refreshed release documentation and metadata.
Enhancements:
Build:
Documentation:
Tests: