fix(deps): update module github.com/go-chi/chi/v5 to v5.2.2
-
Review changes -
-
Download -
Patches
-
Plain diff
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
github.com/go-chi/chi/v5 | require | minor |
v5.1.0 -> v5.2.2
|
Release Notes
go-chi/chi
v5.2.2
What's Changed
- Use strings.Cut in a few places by @JRaspass in https://github.com/go-chi/chi/pull/971
- Fix non-constant format strings in t.Fatalf by @JRaspass in https://github.com/go-chi/chi/pull/972
- Apply fieldalignment fixes to optimize struct memory layout by @pixel365 in https://github.com/go-chi/chi/pull/974
- go 1.24 by @pkieltyka in https://github.com/go-chi/chi/pull/977
- chore: delint ioutil usage by @costela in https://github.com/go-chi/chi/pull/962
- Fixed typo in Router interface definition by @mithileshgupta12 in https://github.com/go-chi/chi/pull/958
- Add support for TinyGo by @efraimbart in https://github.com/go-chi/chi/pull/978
- Exclude middleware/profiler.go in TinyGo, as there's no net/http/pprof pkg by @cxjava in https://github.com/go-chi/chi/pull/982
- Make use of strings.Cut by @scop in https://github.com/go-chi/chi/pull/1005
- Change install command format to code block by @sglkc in https://github.com/go-chi/chi/pull/1001
- Correct documentation by @mrdomino in https://github.com/go-chi/chi/pull/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 https://github.com/go-chi/chi/pull/974
- @mithileshgupta12 made their first contribution in https://github.com/go-chi/chi/pull/958
- @efraimbart made their first contribution in https://github.com/go-chi/chi/pull/978
- @cxjava made their first contribution in https://github.com/go-chi/chi/pull/982
- @sglkc made their first contribution in https://github.com/go-chi/chi/pull/1001
- @mrdomino made their first contribution in https://github.com/go-chi/chi/pull/992
Full Changelog: https://github.com/go-chi/chi/compare/v5.2.1...v5.2.2
v5.2.1

Chi supports Go 1.20+

Starting this release, we will now support the four most recent major versions of Go. See https://github.com/go-chi/chi/issues/963 for related discussion.
What's Changed
- Support the four most recent major versions of Go by @VojtechVitek in https://github.com/go-chi/chi/pull/969
Full Changelog: https://github.com/go-chi/chi/compare/v5.2.0...v5.2.1
v5.2.0
What's Changed
- update credits section to link to goji license by @pkieltyka in https://github.com/go-chi/chi/pull/944
- go 1.23 by @pkieltyka in https://github.com/go-chi/chi/pull/945
- Make Context.RoutePattern() nil-safe by @gaiaz-iusipov in https://github.com/go-chi/chi/pull/927
- govet: Fix non-constant format string by @marcofranssen in https://github.com/go-chi/chi/pull/952
- Add
Find
toRoutes
interface by @joeriddles in https://github.com/go-chi/chi/pull/872 - Fix grammar error by @AntonC9018 in https://github.com/go-chi/chi/pull/917
-
~feat(): add CF-Connecting-IP by @n33pm in https://github.com/go-chi/chi/pull/908~
- ~Revert "feat(): add CF-Connecting-IP" by @VojtechVitek in https://github.com/go-chi/chi/pull/966~
- Fixed incorrect comment about routing by @jtams in https://github.com/go-chi/chi/pull/887
- Fix condition in TestRedirectSlashes by @tchssk in https://github.com/go-chi/chi/pull/856
- middleware: Add strip prefix middleware by @m1k1o in https://github.com/go-chi/chi/pull/875
- Set up go module for
_examples/versions
by @hongkuancn in https://github.com/go-chi/chi/pull/948 - Ability to specify response HTTP status code for Throttle middleware by @vasayxtx in https://github.com/go-chi/chi/pull/571
- Support Content-Type headers with charset/boundary parameters by @GocaMaric in https://github.com/go-chi/chi/pull/880
- Fix
Mux.Find
not correctly handling nested routes by @joeriddles in https://github.com/go-chi/chi/pull/954 - fix(WrapResponseWriter): allow multiple informational statuses by @costela in https://github.com/go-chi/chi/pull/961
New Contributors
- @gaiaz-iusipov made their first contribution in https://github.com/go-chi/chi/pull/927
- @marcofranssen made their first contribution in https://github.com/go-chi/chi/pull/952
- @joeriddles made their first contribution in https://github.com/go-chi/chi/pull/872
- @AntonC9018 made their first contribution in https://github.com/go-chi/chi/pull/917
- @n33pm made their first contribution in https://github.com/go-chi/chi/pull/908
- @jtams made their first contribution in https://github.com/go-chi/chi/pull/887
- @tchssk made their first contribution in https://github.com/go-chi/chi/pull/856
- @m1k1o made their first contribution in https://github.com/go-chi/chi/pull/875
- @hongkuancn made their first contribution in https://github.com/go-chi/chi/pull/948
- @GocaMaric made their first contribution in https://github.com/go-chi/chi/pull/880
- @costela made their first contribution in https://github.com/go-chi/chi/pull/961
Full Changelog: https://github.com/go-chi/chi/compare/v5.1.0...v5.2.0
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by Renovate-Bot
Merge request reports
Loading