Added support for .NET 10.0 and C#14, removed support for .NET 6.0
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# The image should use the same version as the UnitTests are
|
# The image should use the same version as the UnitTests are
|
||||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
image: mcr.microsoft.com/dotnet/sdk:10.0
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
TZ: Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
|
|||||||
10
CHANGELOG.md
10
CHANGELOG.md
@@ -22,21 +22,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- `DomainComparer` ordering alphabetically from TLD to sub-domain
|
- `DomainComparer` ordering alphabetically from TLD to sub-domain
|
||||||
- `IPAddressComparer` able to compare IPv4 and IPv6
|
- `IPAddressComparer` able to compare IPv4 and IPv6
|
||||||
- `VersionStringComparer` to compare version strings (SemVer)
|
- `VersionStringComparer` to compare version strings (SemVer)
|
||||||
|
- Support for .NET 10.0 LTS
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Solution restructured to use multiple test projects
|
- Solution restructured to use multiple test projects
|
||||||
- Optimized for C# 12
|
- Optimized for C# 14
|
||||||
- `IPNetwork` is used from (as `Microsoft.AspNetCore.HttpOverrides` is tagged as "out of support"):
|
- `IPNetwork` is used from (as `Microsoft.AspNetCore.HttpOverrides` is tagged as "out of support"):
|
||||||
- .NET Standard 2.0 and .NET 6.0: `Microsoft.AspNetCore.HttpOverrides.IPNetwork`
|
- .NET Standard 2.0: `Microsoft.AspNetCore.HttpOverrides.IPNetwork`
|
||||||
- .NET 8.0: `System.Net.IPNetwork`
|
- .NET 8.0 and later: `System.Net.IPNetwork`
|
||||||
- Moved `MessagePack` formatter extensions to own package `AMWD.Common.MessagePack`
|
- Moved `MessagePack` formatter extensions to own package `AMWD.Common.MessagePack`
|
||||||
- `GetAlignedInterval()` (without Local/Utc) is now public accessible
|
- `GetAlignedInterval()` (without Local/Utc) is now public accessible
|
||||||
- Using native `Convert.FromHexString` on .NET 8.0 on `HexToBytes` extension
|
- Using native `Convert.FromHexString` on .NET 8.0 and later on `HexToBytes` extension
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
- `GetDisplayName` for enum values was removed
|
- `GetDisplayName` for enum values was removed
|
||||||
|
- Support for .NET 6.0 LTS
|
||||||
|
|
||||||
|
|
||||||
## asp/v3.0.0, efc/v3.0.0 - 2023-12-28
|
## asp/v3.0.0, efc/v3.0.0 - 2023-12-28
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<LangVersion>12.0</LangVersion>
|
<LangVersion>14.0</LangVersion>
|
||||||
|
|
||||||
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
|
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
|
||||||
<CopyRefAssembliesToPublishDirectory>false</CopyRefAssembliesToPublishDirectory>
|
<CopyRefAssembliesToPublishDirectory>false</CopyRefAssembliesToPublishDirectory>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
|
||||||
|
|
||||||
<AssemblyName>amwd-common-aspnetcore</AssemblyName>
|
<AssemblyName>amwd-common-aspnetcore</AssemblyName>
|
||||||
<RootNamespace>AMWD.Common.AspNetCore</RootNamespace>
|
<RootNamespace>AMWD.Common.AspNetCore</RootNamespace>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
|
||||||
|
|
||||||
<AssemblyName>amwd-common-efcore</AssemblyName>
|
<AssemblyName>amwd-common-efcore</AssemblyName>
|
||||||
<RootNamespace>AMWD.Common.EntityFrameworkCore</RootNamespace>
|
<RootNamespace>AMWD.Common.EntityFrameworkCore</RootNamespace>
|
||||||
@@ -11,13 +11,6 @@
|
|||||||
<Product>AM.WD Common Library for EntityFramework Core</Product>
|
<Product>AM.WD Common Library for EntityFramework Core</Product>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
|
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.0" />
|
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="6.0.0" />
|
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.0" />
|
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.0" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
|
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.0" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.0" />
|
||||||
@@ -25,4 +18,11 @@
|
|||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
|
||||||
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.0" />
|
||||||
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="10.0.0" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.0" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.0" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;net6.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net8.0;net10.0</TargetFrameworks>
|
||||||
|
|
||||||
<AssemblyName>amwd-common-msgpack</AssemblyName>
|
<AssemblyName>amwd-common-msgpack</AssemblyName>
|
||||||
<RootNamespace>AMWD.Common.MessagePack</RootNamespace>
|
<RootNamespace>AMWD.Common.MessagePack</RootNamespace>
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
<PackageReference Include="MessagePack" Version="2.5.198" />
|
<PackageReference Include="MessagePack" Version="2.5.198" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="'$(TargetFramework)' != 'net8.0'">
|
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
|
||||||
<PackageReference Include="Microsoft.AspNetCore.HttpOverrides" Version="2.1.1" />
|
<PackageReference Include="Microsoft.AspNetCore.HttpOverrides" Version="2.1.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net8.0;net10.0</TargetFrameworks>
|
||||||
|
|
||||||
<AssemblyName>amwd-common</AssemblyName>
|
<AssemblyName>amwd-common</AssemblyName>
|
||||||
<RootNamespace>AMWD.Common</RootNamespace>
|
<RootNamespace>AMWD.Common</RootNamespace>
|
||||||
@@ -24,4 +24,8 @@
|
|||||||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.0" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user