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

Release 4.8.5 #461

Merged
merged 17 commits into from
Sep 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
4773c15
Bump NSubstitute from 4.2.0 to 4.2.1 in /tests/NLog.Web.AspNetCore.Te…
dependabot-preview[bot] Jul 16, 2019
add9dcc
Bump NSubstitute from 4.2.0 to 4.2.1 in /tests/NLog.Web.Tests (#451)
dependabot-preview[bot] Jul 16, 2019
54ae4c6
Bump NLog.Extensions.Logging in /tests/NLog.Web.AspNetCore.Tests (#448)
dependabot-preview[bot] Jul 16, 2019
31edcd8
Bump NLog.Extensions.Logging in /src/NLog.Web.AspNetCore (#447)
dependabot-preview[bot] Jul 16, 2019
6947185
Bump NLog from 4.6.5 to 4.6.6 in /src/NLog.Web (#446)
dependabot-preview[bot] Jul 16, 2019
90326a3
Bump NLog from 4.6.5 to 4.6.6 in /tests/NLog.Web.Tests (#449)
dependabot-preview[bot] Jul 16, 2019
846ae68
Bump NLog from 4.6.6 to 4.6.7 in /src/NLog.Web (#452)
dependabot-preview[bot] Aug 26, 2019
a329613
Bump NLog from 4.6.6 to 4.6.7 in /tests/NLog.Web.Tests (#453)
dependabot-preview[bot] Aug 26, 2019
6872824
Bump NLog.Extensions.Logging in /tests/NLog.Web.AspNetCore.Tests (#455)
dependabot-preview[bot] Aug 29, 2019
7afcb6e
Bump NLog.Extensions.Logging in /src/NLog.Web.AspNetCore (#454)
dependabot-preview[bot] Aug 29, 2019
d4a3af0
Nuget-package tags and descriptions updated to include 'logging' (#456)
snakefoot Aug 30, 2019
0c35e4e
Fixed double registration of NLogLoggerProvider when mixing UseNLog w…
snakefoot Sep 5, 2019
e5494b1
Create ranger.yml
304NotModified Sep 6, 2019
8bdad60
Merge pull request #459 from snakefoot/master
repo-ranger[bot] Sep 6, 2019
41f06e2
Version 4.8.5
snakefoot Sep 7, 2019
fdfcac1
Merge pull request #460 from snakefoot/master
304NotModified Sep 7, 2019
6140307
Update ranger.yml
304NotModified Sep 7, 2019
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
17 changes: 17 additions & 0 deletions .github/ranger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
merges:
- action: delete_branch
# - action: tag
labels:
'needs info':
action: close
delay: 7 days
comment: "Please add the requested info, so we could help you better! (This issue will be closed in 7 days)"
duplicate: close
wontfix: close
invalid: close
"squash when passing": merge
"rebase when passing": merge
"merge when passing": merge
#comments:
# - action: delete_comment
# pattern: "+1" # can also be a regular expression
2 changes: 2 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ See also [releases](https://github.com/NLog/NLog.Web/releases) and [milestones](

Date format: (year/month/day)

### v4.8.5 aspnetcore (2019/07/02)
- [#459](https://github.com/NLog/NLog.Web/pull/459) Fixed double logging when mixing UseNLog with AddNLog (@snakefoot)

### v4.8.4 aspnetcore (2019/07/02)
- [#436](https://github.com/NLog/NLog.Web/pull/436) Better checking for availability of session (@Defee, @snakefoot)
Expand Down
8 changes: 4 additions & 4 deletions NLog.Web.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Microsoft Visual Studio Solution File, Format Version 12.00
VisualStudioVersion = 15.0.26730.16
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{52CA242D-DB20-41D9-8B79-A5A965ECA105}"
ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml
CHANGELOG.MD = CHANGELOG.MD
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NLog.Web", "src\NLog.Web\NLog.Web.csproj", "{E30DC886-8431-4CFA-90FA-38D9BE4203A0}"
EndProject
Expand Down Expand Up @@ -51,10 +55,6 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{E30DC886-8431-4CFA-90FA-38D9BE4203A0} = {52CA242D-DB20-41D9-8B79-A5A965ECA105}
{E318FB41-9712-44CA-B792-E865EFE1A564} = {52CA242D-DB20-41D9-8B79-A5A965ECA105}
{9E3F7ECB-A6ED-422E-8429-F96C510F59CF} = {52CA242D-DB20-41D9-8B79-A5A965ECA105}
{C02D4CED-0098-4526-BB95-6AB9D988036D} = {52CA242D-DB20-41D9-8B79-A5A965ECA105}
{D43A99EE-F27F-4552-9E23-C9686809AC3D} = {A9FB260C-9052-45D3-827A-20590F9D2FEF}
{0BF1FB4E-D5AE-46DE-9E80-E2DD40235552} = {A9FB260C-9052-45D3-827A-20590F9D2FEF}
EndGlobalSection
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 4.8.4.{build}
version: 4.8.5.{build}
clone_folder: c:\projects\nlogweb
configuration: Release
image: Visual Studio 2017
Expand All @@ -22,7 +22,7 @@ skip_tags: true

build_script:
- ps: |
$versionPrefix = "4.8.4"
$versionPrefix = "4.8.5"
$versionSuffix = ""
$versionBuild = $versionPrefix + "." + ${env:APPVEYOR_BUILD_NUMBER}
$versionNuget = $versionPrefix
Expand Down
4 changes: 2 additions & 2 deletions src/NLog.Web.AspNetCore/AspNetExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private static void ConfigureServicesNLog(NLogAspNetCoreOptions options, IServic
ConfigurationItemFactory.Default.RegisterItemsFromAssembly(typeof(AspNetExtensions).GetTypeInfo().Assembly);
LogManager.AddHiddenAssembly(typeof(AspNetExtensions).GetTypeInfo().Assembly);

services.AddSingleton<ILoggerProvider>(serviceProvider =>
services.Replace(ServiceDescriptor.Singleton<ILoggerProvider, NLogLoggerProvider>(serviceProvider =>
{
ServiceLocator.ServiceProvider = serviceProvider;

Expand All @@ -173,7 +173,7 @@ private static void ConfigureServicesNLog(NLogAspNetCoreOptions options, IServic
}

return provider;
});
}));

//note: this one is called before services.AddSingleton<ILoggerFactory>
if ((options ?? NLogAspNetCoreOptions.Default).RegisterHttpContextAccessor)
Expand Down
12 changes: 6 additions & 6 deletions src/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
<TargetFrameworks>netstandard1.5;net451;net461;netstandard2.0</TargetFrameworks>
<Product>NLog.Web.AspNetCore v$(VersionPrefix)</Product>
<Description>
Use NLog with the ASP.NET Core platform. Adds helpers and layout renderers for websites and webapplications.
NLog LoggerProvider for Microsoft.Extensions.Logging and ASP.NET Core platform. Adds helpers and layout renderers for websites and web applications.

Supported platforms:

- For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+
- For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x

- For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x
</Description>
<Authors>Julian Verdurmen</Authors>
<Company>NLog</Company>
<CurrentYear>$([System.DateTime]::Now.ToString(yyyy))</CurrentYear>
<Copyright>Copyright (c) 2015-$(CurrentYear) NLog Project - https://nlog-project.org/ </Copyright>
<AssemblyName>NLog.Web.AspNetCore</AssemblyName>
<PackageId>NLog.Web.AspNetCore</PackageId>
<PackageTags>logging;log;session;NLog;web;aspnet;aspnetcore;MVC;httpcontext</PackageTags>
<PackageTags>logging;log;NLog;web;aspnet;aspnetcore;MVC;Microsoft.Extensions.Logging;httpcontext;session</PackageTags>
<PackageReleaseNotes>
- Better checking for availability of session (@Defee, @snakefoot)
- Fixed double logging when mixing UseNLog with AddNLog (@snakefoot)
- Updated nuget-package description to make it easier to discover (@snakefoot)
</PackageReleaseNotes>
<PackageIconUrl>https://nlog-project.org/N.png</PackageIconUrl>
<PackageProjectUrl>https://github.com/NLog/NLog.Web</PackageProjectUrl>
Expand Down Expand Up @@ -57,7 +57,7 @@ Supported platforms:
<DefineConstants>$(DefineConstants);ASP_NET_CORE;ASP_NET_CORE2</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NLog.Extensions.Logging" Version="1.5.1" />
<PackageReference Include="NLog.Extensions.Logging" Version="1.5.4" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' ">
<Reference Include="System" />
Expand Down
12 changes: 7 additions & 5 deletions src/NLog.Web/NLog.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<TargetFrameworks>net35</TargetFrameworks>
<Product>NLog.Web v$(VersionPrefix)</Product>
<Description>
Extend NLog with targets and layout renderers for websites and web applications.
NLog logging for ASP.NET and ASP.NET MVC. Includes targets and layout renderers for websites and web applications.

This package is for ASP.NET 3.5+

For ASP.NET Core: Check https://www.nuget.org/packages/NLog.Web.AspNetCore
Expand All @@ -15,10 +16,10 @@ For ASP.NET Core: Check https://www.nuget.org/packages/NLog.Web.AspNetCore
<Copyright>Copyright (c) 2015-$(CurrentYear) NLog Project - https://nlog-project.org/ </Copyright>
<AssemblyName>NLog.Web</AssemblyName>
<PackageId>NLog.Web</PackageId>
<PackageTags>nlog log target layoutrenderer web asp.net httpcontext</PackageTags>
<PackageTags>nlog;log;logging;target;layoutrenderer;web;asp.net;MVC;httpcontext</PackageTags>
<PackageReleaseNotes>
- Better checking for availability of session (@Defee, @snakefoot)
- Fixed Nuget-Package generation to include dependencies and release notes (@snakefoot)
- Updated NLog dependency
- Updated nuget-package description to make it easier to discover (@snakefoot)
</PackageReleaseNotes>
<PackageIconUrl>https://nlog-project.org/N.png</PackageIconUrl>
<PackageProjectUrl>https://github.com/NLog/NLog.Web</PackageProjectUrl>
Expand All @@ -33,9 +34,10 @@ For ASP.NET Core: Check https://www.nuget.org/packages/NLog.Web.AspNetCore
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AssemblyTitle>$(Title)</AssemblyTitle>
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NLog" Version="4.6.5" />
<PackageReference Include="NLog" Version="4.6.7" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.Web" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\NLog.Web.AspNetCore\NLog.Web.AspNetCore.csproj" />
<PackageReference Include="NSubstitute" Version="4.2.0" />
<PackageReference Include="NSubstitute" Version="4.2.1" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
<PackageReference Include="xunit" Version="2.4.1" />
Expand Down
2 changes: 1 addition & 1 deletion tests/NLog.Web.Tests/NLog.Web.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
<PackageReference Include="NSubstitute" Version="4.2.0" />
<PackageReference Include="NSubstitute" Version="4.2.1" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
Expand Down