You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[!WARNING] UltraJSON's architecture is fundamentally ill-suited to making changes without risk of introducing new security vulnerabilities. As a result, this library has been put into a maintenance-only mode. Support for new Python versions will be added and critical bugs and security issues will still be fixed but all other changes will be rejected. Users are encouraged to migrate to orjson which is both much faster and less likely to introduce a surprise buffer overflow vulnerability in the future.
Describe the solution you'd like
simplest option is just to not mention anything directly, but put some link to discussion/issue about alternative json libs, but just replacing ujson by orjson will works as well.
Describe alternatives you've considered
Related component
Client
Additional context
No response
Code of Conduct
I agree to follow the aio-libs Code of Conduct
The text was updated successfully, but these errors were encountered:
Complication is that orjson isn't a compatible replacement, if I remember correctly. It uses bytes instead of str, so probably needs slightly more changing than just the library name.
I'm wondering if we might even want to add a parameter or new function to accept bytes first..
Sound good to me. A large percentage of projects I work with use orjson now and it's in the top 360 PyPI packages now so there is lots of usage in the community that would warrant giving it a little bit more attention
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem?
https://docs.aiohttp.org/en/latest/client_quickstart.html says:
but docs https://pypi.org/project/ujson/ says:
Describe the solution you'd like
simplest option is just to not mention anything directly, but put some link to discussion/issue about alternative json libs, but just replacing ujson by orjson will works as well.
Describe alternatives you've considered
Related component
Client
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: