File python-python-json-logger.changes of Package python-python-json-logger
-------------------------------------------------------------------
Mon Apr 6 20:39:32 UTC 2026 - Dirk Müller <dmueller@suse.com>
- update to 4.1.0:
* Add support for Python 3.14, PyPy 3.11
* Remove support for Python 3.8, 3.9 (includes PyPy versions).
- update to 4.0.0:
* Support `DictConfigurator` prefixes for `rename_fields` and
`static_fields`. #45
* Allows using values like `ext://sys.stderr` in
`fileConfig`/`dictConfig` value fields.
* Support comma seperated lists for Formatter `fmt`
(`style=","`) e.g. `"asctime,message,levelname"` #15
* Note that this style is specific to `python-json-logger` and
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`. #16
* Rename `pythonjsonlogger.core.LogRecord` and `log_record`
arguments to avoid confusion / overlapping with
`logging.LogRecord`. #38
- update to 3.3.0:
* `exc_info_as_array` and `stack_info_as_array` options are
added to `pythonjsonlogger.core.BaseJsonFormatter` allowing
both to be encoded as list of lines instead of a single
multi-line string. #35
* Remove `msgspec-python313-pre` from `dev` dependencies
preventing potential RCE. Details: GHSA-wmxh-pxcx-9w24
- update to 3.2.1:
* Import error on `import pythonjsonlogger.jsonlogger` #29
- update to 3.2.0:
* `pythonjsonlogger.[ORJSON,MSGSPEC]_AVAILABLE` no longer
imports the respective package when determining availability.
* `pythonjsonlogger.[orjson,msgspec]` now throws a
`pythonjsonlogger.exception.MissingPackageError` when
required libraries are not available. These contain more
information about what is missing whilst still being an
`ImportError`.
* `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 the `extra` 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.
* Thanks @cjwatson and @bharel
- update to 3.1.0:
* This splits common funcitonality out to allow supporting
other JSON encoders. Although this is a large refactor,
backwards compatibility has been maintained.
* `pythonjsonlogger.core` - more details below.
* `pythonjsonlogger.defaults` module that provides many
functions for handling unsupported types.
* Orjson encoder support via
`pythonjsonlogger.orjson.OrjsonFormatter` with the following
additions:
* bytes are URL safe base64 encoded.
* Exceptions are "pretty printed" using the exception name and
message e.g. `"ValueError: bad value passed"`
* Enum values use their value, Enum classes now return all
values as a list.
* Tracebacks are supported
* Classes (aka types) are support
* Will fallback on `__str__` if available, else `__repr__` if
available, else will use `__could_not_encode__`
* MsgSpec encoder support via
`pythonjsonlogger.msgspec.MsgspecFormatter` with the
following additions:
* Exceptions are "pretty printed" using the exception name and
message e.g. `"ValueError: bad value passed"`
* Enum classes now return all values as a list.
* Tracebacks are supported
* Classes (aka types) are support
* Will fallback on `__str__` if available, else `__repr__` if
available, else will use `__could_not_encode__`
* Note: msgspec only supprts enum values of type `int` or `str`
jcrist/msgspec#680
- Remove obsolete patches:
* support-python312.patch
* support-python313.patch
-------------------------------------------------------------------
Fri Nov 15 01:44:06 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-python313.patch:
* Support time.time_ns changes in Python 3.13+.
-------------------------------------------------------------------
Thu Feb 1 01:18:35 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-python312.patch:
* Support logging changes in Python 3.12+.
-------------------------------------------------------------------
Tue Jan 2 22:49:44 UTC 2024 - Dirk Müller <dmueller@suse.com>
- require setuptools
-------------------------------------------------------------------
Thu Jul 20 13:09:51 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Clean up the SPEC file.
- Switch to %pyproject_* macros.
-------------------------------------------------------------------
Wed Jul 19 13:18:33 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Wed May 3 09:09:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.0.7:
* Fix inclusion of py.typed in pip packages - @sth
* Added pytest support with test file rename. Migrated to
assertEqual
* Parameter `rename_fields` in merge_record_extra is now
optional - @afallou
* Allow reserved attrs to be renamed - @henkhogan
* Support added for Python 3.11
* Now verifying builds in Pypy 3.9 as well
* Type annotations are now in the package - @louis-jaris
* Fix rename_fields for exc_info - @guilhermeferrari
* Cleaned up test file for PEP8 - @lopagela
* Cleaned up old Python 2 artifacts - @louis-jaris
* Dropped Python 3.5 support - @idomozes
* Moved type check via tox into 3.11 run only
* Added test run in Python3.6 (will keep for a little while
longer, but it's EOL so upgrade)
-------------------------------------------------------------------
Thu Oct 6 22:41:33 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 2.0.4 - 2022-07-11
Changed
Fix too strict regex for percentage style logging - @aberres
- Update to 2.0.3 - 2022-07-08
Added
Add PEP 561 marker/basic mypy configuration. - @bringhurst
Workaround logging.LogRecord.msg type of string. - @bringhurst
Changed
Changed a link archive of the reference page in case it's down. - @ahonnecke
Removed unnecessary try-except around OrderedDict usage - @sozofaan
Update documentation link to json module + use https - @deronnax
Dropped 3.5 support. - @bringhurst
-------------------------------------------------------------------
Sat Nov 6 18:37:44 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 2.0.2:
* drop python 3.4 support
-------------------------------------------------------------------
Fri May 28 08:49:54 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest rpm macro
-------------------------------------------------------------------
Mon Dec 21 14:29:29 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Disable Python 2 builds
- Add %doc README.md
- Update to v2.0.1
* Support Pypi long descripton
* rename output fields
- from v2.0.0
* New Changelog
* Added timezone support to timestamps - @lalten
* Refactored log record to function - @georgysavva
* Add python 3.8 support - @tommilligan
* Removed support for Python 2.7
* Removed Debian directory
-------------------------------------------------------------------
Thu May 9 08:26:21 UTC 2019 - pgajdos@suse.com
- version update to 0.1.11
* no upstream changelog
- run testsuite
- run spec cleaner
- install LICENSE
-------------------------------------------------------------------
Tue Dec 4 12:53:05 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Tue Aug 8 06:37:44 UTC 2017 - tbechtold@suse.com
- fix Requires
-------------------------------------------------------------------
Fri Jul 28 14:53:26 UTC 2017 - tbechtold@suse.com
- Initial packaging (version 0.1.7)