chore(deps): bump python-json-logger from 3.3.0 to 4.2.0 in /backend
DE
4d ago+5+5+0123456789-5-5-0123456789
Bumps python-json-logger from 3.3.0 to 4.2.0.
Release notes
Sourced from python-json-logger's releases.
4.2.0
4.2.0 - 2026-08-15
Changed
- Logging a
dictno longer modifies it.exc_infoandstack_infowere previously added to the caller'sdict. #66- Move development dependencies from
project.optional-dependencies.devto[dependency-groups].dev(PEP 735). #46Fixed
$style formats now support unbraced$namefields, not just${name}. #18Thanks
@gaoflow,@prateek-dagar,@Sanjays24024.1.0
4.1.0 - 2026-03-29
Added
- Add support for Python 3.14, PyPy 3.11
Removed
- Remove support for Python 3.8, 3.9 (includes PyPy versions).
4.0.0
4.0.0 - 2025-10-06
Added
- Support
DictConfiguratorprefixes forrename_fieldsandstatic_fields. #45
- Allows using values like
ext://sys.stderrinfileConfig/dictConfigvalue fields.- Support comma seperated lists for Formatter
fmt(style=",") e.g."asctime,message,levelname"#15
- Note that this style is specific to
python-json-loggerand thus care should be taken not to pass this format to other logging Formatter implementations.- Supports sequences of strings (e.g. lists and tuples) of field names for Formatter
fmt. #16Changed
- Rename
pythonjsonlogger.core.LogRecordandlog_recordarguments to avoid confusion / overlapping withlogging.LogRecord. #38
- Affects arguments to
pythonjsonlogger.core.BaseJsonFormatter(and any child classes).
serialize_log_recordadd_fieldsjsonify_log_recordprocess_log_record- Note: functions referring to
log_recordhave not had their function name changed.Removed
- Remove support for providing strings instead of objects when instantiating formatters. Instead use the
DictConfiguratorext://prefix format when usingfileConfig/dictConfig. #47
- Affects
pythonjsonlogger.json.JsonFormatter:json_default,json_encoder,json_serializer.- Affects
pythonjsonlogger.orjson.OrjsonFormatter:json_default.- Affects
pythonjsonlogger.msgspec.MsgspecFormatter:json_default.Thanks
@rubensav4.0.0.rc1
... (truncated)
Changelog
Sourced from python-json-logger's changelog.
4.2.0 - 2026-08-15
Changed
- Logging a
dictno longer modifies it.exc_infoandstack_infowere previously added to the caller'sdict. #66- Move development dependencies from
project.optional-dependencies.devto[dependency-groups].dev(PEP 735). #46Fixed
$style formats now support unbraced$namefields, not just${name}. #18Thanks
@gaoflow,@prateek-dagar,@Sanjays24024.1.0 - 2026-03-29
Added
- Add support for Python 3.14, PyPy 3.11
Removed
- Remove support for Python 3.8, 3.9 (includes PyPy versions).
4.0.0 - 2025-10-06
Added
- Support
DictConfiguratorprefixes forrename_fieldsandstatic_fields. #45
- Allows using values like
ext://sys.stderrinfileConfig/dictConfigvalue fields.- Support comma separated lists for Formatter
fmt(style=",") e.g."asctime,message,levelname"#15
- Note that this style is specific to
python-json-loggerand thus care should be taken not to pass this format to other logging Formatter implementations.- Supports sequences of strings (e.g. lists and tuples) of field names for Formatter
fmt. #16Changed
- Rename
pythonjsonlogger.core.LogRecordandlog_recordarguments to avoid confusion / overlapping withlogging.LogRecord. #38
- Affects arguments to
pythonjsonlogger.core.BaseJsonFormatter(and any child classes).
serialize_log_recordadd_fieldsjsonify_log_recordprocess_log_record- Note: functions referring to
log_recordhave not had their function name changed.Removed
- Remove support for providing strings instead of objects when instantiating formatters. Instead use the
DictConfiguratorext://prefix format when usingfileConfig/dictConfig. #47
- Affects
pythonjsonlogger.json.JsonFormatter:json_default,json_encoder,json_serializer.- Affects
pythonjsonlogger.orjson.OrjsonFormatter:json_default.- Affects
pythonjsonlogger.msgspec.MsgspecFormatter:json_default.Thanks
@rubensa
Commits
806dba9Release 4.2.0010b730[core] Fixup doc-strings, remove outdated commentsb865bd3[core] support unbraced $name fields in $ style formats (#69)23a2c12test: Add tests for exception notes, exception groups, and exception note gro...355e44fdocs: fix spelling typos in docs and core docstrings (#71)0fcfc06Move development dependencies to dependency-groups (PEP 735) (#70)2557bbcfix: prevent mutation of original dict when record.msg is a dict (#66)3cc30fcFix tox build failure under PyPy 3.10 by conditionally pinning mypy<2 (#68)01cb83c[docs.security] Fix type on last dated80c68dRelease v4.1.0- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Bumps python-json-logger from 3.3.0 to 4.2.0 in the backend. This major update introduces breaking changes to formatter APIs.
Breaking changes
- Renamed
log_recordarguments inBaseJsonFormattermethods (serialize_log_record,add_fields,jsonify_log_record,process_log_record) to avoid conflict withlogging.LogRecord. - Removed support for passing strings as formatter options like
json_default,json_encoder,json_serializer; use objects orext://prefixes instead. - Logging a
dictno longer mutates it, so callers relying on the old side effect need to adjust.