Update module github.com/go-chi/chi/v5 to v5.3.0#17
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Contributor
Author
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: go.sum |
fd7ba25 to
2657e12
Compare
2657e12 to
783ab02
Compare
783ab02 to
6e955ee
Compare
6e955ee to
db541ff
Compare
Contributor
Author
|
db541ff to
199a991
Compare
199a991 to
e162578
Compare
e162578 to
b6154d8
Compare
e613ae0 to
b6154d8
Compare
b6154d8 to
a620b15
Compare
1de0dd4 to
a620b15
Compare
a620b15 to
ee69f58
Compare
3b24144 to
ee69f58
Compare
ee69f58 to
9594832
Compare
9594832 to
e0dfa09
Compare
e0dfa09 to
f27d7c0
Compare
f27d7c0 to
d6836ba
Compare
d6836ba to
0324a51
Compare
0324a51 to
0b431cc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v5.0.8→v5.3.0Release Notes
go-chi/chi (github.com/go-chi/chi/v5)
v5.3.0Compare Source
What's Changed
New Contributors
SECURITY: middleware.ClientIP, a replacement for middleware.RealIP
PR #967 introduced
middleware.ClientIP, a replacement formiddleware.RealIPthat closes the three open spoofing advisories:RemoteAddrresolution (convto)middleware.RealIP(Saku0512, Critical / 9.3)It also addresses issues outlined at:
middleware.RealIPis deprecated in this PR with pointers to the new API.The deprecation only adds a
// Deprecated:doc comment; the function keeps working for backward compatibility.Why a new middleware (not "fix RealIP in place")
RealIPhas two unfixable design choices: it mutatesr.RemoteAddr, and it tries to be a one-size-fits-all default by walking a hard-coded list of headers any client can supply. Per adam-p's "The perils of the 'real' client IP" (which calls chi out by name on this), there is no safe default — the user must pick their trust source explicitly.The new API
Four middlewares, two accessors. Pick exactly one middleware based on your
infrastructure, read the result with one of the two accessors:
Example usage:
And in your handler or downstream middleware:
Thanks to @adam-p, @c2h5oh, @rezmoss, @Saku0512, @convto, @Dirbaio, @jawnsy, @lrstanley, @mfridman, @n33pm, @pkieltyka for the prior discussions, detailed reviews, advisory reports, and test contributions that shaped this PR.
Full Changelog: go-chi/chi@v5.2.5...v5.3.0
v5.2.5Compare Source
What's Changed
New Contributors
Full Changelog: go-chi/chi@v5.2.3...v5.2.5
v5.2.4Compare Source
v5.2.3Compare Source
What's Changed
New Contributors
Full Changelog: go-chi/chi@v5.2.2...v5.2.3
v5.2.2Compare Source
What's Changed
Security fix
New Contributors
Full Changelog: go-chi/chi@v5.2.1...v5.2.2
v5.2.1Compare Source
Starting this release, we will now support the four most recent major versions of Go. See #963 for related discussion.
What's Changed
Full Changelog: go-chi/chi@v5.2.0...v5.2.1
v5.2.0Compare Source
What's Changed
FindtoRoutesinterface by @joeriddles in #872feat(): add CF-Connecting-IP by @n33pm in #908Revert "feat(): add CF-Connecting-IP" by @VojtechVitek in #966_examples/versionsby @hongkuancn in #948Mux.Findnot correctly handling nested routes by @joeriddles in #954New Contributors
Full Changelog: go-chi/chi@v5.1.0...v5.2.0
v5.1.0Compare Source
What's Changed
Discard()method to themiddleware.WrapResponseWriterinterface. 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.New Contributors
Full Changelog: go-chi/chi@v5.0.14...v5.1.0
v5.0.14Compare Source
What's Changed
New Contributors
Full Changelog: go-chi/chi@v5.0.12...v5.0.14
v5.0.13Compare Source
What's Changed
New Contributors
Full Changelog: go-chi/chi@v5.0.12...v5.0.13
v5.0.12Compare Source
v5.0.11Compare Source
v5.0.10Compare Source
v5.0.9Compare Source
Configuration
📅 Schedule: (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.
This PR was generated by Mend Renovate. View the repository job log.