CARVIEW |
Select Language
HTTP/2 200
date: Wed, 30 Jul 2025 15:35:36 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"cda7164a21da3e1b26af45f7388c5f38"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=%2FBLWySX3w9nLBpOs57ipUZCMxjCUhfT7weBTgi6HchFPq45gL2uNJFUauF0HnmP%2FQc3N1XUDSwpxmB%2BFbxun7XKKNsRQlauRCH7O%2BDfyurqvVgIPZ4fdeFde3FUv8zdJp%2BSkNk85bparfJukC8aswTFjnPyrTeZa7MIxv%2BID%2By12gHsJzQ20qXzI9GeF%2BmHTlSSNMvSKK%2B6d2gFq3EerDTL0wQ7qYvRXWEH453ipqXurKzErx2E8RhUaS9aKqndfvUUMLWZcwv4P6KEi4%2FRj1A%3D%3D--%2BrZpNnAnTZzaXhT%2F--E2wMczuQQrwNDz3ENQNUfA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1864721242.1753889735; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 15:35:35 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 15:35:35 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 95BA:3A3C19:33874:3C9E7:688A3BC7
Releases Β· go-chi/chi Β· GitHub
20 Jun 13:31
Loading
04 Feb 11:29
Loading
15 Dec 21:57
Loading
28 Jun 14:36
Loading
21 Jun 13:03
Loading
18 Jun 14:02
Loading
17 Feb 00:43
Loading
20 Dec 02:40
Loading
13 Jul 16:02
Loading
13 Jul 15:59
Loading
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Releases: go-chi/chi
Releases Β· go-chi/chi
v5.2.2
23c395f
This commit was created on GitHub.com and signed with GitHubβs verified signature.
Compare
What's Changed
- Use strings.Cut in a few places by @JRaspass in #971
- Fix non-constant format strings in t.Fatalf by @JRaspass in #972
- Apply fieldalignment fixes to optimize struct memory layout by @pixel365 in #974
- go 1.24 by @pkieltyka in #977
- chore: delint ioutil usage by @costela in #962
- Fixed typo in Router interface definition by @mithileshgupta12 in #958
- Add support for TinyGo by @efraimbart in #978
- Exclude middleware/profiler.go in TinyGo, as there's no net/http/pprof pkg by @cxjava in #982
- Make use of strings.Cut by @scop in #1005
- Change install command format to code block by @sglkc in #1001
- Correct documentation by @mrdomino in #992
Security fix
- Fixes GHSA-vrw8-fxc6-2r93 - "Host Header Injection Leads to Open Redirect in RedirectSlashes" commit
- a lower-severity Open Redirect that can't be exploited in browser or email client, as it requires manipulation of a Host header
- reported by Anuraag Baishya, @anuraagbaishya. Thank you!
New Contributors
- @pixel365 made their first contribution in #974
- @mithileshgupta12 made their first contribution in #958
- @efraimbart made their first contribution in #978
- @cxjava made their first contribution in #982
- @sglkc made their first contribution in #1001
- @mrdomino made their first contribution in #992
Full Changelog: v5.2.1...v5.2.2
Assets 2
4 people reacted
v5.2.1
71307f9
This commit was created on GitHub.com and signed with GitHubβs verified signature.
Compare
β οΈ Chi supports Go 1.20+
Starting this release, we will now support the four most recent major versions of Go. See #963 for related discussion.
What's Changed
- Support the four most recent major versions of Go by @VojtechVitek in #969
Full Changelog: v5.2.0...v5.2.1
Assets 2
10 people reacted
v5.2.0
0a20a0e
This commit was created on GitHub.com and signed with GitHubβs verified signature.
Compare
What's Changed
- update credits section to link to goji license by @pkieltyka in #944
- go 1.23 by @pkieltyka in #945
- Make Context.RoutePattern() nil-safe by @gaiaz-iusipov in #927
- govet: Fix non-constant format string by @marcofranssen in #952
- Add
Find
toRoutes
interface by @joeriddles in #872 - Fix grammar error by @AntonC9018 in #917
feat(): add CF-Connecting-IP by @n33pm in #908Revert "feat(): add CF-Connecting-IP" by @VojtechVitek in #966
- Fixed incorrect comment about routing by @jtams in #887
- Fix condition in TestRedirectSlashes by @tchssk in #856
- middleware: Add strip prefix middleware by @m1k1o in #875
- Set up go module for
_examples/versions
by @hongkuancn in #948 - Ability to specify response HTTP status code for Throttle middleware by @vasayxtx in #571
- Support Content-Type headers with charset/boundary parameters by @GocaMaric in #880
- Fix
Mux.Find
not correctly handling nested routes by @joeriddles in #954 - fix(WrapResponseWriter): allow multiple informational statuses by @costela in #961
New Contributors
- @gaiaz-iusipov made their first contribution in #927
- @marcofranssen made their first contribution in #952
- @joeriddles made their first contribution in #872
- @AntonC9018 made their first contribution in #917
- @n33pm made their first contribution in #908
- @jtams made their first contribution in #887
- @tchssk made their first contribution in #856
- @m1k1o made their first contribution in #875
- @hongkuancn made their first contribution in #948
- @GocaMaric made their first contribution in #880
- @costela made their first contribution in #961
Full Changelog: v5.1.0...v5.2.0
Assets 2
3 people reacted
v5.1.0
67be7d9
This commit was created on GitHub.com and signed with GitHubβs verified signature.
Compare
What's Changed
- middleware: add Discard method to WrapResponseWriter by @patrislav in #926
- Adds
Discard()
method to themiddleware.WrapResponseWriter
interface. This is technically an API breaking change. However after some discussion at #926 (comment), we decided to move forward, and release as minor version, as we don't expect anyone to rely on this interface / implement it externally.
- Adds
New Contributors
- @patrislav made their first contribution in #926
Full Changelog: v5.0.14...v5.1.0
Assets 2
18 people reacted
v5.0.14
7957c0d
This commit was created on GitHub.com and signed with GitHubβs verified signature.
Compare
What's Changed
- middleware: fix typo in RealIP doc by @l2dy in #903
- reduce size of Context struct from 216 bytes to 208 bytes by @juburr in #912
- Avoid possible memory leak in compress middleware by @Neurostep in #919
- docs: Update stale links in docs for contributing by @Lutherwaves in #904
- Revert "Avoid possible memory leak in compress middleware" by @VojtechVitek in #924
New Contributors
- @l2dy made their first contribution in #903
- @juburr made their first contribution in #912
- @Neurostep made their first contribution in #919
- @Lutherwaves made their first contribution in #904
Full Changelog: v5.0.12...v5.0.14
Assets 2
10 people reacted
v5.0.13
f10dc4a
This commit was created on GitHub.com and signed with GitHubβs verified signature.
Compare
What's Changed
- middleware: fix typo in RealIP doc by @l2dy in #903
- reduce size of Context struct from 216 bytes to 208 bytes by @juburr in #912
- Avoid possible memory leak in compress middleware by @Neurostep in #919
New Contributors
- @l2dy made their first contribution in #903
- @juburr made their first contribution in #912
- @Neurostep made their first contribution in #919
Full Changelog: v5.0.12...v5.0.13
Assets 2
13 people reacted
v5.0.12
Compare
Hi everyone, thank you to all contributors + reviewers.
We present chi v5.0.12 which includes support for the new Go 1.22 mux routing features :)
Specifically, this release adds support for:
- Routing methods
r.Handle("GET /users/{userID}", handler)
and similarly inr.HandlerFunc
with a very simple addition to chi, thank you @Spartan09 and @angelofallars for their work on the PRs to add support (#897, #901) - Access url path parameters via
request.PathValue("xyz")
andrequest.PathValue("*")
on*http.Request
when using the chi router in Go 1.22+. Of course you may also usechi.URLParam(r, "xyz")
andchi.URLParam(r, "*")
β these are all equivalent now in Go 1.22+. Thank you @angelofallars for the PR (#901) - For full list of changes, see v5.0.11...v5.0.12
Assets 2
48 people reacted
v5.0.11
Compare
Thank you again to all contributors and reviewers :)
- docs updates
- go 1.21 in ci
- typos in comments
- middleware: Sunset, middleware which can be used to deprecate an endpoint (#844)
- middleware: use original expvar handler for profiler middleware (#848)
- updated _examples/httplog to use "log/slog" in go 1.21+
- middleware: new SuppressNotFound
- ensure to reset methodsAllowed between requests (9dd8b4a)
- History of changes, see v5.0.10...v5.0.11
Assets 2
25 people reacted
v5.0.10
Compare
Thank you to all contributors and reviewers :)
- Use timestamps in GMT format per RFC2616 -- #772
- Update logging example to use preview version of new log/slog -- #771
- Fix duplicate fields in logging example -- #779
- chore: recoverer middleware skip write header on upgrade connection -- #795
- Request size middleware -- #809
- middleware.Compress: implement Unwrap() method to the compressResponseWriter -- #819
- Adds the Allow header on 405 response -- #776
- History of changes, see: v5.0.9...v5.0.10
Assets 2
23 people reacted
v5.0.9
Compare
- History of changes, see: v5.0.8...v5.0.9
Assets 2
1 person reacted
Previous Next
You canβt perform that action at this time.