Skip to content

Latest commit

 

History

History
450 lines (319 loc) · 31.2 KB

CHANGELOG.MD

File metadata and controls

450 lines (319 loc) · 31.2 KB

Change Log

Date format: (year/month/day)

Version 5.3.15 (2024/11/21)

Improvements

  • #773: UseNLog allow fallback to only EnvironmentName for NLog config (#773) (@snakefoot)
  • #771: NLogMessageParameterList - Optimize the index operator (#771) (@snakefoot)
  • #770: NLogMessageParameterList - Simplify the index operator (#770) (@snakefoot)
  • #768: Recognize ITuple for better AOT support (#768) (@snakefoot)

Version 5.3.14 (2024/09/23)

Improvements

  • #765: UseNLog should fallback after checking ContentRoot for NLog.config (#765) (@snakefoot)

Version 5.3.13 (2024/09/12)

Improvements

  • #761: NLogLoggingConfiguration - Fix memory-leak when using AutoReload (#761) (@snakefoot)
  • #761: Updated to NLog v5.3.4 (#761) (@snakefoot)

Version 5.3.12 (2024/08/12)

Improvements

  • #756: Fallback to Microsoft Logging Formatter when mixing positional with structured (#756) (@snakefoot)
  • #755: NLogMessageParameterList - Optimize check of CaptureType for index operator (#755) (@snakefoot)
  • #751: NLogLoggingConfiguration - Refactor to reduce code complexity (#751) (@snakefoot)
  • #747: Added Copyright to nuget-package (#747) (@snakefoot)
  • #758: Updated to NLog v5.3.3 (#758) (@snakefoot)

Version 5.3.11 (2024/05/07)

Improvements

  • #745: Fixed CallSite-logic for NLog.Web.AspNetCore (#745) (@snakefoot)

Version 5.3.10 (2024/04/30)

Improvements

  • #742: Improve auto ordering of variables-section when dependent variables (#742) (@snakefoot)
  • #743: Updated to NLog v5.3.2 (#743) (@snakefoot)

Version 5.3.9 (2024/04/27)

Improvements

  • #724: Skipping empty config sections without throwing exceptions (#724) (@RodionovDmitry)
  • #737: Auto ordering of variables-section when dependent variables (#737) (@snakefoot)
  • #741: Updated to NLog v5.3.1 (#741) (@snakefoot)

Version 5.3.8 (2023/12/29)

Improvements

  • #719: Fixed IncludeActivityIdsWithBeginScope to work with NET 8.0 (#719) (@Owen-Krueger)
  • #714: UseNLog includes EnvironmentName when loading NLog config (#714) (@snakefoot)
  • #720: Updated to NLog v5.2.8 (#720) (@snakefoot)

Version 5.3.7 (2023/12/06)

Improvements

  • #705: Added target platform for NET 8.0 (#705) (@snakefoot)
  • #710: Improve XML docs for AddNLog and UseNLog (#710) (@snakefoot)
  • #713: Updated to NLog v5.2.7 (#713) (@snakefoot)

Version 5.3.5 (2023/10/15)

Improvements

  • #692: NLogLoggerFactory - Optimize concurrency for CreateLogger (@snakefoot)
  • #695: Updated to NLog v5.2.5 (@snakefoot)

Version 5.3.4 (2023/09/06)

Improvements

  • #687: Introduced CaptureMessageParameters to skip allocating Parameters-array (@snakefoot)
  • #687: Updated to NLog v5.2.4 (@snakefoot)

Version 5.3.3 (2023/08/05)

Improvements

  • #685: Updated to NLog v5.2.3 (@snakefoot)

Version 5.3.2 (2023/07/04)

Improvements

  • #680: Updated to NLog v5.2.2 (@snakefoot)

Version 5.3.1 (2023/07/01)

Improvements

  • #679: Updated to NLog v5.2.1 (@snakefoot)

Version 5.3.0 (2023/05/30)

