From 83ad750548f0e0d16578ab8b3da42d4d57e18c25 Mon Sep 17 00:00:00 2001 From: Rolf Kristensen Date: Fri, 30 Dec 2022 00:59:23 +0100 Subject: [PATCH] Version 5.2.1 --- CHANGELOG.MD | 14 ++++++++++ build.ps1 | 2 +- .../ASP.NET 4.6.1 - VS2017/packages.config | 2 +- .../NLog.Web.AspNetCore.csproj | 28 ++++++++----------- src/NLog.Web/NLog.Web.csproj | 18 ++++++------ 5 files changed, 37 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index e45dbc60..6113b5de 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -4,6 +4,20 @@ See also [releases](https://github.com/NLog/NLog.Web/releases) and [milestones]( Date format: (year/month/day) +### Version 5.2.1 (2022/12/29) + +- **NLog.Web.AspNetCore** + - [#900](https://github.com/NLog/NLog.Web/pull/900) Introduced NLogBufferingTargetWrapperMiddleware to support AspNetBufferingWrapper (#900) (@bakgerman) + - [#898](https://github.com/NLog/NLog.Web/pull/898) Created README.md for the NLog.Web.AspNetCore nuget-package (#898) (@bakgerman) + - [#904](https://github.com/NLog/NLog.Web/pull/904) Added common Items-property for LayoutRenderers that can output multiple values. Ex Headers/Cookies (#904) (@snakefoot) + - [#915](https://github.com/NLog/NLog.Web/pull/915) Updated dependency NLog.Extensions.Logging v5.2.1 (#915) (@snakefoot) + +- **NLog.Web** + - [#900](https://github.com/NLog/NLog.Web/pull/900) Extend AspNetBufferingWrapper to allow use with other integrations than NLogHttpModule (#900) (@bakgerman) + - [#898](https://github.com/NLog/NLog.Web/pull/898) Created README.md for the NLog.Web nuget-package (#898) (@bakgerman) + - [#904](https://github.com/NLog/NLog.Web/pull/904) Added common Items-property for LayoutRenderers that can output multiple values. Ex Headers/Cookies (#904) (@snakefoot) + - [#915](https://github.com/NLog/NLog.Web/pull/915) Updated dependency NLog v5.1.1 (#915) (@snakefoot) + ### Version 5.2.0 (2022/11/27) - **NLog.Web.AspNetCore** diff --git a/build.ps1 b/build.ps1 index 8cd736bd..4bd87428 100644 --- a/build.ps1 +++ b/build.ps1 @@ -2,7 +2,7 @@ # creates NuGet package at \artifacts dotnet --version -$versionPrefix = "5.2.0" # Also update version for minor versions in appveyor.yml +$versionPrefix = "5.2.1" # Also update version for minor versions in appveyor.yml $versionSuffix = "" $versionFile = $versionPrefix + "." + ${env:APPVEYOR_BUILD_NUMBER} if ($env:APPVEYOR_PULL_REQUEST_NUMBER) { diff --git a/examples/ASP.NET 4.6.1/Visual Studio 2017/ASP.NET 4.6.1 - VS2017/packages.config b/examples/ASP.NET 4.6.1/Visual Studio 2017/ASP.NET 4.6.1 - VS2017/packages.config index aeba3130..82113837 100644 --- a/examples/ASP.NET 4.6.1/Visual Studio 2017/ASP.NET 4.6.1 - VS2017/packages.config +++ b/examples/ASP.NET 4.6.1/Visual Studio 2017/ASP.NET 4.6.1 - VS2017/packages.config @@ -12,7 +12,7 @@ - + \ No newline at end of file diff --git a/src/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj b/src/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj index aa761c53..ab9ff7a5 100644 --- a/src/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj +++ b/src/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj @@ -4,8 +4,8 @@ net461;netstandard2.0;netcoreapp3.1;net5.0;net6.0 NLog.Web.AspNetCore v$(VersionPrefix) - Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext. - +Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext. + Julian Verdurmen NLog $([System.DateTime]::Now.ToString(yyyy)) @@ -14,14 +14,10 @@ NLog.Web.AspNetCore logging;log;NLog;web;aspnet;aspnetcore;MVC;Microsoft.Extensions.Logging;httpcontext -- Changed LoadConfigurationFromAppSettings to prioritize current directory (#885) (@snakefoot) -- Changed AspNetAppBasePathLayoutRenderer to prioritize current directory (#887) (@snakefoot) -- Add ObjectPath to AspNetItemValueLayoutRenderer as better alternative to EvaluateAsNestedProperties (#890) (@bakgerman) -- Add ObjectPath to AspNetSessionValueLayoutRenderer as better alternative to EvaluateAsNestedProperties (#894) (@snakefoot) -- Use CallerArgumentExpressionAttribute in helper method for throwing ArgumentNullException (#889) (@bakgerman) -- Skip allocating RouteData when only need to lookup single value (#891) (@snakefoot) -- Use RegisterConfigSettings instead of ConfigSettingLayoutRenderer (#878 + #879) (@snakefoot) -- Updated dependency NLog.Extensions.Logging v5.2.0 (#894) (@snakefoot) +- 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) List of major changes in NLog 5.0: https://nlog-project.org/2022/05/16/nlog-5-0-finally-ready.html @@ -42,13 +38,13 @@ List of available Layout Renderers: https://nlog-project.org/config/?tab=layout- true true $(Title) - true - README.md + true + README.md - + @@ -76,7 +72,7 @@ List of available Layout Renderers: https://nlog-project.org/config/?tab=layout- $(DefineConstants);ASP_NET_CORE;ASP_NET_CORE3 - + @@ -100,10 +96,10 @@ List of available Layout Renderers: https://nlog-project.org/config/?tab=layout- - + ILLink.Descriptors.xml - + \ No newline at end of file diff --git a/src/NLog.Web/NLog.Web.csproj b/src/NLog.Web/NLog.Web.csproj index cadfd71d..74542b59 100644 --- a/src/NLog.Web/NLog.Web.csproj +++ b/src/NLog.Web/NLog.Web.csproj @@ -21,9 +21,9 @@ For ASP.NET Core: Check https://www.nuget.org/packages/NLog.Web.AspNetCore Remember to register NLog.Web in NLog.config <extensions> - <add assembly="NLog.Web" /> + <add assembly="NLog.Web" /> </extensions> - + Full changelog: https://github.com/NLog/NLog.Web/releases List of available Layout Renderers: https://nlog-project.org/config/?tab=layout-renderers&search=package:nlog.web @@ -33,28 +33,28 @@ List of available Layout Renderers: https://nlog-project.org/config/?tab=layout- BSD-3-Clause git https://github.com/NLog/NLog.Web.git - + true 5.0.0.0 NLog.snk - + true true $(Title) true - true - - README.md + + true + README.md - + - +