-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Comparing changes
Open a pull request
base repository: go-chi/chi
base: v5.2.2
head repository: go-chi/chi
compare: v5.2.3
- 8 commits
- 13 files changed
- 8 contributors
Commits on Aug 15, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 80d8da2 - Browse repository at this point
Copy the full SHA 80d8da2View commit details -
Allow multiple whitespace between method & pattern (#1013)
Allow separating the method and pattern with [ \t]+, this matches the stdlib change that was made in golang/go@7b583fd The rationale is the same as the stdlib issue, it allows you to visually line up patterns with variable-width methods: r.Handle("GET /my-route", handler1) r.Handle("POST /my-route", handler2) r.Handle("DELETE /my-route", handler3) In general aligning ourselves with the stdlib brings less surprise for end users.
Configuration menu - View commit details
-
Copy full SHA for 7859137 - Browse repository at this point
Copy the full SHA 7859137View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c2d011 - Browse repository at this point
Copy the full SHA 1c2d011View commit details
Commits on Aug 26, 2025
-
feat(mux): support http.Request.Pattern in Go 1.23 (#986)
Similar to #901 Adds support to get the pattern that was used by Chi to match the route, without needing to call the Chi context.
Configuration menu - View commit details
-
Copy full SHA for d12cc49 - Browse repository at this point
Copy the full SHA d12cc49View commit details -
fix/608 - Fix flaky Throttle middleware test by synchronizing token u…
…sage (#1016) * chore: remove comment from TestThrottleRetryAfter test * test: fix flaky TestThrottleRetryAfter by synchronizing token usage
Configuration menu - View commit details
-
Copy full SHA for 9040e95 - Browse repository at this point
Copy the full SHA 9040e95View commit details -
Optimize throttle middleware by avoiding unnecessary timer creation (#…
…1011) - Only create time.NewTimer() when actually needed to wait - Reduces allocations from 7 to 4 and memory usage by ~54% - Improves performance by ~50% in high-throughput scenarios
Configuration menu - View commit details
-
Copy full SHA for cf537d4 - Browse repository at this point
Copy the full SHA cf537d4View commit details -
refactor: iterative wildcard collapsing and add test for consecutive …
…wildcards (#1012) Co-authored-by: srpvpn <srpvpn@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0265fcd - Browse repository at this point
Copy the full SHA 0265fcdView commit details -
Replace methodTypString func with reverseMethodMap (#1018)
This code predates the introduction of the reverseMethodMap.
Configuration menu - View commit details
-
Copy full SHA for 9b9fb55 - Browse repository at this point
Copy the full SHA 9b9fb55View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v5.2.2...v5.2.3