Skip to content

Releases: Hawxy/Auth0Net.DependencyInjection

v5.2.0

20 Nov 11:46
e6bcea7

Choose a tag to compare

New Features

  • Added support for .NET 10.

Misc

  • Reduced maximum default retries in resiliency extensions to 4. This will prevent excessive backoff when Auth0 is returning error codes.
  • Bumped Auth0.* packages to 7.42.0

v5.1.0

12 May 14:35
7c21de6

Choose a tag to compare

New Features

  • AddAuth0RateLimitResilience is now available for open usage and the experimental attribute has been removed. See the README section for usage information.

Misc

  • Updated Auth0.* clients to 7.36.0
  • Updated FusionCache to 2.2.0
  • Updated Microsoft.Extensions.Http.Resilience to 8.10.0 & 9.4.0 for the respective .NET versions.

v5.0.0

30 Jan 16:16
79a458b

Choose a tag to compare

Breaking Changes

  • Dropped .NET Standard 2.0 target, added .NET Framework 4.8
  • Updated FusionCache to v2.0.0
  • Updated Microsoft.Extensions.Caching.Memory to 9.0.1

New Features

  • Added new AddAuth0RateLimitResilience extension method that applies enhanced rate limit behavior to the Auth0 client. This'll read the rate limit header and backoff as required, avoiding the unreliable random-backoff approach built into the client. Give this a go if you regularly hit Auth0's rate limit as it should be more reliable. This API is marked as experimental and may be modified or removed at any time.

Misc

  • Bumped Auth0.* packages to 7.32.0

v4.0.0

17 Nov 09:45
16b8606

Choose a tag to compare

Breaking Changes

  • Dropped official support for .NET 6/7 and removed testing targets.
  • Added .NET 9 target and relevant dependencies

Misc

  • Bumped Microsoft.Extensions.Caching.Memory to resolve CVE warnings.
  • Bumped ZiggyCreatures.FusionCache to 1.4.1
  • Bumped Auth0.* packages to 7.29.0

v3.2.0

08 Mar 09:56
13016bf

Choose a tag to compare

Features

Misc

  • Update Auth0.NET to 7.26.1
  • Update FusionCache to 1.0.0

v3.1.0

21 Dec 07:26
68d3c4b

Choose a tag to compare

Features

  • Added an overload that supports using other container services to configure the Authentication client. (Closes #19)

Misc

  • Add .NET 8 target and relevant dependencies (Closes #21)
  • Updated Auth0.NET to 7.25.1

v3.0.0 🎉

20 Jun 03:35

Choose a tag to compare

This is the largest overhaul of this project's internals since creation and includes some learnings from my other project Fga.Net. Cumulative changes should result in better overall performance and reduced allocations.

Breaking Changes

  • Changed namespace of DI extensions to match package (previously nested within the Microsoft namespace)

The scope of the below breaks are minimal and should not impact the vast majority of existing usages.

  • Replaced the internal caching package LazyCache with FusionCache.
  • Removed TokenExpiryBuffer from configuration options, cache internals now uses a mix of background refresh and percentage-based buffering to make this redundant. Token refresh blocking should no longer occur in high-throughput systems.
  • Renamed Management token's AudienceDomainOverride to Audience.
  • Updated Auth0 clients to 7.20.0

New Features

  • Clients are now registered as singletons instead of being scoped and thus can be used within singleton services without issue. (Closes #14)
  • IAuthTokenCache now has cancellation token support. (Closes #16)
  • IAuthTokenCache function calls return ValueTask instead of Task.

Misc

  • Modernized codebase with log generators, file-scoped namespaces, implicit usings & type sealing.
  • Modernized all sample projects.
  • Automated all build and publish infrastructure with Nuke.Build
  • Embedded debug symbols and enabled deterministic builds.

Full Changelog: v2.0.0...v3.0.0

v2.0.0 🚀

12 Nov 07:48
f66133e

Choose a tag to compare

Breaking Changes

  • Dropped support for .NET Core 3.1 & 5.0, supported targets are now .NET 6 & 7.
  • The package now registers the recently added IManagementApiClient interface instead of the ManagementApiClient class. Please update your class dependencies accordingly.
 public class MyAuth0Service : IAuth0Service
{
-    private readonly ManagementApiClient _managementApiClient;

-    public MyAuth0Service(ManagementApiClient managementApiClient)
    {
        _managementApiClient = managementApiClient;
    }

 public class MyAuth0Service : IAuth0Service
{
+    private readonly IManagementApiClient _managementApiClient;

+    public MyAuth0Service(IManagementApiClient managementApiClient)
    {
        _managementApiClient = managementApiClient;
    }

v1.7.0

30 Aug 00:52
1dbe96a

Choose a tag to compare

  • Update Auth0.NET version to deal with Newtonsoft vulnerability.

v1.6.0

22 Feb 03:31
e178392

Choose a tag to compare

  • Add a .NET 6 target
  • Add support for overriding the management token audience when in a custom domain scenario.