-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Set version to 5.7.0 (instead of existing 5.7.1) as latest release was 5.6.0 * Updated Newtonsoft to a safe version * Ported ZIP related changes and tests from 6x (there are differences in the code structure in 5x and 6x so it was not a clean port) * Refactored some tests dealing with expired hardcoded tokens to be green ---- #### AI description This pull request includes changes across multiple files, primarily related to updating dependencies and adding new tests. Here's a summary: In **dependencies.props** and **dependenciesTest.props**, the version of `JsonNet` has been updated from `10.0.1` to `13.0.1`. In **buildConfiguration.xml**, the `assemblyVersion` has been downgraded from `5.7.1` to `5.7.0`. In **JwtSecurityTokenHandlerTests.cs**, a new `using` directive has been added for `System.Threading.Tasks`. Several new test methods and related data have been added, including `JWEDecompressionSizeTest`, `JweDecompressSizeTheoryData`, and others. Some existing test data has been modified or removed. In **Default.cs**, new properties `Expired` and `ExpiredString` have been added, and the `ExpiresString` has been updated. In **Microsoft.IdentityModel.Protocols.OpenIdConnect.Tests.csproj**, a `PackageReference` to `xunit.runner.console` has been removed. In **SamlSecurityTokenTests.cs**, the condition for a test assertion has been updated to allow for a larger time difference. In **JwtTokenUtilities.cs**, **DeflateCompressionProvider.cs**, **JwtSecurityTokenHandler.cs**, **JsonWebTokenHandler.cs**, and other files, changes have been made related to token compression and decompression, including updates to method signatures and the addition of new properties and methods. In **LogMessages.cs**, a new log message `IDX10814` has been added. In **dependencies.props**, the `JsonNetVersion` has been updated from `10.0.1` to `13.0.1`. Overall, these changes seem to be aimed at improving token handling, particularly with regard to compression and decompression, and updating dependencies. The addition of new tests suggests an effort to ensure these changes are well-validated. Please review the changes carefully to ensure they align with project requirements.
- Loading branch information
George Krechar
authored and
George Krechar
committed
Nov 18, 2023
1 parent
66c2604
commit 4a32908
Showing
19 changed files
with
302 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<packageSources> | ||
<add key="NuGet" value="https://api.nuget.org/v3/index.json" /> | ||
<add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" /> | ||
<clear /> | ||
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" /> | ||
</packageSources> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<packageSources> | ||
<add key="localpackages" value=".\localpackages" /> | ||
<add key="NuGet" value="https://api.nuget.org/v3/index.json" /> | ||
<clear /> | ||
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" /> | ||
</packageSources> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.