Releases: go-chi/httprate-redis
Releases · go-chi/httprate-redis
v0.5.3
What's Changed
- Fallback to local in-memory counter if Redis is unavailable by @VojtechVitek in #15
- Fallback on all Redis errors by @VojtechVitek in #16
- Add test case for local in-memory fallback by @VojtechVitek in #17
- Implement OnError and OnFallbackChange callbacks by @VojtechVitek in #18
- fix Client opt by @ddo in #20
- NewRedisLimitCounter: no error to return by @klaidliadon in #21
- Relax the fallback timeout by default by @VojtechVitek in #22
New Contributors
Full Changelog: v0.4.0...v0.5.3
v0.5.2
What's Changed
- Fallback on all Redis errors by @VojtechVitek in #16
- Add test case for local in-memory fallback by @VojtechVitek in #17
- Implement OnError and OnFallbackChange callbacks by @VojtechVitek in #18
- fix Client opt by @ddo in #20
New Contributors
Full Changelog: v0.5.0...v0.5.2
v0.5.1
What's Changed
- Fallback on all Redis errors by @VojtechVitek in #16
- Add test case for local in-memory fallback by @VojtechVitek in #17
- Implement OnError and OnFallbackChange callbacks by @VojtechVitek in #18
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
- Fallback to local in-memory counter if Redis is unavailable by @VojtechVitek in #15
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
- Add cfg.ClientName, so clients can pass their name identifier by @VojtechVitek in #7
- Update depenencies by @VojtechVitek in #8
- Allow configuring custom Redis key prefix by @VojtechVitek in #9
- Add robust test case & run it against Redis in CI by @VojtechVitek in #10
- Improve README by @VojtechVitek in #11
- Implement benchmark for Redis backend by @VojtechVitek in #12
- Improve performance by using MULTI and MGET commands by @VojtechVitek in #13
- Use MULTI transaction for INCR + EXPIRE will guarantee that we won't ever create any keys without expiry
- Use MGET to fetch both previous and current window counters in a single atomic operation will improve throughput
Performacne
- 1.3x speedup in CI 🚀
- 2x speedup on my macOS M2 laptop 🚀 🚀
New Contributors
- @VojtechVitek made their first contribution in #7
Full Changelog: v0.3.0...v0.4.0