Skip to content

Commit 4d9ad1f

Browse files
committed
NLog 6.0 Release Post
1 parent e0bf21d commit 4d9ad1f

File tree

2 files changed

+63
-2
lines changed

2 files changed

+63
-2
lines changed

_posts/2025-04-29-nlog-6-0-major-changes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ But reflection does not always work well with build-trimming, and before NLog ma
1717
NLog includes many features, and each feature often introduces additional dependencies on the .NET library.
1818
This can lead to overhead for AOT builds, as it must include and compile all the relevant source code.
1919

20-
NLog v6 attempts to reduce its footprint by extracting several features into separate nuget-packages:
20+
NLog v6 reducing its footprint by extracting features into separate nuget-packages:
2121

2222
- [NLog.Targets.AtomicFile](https://www.nuget.org/packages/NLog.Targets.AtomicFile) - ConcurrentWrites using atomic file-append from operating system API.
2323
- [NLog.Targets.ConcurrentFile](https://www.nuget.org/packages/NLog.Targets.ConcurrentFile) - ConcurrentWrites using global mutex from operating system API.
@@ -484,7 +484,7 @@ This is to simpilfy the NLog `SimpleLayout` API, and to make it clear that NLog
484484

485485
## Many other improvements
486486

487-
For full list of all changes: [NLog 6.0 Pull Requests](https://github.com/NLog/NLog/pulls?q=is%3Apr+is%3Amerged+milestone:%226.0%22)
487+
Full list of all changes: [NLog 6.0 Pull Requests](https://github.com/NLog/NLog/pulls?q=is%3Apr+is%3Amerged+milestone:%226.0%22)
488488

489489
- [Breaking Changes](https://github.com/NLog/NLog/pulls?q=is%3Apr+label%3A%22breaking%20change%22+is%3Amerged+milestone:%226.0%22)
490490
- [Breaking Behavior Changes](https://github.com/NLog/NLog/pulls?q=is%3Apr+label%3A%22breaking%20behavior%20change%22+is%3Amerged+milestone:%226.0%22)
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
layout: post
3+
title: NLog 6.0 released
4+
---
5+
6+
NLog v6 with the following major changes:
7+
8+
- Support Ahead-of-Time (AOT) builds without warnings
9+
- Support Nullable references
10+
- Support ReadOnlySpan to reduce memory allocations
11+
- LogFactory supports FlushAsync and IDisposableAsync
12+
- FileTarget removed support for ConcurrentWrites
13+
- FileTarget refactored file-archive-logic with ArchiveSuffixFormat
14+
15+
NLog v6 reducing its footprint by extracting features into separate nuget-packages:
16+
17+
- [NLog.Targets.AtomicFile](https://www.nuget.org/packages/NLog.Targets.AtomicFile) - ConcurrentWrites using atomic file-append from operating system API.
18+
- [NLog.Targets.ConcurrentFile](https://www.nuget.org/packages/NLog.Targets.ConcurrentFile) - ConcurrentWrites using global mutex from operating system API.
19+
- [NLog.Targets.GZipFile](https://www.nuget.org/packages/NLog.Targets.GZipFile) - EnableArchiveFileCompression using GZipStream for writing GZip compressed log-files.
20+
- [NLog.Targets.Mail](https://www.nuget.org/packages/NLog.Targets.Mail) - Depends on System.Net.Mail.SmtpClient.
21+
- [NLog.Targets.Network](https://www.nuget.org/packages/NLog.Targets.Network) - Depends on TCP and UDP Network Socket, and adds support for Syslog and Graylog.
22+
- [NLog.Targets.Trace](https://www.nuget.org/packages/NLog.Targets.Trace) - Depends on System.Diagnostics.TraceListener.
23+
- [NLog.Targets.WebService](https://www.nuget.org/packages/NLog.Targets.WebService) - Depends on System.Net.Http.HttpClient.
24+
- [NLog.RegEx](https://www.nuget.org/packages/NLog.RegEx) - Depends on System.Text.RegularExpressions which is a huge dependency for a logging library.
25+
26+
See also [List of major changes in NLog v6](https://nlog-project.org/2025/04/29/nlog-6-0-major-changes.html) with more details.
27+
28+
## Many other improvements
29+
30+
Full list of all changes: [NLog 6.0 Pull Requests](https://github.com/NLog/NLog/pulls?q=is%3Apr+is%3Amerged+milestone:%226.0%22)
31+
32+
- [Breaking Changes](https://github.com/NLog/NLog/pulls?q=is%3Apr+label%3A%22breaking%20change%22+is%3Amerged+milestone:%226.0%22)
33+
- [Breaking Behavior Changes](https://github.com/NLog/NLog/pulls?q=is%3Apr+label%3A%22breaking%20behavior%20change%22+is%3Amerged+milestone:%226.0%22)
34+
- [Features](https://github.com/NLog/NLog/pulls?q=is%3Apr+label%3A%22Feature%22+is%3Amerged+milestone:%226.0%22)
35+
- [Improvements](https://github.com/NLog/NLog/pulls?q=is%3Apr+label%3A%22Enhancement%22+is%3Amerged+milestone:%226.0%22)
36+
- [Performance](https://github.com/NLog/NLog/pulls?q=is%3Apr+label%3A%22Performance%22+is%3Amerged+milestone:%226.0%22)
37+
38+
[Comments and feedback](https://github.com/NLog/NLog/issues/4931) are welcome.
39+
40+
## Credits
41+
Additional thanks to all contributers, since last major release:
42+
43+
- [ana1250](https://github.com/ana1250)
44+
- [Pavan8374](https://github.com/Pavan8374)
45+
- [smnsht](https://github.com/smnsht)
46+
- [RomanSoloweow](https://github.com/RomanSoloweow)
47+
- [wadebaird](https://github.com/wadebaird)
48+
- [hangy](https://github.com/hangy)
49+
- [lavige777](https://github.com/lavige777)
50+
- [jokoyoski](https://github.com/jokoyoski)
51+
- [saltukkos](https://github.com/saltukkos)
52+
- [nih0n](https://github.com/nih0n)
53+
- [michaelplavnik](https://github.com/michaelplavnik)
54+
- [Aaronmsv](https://github.com/Aaronmsv)
55+
- [ShadowDancer](https://github.com/ShadowDancer)
56+
- [Orace](https://github.com/Orace)
57+
- [tvogel-nid](https://github.com/tvogel-nid)
58+
- [martinzding](https://github.com/martinzding)
59+
- [kurnakovv](https://github.com/kurnakovv)
60+
- [dance](https://github.com/dance)
61+
- [JohnVerheij](https://github.com/JohnVerheij)

0 commit comments

Comments
 (0)