14
0

- update to 24.2.0:

* It is now possible to disable log level-padding in
    `structlog.dev.LogLevelColumnFormatter` and
    `structlog.dev.ConsoleRenderer`.
  * The `structlog.processors.CallsiteParameterAdder` can now be
    pickled.
  * `structlog.processors.CallsiteParameterAdder` now also works
    with `structlog.stdlib.BoundLogger`'s non-standard async
    methods (`ainfo()`, and so forth)
  * `structlog.processors.LogfmtRenderer` now escapes newlines.
  * `structlog.processors.LogfmtRenderer` now escapes backslashes
    and double quotes.
  * `structlog.processors.CallsiteParameterAdder` has been
    optimized to be about 2x faster.
  * `structlog.stdlib.render_to_log_kwargs` now correctly passes
    stacklevel as a kwarg to stdlib logging.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-structlog?expand=0&rev=22
This commit is contained in:
2024-06-10 08:28:37 +00:00
committed by Git OBS Bridge
parent a3fec851c2
commit 7e6aa771be
4 changed files with 24 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6f7df21c3457577491c4dd2f96515d0aa861056efa059d7829dd7a172ea47965
size 1342006

3
24.2.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e56643c405e05886b8f127c00b3823aeef328d16d637de5e276bf8046d3054b4
size 1346735

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Mon Jun 10 08:28:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 24.2.0:
* It is now possible to disable log level-padding in
`structlog.dev.LogLevelColumnFormatter` and
`structlog.dev.ConsoleRenderer`.
* The `structlog.processors.CallsiteParameterAdder` can now be
pickled.
* `structlog.processors.CallsiteParameterAdder` now also works
with `structlog.stdlib.BoundLogger`'s non-standard async
methods (`ainfo()`, and so forth)
* `structlog.processors.LogfmtRenderer` now escapes newlines.
* `structlog.processors.LogfmtRenderer` now escapes backslashes
and double quotes.
* `structlog.processors.CallsiteParameterAdder` has been
optimized to be about 2x faster.
* `structlog.stdlib.render_to_log_kwargs` now correctly passes
stacklevel as a kwarg to stdlib logging.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 24 07:35:08 UTC 2024 - ecsos <ecsos@opensuse.org> Wed Jan 24 07:35:08 UTC 2024 - ecsos <ecsos@opensuse.org>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-structlog Name: python-structlog
Version: 24.1.0 Version: 24.2.0
Release: 0 Release: 0
Summary: Structured Logging for Python Summary: Structured Logging for Python
License: Apache-2.0 OR MIT License: Apache-2.0 OR MIT