Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump Serilog from 3.0.1 to 3.1.1 in /src (#38)
Bumps [Serilog](https://github.com/serilog/serilog) from 3.0.1 to 3.1.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serilog/serilog/releases">Serilog's releases</a>.</em></p> <blockquote> <h2>v3.1.1</h2> <ul> <li><a href="https://redirect.github.com/serilog/serilog/issues/1977">#1977</a> - don't stack overflow when disposing <code>ReusableStringWriter</code> with large renderings (<a href="https://github.com/nblumhardt"><code>@nblumhardt</code></a>)</li> </ul> <p>This is a bugfix for <a href="https://github.com/serilog/serilog/releases/tag/v3.1.0">release 3.1.0</a>.</p> <h2>v3.1.0</h2> <ul> <li><a href="https://redirect.github.com/serilog/serilog/issues/1935">#1935</a> - remove <code>CHANGES.md</code> (<a href="https://github.com/sungam3r"><code>@sungam3r</code></a>)</li> <li><a href="https://redirect.github.com/serilog/serilog/issues/1936">#1936</a>, <a href="https://redirect.github.com/serilog/serilog/issues/1922">#1922</a> - <code>README.md</code> updates (<a href="https://github.com/nblumhardt"><code>@nblumhardt</code></a>)</li> <li><a href="https://redirect.github.com/serilog/serilog/issues/1942">#1942</a> - remove redundant <code>GetTypeInfo()</code> calls (<a href="https://github.com/SimonCropp"><code>@SimonCropp</code></a>)</li> <li><a href="https://redirect.github.com/serilog/serilog/issues/1947">#1947</a> - message template caching performance improvements (<a href="https://github.com/epeshk"><code>@epeshk</code></a>)</li> <li><a href="https://redirect.github.com/serilog/serilog/issues/1948">#1948</a> - reduce allocations in <code>Logger.Write()</code> (<a href="https://github.com/epeshk"><code>@epeshk</code></a>)</li> <li><a href="https://redirect.github.com/serilog/serilog/issues/1955">#1955</a> <strong>breaking</strong> - collect and propagate <code>Activity.Current.TraceId</code> and <code>SpanId</code> automatically in <code>Logger.Write()</code> (<a href="https://github.com/nblumhardt"><code>@nblumhardt</code></a>)</li> <li><a href="https://redirect.github.com/serilog/serilog/issues/1964">#1964</a> - don't cache reusable string writers with large buffer sizes (<a href="https://github.com/Jakimar"><code>@Jakimar</code></a>)</li> <li><a href="https://redirect.github.com/serilog/serilog/issues/1969">#1969</a> - <code>README.md</code> updates (<a href="https://github.com/bartelink"><code>@bartelink</code></a>)</li> <li><a href="https://redirect.github.com/serilog/serilog/issues/1971">#1971</a> - drop test coverage for unsupported .NET Core versions (<a href="https://github.com/bartelink"><code>@bartelink</code></a>)</li> </ul> <h1>Built-in trace and span id support</h1> <p>This release adds two new first-class properties to <code>LogEvent</code>: <code>TraceId</code> and <code>SpanId</code>. These are set automatically in <code>Logger.Write()</code> to the corresponding property values from <code>System.Diagnostics.Activity.Current</code>.</p> <p>The major benefit of this change is that sinks, once updated, can reliably propagate trace and span ids through to back-ends that support them (in much the same way that first-class timestamps, messages, levels, and exceptions are used today).</p> <p>The sinks maintained under <code>serilog/serilog</code>, along with formatting helpers such as <em>Serilog.Formatting.Compact</em> and <em>Serilog.Expressions</em>, are already compatible with this change or have pending releases that add compatibility.</p> <h2>Breaking change</h2> <p>Trace and span id collection includes support for <code>{TraceId}</code> and <code>{SpanId}</code> placeholders in output templates (commonly used when formatting text log files). Where previously these names resolved to user-defined properties, they now resolve to the built-in <code>LogEvent.TraceId</code> and <code>LogEvent.SpanId</code> values, respectively.</p> <p>Impact is expected to be low, because the trace and span id values in any user-added properties are likely to be identical to the built-in ones.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/serilog/serilog/commit/999d686d1830edde15ccb1d94c7bff313ec7d7a0"><code>999d686</code></a> Merge pull request <a href="https://redirect.github.com/serilog/serilog/issues/1978">#1978</a> from serilog/dev</li> <li><a href="https://github.com/serilog/serilog/commit/16739f0f81f0800d52365a20cc573dd18333e9eb"><code>16739f0</code></a> Don't stack overflow when disposing <code>ReusableStringWriter</code> (<a href="https://redirect.github.com/serilog/serilog/issues/1977">#1977</a>)</li> <li><a href="https://github.com/serilog/serilog/commit/ca4efda2b06106d3843396dd0acc3f3a3c489fb3"><code>ca4efda</code></a> Dev version bump [skip ci]</li> <li><a href="https://github.com/serilog/serilog/commit/765a046c8dba44f4c2f1092f474193e8b482228a"><code>765a046</code></a> Merge pull request <a href="https://redirect.github.com/serilog/serilog/issues/1975">#1975</a> from serilog/dev</li> <li><a href="https://github.com/serilog/serilog/commit/e37837ebf5d819ce4cd6702c43154c89a4b764f0"><code>e37837e</code></a> chore(docs): Markdown housekeeping (<a href="https://redirect.github.com/serilog/serilog/issues/1969">#1969</a>)</li> <li><a href="https://github.com/serilog/serilog/commit/a493ffdda2c62528223456ad37f2ac409ae12c6a"><code>a493ffd</code></a> chore: Drop test coverage for out of support .NET Core vers (<a href="https://redirect.github.com/serilog/serilog/issues/1971">#1971</a>)</li> <li><a href="https://github.com/serilog/serilog/commit/e059e9fb36d4a38b95ffb120df2898cc8db8e797"><code>e059e9f</code></a> Make <code>StringBuilderCapacityThreshold</code> the even power of two that was intended</li> <li><a href="https://github.com/serilog/serilog/commit/8d0e2ed9ec4570d3273492c450ef9020311eb93f"><code>8d0e2ed</code></a> ReusableStringWriter: Dispose instance with too big buffer (<a href="https://redirect.github.com/serilog/serilog/issues/1964">#1964</a>)</li> <li><a href="https://github.com/serilog/serilog/commit/88f76a872f8b5f6ae5302b7002d6c72577578ea1"><code>88f76a8</code></a> By reference string comparison in template cache (<a href="https://redirect.github.com/serilog/serilog/issues/1947">#1947</a>)</li> <li><a href="https://github.com/serilog/serilog/commit/d6e80e6682d115241ca20893178284573085b2de"><code>d6e80e6</code></a> Removed temporary array allocations for properties (<a href="https://redirect.github.com/serilog/serilog/issues/1948">#1948</a>)</li> <li>Additional commits viewable in <a href="https://github.com/serilog/serilog/compare/v3.0.1...v3.1.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Serilog&package-manager=nuget&previous-version=3.0.1&new-version=3.1.1)](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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information