This is a preview of a major release of IdentityModel, bringing support for RFC 9126 - Pushed Authorization Requests (PAR), bug fixes and updates.
What's Changed
Breaking changes
* 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.
New Feature
* PAR Support by josephdecock in https://github.com/IdentityModel/IdentityModel/pull/551
Fixes and Improvements
* Improve nullable annotations for IsMissing/IsPresent string extensions by 0xced in https://github.com/IdentityModel/IdentityModel/pull/526
* Add trimmable analysis project by josephdecock in https://github.com/IdentityModel/IdentityModel/pull/546
* Add "roles" to standard claim types by leverse-tjip in https://github.com/IdentityModel/IdentityModel/pull/519
* Change to Dictionary<string, JsonElement> for DCR extension data by josephdecock in https://github.com/IdentityModel/IdentityModel/pull/540
Dependency Updates
* Bump Microsoft.NET.Test.Sdk from 17.3.0 to 17.7.0 by dependabot in https://github.com/IdentityModel/IdentityModel/pull/525
* Bump xunit from 2.4.2 to 2.5.0 by dependabot in https://github.com/IdentityModel/IdentityModel/pull/522
* Bump xunit from 2.5.0 to 2.6.6 by dependabot in https://github.com/IdentityModel/IdentityModel/pull/547
* Bump xunit.runner.visualstudio from 2.4.5 to 2.5.6 by dependabot in https://github.com/IdentityModel/IdentityModel/pull/542
* Bump Microsoft.NET.Test.Sdk from 17.7.0 to 17.8.0 by dependabot in https://github.com/IdentityModel/IdentityModel/pull/536
* Bump Microsoft.SourceLink.GitHub from 1.1.1 to 8.0.0 by dependabot in https://github.com/IdentityModel/IdentityModel/pull/537
New Contributors
* 0xced made their first contribution in https://github.com/IdentityModel/IdentityModel/pull/526
* leverse-tjip made their first contribution in https://github.com/IdentityModel/IdentityModel/pull/519
**Full Changelog**: https://github.com/IdentityModel/IdentityModel/compare/6.2.0...7.0.0-preview.1