Update ujson to orjson in documentation#12039
Closed
veeceey wants to merge 1 commit intoaio-libs:masterfrom
Closed
Update ujson to orjson in documentation#12039veeceey wants to merge 1 commit intoaio-libs:masterfrom
veeceey wants to merge 1 commit intoaio-libs:masterfrom
Conversation
Fixes aio-libs#10795 ujson is now in maintenance-only mode and users are encouraged to migrate to orjson, which is faster and more secure. Updated the client quickstart documentation to reflect this recommendation.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #12039 +/- ##
=======================================
Coverage 98.76% 98.76%
=======================================
Files 127 127
Lines 44667 44667
Branches 2372 2372
=======================================
Hits 44114 44114
Misses 393 393
Partials 160 160
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Contributor
Author
|
Closing in favor of #12041 which has the same change with a cleaner commit history. |
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
ujsonlibrary withorjsonin the client quickstart documentationMotivation
The ujson library is now in maintenance-only mode, and its documentation explicitly recommends migrating to orjson, which is both faster and more secure.
From ujson's PyPI page:
Changes
docs/client_quickstart.rstto useorjson.dumpsinstead ofujson.dumpsorjsoninstead ofujsonTesting
Fixes #10795