Skip to content

Releases: stefanprodan/AspNetCoreRateLimit

5.0.0

03 Dec 17:46
4935033
Compare
Choose a tag to compare

Remove end-of-support target frameworks:

  • NET 5.0 will reach End of Support on May 10, 2022
  • NET Core 3.1 will reach End of Support on December 13, 2022

This will work on NET 6.0+

4.0.2

12 Mar 12:19
Compare
Choose a tag to compare

NET 6 support: #285
Regex match fixes: #263
Quota response fixes: #244
Remove unused counter store dependencies
Fix Redis strategy (AspNetCoreRateLimit.Redis 1.0.1)

4.0.1

15 Jun 11:57
Compare
Choose a tag to compare
  • Fix #224 - request path ending with '/'
  • Add MonitorMode option to the rate limit rules #217 (when set to true exceeding requests won't fail, but they are logged like they have failed)
    eg:
{        
  "Ip": "84.247.85.232",
   "Rules": [{
        "Endpoint": ".+", 
        "Period": "1m",
        "Limit": 1,
        "MonitorMode": true
    }] 
}

4.0.0

25 May 14:05
Compare
Choose a tag to compare

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>();

3.2.2

12 Nov 11:52
Compare
Choose a tag to compare

Support net5.0 target framework

Fix #137

  • Allow IpWhiteList for ClientRateLimiting with RealIpHeader
  • Allow ClientWhiteList for IpRateLimiting with ClientIdHeader

Add Async suffix to RequestBlockedBehaviorAsync

Fix #155

  • Log messages exceeded count

3.2.1

30 Oct 17:01
Compare
Choose a tag to compare

Target both netstandard2.0 & netcoreapp3.1: 0897e10

  • Keep netstandard2.0 packages at 2.2.0
  • Upgrade netcoreapp3.1 packages at 3.1.9
  • Add framework reference for netcoreapp3.1

3.2.0

29 Oct 10:45
Compare
Choose a tag to compare

Change log:

  • Fix identity resolvers bug: #147
  • Option to set an async callback for blocked requests: #144
  • Clean-up & update dependencies: #138 & 9d4381d
  • Regex filtering: #135
  • Fix overwrite PeriodTimespan bug: #99
  • Sign project assembly to allow usage in projects that require strong naming: #142

3.0.3

13 Mar 16:48
Compare
Choose a tag to compare

2.1.0

31 Aug 11:11
Compare
Choose a tag to compare

Change log

  • use the first IP when multiple IPs are present in the RealIpHeader #10

2.0.0

26 Aug 18:11
Compare
Choose a tag to compare

Change log

  • upgrade to VS 2017 format #24
  • added wildcard matching for routes #25
  • fix ClientId header matching #25