Releases: Hawxy/Auth0Net.DependencyInjection
Releases · Hawxy/Auth0Net.DependencyInjection
v4.0.0
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
to1.4.1
- Bumped
Auth0.*
packages to7.29.0
v3.2.0
Features
- Add support for
netstandard2.0
targets (contributed by @stevenvolckaert).
Misc
- Update Auth0.NET to 7.26.1
- Update FusionCache to 1.0.0
v3.1.0
v3.0.0 🎉
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
toAudience
. - 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 returnValueTask
instead ofTask
.
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 🚀
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 theManagementApiClient
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;
}