-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 34523de
authored
chore(deps): Bump Serilog from 3.1.1 to 4.0.1 (#219)
Bumps [Serilog](https://github.com/serilog/serilog) from 3.1.1 to 4.0.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>v4.0.1</h2>
<ul>
<li><a
href="https://github.com/serilog/serilog/issues/2090">#2090</a>
— when capturing structured values, reuse <code>HashSet</code>
instances, reduce LINQ usage, avoid reallocating <code>string[]</code>
to improve performance and cut GC pressure (<a
href="https://github.com/nblumhardt"><code>@nblumhardt</code></a>)</li>
<li><a
href="https://github.com/serilog/serilog/issues/2089">#2089</a>
- allow capturing of non-anonymous structured values when trimming (<a
href="https://github.com/nblumhardt"><code>@nblumhardt</code></a>)</li>
<li><a
href="https://github.com/serilog/serilog/issues/2083">#2083</a>
- use <code>Major.Minor.0.0</code> assembly versioning (<a
href="https://github.com/nblumhardt"><code>@nblumhardt</code></a>)</li>
</ul>
<h2>v4.0.0</h2>
<h2>What's new in Serilog 4.0.0?</h2>
<blockquote>
<p>If you're deploying to .NET Framework, note that Serilog's
<strong>assembly version</strong> number has <a
href="https://github.com/serilog/serilog/issues/2015">been
unpinned</a> from the long-running historical <code>2.0.0</code>
default, and now matches the package version precisely. If you encounter
issues, ensure your build is generating valid assembly binding
redirects.</p>
</blockquote>
<h3>Simple, robust, built-in batching support</h3>
<p>Sinks that need batching functionality <a
href="https://github.com/serilog/serilog/issues/2055">can now
be easily written</a>, without any additional package dependencies, by
implementing <code>IBatchedLogEventSink</code>:</p>
<pre lang="csharp"><code>class MyBatchedSink: IBatchedLogEventSink
{
public Task EmitBatchAsync(IReadOnlyCollection<LogEvent> batch)
{
// Send a batch of log events...
}
}
</code></pre>
<p>Batched sinks can be added using
<code>WriteTo.Sink(IBatchedLogEventSink, ...)</code> - they're given
first-class consideration just like regular un-batched sinks.</p>
<p>The built-in batching implementation is based on
<code>System.Threading.Channels</code> and draws on the original
<code>Serilog.Sinks.PeriodicBatching</code> package (now in
maintenance-mode), to provide a full-featured, efficient, async-native
batching implementation.</p>
<h3>Experimental dotted name capturing</h3>
<p>By setting an experimental <code>AppContext</code> switch, message
templates <a
href="https://github.com/serilog/serilog/issues/2063">can be
used</a> to capture dotted names, which are required when using some
logging schemas.</p>
<pre
lang="csharp"><code>AppContext.SetSwitch("Serilog.Parsing.MessageTemplateParser.AcceptDottedPropertyNames",
true);
<p>Log.Information("Running as {user.name}",
Environment.UserName);
// Captures {"user.name": "nblumhardt"}
</code></pre></p>
<p>While currently experimental and unsupported, this flag is intended
to help the ecosystem evaluate and prepare for dotted name support in a
future Serilog release.</p>
<h2>Changes</h2>
<ul>
<li><a
href="https://github.com/serilog/serilog/issues/2015">#2015</a>
— <strong>breaking</strong> unpin assembly version (<a
href="https://github.com/nblumhardt"><code>@nblumhardt</code></a>)</li>
<li><a
href="https://github.com/serilog/serilog/issues/2045">#2045</a>
— <strong>breaking</strong> use case-insensitive matching for level
overrides (<a
href="https://github.com/tillig"><code>@tillig</code></a>)</li>
<li><a
href="https://github.com/serilog/serilog/issues/2051">#2051</a>
— <strong>breaking</strong> recognize <code>UtcTimestamp</code> as a
built-in token in output templates (<a
href="https://github.com/MatthewHays"><code>@MatthewHays</code></a>)</li>
<li><a
href="https://github.com/serilog/serilog/issues/1979">#1979</a>
— add tests for <code>ReusableStringWriter</code> (<a
href="https://github.com/nblumhardt"><code>@nblumhardt</code></a>)</li>
<li><a
href="https://github.com/serilog/serilog/issues/2016">#2016</a>
— update TFMs (<a
href="https://github.com/nblumhardt"><code>@nblumhardt</code></a>, <a
href="https://github.com/bartelink"><code>@bartelink</code></a>)</li>
<li><a
href="https://github.com/serilog/serilog/issues/2018">#2018</a>
— add <code>LogEvent.UnstableAssembleFromParts()</code> (<a
href="https://github.com/nblumhardt"><code>@nblumhardt</code></a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/serilog/serilog/commit/066481599efcc5e26a862e6bd1bd1002fc74355e"><code>0664815</code></a>
Merge pull request <a
href="https://github.com/serilog/serilog/issues/2092">#2092</a>
from serilog/dev</li>
<li><a
href="https://github.com/serilog/serilog/commit/f91b1bcc5156e051f7cd98166a5a06a34216f473"><code>f91b1bc</code></a>
Drop macOS CI target; too slow to run successfully (<a
href="https://github.com/serilog/serilog/issues/2093">#2093</a>)</li>
<li><a
href="https://github.com/serilog/serilog/commit/5844a9f6fa3fca56dab8175700ec5128cb3cbd4a"><code>5844a9f</code></a>
Reuse <code>HashSet</code> instances, reduce LINQ usage, avoid
reallocating `StructureVa...</li>
<li><a
href="https://github.com/serilog/serilog/commit/2fb5f4d5afc54fe6edfcf0d9f440ba8a56d6dc58"><code>2fb5f4d</code></a>
Allow non-anonymous-type destructuring when trimmed (<a
href="https://github.com/serilog/serilog/issues/2089">#2089</a>)</li>
<li><a
href="https://github.com/serilog/serilog/commit/d98f7fa2cf62dc11bea74a0791797f2b406e42f2"><code>d98f7fa</code></a>
Version Serilog.dll as Major.Minor.0.0 (<a
href="https://github.com/serilog/serilog/issues/2083">#2083</a>)</li>
<li><a
href="https://github.com/serilog/serilog/commit/fdf4a4872b4effd02dcd7d788e45b6b8ffdfa2fc"><code>fdf4a48</code></a>
Dev version bump [skip ci]</li>
<li><a
href="https://github.com/serilog/serilog/commit/573a62874260d7a1708f620076b5469f69bc79b3"><code>573a628</code></a>
Merge pull request <a
href="https://github.com/serilog/serilog/issues/2067">#2067</a>
from serilog/dev</li>
<li><a
href="https://github.com/serilog/serilog/commit/e96347593ee6218e8d34c698a90ab6ff7555a394"><code>e963475</code></a>
Attempt to make tests more robust on slow CI machines by increasing time
steps</li>
<li><a
href="https://github.com/serilog/serilog/commit/5e18faff0392a8e17367582f18db2a6888c608b8"><code>5e18faf</code></a>
Update all dependencies, fix new xUnit lints</li>
<li><a
href="https://github.com/serilog/serilog/commit/9fcf795c9a9d7acf4d819a90d90c63ab06a7e80b"><code>9fcf795</code></a>
Move TrimConfiguration to Capturing namespace, 'Configuration' namespace
is j...</li>
<li>Additional commits viewable in <a
href="https://github.com/serilog/serilog/compare/v3.1.1...v4.0.1">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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent eff09ed commit 34523deCopy full SHA for 34523de
1 file changed
+1
-1
lines changedBaseBotService/BaseBotService.csproj
Copy file name to clipboardexpand all lines: BaseBotService/BaseBotService.csproj+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 |
| - | |
| 50 | + | |
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
|
0 commit comments