Skip to content

Commit

Permalink
Merge pull request #30 from DuendeSoftware/dh/im-drop-net6
Browse files Browse the repository at this point in the history
IdentityModel  - drop support for `net6.0` and add `net9.0` to tests
  • Loading branch information
damianh authored Nov 12, 2024
2 parents 9d253ff + 7c9ab6c commit 75ea566
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 2,803 deletions.
7 changes: 7 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
<IdentityServerVersion>7.0.8</IdentityServerVersion>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net9.0'">
<FrameworkVersion>9.0.0</FrameworkVersion>
<ExtensionsVersion>9.0.0</ExtensionsVersion>
<WilsonVersion>8.0.0</WilsonVersion>
<IdentityServerVersion>7.0.8</IdentityServerVersion>
</PropertyGroup>

<ItemGroup>
<PackageVersion Include="AngleSharp" Version="1.1.2" />
<PackageVersion Include="BullsEye" Version="5.0.0" />
Expand Down
4 changes: 2 additions & 2 deletions identity-model/global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": {
"version": "8.0.100",
"version": "9.0.0",
"rollForward": "latestMajor",
"allowPrerelease": false
"allowPrerelease": true
}
}
2 changes: 1 addition & 1 deletion identity-model/src/IdentityModel/IdentityModel.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<AssemblyName>Duende.IdentityModel</AssemblyName>
<RootNamespace>Duende.IdentityModel</RootNamespace>
<Description>OpenID Connect &amp; OAuth 2.0 client library</Description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<RootNamespace>Duende.IdentityModel</RootNamespace>
<Nullable>disable</Nullable>
</PropertyGroup>
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace Duende.IdentityModel.Verifications;

public class PublicApiVerificationTests
{
#if NET8_0
[Fact]
public async Task VerifyPublicApi()
{
Expand All @@ -16,7 +17,7 @@ public async Task VerifyPublicApi()
};
var publicApi = typeof(JwtClaimTypes).Assembly.GeneratePublicApi(apiGeneratorOptions);
var settings = new VerifySettings();
settings.UniqueForTargetFrameworkAndVersion();
await Verify(publicApi, settings);
}
#endif
}

0 comments on commit 75ea566

Please sign in to comment.