Skip to content

Commit 4b953f8

Browse files
Version 5.0 preview 1 (#524)
* Update build.ps1 * changelog * 5.0.{build} * AssemblyVersion * Sync build version with NLog
1 parent 93b2fb8 commit 4b953f8

5 files changed

Lines changed: 40 additions & 8 deletions

File tree

CHANGELOG.MD

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
## Change Log
22

33
Date format: (year/month/day)
4+
### v5.0-preview 1 (2021/08/28)
5+
Version 5 for NLog 5
6+
7+
#### 🚀 Features
8+
9+
- [#520](https://github.com/NLog/NLog.Extensions.Logging/pull/520): Changed LoggingConfigurationSectionName to default NLog (@snakefoot)
10+
- [#465](https://github.com/NLog/NLog.Extensions.Logging/pull/465): Add support for config variables with JsonLayout (@snakefoot)
11+
12+
#### 👍 Enhancements
13+
14+
- [#522](https://github.com/NLog/NLog.Extensions.Logging/pull/522): Reload now fully support KeepVariablesOnReload (@snakefoot)
15+
- [#521](https://github.com/NLog/NLog.Extensions.Logging/pull/521): Change default value for RemoveLoggerFactoryFilter to true (@snakefoot)
16+
17+
#### ⏩ Performance
18+
19+
- [#519](https://github.com/NLog/NLog.Extensions.Logging/pull/519): Update to NLog 5.0 Preview 1 with ScopeContext instead of MDLC (@snakefoot)
20+
- [#485](https://github.com/NLog/NLog.Extensions.Logging/pull/485): Remove startup overhead caused by enumerating all assemblies for callsite logic (@snakefoot)
21+
- [#319](https://github.com/NLog/NLog.Extensions.Logging/pull/319): NLogLogger - Reduce allocation by not boxing EventId when CaptureEntireEventId = false (@snakefoot)
22+
23+
#### 🔧 Maintenance
24+
25+
- [#486](https://github.com/NLog/NLog.Extensions.Logging/pull/486): Removed platform .NET 4.5.1 (@snakefoot)
426

527
### v1.7.4 (2021/08/25)
628

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 1.0.{build}
1+
version: 5.0.0-{build} # Only change for mayor versions (e.g. 6.0)
22
image: Visual Studio 2019
33
configuration: Release
44
skip_tags: true

build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# creates NuGet package at \artifacts
33
dotnet --version
44

5-
$versionPrefix = "1.7.4"
6-
$versionSuffix = ""
5+
$versionPrefix = "5.0.0"
6+
$versionSuffix = "preview.1"
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
@@ -28,7 +28,7 @@ Full changelog: https://github.com/NLog/NLog.Extensions.Logging/blob/master/CHAN
2828
<!-- SonarQube needs ProjectGuid -->
2929
<ProjectGuid>{548E65CE-0378-4812-AE00-B173F1251D3C}</ProjectGuid>
3030
<SignAssembly>true</SignAssembly>
31-
<AssemblyVersion>1.0.0.0</AssemblyVersion>
31+
<AssemblyVersion>5.0.0.0</AssemblyVersion>
3232
<AssemblyOriginatorKeyFile>..\NLog.snk</AssemblyOriginatorKeyFile>
3333
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
3434
<LangVersion>latest</LangVersion>

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

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,20 @@ For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
1919
<PackageTags>NLog;Microsoft.Extensions.Logging;log;logging;logfiles;netcore</PackageTags>
2020
<PackageReleaseNotes>
2121

22-
- NLogLogger - Skip custom message formatting when no parameters (#513) (@snakefoot)
23-
- Disable ImplicitNuGetFallbackFolder for tests - fixes NU3005 on AppVeyor (#515) (@304NotModified)
24-
- Bump NLog from 4.7.10 to 4.7.11 (#516) (@dependabot)
22+
Version 5 for NLog 5
2523

24+
## Features
25+
- Changed LoggingConfigurationSectionName to default NLog (@snakefoot)
26+
- Add support for config variables with JsonLayout (@snakefoot)
27+
28+
## Enhancements
29+
- Reload now fully support KeepVariablesOnReload (@snakefoot)
30+
- Change default value for RemoveLoggerFactoryFilter to true (@snakefoot)
31+
32+
## Performance
33+
- Update to NLog 5.0 Preview 1 with ScopeContext instead of MDLC (@snakefoot)
34+
- Remove startup overhead caused by enumerating all assemblies for callsite logic (@snakefoot)
35+
- NLogLogger - Reduce allocation by not boxing EventId when CaptureEntireEventId = false (@snakefoot)
2636
Full changelog: https://github.com/NLog/NLog.Extensions.Logging/blob/master/CHANGELOG.MD
2737
</PackageReleaseNotes>
2838
<PackageProjectUrl>https://github.com/NLog/NLog.Extensions.Logging</PackageProjectUrl>
@@ -33,7 +43,7 @@ Full changelog: https://github.com/NLog/NLog.Extensions.Logging/blob/master/CHAN
3343
<!-- SonarQube needs ProjectGuid -->
3444
<ProjectGuid>{6A236D76-C9D9-4B1D-8DDE-F6978D110288}</ProjectGuid>
3545
<SignAssembly>true</SignAssembly>
36-
<AssemblyVersion>1.0.0.0</AssemblyVersion>
46+
<AssemblyVersion>5.0.0.0</AssemblyVersion>
3747
<AssemblyOriginatorKeyFile>..\NLog.snk</AssemblyOriginatorKeyFile>
3848
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
3949
<!-- EmbedUntrackedSources for deterministic build -->

0 commit comments

Comments
 (0)