Skip to content

Releases: Hawxy/Auth0Net.DependencyInjection

v4.0.0

17 Nov 09:45
16b8606
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
  • Update Auth0.NET version to deal with Newtonsoft vulnerability.

v1.6.0

22 Feb 03:31
e178392
Compare
Choose a tag to compare
  • Add a .NET 6 target
  • Add support for overriding the management token audience when in a custom domain scenario.

v1.5.0

27 Aug 03:53
fef20e3
Compare
Choose a tag to compare
  • Ensure binary compatibility with Auth0.NET v7.9.0

v1.4.1

05 Aug 14:01
b94f8c8
Compare
Choose a tag to compare
  • Update icon & documentation to align with Auth0 Identicons v2
  • Minor dependency updates

v1.4.0

03 Apr 10:51
Compare
Choose a tag to compare
  • Dependency updates
  • Fix up various documentation typos