NLog v5.0 Release Notes

Release Date: 2022-05-16 // almost 2 years ago
  • ๐Ÿ‘€ See List of major changes in NLog 5.0.

    ๐Ÿ‘Œ Improvements

    • #4922 NetworkTarget - Dual Mode IPv4 mapped addresses over IPv6 (#4922) (@snakefoot)
    • #4895 LogManager.Setup().LoadConfigurationFromAssemblyResource() can load config from embedded resource (#4895) (@snakefoot)
    • #4893 NetworkTarget - Reduce memory allocations in UdpNetworkSender (#4893) (@snakefoot)
    • 0๏ธโƒฃ #4891 + #4924 Log4JXmlEventLayoutRenderer - IncludeEventProperties default = true (#4891 + #4924) (@snakefoot)
    • ๐Ÿ‘ #4887 NetworkTarget - Support Compress = GZip for UDP with GELF to GrayLog (#4887) (@snakefoot)
    • โšก๏ธ #4882 Updated dependencies for NetStandard1.x to fix warnings (#4882) (@snakefoot)
    • ๐Ÿ‘ #4877 CounterLayoutRenderer - Support 64 bit integer and raw value (#4877) (@snakefoot)
    • ๐Ÿ #4867 WindowsIdentityLayoutRenderer - Dispose WindowsIdentity after use (#4867) (@snakefoot)
    • ๐Ÿ“œ #4863 + #4868 Support SpecialFolder UserApplicationDataDir for internalLogFile when parsing nlog.config (#4863 + #4868) (@snakefoot)
    • #4859 RetryingTargetWrapper - Changed RetryCount and RetryDelay to typed Layout (#4859) (@snakefoot)
    • #4858 BufferingTargetWrapper - Changed BufferSize + FlushTimeout to typed Layout (#4858) (@snakefoot)
    • #4857 LimitingTargetWrapper - Changed MessageLimit + Interval to typed Layout (#4857) (@snakefoot)
    • #4838 Added various null checks to improve code quality (#4838) (@KurnakovMaksim)
    • ๐Ÿ›  #4835 Fixed missing initialization of layout-parameters for ConditionMethodExpression (#4835) (@snakefoot)
    • #4824 LogFactory - Avoid checking candidate NLog-config files for every Logger created (#4824) (@snakefoot)
    • โœ… #4823 Improve InternalLogger output when testing candidate config file locations (#4823) (@snakefoot)
    • #4819 Improve loading of AppName.exe.nlog with .NET6 single file publish (#4819) (@snakefoot)
    • ๐Ÿ‘€ #4812 Translate ConditionParseException into NLogConfigurationException (#4812) (@snakefoot)
    • #4809 NLogConfigurationException - Improve styling of error-message when failing to assign property (#4809) (@snakefoot)
    • #4808 NLogRuntimeException constructor with string.Format marked obsolete (#4808) (@snakefoot)
    • #4807 NLogConfigurationException constructor with string.Format marked obsolete (#4807) (@snakefoot)
    • #4789 FallbackGroupTarget - Improve InternalLogger output when no more fallback (#4789) (@snakefoot)
    • #4788 NetworkTarget - Report to InternalLogger at Debug-level when discarding huge LogEvents (#4788) (@snakefoot)
    • #4787 Added extra JetBrains Annotations with StructuredMessageTemplateAttribute (#4787) (@snakefoot)
    • #4785 Improve InternalLogger output for unnamed nested wrapper targets (#4785) (@snakefoot)
    • #4784 Improve InternalLogger output for named nested wrapper targets (#4784) (@snakefoot)
    • ๐Ÿšš #4777 DatabaseTarget - Removed alias DB to avoid promoting acronyms (#4777) (@snakefoot)
    • #4776 LoggingRule - Allow FinalMinLevel to override previous rules (#4776) (@snakefoot)
    • โช #4775 InternalLogger IncludeTimestamp = true by default to restore original behavior (#4775) (@snakefoot)
    • ๐Ÿ“„ #4773 Fix xml-docs and replaced broken link config.html with wiki-link (#4773) (@snakefoot)
    • #4772 Improve InternalLogger output when queue OnOverflow (#4772) (@snakefoot)
    • โšก๏ธ #4770 LogFactory DefaultCultureInfo-setter should also update active config (#4770) (@snakefoot)