Released 2024-01-14
- Simplify how the library is used and configured.
- The
ORJSON
extension class is removed. Useapp.json = OrjsonProvider(app)
. OrjsonProvider
hasoption
anddefault
attributes, ordumps
takes them as keyword arguments.- The provider does not have
sort_keys
orcompact
as arguments or attributes. Useoption
to set the relevant orjson flags instead. - The
__version__
attribute is removed. Callimportlib.metadata.version
instead. datetime
objects without a timezone (naive) use UTC.- Export type annotations.
- Change license to MIT.
- Use PyPI trusted publishing.
- Use
src
directory layout.
Released 2023-12-11
- Python 3.8 compatibility.
Released 2023-12-10
- Add init arguments to control output format and
default
function.
Released 2023-12-08
- Fix use of
dumps
kwargs
.
Released 2023-12-08
- Fix minimum orjson version.
Released 2023-12-01
- Update docs.
Released 2023-12-01
- Initial release.