3.2.0 - 2024-12-11
Changed
pythonjsonlogger.[ORJSON,MSGSPEC]_AVAILABLE
no longer imports the respective package when determining availability.pythonjsonlogger.[orjson,msgspec]
now throws apythonjsonlogger.exception.MissingPackageError
when required libraries are not available. These contain more information about what is missing whilst still being anImportError
.defaults
parameter is no longer ignored and now conforms to the standard library. Setting a defaults dictionary will add the specified keys if the those keys do not exist in a record or weren't passed by theextra
parameter when logging a message.typing_extensions
is only installed on Python version < 3.10.- Support Python 3.13
msgspec
has only been tested against pre-release versions.