Skip to content

Commit

Permalink
Version 5.2.2 (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot authored Feb 17, 2023
1 parent 9720daa commit 9b0e943
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 10 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ See also [releases](https://github.com/NLog/NLog.Web/releases) and [milestones](

Date format: (year/month/day)

### Version 5.2.2 (2023/02/17)

- **NLog.Web.AspNetCore**
- [#917](https://github.com/NLog/NLog.Web/pull/917) AspNetQueryStringLayoutRenderer - Added Exclude-option for consistency (#917) (@snakefoot)
- [#918](https://github.com/NLog/NLog.Web/pull/918) AspNetRequestFormLayoutRenderer - Added Items-option for consistency (#918) (@snakefoot)
- [#921](https://github.com/NLog/NLog.Web/pull/921) AspNet Response HttpStatusCode LayoutRenderer as Enum.ToString (#921) (@bakgerman)
- [#923](https://github.com/NLog/NLog.Web/pull/923) AspNet Request-Ip with support for CheckForwardedForHeaderOffset (#923) (@bakgerman)
- [#924](https://github.com/NLog/NLog.Web/pull/924) AspNetBufferingTargetWrapper - BufferGrowLimit cealing BufferSize (#924) (@snakefoot)
- [#927](https://github.com/NLog/NLog.Web/pull/927) Updated dependency NLog.Extensions.Logging v5.2.2 (#927) (@snakefoot)

- **NLog.Web**
- [#917](https://github.com/NLog/NLog.Web/pull/917) AspNetQueryStringLayoutRenderer - Added Exclude-option for consistency (#917) (@snakefoot)
- [#918](https://github.com/NLog/NLog.Web/pull/918) AspNetRequestFormLayoutRenderer - Added Items-option for consistency (#918) (@snakefoot)
- [#921](https://github.com/NLog/NLog.Web/pull/921) AspNet Response HttpStatusCode LayoutRenderer as Enum.ToString (#921) (@bakgerman)
- [#924](https://github.com/NLog/NLog.Web/pull/924) AspNetBufferingTargetWrapper - BufferGrowLimit cealing BufferSize (#924) (@snakefoot)
- [#927](https://github.com/NLog/NLog.Web/pull/927) Updated dependency NLog v5.1.2 (#927) (@snakefoot)

### Version 5.2.1 (2022/12/29)

- **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.2.1" # Also update version for minor versions in appveyor.yml
$versionPrefix = "5.2.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
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<package id="Microsoft.jQuery.Unobtrusive.Validation" version="3.1.2" targetFramework="net461" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net461" />
<package id="Modernizr" version="2.8.3" targetFramework="net461" />
<package id="NLog" version="5.1.1" targetFramework="net461" />
<package id="NLog" version="5.1.2" targetFramework="net461" />
<package id="System.Diagnostics.DiagnosticSource" version="4.4.1" targetFramework="net461" />
<package id="WebGrease" version="1.6.0" targetFramework="net461" />
</packages>
16 changes: 10 additions & 6 deletions src/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog
<PackageId>NLog.Web.AspNetCore</PackageId>
<PackageTags>logging;log;NLog;web;aspnet;aspnetcore;MVC;Microsoft.Extensions.Logging;httpcontext</PackageTags>
<PackageReleaseNotes>
- Introduced NLogBufferingTargetWrapperMiddleware to support AspNetBufferingWrapper (#900) (@bakgerman)
- Created README.md for the NLog.Web.AspNetCore nuget-package (#898) (@bakgerman)
- Added common Items-property for LayoutRenderers that can output multiple values. Ex Headers/Cookies (#904) (@snakefoot)
- Updated dependency NLog.Extensions.Logging v5.2.1 (#915) (@snakefoot)
ChangeLog:

- AspNetQueryStringLayoutRenderer - Added Exclude-option for consistency (#917) (@snakefoot)
- AspNetRequestFormLayoutRenderer - Added Items-option for consistency (#918) (@snakefoot)
- AspNet Response HttpStatusCode LayoutRenderer as Enum.ToString (#921) (@bakgerman)
- AspNet Request-Ip with support for CheckForwardedForHeaderOffset (#923) (@bakgerman)
- AspNetBufferingTargetWrapper - BufferGrowLimit cealing BufferSize (#924) (@snakefoot)
- Updated dependency NLog.Extensions.Logging v5.2.2 (#927) (@snakefoot)

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

Expand All @@ -44,7 +48,7 @@ List of available Layout Renderers: https://nlog-project.org/config/?tab=layout-
</PropertyGroup>
<ItemGroup>
<None Include="N.png" Pack="true" PackagePath="" Visible="false" />
<None Include="README.md" Pack="true" PackagePath=""/>
<None Include="README.md" Pack="true" PackagePath="" />
</ItemGroup>
<Target Name="DownloadMissingContent" BeforeTargets="GenerateNuspec">
<DownloadFile SourceUrl="https://nlog-project.org/N.png" DestinationFolder="$(MSBuildThisFileDirectory)" />
Expand Down Expand Up @@ -72,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.2.1" />
<PackageReference Include="NLog.Extensions.Logging" Version="5.2.2" />
</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 @@ -54,7 +54,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.1.1" />
<PackageReference Include="NLog" Version="5.1.2" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net461;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>net461;netcoreapp3.1;net6.0</TargetFrameworks>
<AssemblyName>NLog.Web.AspNetCore.Tests</AssemblyName>
<AssemblyVersion>1.2.3.0</AssemblyVersion>
<FileVersion>1.2.3.1</FileVersion>
Expand Down

0 comments on commit 9b0e943

Please sign in to comment.