Update module github.com/go-chi/chi to v5 #23
Merged
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:
v1.5.5
->v5.0.12
Release Notes
go-chi/chi (github.com/go-chi/chi)
v5.0.12
Compare Source
v5.0.11
Compare Source
v5.0.10
Compare Source
v5.0.9
Compare Source
v5.0.8
Compare Source
v5.0.7
Compare Source
v5.0.6
Compare Source
v5.0.5
Compare Source
v5.0.4
Compare Source
v5.0.3
Compare Source
v5.0.2
Compare Source
v5.0.1
Compare Source
v5.0.0
Compare Source
github.com/go-chi/chi/v5
introduces the adoption of Go's SIV to adhere to the current state-of-the-tools in Go.The most responsible thing to do for everyone's benefit is to just release v5 with SIV, so I present to you all,
chi v5 at
github.com/go-chi/chi/v5
. I hope someday the developer experience and ergonomics I've been seekingwill still come to fruition in some form, https://github.com/golang/go/issues/445504550
v4.1.3
Compare Source
v4.1.2
Compare Source
v4.1.2+incompatible
Compare Source
v4.1.1
Compare Source
route to the correct handler through a recursive tree search, thanks to @Jahaja for the PR/fix!
v4.1.1+incompatible
Compare Source
v4.1.0
Compare Source
and an extra interface type useful for custom logger implementations.
v4.1.0+incompatible
Compare Source
v4.0.4
Compare Source
v4.0.4+incompatible
Compare Source
v4.0.3
Compare Source
v4.0.3+incompatible
Compare Source
v4.0.2
Compare Source
v4.0.2+incompatible
Compare Source
v4.0.1
Compare Source
v4.0.1+incompatible
Compare Source
v4.0.0
Compare Source
v4.0.0+incompatible
Compare Source
v3.3.5
Compare Source
v3.3.4
Compare Source
v3.3.4+incompatible
Compare Source
v3.3.3
Compare Source
v3.3.3+incompatible
Compare Source
v3.3.2
Compare Source
ContentCharset
to check matching charsets. Thank you@csucu for your community contribution!
v3.3.2+incompatible
Compare Source
v3.3.1
Compare Source
AllowContentType
handler for explicit whitelist of accepted request Content-TypesSetHeader
handler for short-hand middleware to set a response header key/valuev3.3.1+incompatible
Compare Source
v3.3.0
Compare Source
chi.RegisterMethod("LINK")
andchi.RegisterMethod("UNLINK")
in aninit()
functionv3.3.0+incompatible
Compare Source
v3.2.1
Compare Source
Match(rctx *Context, method, path string) bool
method toRoutes
interfaceand
Mux
. Match searches the mux's routing tree for a handler that matches the method/pathRouteMethod
to*Context
Routes
pointer to*Context
middleware.GetHead
to route missing HEAD requests to GET handlerv3.2.1+incompatible
Compare Source
v3.2.0
Compare Source
v3.2.0+incompatible
Compare Source
v3.1.5
Compare Source
func ServerBaseContext(h http.Handler, baseCtx context.Context) http.Handler
to
func ServerBaseContext(baseCtx context.Context, h http.Handler) http.Handler
v3.1.5+incompatible
Compare Source
v3.1.4
Compare Source
v3.1.4+incompatible
Compare Source
v3.1.3
: Router tree Walker, an analogy to filepath.WalkCompare Source
v3.1.3+incompatible
Compare Source
v3.1.2
Compare Source
v3.1.2+incompatible
Compare Source
v3.1.1
Compare Source
v3.1.1+incompatible
Compare Source
v3.1.0
Compare Source
docgen
sub-pkg to https://github.com/go-chi/docgenrender
sub-pkg to https://github.com/go-chi/renderURLFormat
handler to chi/middleware sub-pkg to make working with url mimesuffixes easier, ie. parsing
/articles/1.json
and/articles/1.xml
. See comments inhttps://github.com/go-chi/chi/blob/master/middleware/url_format.go for example usage.
v3.1.0+incompatible
Compare Source
v3.0.0
Compare Source
/:id
to/{id}
for even more flexible routing, such as/articles/{month}-{day}-{year}-{slug}
,/articles/{id}
, and/articles/{id}.{ext}
on thesame router
/{paramKey:regExp}
for example:r.Get("/articles/{name:[a-z]+}", h)
andchi.URLParam(r, "name")
Method
andMethodFunc
tochi.Router
to allow routing definitions such asr.Method("GET", "/", h)
which provides a cleaner interface for custom handlers likein
_examples/custom-handler
mux#FileServer
helper function. Instead, we encourage users to create theirown using file handler with the stdlib, see
_examples/fileserver
for an exampler.Method()
andr.MethodFunc()
be easily discovered and supported, at: https://github.com/go-chi
"github.com/go-chi/chi"
v3.0.0+incompatible
Compare Source
v2.1.1
Compare Source
v2.1.0
Compare Source
chi/render
sub-package to complete the story of buildingAPIs to offer a pattern for managing well-defined request / response payloads. Please
check out the updated
_examples/rest
example for how it works.MethodNotAllowed(h http.HandlerFunc)
to chi.Router interfacev2.1.0+incompatible
Compare Source
v2.0.0
Compare Source
production, the inclusion of some improvements to the middlewares, we are very pleased to
announce v2.0.0 of chi.
v2.0.0+incompatible
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 has been generated by Mend Renovate. View repository job log here.