Skip to content

Commit

Permalink
#111 Dropping support for older runtimes
Browse files Browse the repository at this point in the history
- added release notes for 3.0.0
  • Loading branch information
Jan Friedrich authored and FreeAndNil committed Mar 5, 2024
1 parent 788cf6e commit fa1edf5
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 89 deletions.
8 changes: 1 addition & 7 deletions src/log4net.Tests/log4net.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;net7.0</TargetFrameworks>
<TargetFrameworks>net462;net8.0</TargetFrameworks>
<NoWarn>NETSDK1138;CS1701</NoWarn>
<ProjectType>Local</ProjectType>
<DefaultClientScript>JScript</DefaultClientScript>
Expand Down Expand Up @@ -41,12 +41,6 @@
<PropertyGroup Condition="'$(TargetFramework)'=='net462'">
<DefineConstants>$(DefineConstants);NET_2_0;NET_4_0;NET_4_5</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='netcoreapp1.0'">
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD1_3</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='netcoreapp2.1'">
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'">
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants>
</PropertyGroup>
Expand Down
77 changes: 5 additions & 72 deletions src/log4net/log4net.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageId>log4net</PackageId>
<Version>2.0.16</Version>
<PackageVersion>2.0.16</PackageVersion>
<Version>3.0.0</Version>
<PackageVersion>3.0.0</PackageVersion>
<Title>Apache log4net</Title>
<Product>Apache log4net</Product>
<Description>
Expand Down Expand Up @@ -31,7 +31,7 @@
<RepositoryUrl>https://github.com/apache/logging-log4net</RepositoryUrl>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Platforms>AnyCPU</Platforms>
<TargetFrameworks>net20;net35;net40;net40-client;net45;netstandard1.3;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
<Configurations>Debug;Release</Configurations>
<LangVersion>latest</LangVersion>
<RootNamespace>log4net</RootNamespace>
Expand Down Expand Up @@ -73,31 +73,11 @@
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net40-client'">
<TargetFrameworkIdentifier>.NETFramework</TargetFrameworkIdentifier>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<OutDir>..\..\build\$(Configuration)\net40-client</OutDir>
<DefineConstants>$(DefineConstants);NET_2_0;NET_4_0;CLIENT_PROFILE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard1.3'">
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD1_3</DefineConstants>
<NoWarn>1574</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants>
<NoWarn>1574</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net20'">
<DefineConstants>$(DefineConstants);NET_2_0</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net35'">
<DefineConstants>$(DefineConstants);NET_2_0;NET_3_5</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net40'">
<DefineConstants>$(DefineConstants);NET_2_0;NET_4_0</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net45'">
<PropertyGroup Condition="'$(TargetFramework)'=='net462'">
<DefineConstants>$(DefineConstants);NET_2_0;NET_4_0;NET_4_5</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)'=='Debug' ">
Expand All @@ -123,57 +103,10 @@
<Name>System.XML</Name>
</Reference>
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='netstandard1.3'">
<PackageReference Include="System.AppContext" Version="4.3.0" />
<PackageReference Include="System.Collections.NonGeneric" Version="4.0.1" />
<PackageReference Include="System.Console" Version="4.3.0" />
<PackageReference Include="System.Data.Common" Version="4.1.0" />
<PackageReference Include="System.Diagnostics.Debug" Version="4.3.0" />
<PackageReference Include="System.Diagnostics.Process" Version="4.1.0" />
<PackageReference Include="System.Diagnostics.StackTrace" Version="4.0.1" />
<PackageReference Include="System.Diagnostics.TraceSource" Version="4.0.0" />
<PackageReference Include="System.IO.FileSystem" Version="4.3.0" />
<PackageReference Include="System.IO.FileSystem.Watcher" Version="4.0.0" />
<PackageReference Include="System.Linq" Version="4.3.0" />
<PackageReference Include="System.Net.NameResolution" Version="4.0.0" />
<PackageReference Include="System.Net.Requests" Version="4.0.11" />
<PackageReference Include="System.Net.Sockets" Version="4.3.0" />
<PackageReference Include="System.Reflection" Version="4.3.0" />
<PackageReference Include="System.Reflection.Extensions" Version="4.3.0" />
<PackageReference Include="System.Reflection.TypeExtensions" Version="4.1.0" />
<PackageReference Include="System.Runtime.Extensions" Version="4.3.1" />
<PackageReference Include="System.Runtime.InteropServices" Version="4.3.0" />
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" />
<PackageReference Include="System.Runtime.Serialization.Formatters" Version="4.3.0" />
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
<PackageReference Include="System.Text.Encoding" Version="4.3.0" />
<PackageReference Include="System.Threading" Version="4.3.0" />
<PackageReference Include="System.Threading.Thread" Version="4.0.0" />
<PackageReference Include="System.Threading.Timer" Version="4.3.0" />
<PackageReference Include="System.Xml.ReaderWriter" Version="4.3.0" />
<PackageReference Include="System.Xml.XmlDocument" Version="4.0.1" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
<Visible>False</Visible>
<ProductName>Windows Installer 3.1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<ItemGroup>
<Compile Remove="Log4netAssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
Expand Down
20 changes: 10 additions & 10 deletions src/site/xdoc/download_log4net.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ limitations under the License.

