Skip to content

Commit

Permalink
chore: Update Nuget packages, update tfm to minimum currently support…
Browse files Browse the repository at this point in the history
…ed, update Readme (#142)

* chore: Update Nuget packages, update tfm to minimum currently supported, update Readme.

* Removed reference to azure pipelines yaml that was deleted from the repo

* Update yml to run on Windows 2022

* Changelog updates
  • Loading branch information
tippmar-nr authored Jun 26, 2023
1 parent 8292e7a commit bc45530
Show file tree
Hide file tree
Showing 17 changed files with 91 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
build-test:
name: Build Test Deploy

runs-on: windows-2019
runs-on: windows-2022

env:
artifact_staging_path: ${{ github.workspace }}\artifactstaging
Expand Down
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
- Update icon and project url for nuget packages [#135](https://github.com/newrelic/newrelic-logenricher-dotnet/pull/135)
## [Log4Net_vx.x.x]
### Security fix: update Newtonsoft.Json package reference to 13.0.3
- Mitigates a [security vulnerability](https://security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678) in Newtonsoft.Json versions prior to 13.0.1.
### Features
- Updates icon and project url for nuget packages [#135](https://github.com/newrelic/newrelic-logenricher-dotnet/pull/135)
- Updates Nuget package version references. Updates build targets to currently supported versions (`net462` and `net7.0`). [#142](https://github.com/newrelic/newrelic-logenricher-dotnet/pull/142)
## [NLog_vx.x.x, Serilog_vx.x.x]
### Features
- Updates icon and project url for nuget packages [#135](https://github.com/newrelic/newrelic-logenricher-dotnet/pull/135)
- Updates Nuget package version references. Updates build targets to currently supported versions (`net462` and `net7.0`). [#142](https://github.com/newrelic/newrelic-logenricher-dotnet/pull/142)

## [Serilog_v1.1.0] - 2022-11-29
### Features
Expand Down
5 changes: 2 additions & 3 deletions NewRelic.LogEnrichers.sln
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29411.108
# Visual Studio Version 17
VisualStudioVersion = 17.6.33723.286
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{39172BF2-C5E4-4985-BFAB-1B5EF63E8BD6}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
azure-pipelines.yml = azure-pipelines.yml
CHANGELOG.md = CHANGELOG.md
CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md
CONTRIBUTING.md = CONTRIBUTING.md
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ For the latest information, please see the [New Relic docs](https://docs.newreli

## Minimum Requirements

* Microsoft <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-framework">.NET Framework 4.5+</a> or <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-core">.NET Core 2.0+</a>
* Microsoft <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-framework">.NET Framework 4.6.2+</a> or <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-core">.NET 6.0+</a>
* <a target="_blank" href="https://docs.newrelic.com/docs/release-notes/agent-release-notes/net-release-notes">New Relic .NET Agent 8.21+<a>
* <a target="_blank" href="https://docs.newrelic.com/docs/agents/net-agent/net-agent-api" target="_blank">New Relic .NET Agent API 8.21+</a>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<AssemblyName>Logging.Log4Net.Examples</AssemblyName>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NewRelic.Agent.Api" Version="8.32.0" />
<PackageReference Include="NewRelic.Agent.Api" Version="10.11.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<AssemblyName>Logging.NLog.Examples</AssemblyName>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NewRelic.Agent.Api" Version="8.32.0" />
<PackageReference Include="NLog" Version="4.5.11" />
<PackageReference Include="NewRelic.Agent.Api" Version="10.11.0" />
<PackageReference Include="NLog" Version="5.2.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<AssemblyName>Logging.Serilog.Examples</AssemblyName>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NewRelic.Agent.Api" Version="8.32.0" />
<PackageReference Include="Serilog" Version="2.9.0" />
<PackageReference Include="NewRelic.Agent.Api" Version="10.11.0" />
<PackageReference Include="Serilog" Version="3.0.1" />
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />
<PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" />
<PackageReference Include="Serilog.Sinks.Async" Version="1.4.0" />
<PackageReference Include="Serilog.Sinks.File" Version="4.1.0" />
<PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion examples/NewRelic.LogEnrichers.Serilog.Examples/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal static class Program

private static void Main(string[] args)
{
Console.WriteLine("Welcome to the New Relic Logging Extentions for Serilog");
Console.WriteLine("Welcome to the New Relic Logging Extensions for Serilog");
Console.WriteLine();

if (args.Length == 0)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net462</TargetFrameworks>
<RootNamespace>NewRelic.LogEnrichers.Log4Net</RootNamespace>
<AssemblyName>NewRelic.LogEnrichers.Log4Net</AssemblyName>
<Title>New Relic Logging Extension for Log4Net</Title>
Expand All @@ -16,7 +16,7 @@
<ItemGroup>
<PackageReference Include="log4net" Version="2.0.10" />
<PackageReference Include="NewRelic.Agent.Api" Version="8.32.0" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

<ItemGroup>
Expand All @@ -30,4 +30,11 @@
<Compile Include="..\shared\LoggingExtensions.cs" Link="LoggingExtensions.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/NewRelic.LogEnrichers.Log4Net/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The .NET Extensions for log4net will add contextual information from the .NET Ag

## Minimum Requirements

* Microsoft <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-framework">.NET Framework 4.5+</a> or <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-core">.NET Core 2.0+</a>
* Microsoft <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-framework">.NET Framework 4.6.2+</a> or <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-core">.NET 6.0+</a>
* <a target="_blank" href="https://docs.newrelic.com/docs/release-notes/agent-release-notes/net-release-notes">New Relic .NET Agent 8.21+<a>
* <a target="_blank" href="https://docs.newrelic.com/docs/agents/net-agent/net-agent-api" target="_blank">New Relic .NET Agent API 8.21+</a>
* <a target="_blank" href="https://logging.apache.org/log4net/">log4net 2.0.8+</a>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net462</TargetFrameworks>
<RootNamespace>NewRelic.LogEnrichers.NLog</RootNamespace>
<AssemblyName>NewRelic.LogEnrichers.NLog</AssemblyName>
<Title>New Relic Logging Extension for NLog</Title>
Expand Down Expand Up @@ -29,4 +29,11 @@
<Compile Include="..\shared\LoggingExtensions.cs" Link="LoggingExtensions.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/NewRelic.LogEnrichers.NLog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The .NET Extensions for NLog will add contextual information from the .NET Agent

## Minimum Requirements

* Microsoft <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-framework">.NET Framework 4.5+</a> or <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-core">.NET Core 2.0+</a>
* Microsoft <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-framework">.NET Framework 4.6.2+</a> or <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-core">.NET 6.0+</a>
* <a target="_blank" href="https://docs.newrelic.com/docs/release-notes/agent-release-notes/net-release-notes">New Relic .NET Agent 8.21+<a>
* <a target="_blank" href="https://docs.newrelic.com/docs/agents/net-agent/net-agent-api" target="_blank">New Relic .NET Agent API 8.21+</a>
* <a target="_blank" href="https://nlog-project.org/">NLog 4.5+</a>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net462</TargetFrameworks>
<RootNamespace>NewRelic.LogEnrichers.Serilog</RootNamespace>
<AssemblyName>NewRelic.LogEnrichers.Serilog</AssemblyName>

Expand All @@ -17,7 +17,7 @@
<ItemGroup>
<PackageReference Include="NewRelic.Agent.Api" Version="8.32.0" />
<PackageReference Include="Serilog" Version="2.5.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19554-01" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
Expand All @@ -31,4 +31,11 @@
<Compile Include="..\shared\LoggingExtensions.cs" Link="LoggingExtensions.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/NewRelic.LogEnrichers.Serilog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The .NET Extensions for Serilog will add contextual information from the .NET Ag

## Minimum Requirements

* Microsoft <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-framework">.NET Framework 4.5+</a> or <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-core">.NET Core 2.0+</a>
* Microsoft <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-framework">.NET Framework 4.6.2+</a> or <a target="_blank" href="https://dotnet.microsoft.com/download/dotnet-core">.NET 6.0+</a>
* <a target="_blank" href="https://docs.newrelic.com/docs/release-notes/agent-release-notes/net-release-notes">New Relic .NET Agent 8.21+<a>
* <a target="_blank" href="https://docs.newrelic.com/docs/agents/net-agent/net-agent-api" target="_blank">New Relic .NET Agent API 8.21+</a>
* <a target="_blank" href="https://serilog.net/">Serilog 2.5+</a>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<AssemblyName>NewRelic.LogEnrichers.Log4Net.Tests</AssemblyName>
<RootNamespace>NewRelic.LogEnrichers.Log4Net.Tests</RootNamespace>

</PropertyGroup>

<ItemGroup>
<PackageReference Include="JustMock" Version="2019.3.910.4" />
<PackageReference Include="NewRelic.Agent.Api" Version="8.32.0" />
<PackageReference Include="nunit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.15.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="JustMock" Version="2023.2.601.35" />
<PackageReference Include="NewRelic.Agent.Api" Version="10.11.0" />
<PackageReference Include="nunit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.2" />
</ItemGroup>

<ItemGroup>
Expand All @@ -21,4 +21,11 @@
<ProjectReference Include="..\..\src\NewRelic.LogEnrichers.Log4Net\NewRelic.LogEnrichers.Log4Net.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<AssemblyName>NewRelic.LogEnrichers.NLog.Tests</AssemblyName>
<RootNamespace>NewRelic.LogEnrichers.NLog.Tests</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JustMock" Version="2019.3.910.4" />
<PackageReference Include="nunit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.13.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="JustMock" Version="2023.2.601.35" />
<PackageReference Include="nunit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.2" />
</ItemGroup>

<ItemGroup>
Expand All @@ -19,4 +19,11 @@
<ProjectReference Include="..\..\src\NewRelic.LogEnrichers.NLog\NewRelic.LogEnrichers.NLog.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<AssemblyName>NewRelic.LogEnrichers.Serilog.Tests</AssemblyName>
<RootNamespace>NewRelic.LogEnrichers.Serilog.Tests</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JustMock" Version="2019.3.910.4" />
<PackageReference Include="nunit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.13.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="JustMock" Version="2023.2.601.35" />
<PackageReference Include="nunit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.2" />
</ItemGroup>

<ItemGroup>
Expand All @@ -19,4 +19,11 @@
<ProjectReference Include="..\..\src\NewRelic.LogEnrichers.Serilog\NewRelic.LogEnrichers.Serilog.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>

0 comments on commit bc45530

Please sign in to comment.