Improvements

  • #669: Updated to NLog v5.2 (@snakefoot)
  • #669: NLogLoggerProvider - Replaced dynamic assembly loading with registration methods (@snakefoot)

Version 5.2.5 (2023/05/25)

Improvements

  • #674: Updated to NLog v5.1.5 (@snakefoot)
  • #670: Added README.md for the nuget-package (@snakefoot)

Version 5.2.3 (2023/03/28)

Improvements

  • #662: NLogBeginScopeParser - Skip capture of nested state when List + Array + Dictionary (@snakefoot)
  • #663: Updated to NLog v5.1.3 (@snakefoot)

Version 5.2.2 (2023/02/17)

Improvements

  • #659: Updated to NLog v5.1.2 (@snakefoot)

Version 5.2.1 (2022/12/29)

Improvements

  • #650: Fixed NLogLoggingConfiguration to handle wrapped targets without name (@snakefoot)
  • #648: Improve code-coverage by merging similar AddNLog-methods (@snakefoot)
  • #653: Updated to NLog v5.1.1 (@snakefoot)

Version 5.2.0 (2022/11/27)

Improvements

  • #645: Updated to NLog v5.1 with support for ISpanFormattable (@snakefoot)
  • #646: Use CallerArgumentExpressionAttribute in helper method for throwing ArgumentNullException (@snakefoot)
  • #639: NLogBeginScopeParser - CaptureScopeProperties with cached scopePropertyCount (@snakefoot)
  • #638: NLogMessageParameterList - Skip parsing Parameters-array when simple positional message template (@snakefoot)
  • #635: Improve XML docs for AddNLog with IConfiguration override (@snakefoot)
  • #634: NLogLogger - Small optimization when message-template syntax is used (@snakefoot)
  • #632: Use RegisterConfigSettings instead of ConfigSettingLayoutRenderer (@snakefoot)
  • #631: NLog.Extensions.Hosting - Skip RegisterItemsFromAssembly since handled by RegisterConfigSettings (@snakefoot)

Version 5.1.0 (2022/10/26)

Improvements

  • #629: Replace NetCoreApp31 + Net50 with NetStandard2.1 + Net60 (@snakefoot)
  • #628: MicrosoftConsoleJsonLayout - Skip string-allocation for timestamp-output (@snakefoot)
  • #627: LoadConfigurationFromSection should RegisterConfigSettings without configuration assign (@snakefoot)
  • #630: Bump NLog from 5.0.4 to 5.0.5 (@snakefoot)

Version 5.0.4 (2022/09/01)

Improvements

  • #621: Added embedded resource ILLink.Descriptors.xml (@snakefoot)
  • #621: Bump NLog from 5.0.3 to 5.0.4 (@snakefoot)

Version 5.0.3 (2022/09/01)

Improvements

  • #617: NLog.ExtensionsHosting loads NLog.config from ContentRootPath as last fallback (@snakefoot)
  • #619: Bump NLog from 5.0.2 to 5.0.3 (@snakefoot)

Version 5.0.2 (2022/08/12)

Improvements

  • #614: ConfigSettingLayoutRenderer - Support escape of dot-separator (@snakefoot)
  • #606: Introduced NLogProviderOptions AutoShutdown that is turned off by default (@snakefoot)
  • #615: Bump NLog from 5.0.1 to 5.0.2 (@snakefoot)

Version 5.0.1 (2022/06/23)

Improvements

  • #599: Fixed MissingMethodException for HostBuilderContext.get_HostingEnvironment() (@snakefoot)
  • #595: Added AddNLog-extension-method with custom options and serviceprovider-functor (@dependabot)
  • #486: Bump NLog from 5.0.0 to 5.0.1 (@dependabot)

Version 5.0.0 (2022/05/17)

