Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 15, 2025

Updated NLog from 6.0.0 to 6.0.7.

Release notes

Sourced from NLog's releases.

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)

6.0.3

  • #​5952 FileTarget - Close old files when reaching OpenFileCacheSize. (@​snakefoot)
  • #​5948 FileTarget - Closing on OpenFileCacheTimeout apply least recently used. (@​snakefoot)
  • #​5947 FileTarget - Improved file-archive exception handling when KeepFileOpen=false. (@​snakefoot)
  • #​5954 ColoredConsoleTarget - Added Words-property for easy highlighting of many words without RegEx. (@​snakefoot)
  • #​5955 LogMessageTemplateFormatter - Also use IValueFormatter for positional templates. (@​snakefoot)
  • #​5953 NLog.Targets.Network - Updated links in README.md for nuget-package. (@​snakefoot)
  • #​5945 NLog.Targets.AtomicFile - Added README.md for nuget-package. (@​snakefoot)
  • #​5940 SplunkTarget - Support SplunkFields-property. (@​snakefoot)

6.0.2

  • #​5930 XmlParser - Handle XML comments after root-end-tag. (@​snakefoot)
  • #​5929 XmlLoggingConfiguration - Improve handling of invalid XML. (@​snakefoot)
  • #​5933 Handle invalid message template when skipping parameters array. (@​snakefoot)
  • #​5915 ReplaceNewLinesLayoutRendererWrapper - Replace more line ending characters. (@​oikku)
  • #​5911 NLog.Targets.GZipFile - Improve support for ArchiveAboveSize. (@​snakefoot)
  • #​5921 FileTarget - Activate legacy ArchiveFileName when ArchiveSuffixFormat contains legacy placeholder. (@​snakefoot)
  • #​5924 AsyncTargetWrapper - Updated FullBatchSizeWriteLimit default value from 5 to 10. (@​snakefoot)
  • #​5937 Mark Assembly loading with RequiresUnreferencedCodeAttribute for AOT. (@​snakefoot)
  • #​5938 Logger - Align WriteToTargets with WriteToTargetsWithSpan. (@​snakefoot)
  • #​5909 ConfigurationItemFactory - Added extension hints for webservice and activityid. (@​snakefoot)
  • #​5918 Log4JXmlTarget - Removed alias NLogViewer as conflicts with other nuget-packages. (@​snakefoot)
  • #​5926 SplunkTarget - NetworkTarget with SplunkLayout. (@​snakefoot)
  • #​5927 GelfLayout - Align with SplunkLayout. (@​snakefoot)
  • #​5913 NLog.Targets.Network - Updated nuget-package README.md. (@​snakefoot)
  • #​5912 NLog.Targets.Trace - Updated nuget-package README.md. (@​snakefoot)
  • #​5919 XML docs for Targets and Layouts with remarks about default value. (@​snakefoot)
  • #​5922 XML docs for LayoutRenderers with remarks about default value. (@​snakefoot)
  • #​5925 XML docs for Target Wrappers with remarks about default value. (@​snakefoot)
  • #​5935 Improve NLog XSD Schema with better handling of typed Layout. (@​snakefoot)
  • #​5923 Updated unit-tests from NET6 to NET8. (@​snakefoot)

6.0.1

Improvements

  • #​5898 Changed ConditionExpression to be nullable by default since no Condition means no filtering. (@​snakefoot)
  • #​5906 Include ConditionExpression in the static type registration. (@​snakefoot)
  • #​5895 Fixed the new XML parser to handle XML comments just before end-tag. (@​snakefoot)
  • #​5905 Fixed the new XML parser to allow InnerText with greater-than characters. (@​snakefoot)
  • #​5891 Updated NLog.Targets.AtomicFile to support net8.0-windows without dependency on Mono.Posix.NETStandard. (@​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 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)

---
updated-dependencies:
- dependency-name: NLog
  dependency-version: 6.0.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 Dec 15, 2025
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