Changes¶
Version 2.0.0¶
Released 2024-01-14
Simplify how the library is used and configured.
The
ORJSONextension class is removed. Useapp.json = OrjsonProvider(app).OrjsonProviderhasoptionanddefaultattributes, ordumpstakes them as keyword arguments.The provider does not have
sort_keysorcompactas arguments or attributes. Useoptionto set the relevant orjson flags instead.The
__version__attribute is removed. Callimportlib.metadata.versioninstead.datetimeobjects without a timezone (naive) use UTC.Export type annotations.
Change license to MIT.
Use PyPI trusted publishing.
Use
srcdirectory layout.
Version 1.2.0¶
Released 2023-12-11
Python 3.8 compatibility.
Version 1.1.0¶
Released 2023-12-10
Add init arguments to control output format and
defaultfunction.
Version 1.0.3¶
Released 2023-12-08
Fix use of
dumpskwargs.
Version 1.0.2¶
Released 2023-12-08
Fix minimum orjson version.
Version 1.0.1¶
Released 2023-12-01
Update docs.
Version 1.0.0¶
Released 2023-12-01
Initial release.