-
Notifications
You must be signed in to change notification settings - Fork 2
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 #77
Closed
Conversation
This file contains 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
333541b
to
f47f4da
Compare
Codecov Report
@@ Coverage Diff @@
## master #77 +/- ##
=======================================
Coverage 73.77% 73.77%
=======================================
Files 3 3
Lines 61 61
=======================================
Hits 45 45
Misses 13 13
Partials 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
91e4a86
to
7ebcabb
Compare
45068af
to
c6c1a5c
Compare
c6c1a5c
to
59fba89
Compare
59fba89
to
6acd181
Compare
6acd181
to
9aa2018
Compare
9aa2018
to
27e6ee6
Compare
27e6ee6
to
31bfce0
Compare
31bfce0
to
890c5bf
Compare
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:
v1.5.4
->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.
Configuration
📅 Schedule: "before 3am on Monday" in timezone Asia/Tokyo.
🚦 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.