github DuendeSoftware/foss im-8.0.0-preview.1
Duende.IdentityModel 8.0.0 Preview 1

pre-releaseone day ago

This is a preview release which contains a mix of bug fixes, enhancements, a few breaking changes, and support for .NET 10 RC2.

Breaking Changes

  • Remove Base64Url, using SDK/Runtime provided type instead. by @damianh in #249
  • Removed Obsolete DateTimeExtensions by @bhazen in #255
  • Make DynamicClientRegistrationDocument.Extensions Non Nullable by @bhazen in #258

Enhancements

Bug Fixes

Upgrading

Replacing Use of Base64Url

Code which was previously using the public static Base64Url class from this library, should be updated to use the Base64Url class found in the System.Buffers.Text namespace.

Uses of the Encode method should be replaced with the EncodeToString method and uses of the Decode method should be replaced with the DecodeFromChars method.

For example, code which previously looked like this:

var jsonString = Base64Url.Decode(payload);

should be updated to this:

using System.Buffers.Text;

var jsonString = Base64Url.DecodeFromChars(payload);

Replacing Use of DateTimeExtensions

Code which was previously using the public static DateTimeExtensions class from this library, should be updated to use DateTimeOffset.ToUnixTimeSeconds() instead.

For example. code which previously looked like this:

DateTime.UtcNow.ToEpochTime()

should be updated to this:

DateTimeOffset.UtcNow.ToUnixTimeSeconds()

Handling DynamicClientRegistrationDocument.Extensions Now Being Non-Nullable

Any code which was explicitly setting the Extensions property of the DynamicClientRegistrationDocument.Extensions to null, should be updated to instead set it to an empty dictionary.

Contributors

Thanks to the Duende.IdentityModel community for your involvement with issues and pull requests!

Don't miss a new foss release

NewReleases is sending notifications on new releases.