Skip to content

Releases: JGLTechnologies/gin-rate-limit

V1.5.5

19 Dec 20:12
4eb02c3
Compare
Choose a tag to compare

Update go version and dependencies

v1.5.4

22 Feb 18:34
6b2e0e8
Compare
Choose a tag to compare

Rate-Limit header info updated according to standards

v1.5.3

22 Feb 04:05
Compare
Choose a tag to compare

Update To go-redis v9

v1.5.2

04 Sep 22:07
Compare
Choose a tag to compare

Allow options to be nil in ratelimit.RateLimiter()

v1.5.1

05 Aug 20:14
Compare
Choose a tag to compare

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

27 Jul 02:47
Compare
Choose a tag to compare

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

21 Jul 13:30
Compare
Choose a tag to compare

Change name from GinRateLimit to gin-rate-limit

v1.3.1

21 Jul 13:27
Compare
Choose a tag to compare

Bug fix in redis.go and changed to sync.Map in the in memory rate limiter

v1.3.0

16 Jul 09:54
Compare
Choose a tag to compare

added panicOnErr arg to redis rate limiter. also cleaned up and optomized some code

v1.2.0

19 Jun 05:48
Compare
Choose a tag to compare

Remaining time is now passed into error handler