Improvements

  • #590: Added nuget-dependency Microsoft.Extensions.Configuration.Abstractions for all platforms (@snakefoot)
  • #583: NLogBeginScopeParser - Improve parsing of custom KeyValuePair as scope-properties (@snakefoot)
  • #581: Support RemoveLoggerFactoryFilter and ReplaceLoggerFactory in appsettings.json (@snakefoot)
  • #579: ConfigSettingLayoutRenderer - Improve support for RegisterServiceProvider (@snakefoot)
  • #572: MicrosoftConsoleLayoutRenderer - Skip string-allocation for EventId when possible on platform (@snakefoot)
  • #571: MicrosoftConsoleJsonLayout - Fixed IndexOutOfRangeException when large EventID (@snakefoot)
  • #570: MicrosoftConsoleLayoutRenderer - Fixed IndexOutOfRangeException when large EventID (@mickelsonmichael)

See also List of major changes in NLog 5

Version 5.0-rc2 (2022/01/19)

Improvements

  • #564: NLog.ExtensionsHosting includes ContentRootPath when scanning for NLog.config candidate (@snakefoot)
  • #565: NLogProviderOptions ShutdownOnDispose = true disables LogFactory.AutoShutdown (@snakefoot)

Version 5.0-rc1 (2021/12/20)

Features

  • #554: NLogProviderOptions with support for CaptureEventId.EventId + EventName (@snakefoot)
  • #555: MicrosoftConsoleJsonLayout - Simulates Microsoft AddJsonConsole Formatter (@snakefoot)

Improvements

  • #546: NLogLogger refactoring for faster EventId-property capture (@snakefoot)
  • #547: NLogLogger refactoring for faster EventId-property capture (@snakefoot)
  • #552: Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.1 (@dependabot[bot])
  • #558: Bump to Visual Studio 2022 on AppVeyor (@snakefoot)
  • #559: NLogLogger - Reduce complexity of CreateLogEventInfo (@snakefoot)

Version 5.0-preview 3 (2021/10/26)

Features

  • #538: NLogProviderOptions with support for CaptureEventId (@snakefoot)

Improvements

  • #541: NLogLogger refactoring for faster EventId-property capture (@snakefoot)
  • #539: NLogLogger refactoring to reduce code-path-navigations (@snakefoot)

Version 5.0-preview 2 (2021/10/03)

Improvements

  • #529: NLogLoggerProvider - Always load from appsettings when possible (@snakefoot)
  • #530: Replaced platform netcoreapp3.0 with netcoreapp3.1 (@snakefoot)
  • #531: Fix NLogLoggingConfiguration to handle throwConfigExceptions with NLog 5.0 (@snakefoot)
  • #534: Fixed spelling for IncludeActivityIdsWithBeginScope (@snakefoot)
  • #535: NLogProviderOptions with support for RegisterServiceProvider (@snakefoot)

Version 5.0-preview 1 (2021/08/28)

Features

  • #520: Changed LoggingConfigurationSectionName to default NLog (@snakefoot)
  • #465: Add support for config variables with JsonLayout (@snakefoot)

Improvements

  • #522: Reload now fully support KeepVariablesOnReload (@snakefoot)
  • #521: Change default value for RemoveLoggerFactoryFilter to true (@snakefoot)
  • #486: Removed platform .NET 4.5.1 (@snakefoot)

Performance

  • #519: Update to NLog 5.0 Preview 1 with ScopeContext instead of MDLC (@snakefoot)
  • #485: Remove startup overhead caused by enumerating all assemblies for callsite logic (@snakefoot)
  • #319: NLogLogger - Reduce allocation by not boxing EventId when CaptureEntireEventId = false (@snakefoot)

See also List of major changes in NLog 5

Version 1.7.5 (2022/06/04)

  • #570: MicrosoftConsoleLayoutRenderer - Fixed IndexOutOfRangeException when large EventID (@mickelsonmichael)
  • #572: MicrosoftConsoleLayoutRenderer - Skip string-allocation for EventId when possible on platform (@snakefoot)
  • Bump NLog from 4.7.11 to 4.7.15

Version 1.7.4 (2021/08/25)

Performance

  • #513: NLogLogger - Skip custom message formatting when no parameters (@snakefoot)

