Skip to content

Bump NLog from 6.0.3 to 6.1.2#148

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/nuget/src/NLog.DiagnosticSource/NLog-6.1.2
Open

Bump NLog from 6.0.3 to 6.1.2#148
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/nuget/src/NLog.DiagnosticSource/NLog-6.1.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 27, 2026

Updated NLog from 6.0.3 to 6.1.2.

Release notes

Sourced from NLog's releases.

6.1.2

Improvements

  • #​6116 PropertyTypeConverter - Prioritize IFormattable ToString when Format specified. (@​snakefoot)
  • #​6129 GZipFile - Support Header / Footer / WriteBom. (@​snakefoot)
  • #​6126 FileTarget - Alert when FileName needs to be repaired. (@​snakefoot)
  • #​6113 FileTarget - Upfront validation of ArchiveSuffixFormat property. (@​snakefoot)
  • #​6110 FileTarget - Improve repair of legacy ArchiveFileName. (@​snakefoot)
  • #​6107 LoggingRule - Added WriteTo-method to match NLog.config. (@​snakefoot)
  • #​6106 LoggingRule - Added MinLevel-property to match NLog.config. (@​snakefoot)
  • #​6118 LoggingRule - Update FinalMinLevel-property to match NLog.config. (@​snakefoot)
  • #​6123 Layout.IsNullOrEmpty similar to string.IsNullOrEmpty. (@​snakefoot)
  • #​6119 TargetPropertyWithContext - Added alias Value for Layout. (@​snakefoot)
  • #​6132 TargetPropertyWithContext - ToString returns Name and Value. (@​snakefoot)
  • #​6105 MessageTemplateParameters - Reduce code complexity. (@​snakefoot)
  • #​6131 + #​6133 Refactor NLog source code to fix nullable warnings. (@​snakefoot)

6.1.1

Improvements

  • #​6101 LogFactory - Flush / FlushAsync asynchronous completion outside Target lock. (@​snakefoot)
  • #​6100 NLog.Targets.AtomicFile supporting NetStandard2 with Win32 API. (@​michailf)
  • #​6094 XmlLayout - Faster XML encoding with INoAllocationStringValueRenderer. (@​snakefoot)
  • #​6091 LiteralWithRawValueLayoutRenderer - Only support RawValue when possible. (@​snakefoot)
  • #​6088 CachedLayoutRendererWrapper - Allow literal optimization when caching not needed. (@​snakefoot)

6.1

Improvements

  • #​5999 JsonLayout - Added support for DottedRecursion. (@​thatrajeevkr)
  • #​6084 JsonLayout - Protect against cyclic object graphs when DottedRecursion. (@​snakefoot)
  • #​6075 DebuggerTarget - Add support for MaxMessageSize and OnOverflow-action. (@​snakefoot)
  • #​6070 InternalLogger - Auto enable LogLevel.Info when activated. (@​snakefoot)
  • #​6045 LoggingConfigurationParser - Report unrecognized options in targets and rules section. (@​snakefoot)
  • #​6059 LogEventBuilder - Properties with IReadOnlyCollection for initialCapacity. (@​snakefoot)
  • #​6065 FileTarget - Adjust ArchiveSuffixFormat to better handle legacy ArchiveFileName. (@​snakefoot)
  • #​6079 FileTarget - Replace Environment.TickCount with LogEventInfo.TimeStamp. (@​snakefoot)
  • #​6066 FileTarget - Simplify FileName natural ordering logic. (@​snakefoot)
  • #​6069 FileTarget - Reduce code complexity for NaturalStringComparer. (@​snakefoot)
  • #​6064 FileTarget - Reduce code complexity for ArchiveNumbering property. (@​snakefoot)
  • #​6082 JsonLayout - Faster Json encoding with INoAllocationStringValueRenderer. (@​snakefoot)
  • #​6083 CsvLayout - Faster CSV encoding with INoAllocationStringValueRenderer. (@​snakefoot)
  • #​6081 DefaultJsonSerializer - Reduce overhead of PerformJsonEscapeWhenNeeded. (@​snakefoot)
  • #​6025 LogEventInfo - Changed LayoutCache from dictionary to linked list. (@​snakefoot)
  • #​6049 PropertiesDictionary - Increase initial capacity when insert. (@​snakefoot)
  • #​6061 PropertiesDictionary - Simplify enumerator when mixing property types. (@​snakefoot)
  • #​6074 WhenEmpty - Optimize when IsFixedText. (@​snakefoot)
  • #​6062 BufferingTargetWrapper - Improve InternalLogger output when WrappedTarget is NULL. (@​snakefoot)
  • #​6067 Fix nullable warnings from NET10 annotations. (@​snakefoot)
  • #​6068 Support nullable where TKey : notnull for dictionary. (@​snakefoot)
  • #​6071 AssemblyExtensionTypes - Reduce code complexity. (@​snakefoot)
  • #​6072 LoggingConfigurationFileLoader - Handle unknown type loading for App.config. (@​snakefoot)
  • #​6076 Marked ConversionHelpers.TryParseEnum as obsolete. (@​snakefoot)
  • #​5949 CallSiteLayoutRenderer - Obsoleted CleanNamesOfAnonymousDelegates + CleanNamesOfAsyncContinuation. (@​snakefoot)

6.0.7

