Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 5.0.3 #619

Merged
merged 1 commit into from
Aug 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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