Improvements

  • #515: Disable ImplicitNuGetFallbackFolder for tests - fixes NU3005 on AppVeyor (@304NotModified)
  • #516: Bump NLog from 4.7.10 to 4.7.11 (@dependabot)

Version 1.7.3 (2021/06/15)

  • #510 Reduced code complexity of MicrosoftILoggerTarget (@snakefoot)
  • #509 Faster checking if LogLevel IsEnabled (#509) (@snakefoot)
  • #507 Bump NLog from 4.7.9 to 4.7.10 (#507) (@dependabot[bot])
  • #501 Extended NLogProviderOptions with the option LoggingConfigurationSectionName (#501) (@snakefoot)
  • #500 Support TargetDefaultWrapper and TargetDefaultParameters in appsettings.json (#500) (@snakefoot)
  • #494 Fix SonarQube Scanning (#494) (@304NotModified)

Version 1.7.2 (2021/03/26)

  • #495 Bump NLog from 4.7.8 to 4.7.9 (#495) (@dependabot[bot])
  • #490 MicrosoftConsoleLayoutRenderer - For Hosting Lifetime Startup Messages (#490) (@snakefoot)
  • #488 NLogLoggingConfiguration support custom section names (#488) (@anellomancante)
  • #482 NLogProviderOptions - Added ReplaceLoggerFactory and RemoveLoggerFactoryFilter (#482) (@snakefoot)
  • #479 Enable deterministic build (#479) (@304NotModified)

Version 1.7.1 (2021/02/26)

  • #476 MicrosoftILoggerTarget - Add support for override LoggerName when using ILoggerFactory (#476) (@snakefoot)
  • #470 MicrosoftILoggerTarget - Reduce chance of deadlock in ILoggerFactory by caching created loggers (#470) (@snakefoot)
  • #468 MicrosoftILoggerTarget - With ILoggerFactory as constructor parameter (#468) (@snakefoot)
  • #463 Added unit-test for NLogProviderOptions.IncludeActivtyIdsWithBeginScope (#463) (@snakefoot)
  • #469 Update Nuget package description with ASP.NET Core so it matches NLog Package (#469) (@snakefoot)
  • #467 Bump NLog from 4.7.6 to 4.7.7 (#467) (@dependabot[bot])
  • #477 Bump NLog from 4.7.7 to 4.7.8 (#477) (@dependabot[bot])

Version 1.7.0 (2020/12/29)

  • #456 Added NLogProviderOptions.IncludeActivtyIdsWithBeginScope and added .NET 5 build (#456) (@snakefoot)
  • #451 NLogBeginScopeParser - Reduce allocation for BeginScope with message template (#451) (@snakefoot)
  • #461 Move to PackageIcon and PackageLicenseExpression for NuGet package (#461) (@snakefoot)
  • #450 Bump NLog from 4.7.4 to 4.7.6 (#450, #458) (@dependabot[bot])

Version 1.6.5 (2020/08/27)

  • #444 Fix ShutdownOnDispose to work with isolated LogFactory (#444) (@snakefoot)
  • #439 Added SourceLink (#439) (@304NotModified)
  • #429 Fix documentation of default (#429) (@304NotModified)
  • #448 Bump NLog from 4.7.3 to 4.7.4 (#448) (@dependabot[bot])

Version 1.6.4 (2020/05/20)

  • #419 LogFactory.Setup - Make RegisterConfigSettings public (#423) (@snakefoot)
  • #411 Bump NLog to 4.7.2 (#426) (@dependabot-preview[bot])

Version 1.6.3 (2020/05/11)

  • #419 Reading JSON config - Trim keys as Json allows spaces in keys (#419) (@snakefoot)
  • #411 Bump NLog to 4.7.0 (#411) (@dependabot-preview[bot])
  • #418 Introduced LoadConfigurationFromSection extension method for LogFactory.Setup (#410, #412, #418) (@snakefoot)

