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 dependencies (major) #248

Merged
merged 1 commit into from
Jun 16, 2024
Merged

Bump serilog dependencies (major) #248

merged 1 commit into from
Jun 16, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 15, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Serilog (source) 3.1.1 -> 4.0.0 age adoption passing confidence
Serilog.Enrichers.Thread (source) 3.1.0 -> 4.0.0 age adoption passing confidence
Serilog.Sinks.Console 5.0.1 -> 6.0.0 age adoption passing confidence

Release Notes

serilog/serilog (Serilog)

v4.0.0

What's new in Serilog 4.0.0?

If you're deploying to .NET Framework, note that Serilog's assembly version number has been unpinned from the long-running historical 2.0.0 default, and now matches the package version precisely. If you encounter issues, ensure your build is generating valid assembly binding redirects.

Simple, robust, built-in batching support

Sinks that need batching functionality can now be easily written, without any additional package dependencies, by implementing IBatchedLogEventSink:

class MyBatchedSink: IBatchedLogEventSink
{
    public Task EmitBatchAsync(IReadOnlyCollection<LogEvent> batch)
    {
        // Send a batch of log events...
    }
}

Batched sinks can be added using WriteTo.Sink(IBatchedLogEventSink, ...) - they're given first-class consideration just like regular un-batched sinks.

The built-in batching implementation is based on System.Threading.Channels and draws on the original Serilog.Sinks.PeriodicBatching package (now in maintenance-mode), to provide a full-featured, efficient, async-native batching implementation.

Experimental dotted name capturing

By setting an experimental AppContext switch, message templates can be used to capture dotted names, which are required when using some logging schemas.

AppContext.SetSwitch("Serilog.Parsing.MessageTemplateParser.AcceptDottedPropertyNames", true);

Log.Information("Running as {user.name}", Environment.UserName);
// Captures {"user.name": "nblumhardt"}

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.

Changes

serilog/serilog-enrichers-thread (Serilog.Enrichers.Thread)

v4.0.0

serilog/serilog-sinks-console (Serilog.Sinks.Console)

v6.0.0


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 is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot added the dependencies Changes that only affect dependencies label Jun 15, 2024
@renovate renovate bot requested a review from gitfool as a code owner June 15, 2024 23:10
Copy link

coverage

File Coverage Lines Branches
All files 1% 0% 1%
BoardGameGeek.Dungeon.AsyncCommandBase`1 0% 0% 100%
BoardGameGeek.Dungeon.Authenticator 0% 0% 0%
BoardGameGeek.Dungeon.CommandBase`1 0% 0% 100%
BoardGameGeek.Dungeon.ConfigCommand 0% 0% 0%
BoardGameGeek.Dungeon.ConfigCommand 0% 0% 100%
BoardGameGeek.Dungeon.Extensions.ResiliencePipelineExtensions 0% 0% 100%
BoardGameGeek.Dungeon.GetPlaysCommand 0% 0% 0%
BoardGameGeek.Dungeon.GetPlaysCommand 0% 0% 100%
BoardGameGeek.Dungeon.GetStatsCommand 0% 0% 0%
BoardGameGeek.Dungeon.GetStatsCommand 0% 0% 100%
BoardGameGeek.Dungeon.HostBuilderExtensions 0% 0% 0%
BoardGameGeek.Dungeon.HostTypeRegistrar 0% 0% 0%
BoardGameGeek.Dungeon.HostTypeResolver 0% 0% 0%
BoardGameGeek.Dungeon.LoginCommand 0% 0% 100%
BoardGameGeek.Dungeon.LoginCommand 0% 0% 100%
BoardGameGeek.Dungeon.LogPlayCommand 0% 0% 100%
BoardGameGeek.Dungeon.LogPlayCommand 0% 0% 0%
BoardGameGeek.Dungeon.Models.Collection 0% 0% 100%
BoardGameGeek.Dungeon.Models.Game 52% 29% 75%
BoardGameGeek.Dungeon.Models.Play 30% 11% 50%
BoardGameGeek.Dungeon.Models.Player 0% 0% 100%
BoardGameGeek.Dungeon.Models.Stats 0% 0% 100%
BoardGameGeek.Dungeon.Models.Summary 0% 0% 100%
BoardGameGeek.Dungeon.Models.Thing 0% 0% 100%
BoardGameGeek.Dungeon.Models.ThingLink 0% 0% 100%
BoardGameGeek.Dungeon.Processor 0% 0% 0%
BoardGameGeek.Dungeon.Program 0% 0% 100%
BoardGameGeek.Dungeon.Recorder 0% 0% 100%
BoardGameGeek.Dungeon.Renderer 0% 0% 0%
BoardGameGeek.Dungeon.Services.BggService 0% 0% 0%
BoardGameGeek.Dungeon.Services.CollectionItem 0% 0% 100%
BoardGameGeek.Dungeon.Services.CollectionItems 0% 0% 100%
BoardGameGeek.Dungeon.Services.CollectionItemStatus 0% 0% 0%
BoardGameGeek.Dungeon.Services.PlayItem 0% 0% 100%
BoardGameGeek.Dungeon.Services.PlayItems 0% 0% 100%
BoardGameGeek.Dungeon.Services.PlayItemStringValue 0% 0% 100%
BoardGameGeek.Dungeon.Services.PlayPlayer 0% 0% 100%
BoardGameGeek.Dungeon.Services.ThingItem 0% 0% 100%
BoardGameGeek.Dungeon.Services.ThingItemIntegerValue 0% 0% 100%
BoardGameGeek.Dungeon.Services.ThingItemLink 0% 0% 100%
BoardGameGeek.Dungeon.Services.ThingItemName 0% 0% 100%
BoardGameGeek.Dungeon.Services.ThingItems 0% 0% 100%
BoardGameGeek.Dungeon.Services.UserPlays 0% 0% 100%
BoardGameGeek.Dungeon.SourceContextUqnEnricher 0% 0% 0%
BoardGameGeek.Dungeon.AssemblyExtensions 0% 0% 0%
BoardGameGeek.Dungeon.ConfigExtensions 0% 0% 100%
BoardGameGeek.Dungeon.ConfigTypeInspector 0% 0% 100%
BoardGameGeek.Dungeon.ExpressionHelpers 0% 0% 0%
BoardGameGeek.Dungeon.ObjectExtensions 0% 0% 0%
BoardGameGeek.Dungeon.StringExtensions 0% 0% 0%
BoardGameGeek.Dungeon.ValidationExtensions 0% 0% 0%
BoardGameGeek.Dungeon.ValidationLanguageManager 0% 0% 100%

Minimum allowed coverage is 80%

Generated by 🐒 cobertura-action against f9254c0

@gitfool gitfool merged commit c216536 into main Jun 16, 2024
3 checks passed
@gitfool gitfool deleted the renovate/major-serilog branch June 16, 2024 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Changes that only affect dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant