Release 7.1.1 - #440
Merged
Merged
Release 7.1.1#440
Conversation
Bump the package version and record the 7.1.1 fixes in HISTORY.rst and RELEASE_NOTES.md: decoder positions in reader errors, UTF-8 BOM acceptance, and the ty 0.0.83 test fixes.
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuidePrepares the 7.1.1 patch release by synchronizing package versions and documenting the previously merged JSON reader, UTF-8 BOM, and typing fixes, with no Rust source changes. Sequence diagram for JSON input parsing with BOM and decoder location errorssequenceDiagram
participant Input
participant Reader
participant JSONDecoder
Input->>Reader: readfromjson()
Reader->>Reader: StringReadError()
Reader->>JSONDecoder: json.loads()
alt leading UTF-8 BOM
JSONDecoder-->>Reader: parsed JSON
else malformed JSON
JSONDecoder-->>Reader: JSONDecodeError(line, column)
Reader-->>Input: JSONReadError with line and column
end
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 #440 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 7 7
Lines 1032 1032
=========================================
Hits 1032 1032
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="RELEASE_NOTES.md" line_range="1-18" />
<code_context>
-# json2xml 7.1.0
</code_context>
<issue_to_address>
**nitpick:** Replacing the `json2xml 7.1.0` section with the 7.1.1 section deletes the 7.1.0 highlights and migration guidance from `RELEASE_NOTES.md`. Readers using the release notes cannot find the documented behavior changes introduced in 7.1.0, even though older release sections remain in the file.
**Suggested fix:** Add the 7.1.1 section above the existing 7.1.0 section instead of deleting the 7.1.0 content.
</issue_to_address>
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
Patch release with the fixes merged in #438.
Version bumped in
pyproject.toml,json2xml/__init__.py, anduv.lock. Release notes added toHISTORY.rstandRELEASE_NOTES.md.json2xml-rsstays at 0.6.0; no Rust sources changed.Test plan
make check-all: lint, ty, 100% coveragelat checkmake distbuilds sdist and wheelv7.1.1anduv publish dist/*per CONTRIBUTINGSummary by Sourcery
Release json2xml 7.1.1 with improved JSON diagnostics, broader UTF-8 input compatibility, and updated package metadata.
Bug Fixes:
Enhancements:
Documentation:
Tests: