Releases: JGLTechnologies/gin-rate-limit
V1.5.5
v1.5.4
Rate-Limit header info updated according to standards
v1.5.3
Update To go-redis v9
v1.5.2
Allow options to be nil in ratelimit.RateLimiter()
v1.5.1
Added BeforeResponse() to Options, Changed Store.Limit() to take in a key, *gin.Context and return ratelimit.Info. ErrorHandler now takes in Info instead of remaining time. Moved Skip from Options into The store options.
Check README.md to see the updates.
v1.4.0
Added RedisOptions
and InMemoryOptions
, added Skip(c *gin.Context) bool
to the Store
interface, and changed compatibility to 1.17.
Check README for breaking changes.
v1.3.5
Change name from GinRateLimit to gin-rate-limit
v1.3.1
Bug fix in redis.go and changed to sync.Map in the in memory rate limiter
v1.3.0
added panicOnErr arg to redis rate limiter. also cleaned up and optomized some code
v1.2.0
Remaining time is now passed into error handler