Skip to content

Releases: AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet

7.4.0-preview1

12 Feb 19:16
Compare
Choose a tag to compare
7.4.0-preview1 Pre-release
Pre-release

Performance Improvements:

  • The existing JsonWebToken constructors now utilizes ReadOnlyMemory and Span to extract token segments, eliminating the need for string.split operations.
  • A new constructor has been introduced that accepts ReadOnlyMemory of an encoded token. See issue #2487.

Performance Assessment on .NET 8:

  • When using the preview version and opting for the constructor that accepts a string for the encoded token, the generation of a JWS yields a 3.95% decrease in memory usage, a 4.52% reduction in Gen0 and a 4.61% decrease in execution time compared to the latest release.
  • The performance of the constructor that accepts ReadOnlyMemory is comparable to the constructor accepting a string for the encoded token, both for JWS and JWE.

Preview branch:
image

Dev (main) branch:
image

View the benchmarks here.

7.3.1

03 Feb 04:38
7bd92b8
Compare
Choose a tag to compare

7.3.1

Bug Fixes:

  • Replace propertyName with MetadataName constant. See issue #2471 for details.
  • Fix 6x to 7x regression where mixed cases OIDC json was not correctly process. See #2404 and #2402 for details.

Performance Improvements:

  • Update the benchmark configuration. See issue #2468.

Documentation:

  • Update comment for azp in JsonWebToken. See #2475 for details.
  • Link to breaking change announcement. See [#2478].
  • Fix typo in log message. See [#2479].

7.3.0

30 Jan 07:24
e7eb8b7
Compare
Choose a tag to compare

New Features

Addition of the ClientCertificates property to the HttpRequestData class enables exposure of certificate collection involved in authenticating the client against the server and unlock support of new scenarios within the SDK. See PR #2462 for details.

Bug Fixes

Fixed bug where x5c property is empty in JwtHeader after reading a JWT containing x5c in its header, issue #2447, see PR #2460 for details.
Fixed bug where JwtPayload.Claim.Value was not culture invariant #2409. Fixed by PRs #2453 and #2461.
Fixed bug where Guid values in JwtPayload caused an exception, issue #2439. Fixed by PR #2440.

Performance Improvements

Remove linq from BaseConfigurationComparer, improvement #2464, for additional details see PR #2465.

Engineering Excellence

New benchmark tests for AsymmetricAdapter signatures. For details see PR #2449.

7.2.0

12 Jan 02:00
54face8
Compare
Choose a tag to compare

7.2.0

Performance Improvements:

Reduce allocations and transformations when creating a token #2395.
Update Esrp Code Signing version to speed up release build #2429.

Engineering Excellence:

Improve benchmark consistency #2428.
Adding P50, P90 and P100 percentiles to benchmarks #2411.
Decouple benchmark tests from test projects #2413.
Include pack step in PR builds #2442.

Fundamentals:

Improve logging in Wilson for failed token validation when key not found #2436.
Remove conditional Net8.0 compilation #2424.

6.35.0

09 Jan 18:05
Compare
Choose a tag to compare

Bug Fix

  • fix AadIssuerValidator's handling of trailing forward slashes. See issue [#2415] for more details.

Feature

  • Adds an AppContext switch to control HMAC key size verification. See #2421 for more details.

7.1.2

09 Jan 18:03
Compare
Choose a tag to compare

5.7.0

09 Jan 18:00
Compare
Choose a tag to compare

7.0.3

17 Oct 03:11
bb354ce
Compare
Choose a tag to compare

7.0.3

Bug Fixes:

  • Fix errors like the following reported by multiple customers at dotnet/aspnetcore#51005 when they tried to upgrade their app using AddMicrosoftIdentityWebApp to .NET 8. See PR for details.
  • Fix compatibility issue with 6x when claims are a bool. See issue #2354 for details.

6.34.0

09 Jan 18:03
Compare
Choose a tag to compare

6.33.0

04 Oct 00:02
9d9925e
Compare
Choose a tag to compare

Bug Fixes:

  • Clean up log messages. See #2339 for details.
  • Decouple JsonElements from JsonDocument, which causes issues in multi-threaded environments. See #2340 for details.