Version 1.6.2 (2020/03/16)

  • #380 NLogLoggerFactory - Emulate Microsoft LoggerFactory by returning same ILogger instance (#380) (@snakefoot)
  • #393 AddNLog overload with NLogProviderOptions and LoggingConfiguration (#393) (@JeffreyMercado)
  • #407 Improve AddNLog with LoggingConfiguration to handle custom LogFactory-instance (#407) (@snakefoot)
  • #408 Update NLog dependency to 4.6.8 (#408) (@304NotModified)

Version 1.6.1 (2019/10/19)

  • #350 Fixed conflict issue between UseNLog and default log providers (@snakefoot)

Version 1.6.0 (2019/10/07)

  • #332 Support .NET Core 3.0 (@304NotModified)
  • #342 ILoggerFactory is obsolete in .NET Core 3. Instead use ILoggingBuilder.AddNLog (#342) (@snakefoot)
  • #345 Added AddNLog with functor to create/initialize LogFactory for NLogLoggingProvider (@snakefoot)
  • #344 Introduce AddNLog with NLog-config parameter (#344) (@snakefoot)
  • #333 + #334 Minor optimizations in parsing of LogEvent property-names

Version 1.5.4 (2019/09/06)

  • #325 Fix dispose for AddNLog (on ILoggingBuilder) and no double logging when also using UseNLog (@snakefoot)

Version 1.5.3 (2019/08/28)

  • #322 Fixed memory leak in NLogLoggingConfiguration for autoreload

Version 1.5.2 (2019/07/14)

  • #314 Added NLogProviderOptions.ShutdownOnDispose (#314) (@304NotModified)
  • #315 Update NLog to 4.6.5 (#315) (@304NotModified)

Version 1.5.1 (2019/06/05)

  • #289 NLogBeginScopeParser - Improved exception handling (@snakefoot)
  • #299 Update dependency NLog ver. 4.6.4 (@snakefoot)

Version 1.5 (2019/04/30)

  • #263 Support for loading NLog config from appsettings.json using NLogLoggingConfiguration
  • #263 Improved performance and reduced allocation for ILogger.BeginScope
  • #260 Introduced MicrosoftILoggerTarget for logging in Azure Lambda (Ex. output with JsonLayout)
  • #272 Better handling of IndexOutOfRangeException when invalid log-message format

Version 1.5 RC (2019/04/01)

See https://github.com/NLog/NLog.Extensions.Logging/milestone/24?closed=1

Version 1.4 (2019/01/17)

  • #257 Updated to Microsoft.Extensions.Logging ver. 2.1.0 with support for ${configsetting}
  • #248 Configure NLogProviderOptions from appsettings.json
  • #257 Create snupkg packages

Version 1.3 (2018/09/22)

  • #245 Added ${configsetting} for appsettings.json and others (@snakefoot, @linmasaki)
  • #246 Fixing bug throwing ArgumentOutOfRangeException if input is empty list (@thorhalvor)
  • #236 BeginScope always return scope-object even on error (@snakefoot)
  • #243 Enhancements for .NET Core 2 examples (@bryan5989)

Version 1.2.1 (2018/08/05)

  • #233 Fixed null-reference-exception when parsing empty scope-property collection (@snakefoot)
  • #232 BeginScope: support for non-serializable objects + performance improvement (20-50% cpu, 35% times less allocations) (#232) (@snakefoot)
  • #229 BeginScope should accept any type of KeyValuePair (Swallow exceptions) (@snakefoot)

Version 1.2 (2018/07/20)

  • #223 BeginScope accepts any type of KeyValuePair and Dictionary (@snakefoot)

Version 1.1 (2018/05/25)

  • #213 Added support for using NLog MessageTemplate Parser (NLogProviderOptions.ParseMessageTemplates) (@snakefoot)

Version 1.0.2 (2018/05/10)

  • #220 Exclude NLog 5 pre-releases as dependency (@aweebs, @304NotModified)
  • #217 Update NLog dependency, (@304NotModified)

Version 1.0.1 (2018/04/07)

  • #210 Automatic loading of hidden assemblies for callsite logic in NetCore2 (@snakefoot)
  • #206 Add Alias attribute to NLogLoggerProvider (@leewadhams)
  • #207 Update dependencies (@304NotModified)

Version 1.0 (2018/03/25)

  • #205 Release 1.0 (@304NotModified)
  • #204 CallSite should recognize all Microsoft.Extensions.Logging.ILogger (@snakefoot)
  • #203 Update NetCore2 ConsoleExample with LogManager.Shutdown (@snakefoot)
  • #200 ConfigureHiddenAssemblies only needed for NetCoreApp1 (@snakefoot)

Version 1.0.0-rtm-rc7 (2018/02/20)

  • #199 Prepare RC7 (@snakefoot)
  • #194 MessageProperties - Support list with single property (@snakefoot)
  • #195 Using LogManager.LoadConfiguration (@snakefoot)

Version 1.0.0-rtm-rc6 (2018/01/15)

  • #193 Support for UAP10/UWP, Update NLog dependency (@304NotModified, @snakefoot)

Version 1.0.0-rtm-rc5 (2017/12/21)

  • #186 RC5 version and changelog (@304NotModified)
  • #185 Removed System.Runtime for net451 (@snakefoot)
  • #184 Better hide assemblies for ${callsite} (@304NotModified)
  • #183 Cleanup #if (@304NotModified)
  • #182 Remove old examples (@304NotModified)

Version 1.0.0-rtm-rc4 (2017/12/04)

  • #181 Upgrade to NLog 4.5 rc2, remove nlog 5 reference, version to rc4 (@304NotModified)
  • #178 Move files into component folders (@304NotModified)
  • #180 NLogMessageParameterList - Refactor validation of parameterList (@snakefoot)
  • #177 Fix: Captured parameter name has unwanted @ or $ prefix (@304NotModified)
  • #176 Refactor: split methods, docs, error handling, smaller methodes and consistency (#176) (@304NotModified)

Version 1.0.0-rtm-rc3 (2017/11/30)

  • #174 1.0.0-rtm-rc3 + changelog (@304NotModified)
  • #173 Fix callsite (@304NotModified)
  • #171 Implement .NET standard 2 features for .NET 4.6.1 + update dependencies + messagetemplates (@snakefoot)
  • #162 Auto patch file version on AppVeyor (@304NotModified)
  • #167 Update NetCore2 ConsoleExample to include the minimumlevel. (@seblucas)

1.0.0-rtm-rc2 (2017/10/19)

Fixes

  • #159 Fix Recursive resource lookup bug (@304NotModified)
  • #158 Update dependencies version range (@304NotModified)

Version 1.0.0-rtm-rc1 (2017/10/16)

Breaking Changes

  • #154 Enable by default: CaptureMessageTemplates & CaptureMessageProperties (@304NotModified)
  • #151 NLogProviderOptions: added IgnoreEmptyEventId, enabled by default. (@snakefoot)
  • #151 NLogProviderOptions: set default EventIdSeparator to underscore. (@snakefoot)

Features

  • #125 Capture structured logging parameter names (@snakefoot)
  • #148 MessageProperties - Allow capture of message properties (CaptureMessageProperties option) (@snakefoot)
  • #152 Introduced NetStandard1.5 by updating to NLog 4.5-beta07 (@snakefoot)

Other

  • #143 Added Console Example to git (@304NotModified)
  • #142 Enabled Travis build (@304NotModified)

Version 1.0.0-rtm-beta7 (2017/09/29)

  • #138 1.0.0-rtm-beta7 release notes and version (@304NotModified)
  • #141 Enable XML docs + docs (@304NotModified)
  • #137 Cleanup, update docs (@304NotModified)
  • #136 Support .NET 4.6.1 + Microsoft.Extensions.Logging 2.0, running tests for .NET 4.6.1, coreapp1.1 and coreapp2.0 (@304NotModified)
  • #134 remove unneeded version prefix (@304NotModified)
  • #135 Added NLogLoggerFactory (@304NotModified)