-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update module github.com/go-chi/chi to v5 - autoclosed #36
Conversation
|
4b6a3ff
to
22c646a
Compare
22c646a
to
c6ad3d7
Compare
|
c6ad3d7
to
9aa48a9
Compare
This PR contains the following updates:
v1.5.1
->v5.0.4
Release Notes
go-chi/chi
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.2
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.0
Compare Source
and an extra interface type useful for custom logger implementations.
v4.0.4
Compare Source
v4.0.3
Compare Source
v4.0.2
Compare Source
v4.0.1
Compare Source
v4.0.0
Compare Source
v3.3.4
Compare Source
v3.3.3
Compare Source
v3.3.2
Compare Source
ContentCharset
to check matching charsets. Thank you@csucu for your community contribution!
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.0
Compare Source
chi.RegisterMethod("LINK")
andchi.RegisterMethod("UNLINK")
in aninit()
functionv3.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.0
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.4
Compare Source
v3.1.3
Compare Source
v3.1.2
Compare Source
v3.1.1
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.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"
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.0.0
Compare Source
production, the inclusion of some improvements to the middlewares, we are very pleased to
announce v2.0.0 of chi.
v1.5.4
Compare Source
v1.5.3
Compare Source
v1.5.2
Compare Source
Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.