Sourced from github.com/go-chi/httprate's releases.
v0.16.0
What's Changed
- perf: replace fmt with strconv to reduce allocations by
@EricGusmaoin go-chi/httprate#55- local counter: align windows to reset at sub-millisecond counter start by
@VojtechVitekin go-chi/httprate#58- test: drop golang.org/x/sync dependency (errgroup → sync.WaitGroup) by
@VojtechVitekin go-chi/httprate#59- perf: use zero-alloc xxh3.HashString on the local counter hot path by
@VojtechVitekin go-chi/httprate#60- Deprecate spoofable RealIP rate-limiting; add LimitBy + KeyFromContext and modernize the key API by
@VojtechVitekin go-chi/httprate#61New Contributors
@EricGusmaomade their first contribution in go-chi/httprate#55Full Changelog: https://github.com/go-chi/httprate/compare/v0.15.0...v0.16.0
741b4a5
Deprecate spoofable RealIP rate-limiting; add LimitBy + KeyFromContext
and mo...81255de
perf: use zero-alloc xxh3.HashString on the local counter hot path (#60)0c2093a
test: replace golang.org/x/sync/errgroup with sync.WaitGroup (#59)89e5cca
local counter: align windows to reset at sub-millisecond counter start
(#58)be2ba84
replace fmt with strconv to reduce allocations (#55)