Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump structlog from 23.2.0 to 24.1.0 (#289)
Bumps [structlog](https://github.com/hynek/structlog) from 23.2.0 to 24.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hynek/structlog/releases">structlog's releases</a>.</em></p> <blockquote> <h2>24.1.0</h2> <h2>Highlights</h2> <p>This quick bugfix release fixes two regressions and the fact that <code>RichTracebackFormatter</code> has been ignoring its <em>width</em> argument the whole time.</p> <p><em>Full changelog below!</em></p> <h2>Special Thanks</h2> <p>This release would not be possible without my generous sponsors! Thank you to all of you making sustainable maintenance possible! If <em>you</em> would like to join them, go to <a href="https://github.com/sponsors/hynek">https://github.com/sponsors/hynek</a> and check out the sweet perks!</p> <h3>Above and Beyond</h3> <p><a href="https://www.variomedia.de/">Variomedia AG</a> (@<a href="https://github.com/variomedia">variomedia</a>), <a href="https://www.tidelift.com/">Tidelift</a> (@<a href="https://github.com/tidelift">tidelift</a>), <a href="http://filepreviews.io/">FilePreviews</a> (@<a href="https://github.com/filepreviews">filepreviews</a>), Daniel Fortunov (@<a href="https://github.com/asqui">asqui</a>), Kevin P. Fleming (@<a href="https://github.com/kpfleming">kpfleming</a>), and <a href="https://www.gedankenspieler.org/">Sören Weber</a> (@<a href="https://github.com/SoerenWeber">SoerenWeber</a>).</p> <h3>Maintenance Sustainers</h3> <p><a href="https://adamghill.com">Adam Hill</a> (@<a href="https://github.com/adamghill">adamghill</a>), Dan Groshev (@<a href="https://github.com/si14">si14</a>), Magnus Watn (@<a href="https://github.com/magnuswatn">magnuswatn</a>), <a href="http://cra.mr">David Cramer</a> (@<a href="https://github.com/dcramer">dcramer</a>), Moving Content AG (@<a href="https://github.com/moving-content">moving-content</a>), <a href="https://proteinqure.com/">ProteinQure</a> (@<a href="https://github.com/ProteinQure">ProteinQure</a>), Jesse Snyder (@<a href="https://github.com/jessesnyder">jessesnyder</a>), <a href="https://rivolaks.com">Rivo Laks</a> (@<a href="https://github.com/rivol">rivol</a>), <a href="https://blog.ionelmc.ro">Ionel Cristian Mărieș</a> (@<a href="https://github.com/ionelmc">ionelmc</a>), <a href="https://westervelt.com">The Westervelt Company</a> (@<a href="https://github.com/westerveltco">westerveltco</a>), Philippe Galvan (@<a href="https://github.com/PhilippeGalvan">PhilippeGalvan</a>), <a href="https://github.com/hynek/structlog/blob/HEAD/polar.sh">Birk Jernström</a> (@<a href="https://github.com/birkjernstrom">birkjernstrom</a>), <a href="https://github.com/hynek/structlog/blob/HEAD/www.better-simple.com">Tim Schilling</a> (@<a href="https://github.com/tim-schilling">tim-schilling</a>), Chris Withers (@<a href="https://github.com/cjw296">cjw296</a>), <a href="https://christopher.xyz">Christopher Dignam</a> (@<a href="https://github.com/chdsbd">chdsbd</a>), <a href="https://stefan-hagen.website">Stefan Hagen</a> (@<a href="https://github.com/sthagen">sthagen</a>), <a href="https://github.com/hynek/structlog/blob/HEAD/slafs.net">Sławomir Ehlert</a> (@<a href="https://github.com/slafs">slafs</a>), Mostafa Khalil (@<a href="https://github.com/khadrawy">khadrawy</a>), <a href="https://github.com/hynek/structlog/blob/HEAD/fmularczyk.pl">Filip Mularczyk</a> (@<a href="https://github.com/mukiblejlok">mukiblejlok</a>), and <a href="https://mike.fiedler.me">Mike Fiedler</a> (@<a href="https://github.com/miketheman">miketheman</a>).</p> <p>Not to forget 6 more amazing humans who chose to be generous but anonymous!</p> <h2>Full Changelog</h2> <h3>Fixed</h3> <ul> <li> <p>The lazy logger proxy returned by <code>structlog.get_logger()</code> now returns its initial values when asked for context. When asked for context before binding for the first time, it returned an empty dictionary in 23.3.0.</p> </li> <li> <p>The displayed level name when using <code>structlog.stdlib.BoundLogger.exception()</code> is <code>"error"</code> instead of <code>"exception"</code>. Fixes regression in 23.3.0. <a href="https://github.com/hynek/structlog/issues/584">#584</a></p> </li> <li> <p>Don't ignore the <code>width</code> argument of <code>RichTracebackFormatter</code>. <a href="https://github.com/hynek/structlog/issues/587">#587</a></p> </li> </ul> <h2>23.3.0</h2> <h2>Highlights</h2> <p>The highlight is the configurability of <code>structlog.dev.ConsoleRenderer</code>'s output (check out <a href="https://www.structlog.org/en/stable/console-output.html#console-output-configuration">https://www.structlog.org/en/stable/console-output.html#console-output-configuration</a>!) and <code>structlog.processors.CallsiteParameterAdder</code> getting <code>asyncio</code> support.</p> <h2>Special Thanks</h2> <p>This release would not be possible without my generous sponsors! Thank you to all of you making sustainable maintenance possible! If <em>you</em> would like to join them, go to <a href="https://github.com/sponsors/hynek">https://github.com/sponsors/hynek</a> and check out the sweet perks!</p> <h3>Above and Beyond</h3> <p><a href="https://www.variomedia.de/">Variomedia AG</a> (@<a href="https://github.com/variomedia">variomedia</a>), <a href="https://www.tidelift.com/">Tidelift</a> (@<a href="https://github.com/tidelift">tidelift</a>), <a href="http://filepreviews.io/">FilePreviews</a> (@<a href="https://github.com/filepreviews">filepreviews</a>), Daniel Fortunov (@<a href="https://github.com/asqui">asqui</a>), and Kevin P. Fleming (@<a href="https://github.com/kpfleming">kpfleming</a>).</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hynek/structlog/blob/main/CHANGELOG.md">structlog's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/hynek/structlog/compare/23.3.0...24.1.0">24.1.0</a> - 2024-01-08</h2> <h3>Fixed</h3> <ul> <li> <p>The lazy logger proxy returned by <code>structlog.get_logger()</code> now returns its initial values when asked for context. When asked for context before binding for the first time, it returned an empty dictionary in 23.3.0.</p> </li> <li> <p>The displayed level name when using <code>structlog.stdlib.BoundLogger.exception()</code> is <code>"error"</code> instead of <code>"exception"</code>. Fixes regression in 23.3.0. <a href="https://github.com/hynek/structlog/issues/584">#584</a></p> </li> <li> <p>Don't ignore the <code>width</code> argument of <code>RichTracebackFormatter</code>. <a href="https://github.com/hynek/structlog/issues/587">#587</a></p> </li> </ul> <h2><a href="https://github.com/hynek/structlog/compare/23.2.0...23.3.0">23.3.0</a> - 2023-12-29</h2> <h3>Added</h3> <ul> <li> <p>The colorful development logger is now even more configurable! Choose freely your colors and the order of the key-value pairs! Implement your own formatters for certain keys!</p> <p>Implementing the output on top of the new columns API has changed the default very slightly, but shouldn't be noticeable. <a href="https://github.com/hynek/structlog/issues/577">#577</a></p> </li> <li> <p>Async log methods (those starting with an <code>a</code>) now also support the collection of callsite information using <code>structlog.processors.CallsiteParameterAdder</code>. <a href="https://github.com/hynek/structlog/issues/565">#565</a></p> </li> </ul> <h3>Changed</h3> <ul> <li><code>structlog.stdlib.recreate_defaults()</code> now also adds <code>structlog.stdlib.add_logger_name</code> to the processors. Check out the <a href="https://raw.githubusercontent.com/hynek/structlog/main/docs/_static/console_renderer.png">updated screenshot</a>!</li> </ul> <h3>Fixed</h3> <ul> <li> <p>The return value from <code>get_logger()</code> (a <code>BoundLoggerLazyProxy</code>) now passes <code>isinstance</code>-checks against <code>structlog.typing.BindableLogger</code> on Python 3.12. <a href="https://github.com/hynek/structlog/issues/561">#561</a></p> </li> <li> <p><code>structlog.threadlocal.tmp_bind()</code> now also works with <code>BoundLoggerLazyProxy</code> (in other words: before anything is bound to a bound logger).</p> </li> <li> <p>stdlib: <code>ProcessorFormatter</code> can now be told to not render the log record message using <code>getMessage</code> and just <code>str(record.msg)</code> instead. <a href="https://github.com/hynek/structlog/issues/550">#550</a></p> </li> <li> <p>stdlib: <code>structlog.stdlib.BoundLogger.exception()</code>'s handling of<code>LogRecord.exc_info</code> is now set consistent with <code>logging</code>. <a href="https://github.com/hynek/structlog/issues/571">#571</a> <a href="https://github.com/hynek/structlog/issues/572">#572</a></p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hynek/structlog/commit/6f3fc33fa112f277be4f10c2c52b2d0303fc4494"><code>6f3fc33</code></a> Prepare 24.1.0</li> <li><a href="https://github.com/hynek/structlog/commit/d26d2ac6752823dd5a6f09b83f8a64c9225c6144"><code>d26d2ac</code></a> Give job a name</li> <li><a href="https://github.com/hynek/structlog/commit/b5900c632c8891b00ca1ead707913a1d1ba188e4"><code>b5900c6</code></a> Fix CI coverage depends</li> <li><a href="https://github.com/hynek/structlog/commit/f8eb4b9e49a124d419b7f3e8d8925f72ccf8360c"><code>f8eb4b9</code></a> Underlines are highlighting enough</li> <li><a href="https://github.com/hynek/structlog/commit/0b7da2847cfe398a450a7f34c5f4586904e9df4e"><code>0b7da28</code></a> Display "exception" logs as level "error" (<a href="https://github.com/hynek/structlog/issues/586">#586</a>)</li> <li><a href="https://github.com/hynek/structlog/commit/ac37281c66efe82f4dfc8f812ab91f391548fd6b"><code>ac37281</code></a> don't ignore the width parameter in RichTracebackFormatter (<a href="https://github.com/hynek/structlog/issues/587">#587</a>)</li> <li><a href="https://github.com/hynek/structlog/commit/813bc14a2d0fdd0ea539a07ec44e134a6be7b0aa"><code>813bc14</code></a> Return initial values from lazy logger proxy</li> <li><a href="https://github.com/hynek/structlog/commit/2ce08063faa7b9b9cf1ec295cd4fa787b6669c3a"><code>2ce0806</code></a> update ruff</li> <li><a href="https://github.com/hynek/structlog/commit/f981c0231b4b84373e4639fb819370f8b7417e24"><code>f981c02</code></a> Build docs on 3.12</li> <li><a href="https://github.com/hynek/structlog/commit/d664dad422f1605f7131f6f7e217c11f6581d873"><code>d664dad</code></a> Get rid of period in step name</li> <li>Additional commits viewable in <a href="https://github.com/hynek/structlog/compare/23.2.0...24.1.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information