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 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
* Expand readme and add to nuget package by josephdecock in https://github.com/IdentityModel/IdentityModel/pull/559
* Make raw response available from non-json userinfo responses by josephdecock in https://github.com/IdentityModel/IdentityModel/pull/556
* Error Handling Improvements by josephdecock in https://github.com/IdentityModel/IdentityModel/pull/564
Dependency Updates
External Dependencies
* Update System.Text.Json version by josephdecock in https://github.com/IdentityModel/IdentityModel/pull/552
* Remove support for .NET 4.6.1 by josephdecock in https://github.com/IdentityModel/IdentityModel/pull/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 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 from 2.6.6 to 2.7.0 by dependabot in https://github.com/IdentityModel/IdentityModel/pull/562
* Bump xunit.runner.visualstudio from 2.4.5 to 2.5.6 by dependabot in https://github.com/IdentityModel/IdentityModel/pull/542
* Bump xunit.runner.visualstudio from 2.5.6 to 2.5.7 by dependabot in https://github.com/IdentityModel/IdentityModel/pull/561
* 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.NET.Test.Sdk from 17.8.0 to 17.9.0 by dependabot in https://github.com/IdentityModel/IdentityModel/pull/554
* 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