Improvements

  • #​6056 FileTarget - Archive Cleanup sort filenames using natural ordering. (@​snakefoot)
  • #​6054 EventProperties - Format Dictionary Properties correctly. (@​snakefoot)
  • #​6051 Failure to create config item should be reported as InternalLogger Error. (@​snakefoot)
  • #​6052 PropertiesDictionary - Faster TryGetValue without IsEmpty. (@​snakefoot)
  • #​6048 PropertiesDictionary - Increase initial capacity when insert. (@​snakefoot)
  • #​6047 LogEventInfo - Minor optimization of HasImmutableProperties. (@​snakefoot)
  • #​6057 WhenEmpty - Support AppDomainFixedOutput optimization. (@​snakefoot)
  • #​6053 JsonAttribute - Reduce code complexity when Encode = false. (@​snakefoot)
  • #​6044 Target also enforce PreventMultipleCalls when WriteFailedNotInitialized. (@​snakefoot)
  • #​6042 NLog.RegEx - Fixed Wiki-link in nuget-package. (@​snakefoot)

6.0.6

Improvements

  • #​6027 FileTarget - Improve archive cleanup when using ArchiveSuffixFormat with datetime. (@​snakefoot)
  • #​6028 FileTarget - Fix archive cleanup when only single old file and using MaxArchiveDays. (@​snakefoot)
  • #​6039 FileTarget - Render ArchiveSuffixFormat using NLog DefaultCultureInfo. (@​snakefoot)
  • #​6030 ObjectReflectionCache - Improve handling of JObject serialization. (@​snakefoot)
  • #​6026 JsonLayout - Reduce code complexity for rendering JsonAttribute. (@​snakefoot)
  • #​6036 NullTarget - Improve thread concurrency when FormatMessage = false. (@​snakefoot)
  • #​6023 MemoryTarget - Apply MaxLogsCount limit on next LogEvent. (@​snakefoot)
  • #​6040 XmlParser - Refactor to reduce code complexity. (@​snakefoot)
  • #​6041 ScopeContextAsyncState - Refactor to reduce code complexity. (@​snakefoot)

6.0.5

Improvements

  • #​5998 FileTarget - Rolling to next directory should not fail. (@​snakefoot)
  • #​6013 ValueFormatter - Skip quotes for CaptureType.Stringify unless legacy mode. (@​snakefoot)
  • #​6007 ColoredConsoleTarget - Use Span to reduce string-allocation for word-highlighting. (@​snakefoot)
  • #​6009 NullTarget - Avoid string-allocation upfront when FormatMessage = true. (@​snakefoot)
  • #​6012 XmlLoggingConfiguration - Reduce output for InternalLogger Info-Level. (@​snakefoot)
  • #​6006 XmlLoggingConfiguration - Protect against double dispose of AutoReloadConfigFileWatcher. (@​snakefoot)
  • #​6008 LoggerImpl - Merge WriteToTargetWithFilterChain into Write. (@​snakefoot)
  • #​6010 LoggingConfiguration - Redirect AddRuleForOneLevel and AddRuleForAllLevels to AddRule. (@​snakefoot)
  • #​6011 LoggingRule - Align EnableLoggingForLevels to skip when minLevel is LogLevel.Off. (@​snakefoot)
  • #​6015 CompoundLayout - Changed to foreach for better release optimizations. (@​snakefoot)
  • #​6016 CsvLayout - Changed to foreach for better release optimizations. (@​snakefoot)
  • #​6017 JsonArrayLayout - Changed to foreach for better release optimizations. (@​snakefoot)
  • #​6018 XmlLayout - Changed to foreach for better release optimizations. (@​snakefoot)

6.0.4

Improvements

  • #​5979 FileTarget - Improve file-wildcard for archive cleanup. (@​snakefoot)
  • #​5980 FileTarget - Extend InternalLogger output with archive cleanup reason. (@​snakefoot)
  • #​5981 FileTarget - Strict wildcard check only possible when single wildcard. (@​snakefoot)
  • #​5987 FileTarget - Improve archive cleanup with dynamic seq-no. (@​snakefoot)
  • #​5988 FileTarget - Avoid parsing archive sequence number when other digits. (@​snakefoot)
  • #​5996 FileTarget - Improve fallback logic when missing file system birthtime. (@​snakefoot)
  • #​5964 ColoredConsoleTarget - WholeWords should only highlight the word. (@​snakefoot)
  • #​5967 ColoredConsoleTarget - Fixed boxing issue in ConsoleRowHighlightingRule. (@​karpinsn)
  • #​5968 Simplify WithAutoFlush-method for fluent config API. (@​snakefoot)
  • #​5970 Fix boxing for registration of builtin condition methods. (@​snakefoot)
  • #​5977 ConditionExpression - Implicit operator with NotNullIfNotNull-attribute. (@​GREsau)
  • #​5982 SimpleLayout - Implicit operator with NotNullIfNotNull-attribute. (@​snakefoot)
  • #​5992 MessageLayoutRenderer - Handle Exception.ToString() can throw with AOT. (@​snakefoot)
  • #​5983 Append4DigitsZeroPadded - Use Span instead of multiple StringBuilder.Append(). (@​snakefoot)
  • #​5985 Extracted NLog.WindowsRegistry to own git repository. (@​snakefoot)
  • #​5985 Extracted NLog.Targets.Trace to own git repository. (@​snakefoot)
  • #​5985 Extracted NLog.Targets.ConcurrentFile to own git repository. (@​snakefoot)
  • #​5985 Extracted NLog.Targets.Database to own git repository. (@​snakefoot)
  • #​5985 Extracted NLog.Targets.Mail to own git repository. (@​snakefoot)
  • #​5985 Extracted NLog.Targets.WebService to own git repository. (@​snakefoot)
  • #​5985 Extracted NLog.Targets.Network to own git repository. (@​snakefoot)

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

---
updated-dependencies:
- dependency-name: NLog
  dependency-version: 6.1.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Apr 27, 2026
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 size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants