Skip to content

ujson library mentioned in the documentation is deprecated #10795

Open
@ashrub-holvi

Description

@ashrub-holvi

Is your feature request related to a problem?

https://docs.aiohttp.org/en/latest/client_quickstart.html says:

Note
ujson library is faster than standard json but slightly incompatible.

but docs https://pypi.org/project/ujson/ says:

[!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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions