Skip to content

Bump NLog from 6.1.3 to 6.2.2 - #3594

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/library/src/Core/Filtering/NLog-6.2.2
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/library/src/Core/Filtering/NLog-6.2.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 19, 2026

Copy link
Copy Markdown
Contributor

Updated NLog from 6.1.3 to 6.2.2.

Release notes

Sourced from NLog's releases.

6.2.2

Improvements

  • #​6303 XmlParser - Keep whitespace from character references in InnerText. (@​APX403)
  • #​6292 CachedLayoutRendererWrapper - Support CachedUntil=HourChange and CachedUntil=DayChange. (@​dualfroz)
  • #​6298 ObjectGraphScanner - Skip scanning Layout.Empty. (@​snakefoot)
  • #​6297 Remove Microsoft.SourceLink.GitHub as part of NET8 SDK. (@​snakefoot)
  • #​6296 FileTarget - Refactor RollingArchiveFileHandler to reduce complexity. (@​snakefoot)
  • #​6295 NullTarget - LastMessage property lock SyncRoot. (@​snakefoot)
  • #​6289 MemoryTarget - Introduced DumpInitialError with focused diagnostic context. (@​snakefoot)
  • #​6287 MemoryTarget - Introduced DumpOnError with full diagnostic context. (@​snakefoot)
  • #​6283 MemoryTarget - RingBuffer supporting non-blocking enumeration. (@​snakefoot)

6.2.1

Improvements

  • #​6254 Replace System.Random usage with custom ScatterGenerator. (@​jobvk)
  • #​6267 JsonLayout - Escape lone surrogates so output stays valid UTF8. (@​dylanpulver)
  • #​6275 XML docs with Default value for class properties in Filters namespace. (@​dualfroz)
  • #​6276 XML docs with Default value for class properties with unit test. (@​snakefoot)
  • #​6265 AtomicFileTarget - Improve recovery when file suddenly disappears. (@​snakefoot)
  • #​6266 JsonLayout - Explicit assigned SuppressSpaces should win. (@​snakefoot)
  • #​6271 DefaultJsonSerializer - Refactor AppendStringEscape to make method simpler. (@​snakefoot)
  • #​6268 XmlHelper - Replace with char.IsHighSurrogate + char.IsLowSurrogate. (@​snakefoot)
  • #​6269 XmlHelper - Improve CDATA encoding when first char is invalid. (@​snakefoot)
  • #​6273 XmlHelper - Check char.IsHighSurrogate before checking length. (@​snakefoot)
  • #​6251 LogManager - Remove CLSCompliant(false) attribute from GetCurrentClassLogger. (@​snakefoot)
  • #​6255 NLog.Schema - NLog.Targets.HttpClient + NLog.Targets.OpenTelemetryHttp. (@​snakefoot)
  • #​6261 XmlParser - Moved primitive parsing logic into InputCursor. (@​snakefoot)
  • #​6264 XmlParser - Optimize parsing of Attributes and InnerText and CDATA. (@​snakefoot)
  • #​6280 Layout - FromLiteral is IsInitialized from the start and ThreadAgnostic. (@​snakefoot)

6.2

Improvements

  • #​6215 FileTarget - Added FileLifecycleHooks for extending archive logic. (@​Dave-Senn)
  • #​6218 ScopeContext - Optimize collection of properties in reverse order. (@​snakefoot)
  • #​6230 PropertyTypeConverter - Disable legacy TypeDescriptor when AOT. (@​snakefoot)
  • #​6231 Replacing ProcessInfo-LayoutRenderer with ProcessStart-LayoutRenderer. (@​snakefoot)
  • #​6229 GarbageCollectorInfoLayoutRenderer - WorkingSet + Format. (@​snakefoot)
  • #​6246 AsyncTaskTarget - Added Jitter on Retry to reduce thundering herd. (@​snakefoot)
  • #​6248 AsyncTaskTarget - Changed Jitter to use Stopwatch instead of TickCount. (@​snakefoot)
  • #​6245 AsyncTaskTarget - Refactor to reduce code complexity. (@​snakefoot)
  • #​6148 AppEnvironmentWrapper - Return Unknown_ProcessId when empty ProcessName. (@​snakefoot)
  • #​6187 ConfigurationItemFactory - Marked ParseMessageTemplates as obsolete. (@​snakefoot)
  • #​6243 ConditionParser - Marked as obsolete, so it can become internal. (@​snakefoot)
  • #​6087 Target - Reduce code complexity of WriteAsyncLogEvents. (@​snakefoot)
  • #​6200 SimpleLayout - Marked Renderers-property as obsolete. (@​snakefoot)
  • #​6239 LogFactory - FlushAsync and DisposeAsync with explict usage of CancellationToken.None. (@​snakefoot)

