Skip to content

Commit

Permalink
Version 5.0.3 (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot authored Aug 31, 2022
1 parent 9c8bce2 commit f0bbeba
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Date format: (year/month/day)

### Version 5.0.3 (2022/09/01)

**Improvements**
- [#617](https://github.com/NLog/NLog.Extensions.Logging/pull/617): NLog.ExtensionsHosting loads NLog.config from ContentRootPath as last fallback (@snakefoot)
- [#619](https://github.com/NLog/NLog.Extensions.Logging/pull/619): Bump NLog from 5.0.2 to 5.0.3 (@snakefoot)

### Version 5.0.2 (2022/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.0.2"
$versionPrefix = "5.0.3"
$versionSuffix = ""
$versionFile = $versionPrefix + "." + ${env:APPVEYOR_BUILD_NUMBER}
$versionProduct = $versionPrefix;
Expand Down
9 changes: 3 additions & 6 deletions src/NLog.Extensions.Logging/NLog.Extensions.Logging.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
</Description>
<PackageTags>NLog;Microsoft.Extensions.Logging;log;logging;logfiles;netcore</PackageTags>
<PackageReleaseNotes>
## Improvements

- [#614] ConfigSettingLayoutRenderer - Support escape of dot-separator (@snakefoot)
- [#606] Introduced NLogProviderOptions AutoShutdown that is turned off by default (@snakefoot)
- [#615] Bump NLog from 5.0.1 to 5.0.2 (@snakefoot)
- NLog.ExtensionsHosting loads NLog.config from ContentRootPath as last fallback (#617) (@snakefoot)
- Bump NLog from 5.0.2 to 5.0.3 (#619) (@snakefoot)

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

Expand Down Expand Up @@ -72,7 +69,7 @@ List of major changes in NLog 5.0: https://nlog-project.org/2021/08/25/nlog-5-0-
<DefineConstants>$(DefineConstants);NETSTANDARD</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NLog" Version="5.0.2" />
<PackageReference Include="NLog" Version="5.0.3" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public void MicrosoftConsoleJsonLayout_NullEvent()
{
var layout = new MicrosoftConsoleJsonLayout() { TimestampFormat = null };
var result = layout.Render(LogEventInfo.CreateNullEvent());
Assert.Contains("{ \"EventId\": 0, \"LogLevel\": \"Critical\", \"State\": { } }", result);
Assert.Contains("{ \"EventId\": 0, \"LogLevel\": \"Critical\" }", result);
}

[Fact]
Expand Down

0 comments on commit f0bbeba

Please sign in to comment.