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

chore(deps): update dependency serilog to v3 #821

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 20, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Serilog (source) 2.12.0 -> 3.1.1 age adoption passing confidence

Release Notes

serilog/serilog (Serilog)

v3.1.1

This is a bugfix for release 3.1.0.

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.

Dropped .NET Core 2.1 and 3.0 support

On .NET Core 2.1 and 3.0, projects targeting Serilog 3.1+ will fail to build, with:

/project/packages/system.runtime.compilerservices.unsafe/6.0.0/buildTransitive/netcoreapp2.0
/System.Runtime.CompilerServices.Unsafe.targets(4,5): error : System.Runtime.CompilerServices.Unsafe
doesn't support netcoreapp2.1. Consider updating your TargetFramework to netcoreapp3.1 or later.

Affected consumers should continue to use Serilog 3.0 or earlier. See https://github.com/serilog/serilog/issues/1983 for a discussion of this issue.

Technical 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/zero, because the trace and span id values in any user-added properties are almost certainly identical to the built-in ones.

v3.0.1

v3.0.0

What's new in 3.0.0?

Target framework changes - Serilog no longer targets netstandard1.x or .NET Framework versions earlier than .NET 4.6.2. Users on affected frameworks should continue to target Serilog 2.12.x.

Removed obsolete APIs - Many deprecated/obsolete types and functions have been removed. Notably, JsonFormatter can no longer be subclassed (either port to JsonValueFormatter, use Serilog.Expressions, or copy the original JsonFormatter code into your project).

Added APIs - LevelAlias.Off is now provided as an equivalent to Microsoft.Extensions.Logging's LogLevel.Off; Destructure.AsDictionary<T>() can now be used to mark dictionary types.

Fewer allocations on many hot paths - A lot of work has gone into avoiding heap allocations wherever possible.

Changes


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies All issues related to managing dependencies label Jun 20, 2023
@netlify
Copy link

netlify bot commented Jun 20, 2023

Deploy Preview for arcus-templates canceled.

Name Link
🔨 Latest commit 0c2a3ec
🔍 Latest deploy log https://app.netlify.com/sites/arcus-templates/deploys/66582913b28a48000815cd03

@renovate renovate bot force-pushed the renovate-serilog-3.x branch from 1f9d174 to 16051ff Compare June 21, 2023 22:52
@renovate renovate bot force-pushed the renovate-serilog-3.x branch 2 times, most recently from 6b7dea6 to c1e6f7b Compare August 2, 2023 18:19
@renovate renovate bot force-pushed the renovate-serilog-3.x branch from c1e6f7b to 9bfe954 Compare August 7, 2023 07:44
@renovate renovate bot force-pushed the renovate-serilog-3.x branch from 9bfe954 to dce1072 Compare August 17, 2023 08:47
@renovate renovate bot force-pushed the renovate-serilog-3.x branch from dce1072 to 6162b21 Compare September 5, 2023 13:40
@renovate renovate bot force-pushed the renovate-serilog-3.x branch from 6162b21 to 06a40ed Compare September 14, 2023 08:59
@renovate renovate bot force-pushed the renovate-serilog-3.x branch 5 times, most recently from 7c5c43d to d6045aa Compare October 2, 2023 06:18
@renovate renovate bot force-pushed the renovate-serilog-3.x branch 2 times, most recently from 23a5771 to 383f652 Compare November 10, 2023 13:26
@renovate renovate bot force-pushed the renovate-serilog-3.x branch 2 times, most recently from 24f869e to c5fc96e Compare May 6, 2024 10:54
@renovate renovate bot force-pushed the renovate-serilog-3.x branch from c5fc96e to 5c02dc4 Compare May 23, 2024 07:29
@renovate renovate bot force-pushed the renovate-serilog-3.x branch from 5c02dc4 to 0c2a3ec Compare May 30, 2024 07:21
Copy link
Contributor Author

renovate bot commented May 30, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate-serilog-3.x branch May 30, 2024 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies All issues related to managing dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants