Skip to content

Commit

Permalink
Version 5.3.3 (#5569)
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot authored Aug 12, 2024
1 parent 441ebc3 commit 341c753
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 24 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,33 @@ Date format: (year/month/day)

## Change Log

### Version 5.3.3 (2024/08/12)

**Improvements**
- [#5548](https://github.com/NLog/NLog/pull/5548) FileTarget - Reset reusable MemoryStream when above max capacity (#5548) (@RomanSoloweow)
- [#5568](https://github.com/NLog/NLog/pull/5568) ThreadIdLayoutRenderer - Added IStringValueRenderer optimization (#5568) (@snakefoot)
- [#5567](https://github.com/NLog/NLog/pull/5567) PropertiesDictionary - Simplify PropertyDictionaryEnumerator MoveNext (#5567) (@snakefoot)
- [#5566](https://github.com/NLog/NLog/pull/5566) PropertiesDictionary - Added PropertyDictionaryEnumerator to enumerate without allocation (#5566) (@snakefoot)
- [#5562](https://github.com/NLog/NLog/pull/5562) TargetWithContext - Skip caching when render value for ContextProperties (#5562) (@snakefoot)
- [#5557](https://github.com/NLog/NLog/pull/5557) SimpleLayout - Refactor to reduce code complexity (#5557) (@snakefoot)
- [#5556](https://github.com/NLog/NLog/pull/5556) DatabaseTarget - CloseConnection even when ThrowExceptions = true (#5556) (@snakefoot)
- [#5553](https://github.com/NLog/NLog/pull/5553) LoggerNameMatcher private classes marked as sealed (#5553) (@snakefoot)
- [#5554](https://github.com/NLog/NLog/pull/5554) LoggingConfigurationParser - Refactor to reduce code complexity (#5554) (@snakefoot)
- [#5551](https://github.com/NLog/NLog/pull/5551) LoggingConfigurationParser - Refactor to reduce code complexity (#5551) (@snakefoot)
- [#5550](https://github.com/NLog/NLog/pull/5550) FileArchiveModeRolling - Refactor to reduce code complexity (#5550) (@snakefoot)
- [#5542](https://github.com/NLog/NLog/pull/5542) LimitingTargetWrapper - Fix wiki-link in XML docs (#5542) (@snakefoot)
- [#5541](https://github.com/NLog/NLog/pull/5541) FileTarget - Improve internal logging when invalid FileName (#5541) (@snakefoot)
- [#5540](https://github.com/NLog/NLog/pull/5540) WhenRepeatedFilter - Added wiki-link in XML docs (#5540) (@snakefoot)
- [#5536](https://github.com/NLog/NLog/pull/5536) RegEx IsMatch is faster with RegexOptions.ExplicitCapture to skip capture (#5536) (@snakefoot)
- [#5535](https://github.com/NLog/NLog/pull/5535) PropertyTypeConverter - Use Type IsAssignableFrom instead of Equals (#5535) (@snakefoot)
- [#5527](https://github.com/NLog/NLog/pull/5527) StackTraceUsageUtils - Refactor to reduce code complexity (#5527) (@snakefoot)
- [#5526](https://github.com/NLog/NLog/pull/5526) AsyncRequestQueue - Premature optimization of Enqueue (#5526) (@snakefoot)
- [#5525](https://github.com/NLog/NLog/pull/5525) JsonLayout - Refactor to reduce code complexity (#5525) (@snakefoot)
- [#5524](https://github.com/NLog/NLog/pull/5524) XmlLayout - Refactor to reduce code complexity (#5524) (@snakefoot)
- [#5523](https://github.com/NLog/NLog/pull/5523) AsyncTaskTarget - Added more logging to diagnose batching logic (#5523) (@snakefoot)
- [#5522](https://github.com/NLog/NLog/pull/5522) Layout will always initializes nested layouts (#5522) (@snakefoot)
- [#5519](https://github.com/NLog/NLog/pull/5519) NLogTraceListener - Reduce boxing of EventType + EventId properties (#5519) (@snakefoot)

### Version 5.3.2 (2024/04/30)

**Bug fix**
Expand Down
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# creates NuGet package at \artifacts
dotnet --version

$versionPrefix = "5.3.2"
$versionPrefix = "5.3.3"
$versionSuffix = ""
$versionFile = $versionPrefix + "." + ${env:APPVEYOR_BUILD_NUMBER}
$versionProduct = $versionPrefix;
Expand Down
46 changes: 23 additions & 23 deletions src/NLog/NLog.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,29 @@ For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
<PackageReleaseNotes>
ChangeLog:

NLog v5.3 marks a few exotic API-methods as obsolete, to pave the road for NLog v6.

- Fix NullReferenceException when using LoggingRules with filters and no targets (#5515) (@snakefoot)
- CallSite can hide single class type using AddCallSiteHiddenClassType (#5313) (@wadebaird)
- Logging Rule with FinalMinLevel also supports dynamic filters (#5489) (@snakefoot)
- LogManager GetCurrentClassLogger fallback to assembly-name when no namespace (#5463) (@snakefoot)
- Logger LayoutRenderer able to output the Logger PrefixName (#5480) (@snakefoot)
- NLogViewer Target - Allow override of the FormattedMessage (#5466) (@snakefoot)
- CallSite fallback to Exception TargetSite when available (#5487) (@snakefoot)
- NLogTraceListener - Align Filter-behavior for all Write-methods (#5242) (@snakefoot)
- LogManager AddHiddenAssembly marked obsolete, instead use AddCallSiteHiddenAssembly (#5490) (@snakefoot)
- InternalLogger - Marked LogToTrace as obsolete to reduce dependencies (#5443) (@snakefoot)
- Replaced MutableUnsafeAttribute with ThreadAgnosticImmutableAttribute (#5297) (@snakefoot)
- Marked ILoggerBase and ISuppress as obsolete and instead use ILogger (#5431) (@snakefoot)
- LoggingRule - Marked ChildRules as obsolete (#5491) (@snakefoot)
- FileTarget - Marked NetworkWrites as obsolete, and replaced by KeepFileOpen=false (#5416) (@snakefoot)
- Marked EscapeDataNLogLegacy as obsolete (#5355) (@snakefoot)
- WrapperTarget is the wrapper and not the wrapped (#5380) (@snakefoot)
- LogFactory - Disconnect from Target write and Target flush (#5485) (@snakefoot)
- NLog Schema nuget-package with updated license info (#5509) (@snakefoot)
- Added sealed to internal classes (#5493) (@snakefoot)
- Added more NLog Wiki Links to XML docs (#5497) (@snakefoot)
- CsvLayout - Fixed links to NLog Wiki in XML docs (#5475) (@hangy)
- FileTarget - Reset reusable MemoryStream when above max capacity (#5548) (@RomanSoloweow)
- ThreadIdLayoutRenderer - Added IStringValueRenderer optimization (#5568) (@snakefoot)
- PropertiesDictionary - Added PropertyDictionaryEnumerator to enumerate without allocation (#5566) (@snakefoot)
- PropertiesDictionary - Simplify PropertyDictionaryEnumerator MoveNext (#5567) (@snakefoot)
- TargetWithContext - Skip caching when render value for ContextProperties (#5562) (@snakefoot)
- SimpleLayout - Refactor to reduce code complexity (#5557) (@snakefoot)
- DatabaseTarget - CloseConnection even when ThrowExceptions = true (#5556) (@snakefoot)
- LoggerNameMatcher private classes marked as sealed (#5553) (@snakefoot)
- LoggingConfigurationParser - Refactor to reduce code complexity (#5554) (@snakefoot)
- LoggingConfigurationParser - Refactor to reduce code complexity (#5551) (@snakefoot)
- FileArchiveModeRolling - Refactor to reduce code complexity (#5550) (@snakefoot)
- LimitingTargetWrapper - Fix wiki-link in XML docs (#5542) (@snakefoot)
- FileTarget - Improve internal logging when invalid FileName (#5541) (@snakefoot)
- WhenRepeatedFilter - Added wiki-link in XML docs (#5540) (@snakefoot)
- RegEx IsMatch is faster with RegexOptions.ExplicitCapture to skip capture (#5536) (@snakefoot)
- PropertyTypeConverter - Use Type IsAssignableFrom instead of Equals (#5535) (@snakefoot)
- StackTraceUsageUtils - Refactor to reduce code complexity (#5527) (@snakefoot)
- AsyncRequestQueue - Premature optimization of Enqueue (#5526) (@snakefoot)
- JsonLayout - Refactor to reduce code complexity (#5525) (@snakefoot)
- XmlLayout - Refactor to reduce code complexity (#5524) (@snakefoot)
- AsyncTaskTarget - Added more logging to diagnose batching logic (#5523) (@snakefoot)
- Layout will always initializes nested layouts (#5522) (@snakefoot)
- NLogTraceListener - Reduce boxing of EventType + EventId properties (#5519) (@snakefoot)

NLog v5.2 changes how to load extensions: https://nlog-project.org/2023/05/30/nlog-5-2-trim-warnings.html

Expand Down

0 comments on commit 341c753

Please sign in to comment.