This repository has been archived by the owner on Feb 11, 2025. It is now read-only.
IdentityModel 7.0.0 is a major release of IdentityModel. Highlights of this release include:
- Support for RFC 9126 - Pushed Authorization Requests (PAR)
- Cleanup of dependencies
- A README in the github repo and nuget package
What's Changed
Breaking changes
- Support for .NET Framework 4.6.1 has been dropped, as it has not been supported by Microsoft since April 26, 2022.
- Dynamic client registration extension data is now modeled as a Dictionary<string, JsonElement>. This makes the dcr extension data serializable with source generated JSON serialization
- Parameters.AddRequired is now more forgiving of some edge cases. In particular, a call to AddRequired with an existing key but a missing value does not fail, nor will a call with an existing key and value. The intention is to make AddRequired simpler to use when merging values from a request object model into the parameters dictionary.
- We now depend on System.Text.Json version >= 8.0.0 in all .NET Framework builds. .NET builds don't need an explicit dependency.
New Feature
- PAR Support by @josephdecock in #551
Fixes and Improvements
- Improve nullable annotations for IsMissing/IsPresent string extensions by @0xced in #526
- Add trimmable analysis project by @josephdecock in #546
- Add "roles" to standard claim types by @leverse-tjip in #519
- Change to Dictionary<string, JsonElement> for DCR extension data by @josephdecock in #540
- Expand readme and add to nuget package by @josephdecock in #559
- Make raw response available from non-json userinfo responses by @josephdecock in #556
- Error Handling Improvements by @josephdecock in #564
Dependency Updates
External Dependencies
- Update System.Text.Json version by @josephdecock in #552
- Remove support for .NET 4.6.1 by @josephdecock in #566
Internal Dependencies (used in build and test, but won't affect end users)
- Bump Microsoft.NET.Test.Sdk from 17.3.0 to 17.7.0 by @dependabot in #525
- Bump xunit from 2.4.2 to 2.5.0 by @dependabot in #522
- Bump xunit from 2.5.0 to 2.6.6 by @dependabot in #547
- Bump xunit from 2.6.6 to 2.7.0 by @dependabot in #562
- Bump xunit.runner.visualstudio from 2.4.5 to 2.5.6 by @dependabot in #542
- Bump xunit.runner.visualstudio from 2.5.6 to 2.5.7 by @dependabot in #561
- Bump Microsoft.NET.Test.Sdk from 17.7.0 to 17.8.0 by @dependabot in #536
- Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 by @dependabot in #554
- Bump Microsoft.SourceLink.GitHub from 1.1.1 to 8.0.0 by @dependabot in #537
New Contributors
- @0xced made their first contribution in #526
- @leverse-tjip made their first contribution in #519
Full Changelog: 6.2.0...7.0.0