Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 21, 2025

Backport of #116947 to release/10.0-preview7

/cc @BrennanConroy

Customer Impact

Finishes up the work described in #68586. We did the first half of it last year for 9.0, and are completing the second half this year for 10.0.

Would like to get this merged into preview7, then update ASP.NET Core to make use of the new APIs and get further customer verification that everything works as expected.

Regression

  • Yes
  • No

Testing

Added the new APIs to the existing suite of Json tests so it should have nearly equivalent testing surface area as the existing APIs. Additionally, did manual fuzz testing on both the existing and new APIs to verify equivalent behavior. Fuzzing will be added to automation next.

Side-note: Fuzzing did find multiple bugs in STJ code both used by the new code and in the pre-existing code. Fixes have been merged already.

Risk

[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]

Low.

The change mostly does not change existing code, in order to make use of the change you need to call new methods. I've done dozens of hours of fuzz testing on both the existing and new APIs and have high confidence that this change doesn't break any existing code. The testing also gives high confidence in the new APIs, and the only differences that I'm now aware of are JsonException cases not quite lining up on the LineNumber, BytePositionInLine, and/or Path properties which I would consider very minor bugs.

@artl93 artl93 added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review Servicing-approved Approved for servicing release labels Jul 22, 2025
@BrennanConroy
Copy link
Member

/ba-g illink error is known and fixed #117916

@tarekgh tarekgh added this to the 10.0.0 milestone Jul 22, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis
See info in area-owners.md if you want to be subscribed.

@tarekgh tarekgh merged commit dc78ef3 into release/10.0-preview7 Jul 22, 2025
94 of 104 checks passed
@BrennanConroy BrennanConroy deleted the backport/pr-116947-to-release/10.0-preview7 branch July 22, 2025 18:29
@github-actions github-actions bot locked and limited conversation to collaborators Aug 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Text.Json Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants