Skip to content

Releases: IdentityModel/IdentityModel

7.0.0

09 Apr 19:46
9ce1195
Compare
Choose a tag to compare

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

Fixes and Improvements

Dependency Updates

External Dependencies

Internal Dependencies (used in build and test, but won't affect end users)

New Contributors

Full Changelog: 6.2.0...7.0.0

7.0.0-preview.4

05 Apr 21:50
9ce1195
Compare
Choose a tag to compare
7.0.0-preview.4 Pre-release
Pre-release

Our latest preview of IdentityModel 7 builds on the previous previews, improves error handling, cleans up some dependencies, and adds a nice README to the package. We now no longer support .NET Framework 4.6.1 (which is also not supported by Microsoft).

What's Changed

Full Changelog: 7.0.0-preview.1...7.0.0-preview.4

7.0.0-preview.1

10 Feb 02:21
d39cf0c
Compare
Choose a tag to compare
7.0.0-preview.1 Pre-release
Pre-release

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

Fixes and Improvements

Dependency Updates

New Contributors

Full Changelog: 6.2.0...7.0.0-preview.1

6.2.0

31 Aug 14:35
88dda0f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 6.1.0...6.2.0

6.1.0

26 Apr 14:23
0f96912
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 6.0.0...6.1.0

6.0.0

19 Aug 06:02
2c10f4b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.2.0...6.0.0

5.0.0

13 Jan 10:14
Compare
Choose a tag to compare

Release to go along Duende IdentityServer v5

  • removed all dependencies on JSON.NET
  • re-worked internal parameter handling to allow multiple parameters of same type (required e.g. for resource parameter)

4.1.0

05 Nov 19:16
Compare
Choose a tag to compare

added an additional target for .NET 4.7.2

4.0.0

30 Aug 07:11
Compare
Choose a tag to compare

IdentityModel has been growing organically over the last years, and we felt it is necessary to do some fundamental cleanup. At the same time it is used by a lot of people and companies (currently around 20 million downloads on nuget) – which is a bit scary when doing breaking changes.

But since we are at a point where a new .NET Core runtime is released, and thus many other libraries will release new major version, we thought that this might be a good opportunity to make the changes.

This version is a breaking release!!!

Stay on v3.x if you are using:

  • IdentityServer4 v2.x
  • IdentityServer4.AccessTokenValidation v2.x
  • IdentityModel.AspNetCore.OAuth2Introspection v3.x
  • IdentityModel.OidcClient v2.x

All subsequent major versions of the above mentioned packages have switched to IdentityModel v4 and will be released along with IdentityServer4 v3 on the 23rd September.

In the coming days I will push IdentityModel v4 to nuget – here’s a high level list of the changes.

Target frameworks
I dropped the net452 target – v4 is targeting net461 and netstandard2.0 only.

Removed old *Client classes
I removed the protocol client classes like TokenClient in favour of the newer style extension methods for HttpMessageInvoker (the base class of HttpClient). This allows you to manage the setup and lifetime of the HTTP client yourself.
I added a new TokenClient and IntrospectionClient based on the new design which is now DI and HttpClientFactory friendly. I did that mainly because I needed them in some other project. Give them a try, and see if they work for you as well.

Removed access token related delegating handlers for HttpClient
I never was happy with their design, and they also did not work for some common scenarios. Part of the work has been moved to OidcClient (for native apps) and part of it has been moved to the ASP.NET Core specific IdentityModel.

Updated extension methods
The protocol extensions methods have been re-written from the ground up. The public API surface stayed mostly the same, but certain classes have been renamed for clarity.
The request objects now derive from HttpRequestMessage which gives you more control over the HTTP details (e.g. headers).

Updated Epoch Extensions
Year 2038 is coming! All extensions have been updated to use long instead of int. Alternatively – .NET has built-in support now as well. So feel free to switch to that if you like.

Misc
I probably changed some parameter, classes and namespace names..

3.10.1

23 Oct 04:50
Compare
Choose a tag to compare
  • fix #157
  • add authenticode signing.