Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Serilog from 3.0.1 to 3.1.0 #1276

Merged
merged 1 commit into from
Nov 10, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 10, 2023

Bumps Serilog from 3.0.1 to 3.1.0.

Release notes

Sourced from Serilog's releases.

v3.1.0

Built-in trace and span id support

This release adds two new first-class properties to LogEvent: TraceId and SpanId. These are set automatically in Logger.Write() to the corresponding property values from System.Diagnostics.Activity.Current.

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).

The sinks maintained under serilog/serilog, along with formatting helpers such as Serilog.Formatting.Compact and Serilog.Expressions, are already compatible with this change or have pending releases that add compatibility.

Breaking change

Trace and span id collection includes support for {TraceId} and {SpanId} 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 LogEvent.TraceId and LogEvent.SpanId values, respectively.

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.

Commits
  • 765a046 Merge pull request #1975 from serilog/dev
  • e37837e chore(docs): Markdown housekeeping (#1969)
  • a493ffd chore: Drop test coverage for out of support .NET Core vers (#1971)
  • e059e9f Make StringBuilderCapacityThreshold the even power of two that was intended
  • 8d0e2ed ReusableStringWriter: Dispose instance with too big buffer (#1964)
  • 88f76a8 By reference string comparison in template cache (#1947)
  • d6e80e6 Removed temporary array allocations for properties (#1948)
  • 948ea83 Added missing DynamicallyAccessedMembers in PropertyValueConverter to fix err...
  • 9b658c1 Collect and propagate current trace and span ids through LogEvent (#1955)
  • db7900d PrimitiveScalarConversionPolicy: avoiding hashset lookup for common types (#1...
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps [Serilog](https://github.com/serilog/serilog) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/serilog/serilog/releases)
- [Commits](serilog/serilog@v3.0.1...v3.1.0)

---
updated-dependencies:
- dependency-name: Serilog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner November 10, 2023 02:54
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Nov 10, 2023
Copy link

codecov bot commented Nov 10, 2023

Codecov Report

Merging #1276 (3181baa) into main (a239ed1) will decrease coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1276      +/-   ##
==========================================
- Coverage   79.36%   79.24%   -0.13%     
==========================================
  Files         138      138              
  Lines        3330     3330              
  Branches      453      453              
==========================================
- Hits         2643     2639       -4     
- Misses        453      457       +4     
  Partials      234      234              
Flag Coverage Δ
linux 79.09% <ø> (-0.28%) ⬇️
macos 49.61% <ø> (ø)
windows 49.76% <ø> (+0.15%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 3 files with indirect coverage changes

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@martincostello martincostello merged commit 8b5730e into main Nov 10, 2023
13 of 14 checks passed
@martincostello martincostello deleted the dependabot/nuget/Serilog-3.1.0 branch November 10, 2023 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant