Releases: corentinaltepe/nlog.loki
2.2.0
What's Changed
New Feature
- Added support passing X-Scope-OrgID http header for multi-tenancy by @dfordthreecolts in #120
Dependency Updates
- Bump coverlet.collector from 6.0.1 to 6.0.2 in /src by @dependabot in #117
- Bump NUnit.Analyzers from 4.0.1 to 4.1.0 in /src by @dependabot in #118
New Contributors
- @dfordthreecolts made their first contribution in #120
Full Changelog: 2.1.2...2.2.0
2.1.2
What's Changed
Runtime Dependency Updates
- Added support to .NET 8
- Bump NLog from 5.2.3 to 5.2.8 in /src by @dependabot in #112 & #95
- Bump System.Net.Http.Json from 7.0.1 to 8.0.0 in /src by @dependabot in #111
Build Dependency Updates
- Bump Microsoft.NET.Test.Sdk from 17.7.1 to 17.7.2 in /src by @dependabot in #94
- Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0 in /src by @dependabot in #105
- Bump NSubstitute from 5.0.0 to 5.1.0 in /src by @dependabot in #96
- Bump BenchmarkDotNet from 0.13.7 to 0.13.8 in /src by @dependabot in #97
- Bump BenchmarkDotNet.Diagnostics.Windows from 0.13.7 to 0.13.8 in /src by @dependabot in #98
- Bump BenchmarkDotNet.Diagnostics.Windows and BenchmarkDotNet in /src by @dependabot in #110
Full Changelog: 2.1.1...2.1.2
2.1.1
What's Changed
Fixes
- Fixed InternalLogger output since it uses string.Format by @snakefoot and reported by @Wolfsblvt in PR #93, issue #92
- Removed feature sendLastFormatParameter, as reported buggy in issue #83. Special thanks to @suntereo.
New Contributors
- @snakefoot made their first contribution in #93
Full Changelog: 2.1.0...2.1.1
2.1.0
What's Changed
New Features
Please note these features go against Grafana Loki's best practices. You are advised not to use them unless you know what you are doing, or you are migrating from another logging platform with low cardinality (combinations of labels possible). The readme offers an example of JsonLayout
in order to structure your logs in Grafana Loki without dynamic labels.
- Added
eventPropertiesAsLabels
option to turn every parameter of a log event into a Loki label by @suntereo in #88 - Added
sendLastFormatParameter
option to turn the last parameter of a log event into a Loki label, even when it is not referenced by the message template, by @suntereo in #88
Dependency Updates
- Bump NUnit3TestAdapter from 4.4.2 to 4.5.0 in /src by @dependabot in #82
- Bump System.Net.Http.Json from 7.0.0 to 7.0.1 in /src by @dependabot in #78
- Bump coverlet.collector from 3.2.0 to 6.0.0 in /src by @dependabot in #79
- Bump BenchmarkDotNet.Diagnostics.Windows from 0.13.5 to 0.13.6 in /src by @dependabot in #80
New Contributors
Full Changelog: 2.0.0...2.1.0
2.0.0
V2 Released
Upgrading From v1 To v2
The v2 of the library applies better default values for common usage. Check your current configuration and compare it against the breaking
changes below to adapt to your use case.
Breaking Changes
compressionLevel
set tooptimal
by default, instead ofnoCompression
. If you are certain you do no want compression,
specify the value asnoCompression
in your configuration.orderWrites
set tofalse
by default. Set it totrue
only if you run on Loki v2.3 or lower, or if your logs come largely unordered
and need to be reordered for Loki to process them.- Dropped support for NLog v4, upgraded to NLog v5.
Full Changelog: 1.5.1...2.0.0
1.5.1
Added short description and tags to the published nuget package for better indexing in Nuget.org
Full Changelog: 1.5.0...1.5.1
1.5.0
What's Changed
New Features
- Added HTTP proxy server support by @corentinaltepe in #43
Dependency Updates
- Bump Moq from 4.18.2 to 4.18.3 in /src by @dependabot in #59
- Bump Microsoft.NET.Test.Sdk from 17.4.0 to 17.4.1 in /src by @dependabot in #61
- Bump BenchmarkDotNet from 0.13.2 to 0.13.3 in /src by @dependabot in #63
- Bump Moq from 4.18.3 to 4.18.4 in /src by @dependabot in #64
- Bump BenchmarkDotNet.Diagnostics.Windows from 0.13.2 to 0.13.3 in /src by @dependabot in #62
- Bump BenchmarkDotNet from 0.13.3 to 0.13.4 in /src by @dependabot in #66
- Bump BenchmarkDotNet.Diagnostics.Windows from 0.13.3 to 0.13.4 in /src by @dependabot in #65
- Bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.6.0 in /src by @dependabot in #74
- Bump NUnit3TestAdapter from 4.3.1 to 4.4.2 in /src by @dependabot in #73
- Bump BenchmarkDotNet from 0.13.4 to 0.13.5 in /src by @dependabot in #69
- Bump BenchmarkDotNet.Diagnostics.Windows from 0.13.4 to 0.13.5 in /src by @dependabot in #70
Full Changelog: 1.4.6...1.5.0
1.4.6
What's Changed
Dependency Updates
- Bump NUnit3TestAdapter from 4.2.1 to 4.3.0 in /src by @dependabot in #53
- Bump coverlet.collector from 3.1.2 to 3.2.0 in /src by @dependabot in #52
- Bump NUnit3TestAdapter from 4.3.0 to 4.3.1 in /src by @dependabot in #56
- Bump Microsoft.NET.Test.Sdk from 17.3.2 to 17.4.0 in /src by @dependabot in #55
- Bump System.Net.Http.Json from 6.0.0 to 7.0.0 in /src by @dependabot in #54
Other Changes
- Added support for .NET 7 as a targeted framework by @corentinaltepe in #58
Full Changelog: 1.4.5...1.4.6
1.4.5
What's Changed
Dependency Updates
- Bump Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.0 in /src by @dependabot in #45
- Bump Moq from 4.18.1 to 4.18.2 in /src by @dependabot in #44
- Bump Microsoft.NET.Test.Sdk from 17.3.0 to 17.3.2 in /src by @dependabot in #49
- Bump BenchmarkDotNet from 0.13.1 to 0.13.2 in /src by @dependabot in #46
- Bump BenchmarkDotNet.Diagnostics.Windows from 0.13.1 to 0.13.2 in /src by @dependabot in #47
Other Changes
New Contributors
Full Changelog: 1.4.4...1.4.5
1.4.4
What's Changed
Other Changes
- Applied minor code cleanup and very minor local performance improvement by @corentinaltepe in #38
- Reduced allocations by 6.7% and CPU time by 7.9% when batching log events by @corentinaltepe in #40
Full Changelog: 1.4.3...1.4.4