All Versions
100
Latest Version
Avg Release Cycle
48 days
Latest Release
120 days ago

Changelog History
Page 1

  • v5.0-RC2 Changes

    January 19, 2022

    🔋 Features

    • #4761 LogFactory fluent Setup with AddCallSiteHiddenAssembly (#4761) (@snakefoot)
    • ⚡️ #4757 Updated JetBrains Annotations with StructuredMessageTemplateAttribute (#4757) (@snakefoot)
    • #4754 JsonArrayLayout - Render LogEvent in Json-Array format (#4754) (@snakefoot)
    • #4613 Added LogFactory.ReconfigureExistingLoggers with purgeObsoleteLoggers option (#4613) (@sjafarianm)
    • #4711 Added WithProperties-method for Logger-class (#4711) (@simoneserra93)

    👌 Improvements

    • ⚡️ #4730 MemoryTarget - Updated to implement TargetWithLayoutHeaderAndFooter (#4730) (@snakefoot)
    • ⚡️ #4730 TraceTarget - Updated to implement TargetWithLayoutHeaderAndFooter (#4730) (@snakefoot)
    • 📜 #4717 DatabaseTarget - Improved parsing of DbType (#4717) (@Orace)
  • v5.0-RC1 Changes

    December 20, 2021

    🔋 Features

    • #4662 LogFactory Setup fluent with SetupLogFactory for general options (#4662) (@snakefoot)
    • #4648 LogFactory fluent Setup with FilterDynamicIgnore + FilterDynamicLog (#4648) (@snakefoot)
    • 👍 #4642 TargetWithContext - Added support for ExcludeProperties (#4642) (@snakefoot)

    👌 Improvements

    • 👍 #4656 FallbackGroupTarget - Added support for EnableBatchWrite (#4656) (@snakefoot)
    • #4655 JsonLayout - ExcludeProperties should also handle IncludeScopeProperties (#4655) (@snakefoot)
    • 0️⃣ #4645 TargetWithContext - IncludeEmptyValue false by default (#4645) (@snakefoot)
    • #4646 PropertiesDictionary - Generate unique message-template-names on duplicate keys (#4646) (@snakefoot)
    • 📚 #4661 LoggingRule - Fix XML documentation (#4661) (@GitHubPang)
    • 🛠 #4671 Fixed RegisterObjectTransformation to handle conversion to simple values (#4671) (@snakefoot)
    • 👍 #4669 LogLevel - Replaced IConvertible with IFormattable for better Json output (#4669) (@snakefoot)
    • ⚡️ #4676 NLog.Wcf - Updated nuget dependencies to System.ServiceModel ver. 4.4.4 (#4676) (@snakefoot)
    • 🐧 #4675 FileTarget - Improve fallback logic when running on Linux without File BirthTIme (#4675) (@snakefoot)
    • 👍 #4680 FileTarget - Better handling of relative paths with FileSystemWatcher (#4680) (@snakefoot)
    • #4689 Renamed AppSettingLayoutRenderer2 to AppSettingLayoutRenderer after removing NLog.Extended (#4689) (@snakefoot)
    • #4563 Added alias ToUpper and ToLower as alternative to UpperCase and LowerCase (#4563) (@snakefoot)
    • 📜 #4695 Ignore dash (-) when parsing layouts, layoutrenderers and targets (#4695) (@304NotModified)
    • #4713 Logger SetProperty marked as obsolete, instead use WithProperty or the unsafe Properties-property (#4713) (@snakefoot)
    • #4714 Hide obsolete methods from intellisense (#4714) (@snakefoot)

    🐎 Performance

    • #4672 PaddingLayoutRendererWrapper - Pad operation with reduced string allocation (#4672) (@snakefoot)
    • #4698 FileTarget - Use Environment.TickCount to trigger File.Exists checks (#4698) (@snakefoot)
    • 🐎 #4699 AsyncTargetWrapper - Fix performance for OverflowAction Block on NetCore (#4699) (@snakefoot)
    • 👯 #4705 LogEventInfo - Faster clone of messageTemplateParameters by caching Count (#4705) (@snakefoot)
  • v5.0-Preview Changes

    October 02, 2021

    🛠 Bugfixes

    • 🛠 #4533 Fixed validation of nlog-element when using include-files (#4533) (@snakefoot)
    • 🔧 #4555 Fixed validation of nlog-element when nested within configuration-element (#4555) (@snakefoot)

    🔋 Features

    • 0️⃣ #4542 NetworkTarget - Added OnQueueOverflow with default Discard (#4542) (@snakefoot)

    👌 Improvements

    • #4544 ScopeContext - Renamed IncludeScopeNestedStates to IncludeScopeNested for consistency (#4544) (@snakefoot)
    • #4545 ScopeContext - Renamed PushScopeState to PushScopeNested for consistency (#4545) (@snakefoot)
    • #4556 NetworkTarget - Explicit assigning LineEnding activates NewLine automatically (#4556) (@snakefoot)
    • #4549 NetworkTarget - UdpNetworkSender changed to QueuedNetworkSender with correct message split (#4549) (@snakefoot)
    • 0️⃣ #4542 NetworkTarget - Changed OnConnectionOverflow to discard by default (#4542) (@snakefoot)
    • 📜 #4564 Fixed LayoutParser so Typed Layout works for LayoutRenderer (#4564) (@snakefoot)
    • 0️⃣ #4580 LayoutRenderer and Layout are now always threadsafe by default (#4580) (@snakefoot)
    • #4586 ScopeTiming - No Format specified renders TimeSpan.TotalMilliseconds (#4586) (@snakefoot)
    • 👍 #4583 ExceptionLayoutRenderer - Separator with basic layout support (#4583) (@snakefoot)
    • 👍 #4588 StackTraceLayoutRenderer - Separator with basic layout support (#4588) (@snakefoot)
    • 👍 #4589 ScopeNestedLayoutRenderer - Separator with basic layout support (#4589) (@snakefoot)
  • v4.7.13

    December 05, 2021
  • v4.7.12 Changes

    October 24, 2021

    🛠 Bugfixes

    • 🛠 #4627 PropertiesDictionary - Fixed threading issue in EventProperties (#4627) (@snakefoot)
    • 🌲 #4631 FileTarget - Failing to CleanupInitializedFiles should not stop logging (#4631) (@snakefoot)

    🔋 Features

    • #4629 LogEventInfo constructor with eventProperties as IReadOnlyList (#4629) (@snakefoot)
  • v4.7.11 Changes

    August 18, 2021

    🛠 Bugfixes

    • #4519 JsonSerializer - Fix CultureNotFoundException with Globalization Invariant Mode (#4519) (@snakefoot)

    🔋 Features

    • 👍 #4475 WebServiceTarget - Added support for assigning UserAgent-Header (#4475) (@snakefoot)
  • v4.7.10 Changes

    May 14, 2021

    🛠 Bugfixes

    • 🛠 #4401 JsonSerializer - Fixed bug when handling custom IConvertible returning TypeCode.Empty (#4401) (@snakefoot)

      👌 Improvements

    • 0️⃣ #4391 Support TargetDefaultParameters and TargetDefaultWrapper (#4391) (@snakefoot)

    • #4403 JsonLayout - Apply EscapeForwardSlash for LogEventInfo.Properties (#4403) (@snakefoot)

    • ⚡️ #4393 NLog.Config package: Updated hyperlink (#4393) (@snakefoot)

  • v4.7.9 Changes

    March 24, 2021

    🛠 Bugfixes

    • 🐧 #4349 Fixed TrimDirectorySeparators to not use the root-path on Linux (#4349) (@snakefoot)
    • 🛠 #4353 Fixed FileTarget archive cleanup within same folder at startup (#4353) (@snakefoot)
    • 🛠 #4352 Fixed FileTarget archive cleanup when using short filename (#4352) (@snakefoot)

    👌 Improvements

    • #4326 Make it possible to extend the FuncLayoutRenderer (#4326) (@304NotModified)
    • 0️⃣ #4369 + #4375 LoggingConfigurationParser - Recognize LoggingRule.FilterDefaultAction (#4369 + #4375) (@snakefoot)

    🐎 Performance

    • #4337 JsonLayout - Avoid constant string-escape of JsonAttribute Name-property (#4337) (@snakefoot)
  • v4.7.8 Changes

    February 25, 2021

    🛠 Bugfixes

    • 🐧 #4316 Fix TrimDirectorySeparators to handle root-path on Windows and Linux to load Nlog.config from root-path (#4316) (@snakefoot)

    👌 Improvements

    • #4273 Handle Breaking change with string.IndexOf(string) in .NET 5 (#4273) (@snakefoot)
    • ⚡️ #4301 Update docs, remove ArrayList in docs (#4301) (@304NotModified)
  • v4.7.7 Changes

    January 20, 2021

    🛠 Bugfixes

    • #4229 Skip lookup MainModule.FileName on Android platform to avoid crash (#4229) (@snakefoot)
    • #4202 JsonLayout - Generate correct json for keys that contain quote (#4202) (@virgilp)
    • #4245 JsonLayout - Unwind after invalid property value to avoid invalid Json (#4245) (@snakefoot)

    👌 Improvements

    • 👍 #4222 Better handling of low memory (#4222) (@snakefoot)
    • #4221 JsonLayout - Added new ExcludeEmptyProperties to skip GDC/MDC/MLDC properties with null or empty values (#4221) (@pruiz)

    🐎 Performance

    • #4207 Skip allocation of SingleCallContinuation when ThrowExceptions = false (#4207) (@snakefoot)