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

v7 - pin to Microsoft.Extensions.Logging v7 #222

Merged
merged 6 commits into from
May 4, 2023
Merged

Conversation

nblumhardt
Copy link
Member

@nblumhardt nblumhardt commented May 3, 2023

From v7.0.0 forwards, Serilog.Extensions.Logging, Serilog.Extensions.Hosting, and Serilog.AspNetCore will all be pinned to corresponding versions of the Microsoft.Extensions.* libraries that they implement. This is expected to address long-running compatibility headaches, and reduce security scanner false-positives.

Unless we have a good reason not to, this will also mean matching the TFMs supported by those libraries.

In the current case, this means that we'll add some explicit targets for TFMs that the package already covered via netstandard2.0.

The other changes in this PR just get the codebase building, fixing nullable reference type annotations and dealing with the usual dependency gunk. @SimonCropp some of this unfortunately overlaps with #219 - I'll sort that out post-merge :-) sorry!

Edit: since Serilog.Settings.Configuration also tracks a Microsoft.Extensions package I'm including it in this list, too.

… Serilog v2.12 and apply annotations for nullable reference types
@nblumhardt nblumhardt changed the title v7 - pin to _Microsoft.Extensions.Logging_ v7 v7 - pin to Microsoft.Extensions.Logging v7 May 3, 2023
@SimonCropp
Copy link
Contributor

@nblumhardt always happy to have my PRs closed. i can submit a new one, just let me know

@nblumhardt nblumhardt merged commit b524ab6 into serilog:dev May 4, 2023
@nblumhardt nblumhardt mentioned this pull request May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants