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.AspNetCore, Serilog and Serilog.Formatting.Compact in /TeachingRecordSystem #1042

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 2, 2024

Bumps Serilog.AspNetCore, Serilog and Serilog.Formatting.Compact. These dependencies needed to be updated together.
Updates Serilog.AspNetCore from 7.0.0 to 8.0.0

Release notes

Sourced from Serilog.AspNetCore's releases.

v8.0.0

Breaking change

The obsolete UseSerilog() extension on IWebHostBuilder has been removed. Switch to either IHostBuilder.UseSerilog() or IServiceCollection.AddSerilog() instead.

    .ConfigureServices(services => services.AddSerilog())
Commits
  • 1aa0a4b Merge pull request #352 from serilog/dev
  • e8212c8 Merge pull request #351 from serilog/dotnet-8
  • b5515d0 Update to .NET 8 RTM and Serilog 3.1.1
  • e24e4ba Merge pull request #349 from serilog/trace-span-dis
  • 75c35ba Add test and update sample
  • f1c1bd7 Collect trace and span ids in request completion events
  • 5ca0d90 Merge pull request #338 from sungam3r/cleanup
  • 271db11 Merge pull request #348 from serilog/update-test-refs
  • 793b86e update test refs
  • bb77642 spaces
  • Additional commits viewable in compare view

Updates Serilog from 2.12.0 to 3.1.1

Release notes

Sourced from Serilog's releases.

v3.1.1

  • #1977 - don't stack overflow when disposing ReusableStringWriter with large renderings (@​nblumhardt)

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 serilog/serilog#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.

... (truncated)

Commits
  • 999d686 Merge pull request #1978 from serilog/dev
  • 16739f0 Don't stack overflow when disposing ReusableStringWriter (#1977)
  • ca4efda Dev version bump [skip ci]
  • 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)
  • Additional commits viewable in compare view

Updates Serilog.Formatting.Compact from 1.1.0 to 2.0.0

Release notes

Sourced from Serilog.Formatting.Compact's releases.

v2.0.0

Commits
  • efbbe3e Merge pull request #58 from serilog/dev
  • 6cc68d9 Publish from main
  • 91be91b Merge pull request #57 from serilog/dev
  • 8082e56 Update to Serilog 3.1 RTM
  • 4fdb9e8 Update publishing key
  • abe544a Merge pull request #56 from serilog/sp-tr
  • 8d01ad2 Include trace and span ids in output
  • 2db445d Merge pull request #54 from pmetz-steelcase/devNet6
  • 2e30b05 Merge branch 'dev' into devNet6
  • 8d584ca merged 8393e0ab, Update publishing key
  • Additional commits viewable in compare view

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

@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Jan 2, 2024
Bumps [Serilog.AspNetCore](https://github.com/serilog/serilog-aspnetcore), [Serilog](https://github.com/serilog/serilog) and [Serilog.Formatting.Compact](https://github.com/serilog/serilog-formatting-compact). These dependencies needed to be updated together.

Updates `Serilog.AspNetCore` from 7.0.0 to 8.0.0
- [Release notes](https://github.com/serilog/serilog-aspnetcore/releases)
- [Commits](serilog/serilog-aspnetcore@v7.0.0...v8.0.0)

Updates `Serilog` from 2.12.0 to 3.1.1
- [Release notes](https://github.com/serilog/serilog/releases)
- [Commits](serilog/serilog@v2.12.0...v3.1.1)

Updates `Serilog.Formatting.Compact` from 1.1.0 to 2.0.0
- [Release notes](https://github.com/serilog/serilog-formatting-compact/releases)
- [Commits](serilog/serilog-formatting-compact@v1.1.0...v2.0.0)

---
updated-dependencies:
- dependency-name: Serilog.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Serilog
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Serilog.Formatting.Compact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@gunndabad gunndabad force-pushed the dependabot/nuget/TeachingRecordSystem/Serilog.AspNetCore-and-Serilog-and-Serilog.Formatting.Compact-8.0.0 branch from 5de1a63 to 314d8ef Compare January 4, 2024 10:24
@gunndabad gunndabad enabled auto-merge (squash) January 4, 2024 10:24
@gunndabad gunndabad merged commit 1e0068f into main Jan 4, 2024
10 checks passed
@gunndabad gunndabad deleted the dependabot/nuget/TeachingRecordSystem/Serilog.AspNetCore-and-Serilog-and-Serilog.Formatting.Compact-8.0.0 branch January 4, 2024 10:31
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