Skip to content

Commit

Permalink
Version 5.1.2 (#863)
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot authored Sep 1, 2022
1 parent f2aac4f commit 1faeeb2
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ See also [releases](https://github.com/NLog/NLog.Web/releases) and [milestones](

Date format: (year/month/day)

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

- **NLog.Web.AspNetCore**
- [#861](https://github.com/NLog/NLog.Web/pull/861) Loading NLog.config from ContentRootPath as last fallback (#861) (@snakefoot)
- [#858](https://github.com/NLog/NLog.Web/pull/858) Updated Microsoft.AspNetCore.Abstractions to match Microsoft.AspNetCore.Http (#858) (@snakefoot)
- [#863](https://github.com/NLog/NLog.Web/pull/863) Updated NLog.Extensions.Logging to v5.0.3 (#863) (@snakefoot)

- **NLog.Web**
- [#863](https://github.com/NLog/NLog.Web/pull/863) Updated dependency NLog v5.0.3 (#863) (@snakefoot)

### Version 5.1.1 (2022/08/17)

- **NLog.Web.AspNetCore**
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.1.1" # Also update version for minor versions in appveyor.yml
$versionPrefix = "5.1.2" # Also update version for minor versions in appveyor.yml
$versionSuffix = ""
$versionFile = $versionPrefix + "." + ${env:APPVEYOR_BUILD_NUMBER}
if ($env:APPVEYOR_PULL_REQUEST_NUMBER) {
Expand Down
13 changes: 4 additions & 9 deletions src/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,9 @@ Supported platforms:
<PackageId>NLog.Web.AspNetCore</PackageId>
<PackageTags>logging;log;NLog;web;aspnet;aspnetcore;MVC;Microsoft.Extensions.Logging;httpcontext</PackageTags>
<PackageReleaseNotes>
## Improvements
- [#836] Fixed offset by one in AspNetRequestDurationLayoutRenderer (@snakefoot)
- [#840] Added option LowercaseKeys for ${aspnet-request-querystring} (@czd890)
- [#845] Added ${aspnet-request-has-posted-body} Layout Renderer (@bakgerman)
- [#845] Added ${aspnet-request-stream-id} Layout Renderer (@bakgerman)
- [#850] + [#853] Improved re-Entrancy scope lock for Session Value Layout Render (@bakgerman)
- [#854] Updated dependency NLog.Extensions.Logging v5.0.2 (@snakefoot)
- [#856] Added option Properties for ${aspnet-request-url} instead of booleans (@bakgerman)
- Loading NLog.config from ContentRootPath as last fallback (#861) (@snakefoot)
- Updated Microsoft.AspNetCore.Abstractions to match Microsoft.AspNetCore.Http (#858) (@snakefoot)
- Updated NLog.Extensions.Logging to v5.0.3 (#863) (@snakefoot)

List of major changes in NLog 5.0: https://nlog-project.org/2022/05/16/nlog-5-0-finally-ready.html

Expand Down Expand Up @@ -81,7 +76,7 @@ List of available Layout Renderers: https://nlog-project.org/config/?tab=layout-
<DefineConstants>$(DefineConstants);ASP_NET_CORE;ASP_NET_CORE3</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NLog.Extensions.Logging" Version="5.0.2" />
<PackageReference Include="NLog.Extensions.Logging" Version="5.0.3" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net461' ">
<!-- Fixed to 2.1.0 as 2.1 is Long Term Supported (LTS) and only supported version for .NET Framework 4.6.1 -->
Expand Down
2 changes: 1 addition & 1 deletion src/NLog.Web/NLog.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ List of available Layout Renderers: https://nlog-project.org/config/?tab=layout-
<DownloadFile SourceUrl="https://nlog-project.org/N.png" DestinationFolder="$(MSBuildThisFileDirectory)" />
</Target>
<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>
Expand Down

0 comments on commit 1faeeb2

Please sign in to comment.