Skip to content

Commit

Permalink
Version 5.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot committed Sep 12, 2024
1 parent 39afeec commit 463453c
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 27 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ Date format: (year/month/day)

## Change Log

### Version 5.3.4 (2024/09/12)

**Improvements**
- [#5572](https://github.com/NLog/NLog/pull/5572) Layout.FromMethod that supports typed Layout (#5572) (@smnsht)
- [#5580](https://github.com/NLog/NLog/pull/5580) Layout.FromMethod that supports typed Layout (without boxing) (#5580) (@snakefoot)
- [#5570](https://github.com/NLog/NLog/pull/5570) ScopeContextPropertyEnumerator - Optimize HasUniqueCollectionKeys (#5570) (@snakefoot)
- [#5571](https://github.com/NLog/NLog/pull/5571) XmlLayout - Fixed bug in handling unsafe xml property names (#5571) (@snakefoot)
- [#5573](https://github.com/NLog/NLog/pull/5573) FuncThreadAgnosticLayoutRenderer - Implement IRawValue (#5573) (@snakefoot)
- [#5577](https://github.com/NLog/NLog/pull/5577) Introduced OnConfigurationAssigned to signal activation of LoggingConfiguration (#5577) (@snakefoot)
- [#5578](https://github.com/NLog/NLog/pull/5578) Update copyright to 2024, and removed trailing white spaces in source code (#5578) (@snakefoot)
- [#5585](https://github.com/NLog/NLog/pull/5585) Fixed various issues reported by EnableNETAnalyzers (#5585) (@snakefoot)
- [#5587](https://github.com/NLog/NLog/pull/5587) NetworkTarget - Added SendTimeoutSeconds to assign TCP Socket SendTimeout (#5587) (@snakefoot)
- [#5588](https://github.com/NLog/NLog/pull/5588) DateLayoutRenderer - Optimize for Round Trip ISO 8601 Date Format = o (#5588) (@snakefoot)
- [#5589](https://github.com/NLog/NLog/pull/5589) LayoutRenderer - Changed Render-method to use StringBuilderPool (#5589) (@snakefoot)
- [#5599](https://github.com/NLog/NLog/pull/5599) JsonLayout - Refactor code to simplify rendering of scope properties (#5599) (@snakefoot)
- [#5600](https://github.com/NLog/NLog/pull/5600) JsonLayout - Precalculate Json-Document delimiters upfront (#5600) (@snakefoot)

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

**Improvements**
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.3"
$versionPrefix = "5.3.4"
$versionSuffix = ""
$versionFile = $versionPrefix + "." + ${env:APPVEYOR_BUILD_NUMBER}
$versionProduct = $versionPrefix;
Expand Down
46 changes: 46 additions & 0 deletions src/NLog.OutputDebugString/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
//
// Copyright (c) 2004-2024 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
// * Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.
//
// * Neither the name of Jaroslaw Kowalski nor the names of its
// contributors may be used to endorse or promote products derived from this
// software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
// THE POSSIBILITY OF SUCH DAMAGE.
//

using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;

[assembly: AssemblyCulture("")]
[assembly: CLSCompliant(true)]
[assembly: ComVisible(false)]
[assembly: AllowPartiallyTrustedCallers]
#if !NET35 && !NETSTANDARD1_3 && !NETSTANDARD1_5
[assembly: SecurityRules(SecurityRuleSet.Level1)]
#endif
3 changes: 1 addition & 2 deletions src/NLog.WindowsEventLog/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2004-2017 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
// Copyright (c) 2004-2024 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
Expand Down Expand Up @@ -40,7 +40,6 @@
[assembly: AssemblyCulture("")]
[assembly: CLSCompliant(true)]
[assembly: ComVisible(false)]
[assembly: InternalsVisibleTo("NLog.UnitTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100ef8eab4fbdeb511eeb475e1659fe53f00ec1c1340700f1aa347bf3438455d71993b28b1efbed44c8d97a989e0cb6f01bcb5e78f0b055d311546f63de0a969e04cf04450f43834db9f909e566545a67e42822036860075a1576e90e1c43d43e023a24c22a427f85592ae56cac26f13b7ec2625cbc01f9490d60f16cfbb1bc34d9")]
[assembly: AllowPartiallyTrustedCallers]
#if !NET35 && !NETSTANDARD1_3 && !NETSTANDARD1_5
[assembly: SecurityRules(SecurityRuleSet.Level1)]
Expand Down
1 change: 0 additions & 1 deletion src/NLog.WindowsRegistry/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
[assembly: AssemblyCulture("")]
[assembly: CLSCompliant(true)]
[assembly: ComVisible(false)]
[assembly: InternalsVisibleTo("NLog.WindowsRegistry.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100ef8eab4fbdeb511eeb475e1659fe53f00ec1c1340700f1aa347bf3438455d71993b28b1efbed44c8d97a989e0cb6f01bcb5e78f0b055d311546f63de0a969e04cf04450f43834db9f909e566545a67e42822036860075a1576e90e1c43d43e023a24c22a427f85592ae56cac26f13b7ec2625cbc01f9490d60f16cfbb1bc34d9")]
[assembly: AllowPartiallyTrustedCallers]
#if !NET35
[assembly: SecurityRules(SecurityRuleSet.Level1)]
Expand Down
36 changes: 13 additions & 23 deletions src/NLog/NLog.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,19 @@ For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
<PackageReleaseNotes>
ChangeLog:

- 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)
- Layout.FromMethod that supports typed Layout (#5572) (@smnsht)
- Layout.FromMethod that supports typed Layout (without boxing) (#5580) (@snakefoot)
- ScopeContextPropertyEnumerator - Optimize HasUniqueCollectionKeys (#5570) (@snakefoot)
- XmlLayout - Fixed bug in handling unsafe xml property names (#5571) (@snakefoot)
- FuncThreadAgnosticLayoutRenderer - Implement IRawValue (#5573) (@snakefoot)
- Introduced OnConfigurationAssigned to signal activation of LoggingConfiguration (#5577) (@snakefoot)
- Update copyright to 2024, and removed trailing white spaces in source code (#5578) (@snakefoot)
- Fixed various issues reported by EnableNETAnalyzers (#5585) (@snakefoot)
- NetworkTarget - Added SendTimeoutSeconds to assign TCP Socket SendTimeout (#5587) (@snakefoot)
- DateLayoutRenderer - Optimize for Round Trip ISO 8601 Date Format = o (#5588) (@snakefoot)
- LayoutRenderer - Changed Render-method to use StringBuilderPool (#5589) (@snakefoot)
- JsonLayout - Precalculate Json-Document delimiters upfront (#5600) (@snakefoot)
- JsonLayout - Refactor code to simplify rendering of scope properties (#5599) (@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 463453c

Please sign in to comment.