Skip to content

Commit b2556d0

Browse files
authored
Version 6.0 RTM (#798)
1 parent 59e4d97 commit b2556d0

File tree

5 files changed

+23
-8
lines changed

5 files changed

+23
-8
lines changed

CHANGELOG.MD

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
Date format: (year/month/day)
44

5+
### Version 6.0 (2025/06/21)
6+
7+
- Updated to NLog v6.0
8+
- Removed support for NetStandard 1.3 + 1.5
9+
- Updated .NET Framework 4.6.2 with NET8-nuget-dependencies
10+
- Enabled nullable references
11+
- Avoid boxing when extracting LogEvent properties from struct
12+
- Reduce allocation when creating LogEvent with properties by using ReadOnlySpan
13+
- Enabled <IsAotCompatible>
14+
- Added ${host-environment} for NLog.Extensions.Hosting
15+
- Added ${host-rootdir} for NLog.Extensions.Hosting
16+
- Added ${host-appname} for NLog.Extensions.Hosting
17+
- Added RegisterHostSettings for NLog.Extensions.Hosting
18+
19+
List of major changes in NLog 6.0: https://nlog-project.org/2025/04/29/nlog-6-0-major-changes.html
20+
521
### Version 6.0 RC4 (2025/06/15)
622

723
- Updated to NLog v6.0-RC4

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
dotnet --version
44

55
$versionPrefix = "6.0.0"
6-
$versionSuffix = "rc4"
6+
$versionSuffix = ""
77
$versionFile = $versionPrefix + "." + ${env:APPVEYOR_BUILD_NUMBER}
88
$versionProduct = $versionPrefix;
99

src/NLog.Extensions.Hosting/NLog.Extensions.Hosting.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
1717
</Description>
18-
<PackageTags>NLog;Microsoft.Extensions.Hosting;log;logging;logfiles;netcore</PackageTags>
18+
<PackageTags>NLog;Microsoft.Extensions.Hosting;log;logging;logfiles;hosting</PackageTags>
1919
<PackageReleaseNotes>
2020
Full changelog: https://github.com/NLog/NLog.Extensions.Logging/blob/master/CHANGELOG.MD
2121
</PackageReleaseNotes>

src/NLog.Extensions.Logging/NLog.Extensions.Logging.csproj

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414

1515
For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
1616
</Description>
17-
<PackageTags>NLog;Microsoft.Extensions.Logging;log;logging;logfiles;netcore</PackageTags>
17+
<PackageTags>NLog;Microsoft.Extensions.Logging;log;logging;logfiles</PackageTags>
1818
<PackageReleaseNotes>
1919
ChangeLog:
2020

21-
- Updated to NLog v6.0-RC4
21+
- Updated to NLog v6.0
2222
- Removed support for NetStandard 1.3 + 1.5
23-
- Replaced .NET Framework v4.6.1 with v4.6.2 and NET8-nuget-dependencies.
23+
- Updated .NET Framework 4.6.2 with NET8-nuget-dependencies
2424
- Enabled nullable references
2525
- Avoid boxing when extracting LogEvent properties from struct
2626
- Reduce allocation when creating LogEvent with properties by using ReadOnlySpan
@@ -29,7 +29,6 @@ ChangeLog:
2929
- Added ${host-rootdir} for NLog.Extensions.Hosting
3030
- Added ${host-appname} for NLog.Extensions.Hosting
3131
- Added RegisterHostSettings for NLog.Extensions.Hosting
32-
- Updated NLog.Extensions.Hosting to support .NET Framework 4.6.2 using NET8-nuget-dependencies
3332

3433
Full changelog: https://github.com/NLog/NLog.Extensions.Logging/blob/master/CHANGELOG.MD
3534

@@ -81,7 +80,7 @@ List of major changes in NLog 6.0: https://nlog-project.org/2025/04/29/nlog-6-0-
8180
</PropertyGroup>
8281

8382
<ItemGroup>
84-
<PackageReference Include="NLog" Version="6.0.0-rc4" />
83+
<PackageReference Include="NLog" Version="6.0.0" />
8584
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
8685
</ItemGroup>
8786
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">

test/NLog.Extensions.Logging.Tests/NLog.Extensions.Logging.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</ItemGroup>
2626

2727
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
28-
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
28+
<PackageReference Include="System.ValueTuple" Version="4.6.1" />
2929
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
3030
</ItemGroup>
3131

0 commit comments

Comments
 (0)