Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-structlog for
openSUSE:Factory checked in at 2021-10-16 22:47:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-structlog (Old)
and /work/SRC/openSUSE:Factory/.python-structlog.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-structlog"
Sat Oct 16 22:47:10 2021 rev:6 rq:925617 version:21.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-structlog/python-structlog.changes
2021-02-19 23:45:42.607389557 +0100
+++
/work/SRC/openSUSE:Factory/.python-structlog.new.1890/python-structlog.changes
2021-10-16 22:47:44.328696902 +0200
@@ -1,0 +2,47 @@
+Wed Oct 13 08:36:18 UTC 2021 - Michael Vetter <[email protected]>
+
+- Update to 21.2.0:
+ Highlights:
+ * Support for for beautiful (and helpful!) exceptions by integrating
+ ConsoleRenderer with rich or better-exceptions.
+ * Helpers to access thread-local and context-local context.
+ * Deeper contextvars support.
+ Backward-incompatible changes:
+ * To implement pretty exceptions (see Changes below),
+ structlog.dev.ConsoleRenderer now formats exceptions itself.
+ Make sure to remove format_exc_info from your processor chain if you
+ configure structlog manually. This change is not really breaking
+ because the old use-case will keep working as before. However if
+ you pass pretty_exceptions=True (which is the default if either
+ rich or better-exceptions is installed), a warning will be raised
+ and the exception will be renderered without prettyfication.
+ Changes:
+ * structlog is now importable if sys.stdout is None (e.g. when
+ running using pythonw). #313
+ * structlog.threadlocal.get_threadlocal() and
+ structlog.contextvars.get_contextvars() can now be used to get a copy
+ of the current thread-local/context-local context that has been bound
+ using structlog.threadlocal.bind_threadlocal() and
+ structlog.contextvars.bind_contextvars(). #331 #337
+ * structlog.threadlocal.get_merged_threadlocal(bl) and
+ structlog.contextvars.get_merged_contextvars(bl) do the same, but
+ also merge the context from a bound logger bl. Same pull requests as
+ previous change.
+ * structlog.contextvars.bind_contextvars() now returns a mapping of
+ keys to contextvars.Tokens, allowing you to reset values using the
+ new structlog.contextvars.reset_contextvars(). #339
+ * Exception rendering in structlog.dev.ConsoleLogger is now configurable
+ using the exception_formatter setting. If either the rich or the
+ better-exceptions package is present, structlog will use them for
+ pretty-printing tracebacks. rich takes precedence over
+ better-exceptions if both are present.
+ This only works if format_exc_info is absent in the processor chain.
+ #330 #349
+ * All use of colorama on non-Windows systems has been excised. Thus,
+ colors are now enabled by default in structlog.dev.ConsoleRenderer
+ on non-Windows systems. You can keep using colorama to customize
+ colors, of course. #345
+ * The final processor can now return a bytearray (additionally to str
+ and bytes). #344
+
+-------------------------------------------------------------------
Old:
----
21.1.0.tar.gz
New:
----
21.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-structlog.spec ++++++
--- /var/tmp/diff_new_pack.E1tAz3/_old 2021-10-16 22:47:46.332698591 +0200
+++ /var/tmp/diff_new_pack.E1tAz3/_new 2021-10-16 22:47:46.332698591 +0200
@@ -20,7 +20,7 @@
# because of acyncio for tests
%define skip_python2 1
Name: python-structlog
-Version: 21.1.0
+Version: 21.2.0
Release: 0
Summary: Structured Logging for Python
License: Apache-2.0 OR MIT
++++++ 21.1.0.tar.gz -> 21.2.0.tar.gz ++++++
++++ 2785 lines of diff (skipped)