Skip to content

Commit bcd4473

Browse files
authored
Update IdentityModel to 7.4.1 (#293)
1 parent 73f9d31 commit bcd4473

5 files changed

+16
-47
lines changed

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</PropertyGroup>
1111
<PropertyGroup>
1212
<AbstractionsXunitReleaseVersion>2.0.3</AbstractionsXunitReleaseVersion>
13-
<AzureActiveDirectoryIdentityModelExtensionsForDotNetReleaseVersion>7.1.2</AzureActiveDirectoryIdentityModelExtensionsForDotNetReleaseVersion>
13+
<AzureActiveDirectoryIdentityModelExtensionsForDotNetReleaseVersion>7.4.1</AzureActiveDirectoryIdentityModelExtensionsForDotNetReleaseVersion>
1414
<CssParserReleaseVersionSuffix>20230414.1</CssParserReleaseVersionSuffix>
1515
<HumanizerReleaseVersion>2.14.1</HumanizerReleaseVersion>
1616
<MSBuildLocatorReleaseVersion>1.6.10</MSBuildLocatorReleaseVersion>

patches/azure-activedirectory-identitymodel-extensions-for-dotnet/0001-fix-for-source-build.patch

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ Subject: [PATCH] fix for source build
2222
15 files changed, 8 insertions(+), 89 deletions(-)
2323

2424
diff --git a/build/common.props b/build/common.props
25-
index 9f99de11..143d8509 100644
25+
index 7f22eb03..ec229fc2 100644
2626
--- a/build/common.props
2727
+++ b/build/common.props
28-
@@ -35,7 +35,7 @@
28+
@@ -46,7 +46,7 @@
2929
</PropertyGroup>
3030

3131
<PropertyGroup>
@@ -34,12 +34,12 @@ index 9f99de11..143d8509 100644
3434
<PackageValidationBaselineVersion>7.0.0</PackageValidationBaselineVersion>
3535
</PropertyGroup>
3636

37-
@@ -47,9 +47,5 @@
37+
@@ -58,9 +58,5 @@
3838
<NoWarn>$(NoWarn);SYSLIB0050</NoWarn>
3939
<NoWarn>$(NoWarn);SYSLIB0051</NoWarn>
4040
</PropertyGroup>
4141
-
42-
- <ItemGroup Condition="'$(TargetFramework)' != 'net8.0'">
42+
- <ItemGroup>
4343
- <PackageReference Include="Microsoft.SourceLink.GitHub" Version="$(MicrosoftSourceLinkGitHubVersion)" PrivateAssets="All"/>
4444
- </ItemGroup>
4545

@@ -68,21 +68,21 @@ index 23e1b910..254f709e 100644
6868

6969
</Project>
7070
diff --git a/build/targets.props b/build/targets.props
71-
index f020b59b..934aae74 100644
71+
index eb2d3523..e9cde8f0 100644
7272
--- a/build/targets.props
7373
+++ b/build/targets.props
7474
@@ -1,7 +1,7 @@
7575
<Project>
7676
<PropertyGroup>
77-
- <SrcTargets Condition="'$(TargetNet8)' == 'True'">net461;net462;net472;netstandard2.0;net6.0;net8.0</SrcTargets>
78-
- <SrcTargets Condition="'$(TargetNet8)' != 'True'">net461;net462;net472;netstandard2.0;net6.0</SrcTargets>
79-
+ <SrcTargets Condition="'$(TargetNet8)' == 'True'">netstandard2.0;net6.0;net8.0</SrcTargets>
80-
+ <SrcTargets Condition="'$(TargetNet8)' != 'True'">netstandard2.0;net6.0</SrcTargets>
77+
- <SrcTargets Condition="'$(LocalBuild)' != 'True'">net461;net462;net472;netstandard2.0;net6.0;net8.0</SrcTargets>
78+
- <SrcTargets Condition="'$(LocalBuild)' == 'True'">net461;netstandard2.0;net8.0</SrcTargets>
79+
+ <SrcTargets Condition="'$(LocalBuild)' != 'True'">netstandard2.0;net6.0;net8.0</SrcTargets>
80+
+ <SrcTargets Condition="'$(LocalBuild)' == 'True'">netstandard2.0;net6.0</SrcTargets>
8181
<SrcStandardTargets>netstandard2.0</SrcStandardTargets>
8282
</PropertyGroup>
8383
</Project>
8484
diff --git a/buildConfiguration.xml b/buildConfiguration.xml
85-
index 83cd80e1..868c5395 100644
85+
index 06e064da..e6bb5701 100644
8686
--- a/buildConfiguration.xml
8787
+++ b/buildConfiguration.xml
8888
@@ -1,7 +1,7 @@
@@ -91,9 +91,9 @@ index 83cd80e1..868c5395 100644
9191
<nugetVersion>3.5.0-rc-1285</nugetVersion>
9292
- <runtimes>net461,netstandard2.0</runtimes>
9393
+ <runtimes>netstandard2.0</runtimes>
94-
<assemblyVersion>7.1.2</assemblyVersion>
95-
<nugetSuffix>preview</nugetSuffix>
9694
<projects>
95+
<src>
96+
<project name="Microsoft.IdentityModel.Logging" />
9797
diff --git a/src/Microsoft.IdentityModel.Abstractions/Microsoft.IdentityModel.Abstractions.csproj b/src/Microsoft.IdentityModel.Abstractions/Microsoft.IdentityModel.Abstractions.csproj
9898
index f7a11afe..4a87af91 100644
9999
--- a/src/Microsoft.IdentityModel.Abstractions/Microsoft.IdentityModel.Abstractions.csproj
@@ -183,7 +183,7 @@ index 0e283fce..d599a4b1 100644
183183
<ProjectReference Include="..\Microsoft.IdentityModel.Protocols\Microsoft.IdentityModel.Protocols.csproj" />
184184
<ProjectReference Include="..\Microsoft.IdentityModel.Tokens.Saml\Microsoft.IdentityModel.Tokens.Saml.csproj" />
185185
diff --git a/src/Microsoft.IdentityModel.Protocols/Microsoft.IdentityModel.Protocols.csproj b/src/Microsoft.IdentityModel.Protocols/Microsoft.IdentityModel.Protocols.csproj
186-
index 87d7a90f..00357f8c 100644
186+
index b0cdcc2e..7f0bb67d 100644
187187
--- a/src/Microsoft.IdentityModel.Protocols/Microsoft.IdentityModel.Protocols.csproj
188188
+++ b/src/Microsoft.IdentityModel.Protocols/Microsoft.IdentityModel.Protocols.csproj
189189
@@ -15,13 +15,6 @@
@@ -198,8 +198,8 @@ index 87d7a90f..00357f8c 100644
198198
- </ItemGroup>
199199
-
200200
<ItemGroup>
201-
<ProjectReference Include="..\Microsoft.IdentityModel.Logging\Microsoft.IdentityModel.Logging.csproj" />
202201
<ProjectReference Include="..\Microsoft.IdentityModel.Tokens\Microsoft.IdentityModel.Tokens.csproj" />
202+
</ItemGroup>
203203
diff --git a/src/Microsoft.IdentityModel.Tokens.Saml/Microsoft.IdentityModel.Tokens.Saml.csproj b/src/Microsoft.IdentityModel.Tokens.Saml/Microsoft.IdentityModel.Tokens.Saml.csproj
204204
index 8859880f..0deb3a3a 100644
205205
--- a/src/Microsoft.IdentityModel.Tokens.Saml/Microsoft.IdentityModel.Tokens.Saml.csproj

patches/azure-activedirectory-identitymodel-extensions-for-dotnet/0002-Remove-commit-SHA-from-version-string.patch

Lines changed: 0 additions & 27 deletions
This file was deleted.

repo-projects/azure-activedirectory-identitymodel-extensions-for-dotnet.proj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
<PackCommandArgs>$(BuildCommandArgs) --output $(ProjectDirectory)pack</PackCommandArgs>
2424
</PropertyGroup>
2525

26-
<!-- Update project assembly info (see https://github.com/dotnet/source-build/issues/3565).
27-
The script being executed is being injected into the repo via a patch. -->
28-
<Exec Command="./updateAssemblyInfo.sh" WorkingDirectory="$(ProjectDirectory)" IgnoreStandardErrorWarningFormat="true" />
29-
3026
<Exec Command="$(DotnetToolCommand) restore /bl:restore.binlog $(SystemIdentityModelTokensJwtProject) $(BuildCommandArgs)"
3127
EnvironmentVariables="@(EnvironmentVariables)"
3228
WorkingDirectory="$(ProjectDirectory)"

0 commit comments

Comments
 (0)