Release notes for NLog v6.2: https://nlog-project.org/2026/08/16/nlog-6-2-aot-build-size.html

6.1.4

Improvements

  • #​6225 AsyncTaskTarget - Fixed bug when using BatchSize=1 and doing explicit flush and next LogEvent fails. (@​snakefoot)
  • #​6206 MruCache - Changed to ConcurrentDictionary but still single writer. (@​snakefoot)
  • #​6205 TargetWithFilterChain - Increase CallSite MaxCapacity from 1000 to 2000. (@​snakefoot)
  • #​6197 JsonAttribute - New constructor with JsonLayout and Encode = false. (@​snakefoot)
  • #​6174 Reduce AOT file-size. Changed PropertyTypeConverter to avoid Dictionary for conversion mapping. (@​snakefoot)
  • #​6177 Reduce AOT file-size. Changed LogFactory PurgeObsoleteLoggers to clone Dictionary instead of ToList. (@​snakefoot)
  • #​6185 Reduce AOT file-size. Changed to use yield instead of Linq. (@​snakefoot)
  • #​6188 Reduce AOT file-size. Changed ConfigurationItemFactory from Dictionary to Array of PropertyInfo. (@​snakefoot)
  • #​6192 Reduce AOT file-size. Changed Target FindAllLayouts to use HashSet instead of Linq Distinct. (@​snakefoot)
  • #​6193 Reduce AOT file-size. Changed XmlLoggingConfiguration AutoReloadFileNames to use yield instead of Linq. (@​snakefoot)
  • #​6195 Reduce AOT file-size. Changed LoggingConfiguration CheckUnusedTargets to use HashSet instead of Linq. (@​snakefoot)
  • #​6204 TemplateEnumerator - Replace LiteralHole with CurrentHole and CurrentLiteral. (@​snakefoot)
  • #​6223 XmlParser - ReadUntilChar avoid extra string-allocation on trim InnerText. (@​snakefoot)
  • #​6222 XmlParser - Simplify ReadUntilChar by extracting parse of attribute-name into ReadEntityName. (@​snakefoot)
  • #​6209 AppVeyor - Visual Studio 2026. (@​snakefoot)
  • #​6199 Fixed nullable warnings from Activator.CreateInstance. (@​snakefoot)
  • #​6190 SetupConfigurationTargetBuilder - Fix Sonar Code Smell. (@​snakefoot)
  • #​6176 TryNLogSpecificConversion - Refactor parsing Layout from string. (@​snakefoot)
  • #​6210 ScopeContext - Fix List capacity for GetAllNestedStates. (@​jnyrup)
  • #​6211 ScopeContext - Renamed PushNestedState to CollectNestedState. (@​snakefoot)
  • #​6214 ScopeContext - Rename CaptureNestedContext to CloneNestedContext. (@​snakefoot)
  • #​6216 ScopeContext - Simplify CaptureContextProperties when only nested state. (@​snakefoot)
  • #​6217 ScopeContext - Unify CollectNestedState implementation. (@​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.2.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 Nov 19, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #3608.

@dependabot dependabot Bot closed this Nov 24, 2026
@dependabot
dependabot Bot deleted the dependabot/nuget/library/src/Core/Filtering/NLog-6.2.2 branch November 24, 2026 08:45
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.

0 participants