Skip to content

chore(deps): bump github.com/go-chi/httprate from 0.9.0 to 0.15.0#2

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/go-chi/httprate-0.15.0
Open

chore(deps): bump github.com/go-chi/httprate from 0.9.0 to 0.15.0#2
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/go-chi/httprate-0.15.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Mar 22, 2026

Bumps github.com/go-chi/httprate from 0.9.0 to 0.15.0.

Release notes

Sourced from github.com/go-chi/httprate's releases.

v0.15.0

  • upgrade to xxhash v3

v0.14.0

What's Changed

Add support to rate-limit by custom key from HTTP handler (e.g. by request payload fields)

// Rate-limiter for login endpoint.
loginRateLimiter := httprate.NewRateLimiter(5, time.Minute)
r.Post("/login", func(w http.ResponseWriter, r *http.Request) {
var payload struct {
Username string json:"username"
Password string json:"password"
}
err := json.NewDecoder(r.Body).Decode(&payload)
if err != nil || payload.Username == "" || payload.Password == "" {
w.WriteHeader(400)
return
}
// Rate-limit login at 5 req/min.
if loginRateLimiter.RespondOnLimit(w, r, payload.Username) {
	return
}
w.Write([]byte("login at 5 req/min\n"))

})

Full Changelog: go-chi/httprate@v0.12.1...v0.14.0

v0.13.1

What's Changed

Full Changelog: go-chi/httprate@v0.13.0...v0.13.1

v0.13.0

Full Changelog: go-chi/httprate@v0.13.0...v0.13.0

Add support to rate-limit by custom key from HTTP handler (e.g. by request payload fields)

// Rate-limiter for login endpoint.
loginRateLimiter := httprate.NewRateLimiter(5, time.Minute)
</tr></table> 

... (truncated)

Commits
  • c0b6272 upgrade to xxh3 hashing pkg (#54)
  • 9d627fb Update README.md: add missing 'time' import in code example (#49)
  • 24ebb38 Try to fix Github action access issue (#51)
  • ae11543 Add httpate.Key(string) helper for static keys (#45)
  • 5e681e3 Introduce RespondOnLimit() vs. OnLimit() (#44)
  • c4c778c Export RateLimiter type (#43)
  • 80029e2 Implement rate-limiting from HTTP handler (e.g. by request payload) (#42)
  • 99b3b69 README: Fix typo
  • 62dba55 Implement httprate.WithErrorHandler() (#41)
  • 6aa26b0 Local counter: Don't re-allocate maps in Go 1.21+ (#40)
  • Additional commits viewable in compare view

@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Mar 22, 2026

Labels

The following labels could not be found: backend, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/go-chi/httprate-0.15.0 branch from e4381c9 to b255b54 Compare March 22, 2026 18:54
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/go-chi/httprate-0.15.0 branch from b255b54 to aff63c8 Compare March 24, 2026 00:13
@dependabot dependabot bot changed the title chore(deps): Bump github.com/go-chi/httprate from 0.9.0 to 0.15.0 chore(deps): bump github.com/go-chi/httprate from 0.9.0 to 0.15.0 Apr 2, 2026
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/go-chi/httprate-0.15.0 branch from aff63c8 to 4b1d532 Compare April 2, 2026 14:53
Bumps [github.com/go-chi/httprate](https://github.com/go-chi/httprate) from 0.9.0 to 0.15.0.
- [Release notes](https://github.com/go-chi/httprate/releases)
- [Commits](go-chi/httprate@v0.9.0...v0.15.0)

---
updated-dependencies:
- dependency-name: github.com/go-chi/httprate
  dependency-version: 0.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/go-chi/httprate-0.15.0 branch from 4b1d532 to 0341ffd Compare April 6, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants