4.0.0
Bug fixes:
- Prevent calling virtual method RegisterResolvers inside constructor #170
- Lower the lower bound for ASP.NET Core 2.1 support w/o conflicts a268f90
- Fix resolvers: 5434672
Features:
- Changes to support async ResolveClient within IClientResolveContributor #168
- Remove unnecessary dependency on the IHttpContextAccessor #175
- Add endpoint quota exceeded response #205
- Allow a Processing Strategy to be injected and configured via new startup extension methods (support for atomic Redis increment - many thanks to @nick-cromwell) #180
How to inject the [processing strategy] (https://github.com/stefanprodan/AspNetCoreRateLimit/blob/master/src/AspNetCoreRateLimit/StartupExtensions.cs) if you're not using the default Startup extensions:
services.AddSingleton<IProcessingStrategy, AsyncKeyLockProcessingStrategy>();
// services.AddSingleton<IProcessingStrategy, RedisProcessingStrategy>();