FireStorm8142 opened a new pull request, #3986:
URL: https://github.com/apache/fory/pull/3986

   <!--
   **Thanks for contributing to Apache Fory™.**
   
   **If this is your first time opening a PR on fory, you can refer to 
[CONTRIBUTING.md](https://github.com/apache/fory/blob/main/CONTRIBUTING.md).**
   
   Contribution Checklist
   
       - The **Apache Fory™** community has requirements on the naming of pr 
titles. You can also find instructions in 
[CONTRIBUTING.md](https://github.com/apache/fory/blob/main/CONTRIBUTING.md).
   
       - Apache Fory™ has a strong focus on performance. If the PR you submit 
will have an impact on performance, please benchmark it first and provide the 
benchmark result here.
   -->
   
   ## Why?
   
   `LocaleSerializer` did not preserve Locale scripts and extensions during 
serialization, which could cause information to be lost after deserialization.
   
   ## What does this PR do?
   
   - Preserve Locale scripts during serialization and deserialization.
   - Preserve Locale Unicode extensions during serialization and 
deserialization.
   - Update the Locale cache key to include scripts and extensions.
   - Add test coverage for Locale scripts and Unicode extensions.
   
   ## Related issues
   
   <!-- No related issue. -->
   
   ## AI Contribution Checklist
   
   <!-- Full requirements and disclosure template:
   
https://github.com/apache/fory/blob/main/AI_POLICY.md#9-contributor-checklist-for-ai-assisted-prs
 -->
   
   - [ ] Substantial AI assistance was used in this PR: `yes` / `no`
   - [ ] If `yes`, I included a completed [AI Contribution 
Checklist](https://github.com/apache/fory/blob/main/AI_POLICY.md#9-contributor-checklist-for-ai-assisted-prs)
 in this PR description and the required `AI Usage Disclosure`.
   - [ ] If `yes`, my PR description includes the required `ai_review` summary 
and screenshot evidence or equivalent persisted links of the final clean AI 
review results from both fresh reviewers described in `AI_POLICY.md`, the 
Fory-guided reviewer and the independent general reviewer, on the current PR 
diff or current HEAD after the latest code changes.
   
   
   ## Does this PR introduce any user-facing change?
   
   - [ ] Does this PR introduce any public API change?
   - [ x] Does this PR introduce any binary protocol compatibility change?
   
   ## Benchmark


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to