</section>

<section name="log4net 2.0.16">
<section name="log4net 3.0.0">

<subsection name="Source">
<table>
<tr>
<td><a href="https://downloads.apache.org/logging/log4net/source/apache-log4net-source-2.0.16.zip">apache-log4net-source-2.0.16.zip</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/source/apache-log4net-source-2.0.16.zip.sha512">sha512</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/source/apache-log4net-source-2.0.16.zip.asc">pgp</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/source/apache-log4net-source-3.0.0.zip">apache-log4net-source-3.0.0.zip</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/source/apache-log4net-source-3.0.0.zip.sha512">sha512</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/source/apache-log4net-source-3.0.0.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
Expand All @@ -52,14 +52,14 @@ limitations under the License.
<p>Binaries are available in a zip file or nupkg, which is also available from <a href="https://www.nuget.org/packages/log4net/">nuget.org</a></p>
<table>
<tr>
<td><a href="https://downloads.apache.org/logging/log4net/binaries/apache-log4net-binaries-2.0.16.zip">log4net-binaries-2.0.16.zip</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/binaries/apache-log4net-binaries-2.0.16.zip.sha512">sha512</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/binaries/apache-log4net-binaries-2.0.16.zip.asc">pgp</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/binaries/apache-log4net-binaries-3.0.0.zip">log4net-binaries-3.0.0.zip</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/binaries/apache-log4net-binaries-3.0.0.zip.sha512">sha512</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/binaries/apache-log4net-binaries-3.0.0.zip.asc">pgp</a></td>
</tr>
<tr>
<td><a href="https://downloads.apache.org/logging/log4net/binaries/apache-log4net.2.0.16.nupkg">log4net-2.0.16.nupkg</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/binaries/apache-log4net.2.0.16.nupkg.sha512">sha512</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/binaries/apache-log4net.2.0.16.nupkg.asc">pgp</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/binaries/apache-log4net.3.0.0.nupkg">log4net-3.0.0.nupkg</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/binaries/apache-log4net.3.0.0.nupkg.sha512">sha512</a></td>
<td><a href="https://downloads.apache.org/logging/log4net/binaries/apache-log4net.3.0.0.nupkg.asc">pgp</a></td>
</tr>
</table>
</subsection>
Expand Down
21 changes: 21 additions & 0 deletions src/site/xdoc/release/release-notes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,27 @@ limitations under the License.
<body>

<section id="main" name="Apache log4net&#x2122; Release Notes">
<section id="3.0.0" name="3.0.0">
Attention: Starting with 3.0.0 we only support the followeing target frameworks
<ul>
<li>net462</li>
<li>netstandard2.0</li>
</ul>
The reasoning for this change can be found in <a href="https://github.com/apache/logging-log4net/issues/111">Dropping support for older runtimes</a>

Apache log4net 3.0.0 addresses reported issues:
<section id="3.0.0-bug" name="Bug fixes">
<ul>
</ul>
</section>
<section id="3.0.0-enhancements" name="Enhancements">
<ul>
<li>
<a href="https://github.com/apache/logging-log4net/issues/111">Dropping support for older runtimes (by @fluffynuts and @freeandnil)</a>
</li>
</ul>
</section>
</section>
<section id="2.0.16" name="2.0.16">
Apache log4net 2.0.16 addresses reported issues:
<section id="2.0.16-bug" name="Bug fixes">
Expand Down

0 comments on commit fa1edf5

Please sign in to comment.