fix(deps): update module github.com/go-chi/chi to v5 #66
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.2.3Release Notes
go-chi/chi (github.com/go-chi/chi)
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
v5.0.8Compare Source
v5.0.7Compare Source
v5.0.6Compare Source
v5.0.5Compare Source
v5.0.4Compare Source
v5.0.3Compare Source
v5.0.2Compare Source
v5.0.1Compare Source
v5.0.0Compare Source
v4.1.3Compare Source
v4.1.2Compare Source
your contribution (#555). Note: new benchmarks posted in README.
middleware.CleanPath: new middleware that clean's request path of double slasheschi.ServerBaseContextin favour of stdlibhttp.Server#BaseContextv4.1.2+incompatibleCompare Source
v4.1.1Compare Source
v4.1.1+incompatibleCompare Source
v4.1.0Compare Source
route to the correct handler through a recursive tree search, thanks to @Jahaja for the PR/fix!
v4.1.0+incompatibleCompare Source
v4.0.4Compare Source
v4.0.4+incompatibleCompare Source
v4.0.3Compare Source
v4.0.3+incompatibleCompare Source
v4.0.2Compare Source
v4.0.2+incompatibleCompare Source
v4.0.1Compare Source
v4.0.1+incompatibleCompare Source
v4.0.0Compare Source
v4.0.0+incompatibleCompare Source
v3.3.5Compare Source
v3.3.4Compare Source
v3.3.4+incompatibleCompare Source
v3.3.3Compare Source
v3.3.3+incompatibleCompare Source
v3.3.2Compare Source
v3.3.2+incompatibleCompare Source
v3.3.1Compare Source
AllowContentTypehandler for explicit whitelist of accepted request Content-TypesSetHeaderhandler for short-hand middleware to set a response header key/valuev3.3.1+incompatibleCompare Source
v3.3.0Compare Source
chi.RegisterMethod("LINK")andchi.RegisterMethod("UNLINK")in aninit()functionv3.3.0+incompatibleCompare Source
v3.2.1Compare Source
Match(rctx *Context, method, path string) boolmethod toRoutesinterfaceand
Mux. Match searches the mux's routing tree for a handler that matches the method/pathRouteMethodto*ContextRoutespointer to*Contextmiddleware.GetHeadto route missing HEAD requests to GET handlerv3.2.1+incompatibleCompare Source
v3.2.0Compare Source
v3.2.0+incompatibleCompare Source
v3.1.5Compare Source
func ServerBaseContext(h http.Handler, baseCtx context.Context) http.Handlerto
func ServerBaseContext(baseCtx context.Context, h http.Handler) http.Handlerv3.1.5+incompatibleCompare Source
v3.1.4Compare Source
v3.1.4+incompatibleCompare Source
v3.1.3: Router tree Walker, an analogy to filepath.WalkCompare Source
v3.1.3+incompatibleCompare Source
v3.1.2Compare Source
v3.1.2+incompatibleCompare Source
v3.1.1Compare Source
v3.1.1+incompatibleCompare Source
v3.1.0Compare Source
docgensub-pkg to https://github.com/go-chi/docgenrendersub-pkg to https://github.com/go-chi/renderURLFormathandler to chi/middleware sub-pkg to make working with url mimesuffixes easier, ie. parsing
/articles/1.jsonand/articles/1.xml. See comments inhttps://github.com/go-chi/chi/blob/master/middleware/url_format.go for example usage.
v3.1.0+incompatibleCompare Source
v3.0.0Compare Source
/:idto/{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")MethodandMethodFunctochi.Routerto allow routing definitions such asr.Method("GET", "/", h)which provides a cleaner interface for custom handlers likein
_examples/custom-handlermux#FileServerhelper function. Instead, we encourage users to create theirown using file handler with the stdlib, see
_examples/fileserverfor an exampler.Method()andr.MethodFunc()be easily discovered and supported, at: https://github.com/go-chi
"github.com/go-chi/chi"v3.0.0+incompatibleCompare Source
v2.1.1Compare Source
v2.1.0Compare Source
chi/rendersub-package to complete the story of buildingAPIs to offer a pattern for managing well-defined request / response payloads. Please
check out the updated
_examples/restexample for how it works.MethodNotAllowed(h http.HandlerFunc)to chi.Router interfacev2.1.0+incompatibleCompare Source
v2.0.0Compare Source
production, the inclusion of some improvements to the middlewares, we are very pleased to
announce v2.0.0 of chi.
v2.0.0+incompatibleCompare 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 was generated by Mend Renovate. View the repository job log.