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.Enrichers.Environment and Serilog #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 11, 2024

Bumps Serilog.Enrichers.Environment and Serilog. These dependencies needed to be updated together.
Updates Serilog.Enrichers.Environment from 2.1.3 to 3.0.0

Release notes

Sourced from Serilog.Enrichers.Environment's releases.

v3.0.0

Breaking changes

The *Enricher types previously published in this assembly are now internal. These all have Enrich.With* configuration syntax alternatives; so, if your code used Enrich.With(new EnvironmentNameEnricher(...)), replace this with Enrich.WithEnvironmentName(...) and so on.

v2.3.0

v2.2.0

Commits
  • c7801e6 Merge pull request #64 from serilog/dev
  • 880a21a Merge pull request #63 from nblumhardt/serilog-4
  • 2b97f21 Seal internal classes; publish snupkgs
  • 07a92ba Package icon
  • 0a7892e Update build script
  • c7f8654 Serilog 4 updates; unpublish enricher types accessible via extensions
  • 38e2792 New publishing key
  • a56877c Merge pull request #57 from Numpsy/users/rw/bump_test
  • 8817e4b Update test libraries
  • 34725d7 Merge pull request #54 from Numpsy/rw/v3
  • Additional commits viewable in compare view

Updates Serilog from 2.9.0 to 4.0.0

Release notes

Sourced from Serilog's releases.

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

... (truncated)

Commits
  • 573a628 Merge pull request #2067 from serilog/dev
  • e963475 Attempt to make tests more robust on slow CI machines by increasing time steps
  • 5e18faf Update all dependencies, fix new xUnit lints
  • 9fcf795 Move TrimConfiguration to Capturing namespace, 'Configuration' namespace is j...
  • 4ef3a87 Remove noop byte cast
  • 9d3a088 fix: only disallows '}' in format strings, use byte comparison
  • 920b8c8 fix: allows all printable characters as format values
  • e1a0047 Typo - to -> do
  • 921eccc Scope back to only considering dots; improve tests
  • 592a124 Improve comment
  • 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)

Bumps [Serilog.Enrichers.Environment](https://github.com/serilog/serilog-enrichers-environment) and [Serilog](https://github.com/serilog/serilog). These dependencies needed to be updated together.

Updates `Serilog.Enrichers.Environment` from 2.1.3 to 3.0.0
- [Release notes](https://github.com/serilog/serilog-enrichers-environment/releases)
- [Changelog](https://github.com/serilog/serilog-enrichers-environment/blob/dev/CHANGES.md)
- [Commits](serilog/serilog-enrichers-environment@v2.1.3...v3.0.0)

Updates `Serilog` from 2.9.0 to 4.0.0
- [Release notes](https://github.com/serilog/serilog/releases)
- [Commits](serilog/serilog@v2.9.0...v4.0.0)

---
updated-dependencies:
- dependency-name: Serilog.Enrichers.Environment
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Serilog
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Jun 11, 2024
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.

None yet

0 participants