dlidstrom / Snittlistan

MIT License
1 stars 1 forks source link

Bump NLog from 4.7.15 to 5.0.0 #593

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps NLog from 4.7.15 to 5.0.0.

Release notes

Sourced from NLog's releases.

NLog 5

See Release post

Details of changes: See here

Major Features

  • NLog is now faster and lighter
  • NLog Layout for everything
  • NLog ScopeContext to replace MDC + MDLC + NDC + NDLC
  • NLog Layout stored as NLog Configuration Variables
  • Fluent API for NLog LoggingConfiguration
  • NLog Callsite from caller member attributes
  • LogFactory with Dependency Injection

Breaking Changes

See rationale here

  • Strong Version Changed
  • Obsolete methods have been removed
  • Xamarin, Windows Phone and Silverlight platforms have been removed
  • .NET Framework v4.0 platform removed and replaced with .NET Framework v4.6
  • NLog Extensions assemblies will not load automatically
  • NLog Targets extracted into their own nuget-packages
  • Deprecated NLog.Extended nuget-package
  • Deprecated NLog.Config nuget-package
  • Automatic loading of NLog.config now first check for exe.nlog
  • NLog Configuration will have KeepVariablesOnReload enabled by default
  • Layout and LayoutRenderer are now threadsafe by default
  • Default Layout for NLog Targets has been updated
  • Default Format for NLog Exception layoutrenderer has been updated
  • NLog InternalLogger will not initialize itself from app.config or environment variables
  • Removed obsolete method Target.Write(AsyncLogEventInfo[]) and OptimizeBufferReuse is always true
  • ScopeContext changes MappedDiagnosticContext (MDC) to use AsyncLocal
  • MappedDiagnosticContext (MDC), MappedDiagnosticLogicalContext (MDLC), GlobalDiagnosticContext (GDC) now case-insensitive
  • FileTarget KeepFileOpen = true by default
  • FileTarget ConcurrentWrites = false by default
  • FileTarget Encoding default value changed to UTF8
  • FileTarget will include BOM by default for UTF16 and UTF32 encoding
  • NetworkTarget will Discard by default on overflow
  • JsonLayout MaxRecursionLimit default value changed to 1
  • JsonLayout EscapeForwardSlash default value changed to false
  • JsonLayout always includes decimal point for floating-point types
  • CallSite-renderer will automatically clean async callstacks
  • LoggingRule Filters DefaultAction changed to FilterResult.Ignore
  • NLog.Extensions.Logging without any filter
  • NLog.Extensions.Logging changes capture of EventId

Many other improvements

For a full list of all the enhancements and performance improvements: NLog 5.0 Pull Requests

... (truncated)

Changelog

Sourced from NLog's changelog.

See also releases and milestones.

Date format: (year/month/day)

Change Log

v5.0 (2022/05/16)

See List of major changes in NLog 5.0.

Improvements

v5.0-RC2 (2022/01/19)

Features

... (truncated)

Commits
  • 2e132d9 NLog 5.0 Ready for delivery (#4802)
  • 1f959d0 Improved documentation for SandCastle (#4926)
  • 2fa412f ChainsawTarget - IncludeEventProperties = true since IncludeNLogData = false ...
  • 4091315 NetworkTarget - Dual Mode IPv4 mapped addresses over IPv6 (#4922)
  • eb1f8d3 Replaced question.md issue-template with contact_links (fix indent) (#4921)
  • 3184110 dotnet list package --vulnerable --include-transitive (#4884)
  • 4a4502f Replaced question.md issue-template with contact_links to StackOverflow (Fix ...
  • 55c3011 Replaced question.md issue-template with contact_links to StackOverflow (#4912)
  • ceca8c2 PlatformDetector.IsMono is only for legacy .NET Framework (#4919)
  • 5871087 Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.2.0 (#4916)
  • Additional commits viewable in compare view


Dependabot compatibility score

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 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[bot] commented 2 years ago

Superseded by #601.