github go-chi/httprate v0.16.0

7 hours ago

What's Changed

  • perf: replace fmt with strconv to reduce allocations by @EricGusmao in #55
  • local counter: align windows to reset at sub-millisecond counter start by @VojtechVitek in #58
  • test: drop golang.org/x/sync dependency (errgroup → sync.WaitGroup) by @VojtechVitek in #59
  • perf: use zero-alloc xxh3.HashString on the local counter hot path by @VojtechVitek in #60
  • Deprecate spoofable RealIP rate-limiting; add LimitBy + KeyFromContext and modernize the key API by @VojtechVitek in #61

New Contributors

Full Changelog: v0.15.0...v0.16.0

Don't miss a new httprate release

NewReleases is sending notifications on new releases.