From 1efb4f1aaf55cdd15e361a5fc4d43d8c4d327ffd Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 21 Jun 2025 10:57:17 +0200 Subject: [PATCH] Update module github.com/go-chi/chi/v5 to v5.2.2 (forgejo) (#8248) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) | require | patch | `v5.2.1` -> `v5.2.2` | --- ### Release Notes
go-chi/chi (github.com/go-chi/chi/v5) ### [`v5.2.2`](https://github.com/go-chi/chi/releases/tag/v5.2.2) [Compare Source](https://github.com/go-chi/chi/compare/v5.2.1...v5.2.2) #### What's Changed - Use strings.Cut in a few places by [@​JRaspass](https://github.com/JRaspass) in https://github.com/go-chi/chi/pull/971 - Fix non-constant format strings in t.Fatalf by [@​JRaspass](https://github.com/JRaspass) in https://github.com/go-chi/chi/pull/972 - Apply fieldalignment fixes to optimize struct memory layout by [@​pixel365](https://github.com/pixel365) in https://github.com/go-chi/chi/pull/974 - go 1.24 by [@​pkieltyka](https://github.com/pkieltyka) in https://github.com/go-chi/chi/pull/977 - chore: delint ioutil usage by [@​costela](https://github.com/costela) in https://github.com/go-chi/chi/pull/962 - Fixed typo in Router interface definition by [@​mithileshgupta12](https://github.com/mithileshgupta12) in https://github.com/go-chi/chi/pull/958 - Add support for TinyGo by [@​efraimbart](https://github.com/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](https://github.com/cxjava) in https://github.com/go-chi/chi/pull/982 - Make use of strings.Cut by [@​scop](https://github.com/scop) in https://github.com/go-chi/chi/pull/1005 - Change install command format to code block by [@​sglkc](https://github.com/sglkc) in https://github.com/go-chi/chi/pull/1001 - Correct documentation by [@​mrdomino](https://github.com/mrdomino) in https://github.com/go-chi/chi/pull/992 #### Security fix - Fixes [GHSA-vrw8-fxc6-2r93](https://github.com/go-chi/chi/security/advisories/GHSA-vrw8-fxc6-2r93) - "Host Header Injection Leads to Open Redirect in RedirectSlashes" [commit](https://github.com/go-chi/chi/commit/1be7ad938cc9c5b39a9dea01a5c518848928ab65) - 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](https://github.com/anuraagbaishya). Thank you! #### New Contributors - [@​pixel365](https://github.com/pixel365) made their first contribution in https://github.com/go-chi/chi/pull/974 - [@​mithileshgupta12](https://github.com/mithileshgupta12) made their first contribution in https://github.com/go-chi/chi/pull/958 - [@​efraimbart](https://github.com/efraimbart) made their first contribution in https://github.com/go-chi/chi/pull/978 - [@​cxjava](https://github.com/cxjava) made their first contribution in https://github.com/go-chi/chi/pull/982 - [@​sglkc](https://github.com/sglkc) made their first contribution in https://github.com/go-chi/chi/pull/1001 - [@​mrdomino](https://github.com/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
--- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8248 Reviewed-by: Earl Warren Co-authored-by: Renovate Bot Co-committed-by: Renovate Bot --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 87755b206a..bb2be827eb 100644 --- a/go.mod +++ b/go.mod @@ -41,7 +41,7 @@ require ( github.com/gliderlabs/ssh v0.3.8 github.com/go-ap/activitypub v0.0.0-20231114162308-e219254dc5c9 github.com/go-ap/jsonld v0.0.0-20221030091449-f2a191312c73 - github.com/go-chi/chi/v5 v5.2.1 + github.com/go-chi/chi/v5 v5.2.2 github.com/go-chi/cors v1.2.1 github.com/go-co-op/gocron v1.37.0 github.com/go-enry/go-enry/v2 v2.9.2 diff --git a/go.sum b/go.sum index 54710930e8..639880e2ce 100644 --- a/go.sum +++ b/go.sum @@ -213,8 +213,8 @@ github.com/go-ap/jsonld v0.0.0-20221030091449-f2a191312c73/go.mod h1:jyveZeGw5La github.com/go-asn1-ber/asn1-ber v1.5.5 h1:MNHlNMBDgEKD4TcKr36vQN68BA00aDfjIt3/bD50WnA= github.com/go-asn1-ber/asn1-ber v1.5.5/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= github.com/go-chi/chi/v5 v5.0.1/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= -github.com/go-chi/chi/v5 v5.2.1 h1:KOIHODQj58PmL80G2Eak4WdvUzjSJSm0vG72crDCqb8= -github.com/go-chi/chi/v5 v5.2.1/go.mod h1:L2yAIGWB3H+phAw1NxKwWM+7eUH/lU8pOMm5hHcoops= +github.com/go-chi/chi/v5 v5.2.2 h1:CMwsvRVTbXVytCk1Wd72Zy1LAsAh9GxMmSNWLHCG618= +github.com/go-chi/chi/v5 v5.2.2/go.mod h1:L2yAIGWB3H+phAw1NxKwWM+7eUH/lU8pOMm5hHcoops= github.com/go-chi/cors v1.2.1 h1:xEC8UT3Rlp2QuWNEr4Fs/c2EAGVKBwy/1vHx3bppil4= github.com/go-chi/cors v1.2.1/go.mod h1:sSbTewc+6wYHBBCW7ytsFSn836hqM7JxpglAy2Vzc58= github.com/go-co-op/gocron v1.37.0 h1:ZYDJGtQ4OMhTLKOKMIch+/CY70Brbb1dGdooLEhh7b0=