syseleven / syseleven-exporter

Export quota and usage metrics for SysEleven
Apache License 2.0
1 stars 1 forks source link

Update module github.com/go-chi/chi to v5 #23

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/go-chi/chi v1.5.5 -> v5.0.12 age adoption passing confidence

Release Notes

go-chi/chi (github.com/go-chi/chi) ### [`v5.0.12`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v5012-2024-02-16) [Compare Source](https://togithub.com/go-chi/chi/compare/v5.0.11...v5.0.12) - History of changes: see https://github.com/go-chi/chi/compare/v5.0.11...v5.0.12 ### [`v5.0.11`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v5011-2023-12-19) [Compare Source](https://togithub.com/go-chi/chi/compare/v5.0.10...v5.0.11) - History of changes: see https://github.com/go-chi/chi/compare/v5.0.10...v5.0.11 ### [`v5.0.10`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v5010-2023-07-13) [Compare Source](https://togithub.com/go-chi/chi/compare/v5.0.9...v5.0.10) - Fixed small edge case in tests of v5.0.9 for older Go versions - History of changes: see https://github.com/go-chi/chi/compare/v5.0.8...v5.0.10 ### [`v5.0.9`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v509-2023-07-13) [Compare Source](https://togithub.com/go-chi/chi/compare/v5.0.8...v5.0.9) - History of changes: see https://github.com/go-chi/chi/compare/v5.0.8...v5.0.9 ### [`v5.0.8`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v508-2022-12-07) [Compare Source](https://togithub.com/go-chi/chi/compare/v5.0.7...v5.0.8) - History of changes: see https://github.com/go-chi/chi/compare/v5.0.7...v5.0.8 ### [`v5.0.7`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v507-2021-11-18) [Compare Source](https://togithub.com/go-chi/chi/compare/v5.0.6...v5.0.7) - History of changes: see https://github.com/go-chi/chi/compare/v5.0.6...v5.0.7 ### [`v5.0.6`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v506-2021-11-15) [Compare Source](https://togithub.com/go-chi/chi/compare/v5.0.5...v5.0.6) - History of changes: see https://github.com/go-chi/chi/compare/v5.0.5...v5.0.6 ### [`v5.0.5`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v505-2021-10-27) [Compare Source](https://togithub.com/go-chi/chi/compare/v5.0.4...v5.0.5) - History of changes: see https://github.com/go-chi/chi/compare/v5.0.4...v5.0.5 ### [`v5.0.4`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v504-2021-08-29) [Compare Source](https://togithub.com/go-chi/chi/compare/v5.0.3...v5.0.4) - History of changes: see https://github.com/go-chi/chi/compare/v5.0.3...v5.0.4 ### [`v5.0.3`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v503-2021-04-29) [Compare Source](https://togithub.com/go-chi/chi/compare/v5.0.2...v5.0.3) - History of changes: see https://github.com/go-chi/chi/compare/v5.0.2...v5.0.3 ### [`v5.0.2`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v502-2021-03-25) [Compare Source](https://togithub.com/go-chi/chi/compare/v5.0.1...v5.0.2) - History of changes: see https://github.com/go-chi/chi/compare/v5.0.1...v5.0.2 ### [`v5.0.1`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v5010-2023-07-13) [Compare Source](https://togithub.com/go-chi/chi/compare/v5.0.0...v5.0.1) - Fixed small edge case in tests of v5.0.9 for older Go versions - History of changes: see https://github.com/go-chi/chi/compare/v5.0.8...v5.0.10 ### [`v5.0.0`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v500-2021-02-27) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.1.3...v5.0.0) - chi v5, `github.com/go-chi/chi/v5` introduces the adoption of Go's SIV to adhere to the current state-of-the-tools in Go. - chi v1.5.x did not work out as planned, as the Go tooling is too powerful and chi's adoption is too wide. 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 seeking will still come to fruition in some form, [https://github.com/golang/go/issues/44550](https://togithub.com/golang/go/issues/44550)4550 - History of changes: see https://github.com/go-chi/chi/compare/v1.5.4...v5.0.0 ### [`v4.1.3`](https://togithub.com/go-chi/chi/compare/v4.1.2...v4.1.3) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.1.2...v4.1.3) ### [`v4.1.2`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v412-2020-06-02) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.1.2...v4.1.2) - fix that handles MethodNotAllowed with path variables, thank you [@​caseyhadden](https://togithub.com/caseyhadden) for your contribution - fix to replace nested wildcards correctly in RoutePattern, thank you @​[@​unmultimedio](https://togithub.com/unmultimedio) for your contribution - History of changes: see https://github.com/go-chi/chi/compare/v4.1.1...v4.1.2 ### [`v4.1.2+incompatible`](https://togithub.com/go-chi/chi/compare/v4.1.1...v4.1.2) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.1.1...v4.1.2) ### [`v4.1.1`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v411-2020-04-16) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.1.1...v4.1.1) - fix for issue [https://github.com/go-chi/chi/issues/411](https://togithub.com/go-chi/chi/issues/411) which allows for overlapping regexp route to the correct handler through a recursive tree search, thanks to [@​Jahaja](https://togithub.com/Jahaja) for the PR/fix! - new middleware.RouteHeaders as a simple router for request headers with wildcard support - History of changes: see https://github.com/go-chi/chi/compare/v4.1.0...v4.1.1 ### [`v4.1.1+incompatible`](https://togithub.com/go-chi/chi/compare/v4.1.0...v4.1.1) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.1.0...v4.1.1) ### [`v4.1.0`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v410-2020-04-1) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.1.0...v4.1.0) - middleware.LogEntry: Write method on interface now passes the response header and an extra interface type useful for custom logger implementations. - middleware.WrapResponseWriter: minor fix - middleware.Recoverer: a bit prettier - History of changes: see https://github.com/go-chi/chi/compare/v4.0.4...v4.1.0 ### [`v4.1.0+incompatible`](https://togithub.com/go-chi/chi/compare/v4.0.4...v4.1.0) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.0.4...v4.1.0) ### [`v4.0.4`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v404-2020-03-24) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.0.4...v4.0.4) - middleware.Recoverer: new pretty stack trace printing ([https://github.com/go-chi/chi/pull/496](https://togithub.com/go-chi/chi/pull/496)) - a few minor improvements and fixes - History of changes: see https://github.com/go-chi/chi/compare/v4.0.3...v4.0.4 ### [`v4.0.4+incompatible`](https://togithub.com/go-chi/chi/compare/v4.0.3...v4.0.4) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.0.3...v4.0.4) ### [`v4.0.3`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v403-2020-01-09) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.0.3...v4.0.3) - core: fix regexp routing to include default value when param is not matched - middleware: rewrite of middleware.Compress - middleware: suppress http.ErrAbortHandler in middleware.Recoverer - History of changes: see https://github.com/go-chi/chi/compare/v4.0.2...v4.0.3 ### [`v4.0.3+incompatible`](https://togithub.com/go-chi/chi/compare/v4.0.2...v4.0.3) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.0.2...v4.0.3) ### [`v4.0.2`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v402-2019-02-26) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.0.2...v4.0.2) - Minor fixes - History of changes: see https://github.com/go-chi/chi/compare/v4.0.1...v4.0.2 ### [`v4.0.2+incompatible`](https://togithub.com/go-chi/chi/compare/v4.0.1...v4.0.2) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.0.1...v4.0.2) ### [`v4.0.1`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v401-2019-01-21) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.0.1...v4.0.1) - Fixes issue with compress middleware: [#​382](https://togithub.com/go-chi/chi/issues/382) [#​385](https://togithub.com/go-chi/chi/issues/385) - History of changes: see https://github.com/go-chi/chi/compare/v4.0.0...v4.0.1 ### [`v4.0.1+incompatible`](https://togithub.com/go-chi/chi/compare/v4.0.0...v4.0.1) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.0.0...v4.0.1) ### [`v4.0.0`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v400-2019-01-10) [Compare Source](https://togithub.com/go-chi/chi/compare/v4.0.0...v4.0.0) - chi v4 requires Go 1.10.3+ (or Go 1.9.7+) - we have deprecated support for Go 1.7 and 1.8 - router: respond with 404 on router with no routes ([#​362](https://togithub.com/go-chi/chi/issues/362)) - router: additional check to ensure wildcard is at the end of a url pattern ([#​333](https://togithub.com/go-chi/chi/issues/333)) - middleware: deprecate use of http.CloseNotifier ([#​347](https://togithub.com/go-chi/chi/issues/347)) - middleware: fix RedirectSlashes to include query params on redirect ([#​334](https://togithub.com/go-chi/chi/issues/334)) - History of changes: see https://github.com/go-chi/chi/compare/v3.3.4...v4.0.0 ### [`v4.0.0+incompatible`](https://togithub.com/go-chi/chi/compare/v3.3.5...v4.0.0) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.3.5...v4.0.0) ### [`v3.3.5`](https://togithub.com/go-chi/chi/compare/v3.3.4...v3.3.5) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.3.4...v3.3.5) ### [`v3.3.4`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v334-2019-01-07) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.3.4...v3.3.4) - Minor middleware improvements. No changes to core library/router. Moving v3 into its - own branch as a version of chi for Go 1.7, 1.8, 1.9, 1.10, 1.11 - History of changes: see https://github.com/go-chi/chi/compare/v3.3.3...v3.3.4 ### [`v3.3.4+incompatible`](https://togithub.com/go-chi/chi/compare/v3.3.3...v3.3.4) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.3.3...v3.3.4) ### [`v3.3.3`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v333-2018-08-27) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.3.3...v3.3.3) - Minor release - See https://github.com/go-chi/chi/compare/v3.3.2...v3.3.3 ### [`v3.3.3+incompatible`](https://togithub.com/go-chi/chi/compare/v3.3.2...v3.3.3) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.3.2...v3.3.3) ### [`v3.3.2`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v332-2017-12-22) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.3.2...v3.3.2) - Support to route trailing slashes on mounted sub-routers ([#​281](https://togithub.com/go-chi/chi/issues/281)) - middleware: new `ContentCharset` to check matching charsets. Thank you [@​csucu](https://togithub.com/csucu) for your community contribution! ### [`v3.3.2+incompatible`](https://togithub.com/go-chi/chi/compare/v3.3.1...v3.3.2) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.3.1...v3.3.2) ### [`v3.3.1`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v331-2017-11-20) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.3.1...v3.3.1) - middleware: new `AllowContentType` handler for explicit whitelist of accepted request Content-Types - middleware: new `SetHeader` handler for short-hand middleware to set a response header key/value - Minor bug fixes ### [`v3.3.1+incompatible`](https://togithub.com/go-chi/chi/compare/v3.3.0...v3.3.1) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.3.0...v3.3.1) ### [`v3.3.0`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v330-2017-10-10) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.3.0...v3.3.0) - New chi.RegisterMethod(method) to add support for custom HTTP methods, see \_examples/custom-method for usage - Deprecated LINK and UNLINK methods from the default list, please use `chi.RegisterMethod("LINK")` and `chi.RegisterMethod("UNLINK")` in an `init()` function ### [`v3.3.0+incompatible`](https://togithub.com/go-chi/chi/compare/v3.2.1...v3.3.0) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.2.1...v3.3.0) ### [`v3.2.1`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v321-2017-08-31) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.2.1...v3.2.1) - Add new `Match(rctx *Context, method, path string) bool` method to `Routes` interface and `Mux`. Match searches the mux's routing tree for a handler that matches the method/path - Add new `RouteMethod` to `*Context` - Add new `Routes` pointer to `*Context` - Add new `middleware.GetHead` to route missing HEAD requests to GET handler - Updated benchmarks (see README) ### [`v3.2.1+incompatible`](https://togithub.com/go-chi/chi/compare/v3.2.0...v3.2.1) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.2.0...v3.2.1) ### [`v3.2.0`](https://togithub.com/go-chi/chi/compare/v3.2.0...v3.2.0) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.2.0...v3.2.0) ### [`v3.2.0+incompatible`](https://togithub.com/go-chi/chi/compare/v3.1.5...v3.2.0) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.1.5...v3.2.0) ### [`v3.1.5`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v315-2017-08-02) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.1.5...v3.1.5) - Setup golint and go vet for the project - As per golint, we've redefined `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`](https://togithub.com/go-chi/chi/compare/v3.1.4...v3.1.5) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.1.4...v3.1.5) ### [`v3.1.4`](https://togithub.com/go-chi/chi/compare/v3.1.4...v3.1.4) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.1.4...v3.1.4) ### [`v3.1.4+incompatible`](https://togithub.com/go-chi/chi/compare/v3.1.3...v3.1.4) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.1.3...v3.1.4) ### [`v3.1.3`](https://togithub.com/go-chi/chi/releases/tag/v3.1.3): Router tree Walker, an analogy to filepath.Walk [Compare Source](https://togithub.com/go-chi/chi/compare/v3.1.3...v3.1.3) ```go func Walk(r Routes, walkFn WalkFunc) error type WalkFunc func(method string, route string, handler http.Handler, middlewares ...func(http.Handler) http.Handler) error ``` ### [`v3.1.3+incompatible`](https://togithub.com/go-chi/chi/compare/v3.1.2...v3.1.3) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.1.2...v3.1.3) ### [`v3.1.2`](https://togithub.com/go-chi/chi/compare/v3.1.2...v3.1.2) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.1.2...v3.1.2) ### [`v3.1.2+incompatible`](https://togithub.com/go-chi/chi/compare/v3.1.1...v3.1.2) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.1.1...v3.1.2) ### [`v3.1.1`](https://togithub.com/go-chi/chi/compare/v3.1.1...v3.1.1) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.1.1...v3.1.1) ### [`v3.1.1+incompatible`](https://togithub.com/go-chi/chi/compare/v3.1.0...v3.1.1) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.1.0...v3.1.1) ### [`v3.1.0`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v310-2017-07-10) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.1.0...v3.1.0) - Fix a few minor issues after v3 release - Move `docgen` sub-pkg to https://github.com/go-chi/docgen - Move `render` sub-pkg to https://github.com/go-chi/render - Add new `URLFormat` handler to chi/middleware sub-pkg to make working with url mime suffixes easier, ie. parsing `/articles/1.json` and `/articles/1.xml`. See comments in https://github.com/go-chi/chi/blob/master/middleware/url_format.go for example usage. ### [`v3.1.0+incompatible`](https://togithub.com/go-chi/chi/compare/v3.0.0...v3.1.0) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.0.0...v3.1.0) ### [`v3.0.0`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v300-2017-06-21) [Compare Source](https://togithub.com/go-chi/chi/compare/v3.0.0...v3.0.0) - Major update to chi library with many exciting updates, but also some *breaking changes* - URL parameter syntax changed from `/:id` to `/{id}` for even more flexible routing, such as `/articles/{month}-{day}-{year}-{slug}`, `/articles/{id}`, and `/articles/{id}.{ext}` on the same router - Support for regexp for routing patterns, in the form of `/{paramKey:regExp}` for example: `r.Get("/articles/{name:[a-z]+}", h)` and `chi.URLParam(r, "name")` - Add `Method` and `MethodFunc` to `chi.Router` to allow routing definitions such as `r.Method("GET", "/", h)` which provides a cleaner interface for custom handlers like in `_examples/custom-handler` - Deprecating `mux#FileServer` helper function. Instead, we encourage users to create their own using file handler with the stdlib, see `_examples/fileserver` for an example - Add support for LINK/UNLINK http methods via `r.Method()` and `r.MethodFunc()` - Moved the chi project to its own organization, to allow chi-related community packages to be easily discovered and supported, at: https://github.com/go-chi - *NOTE:* please update your import paths to `"github.com/go-chi/chi"` - *NOTE:* chi v2 is still available at https://github.com/go-chi/chi/tree/v2 ### [`v3.0.0+incompatible`](https://togithub.com/go-chi/chi/compare/v2.1.1...v3.0.0) [Compare Source](https://togithub.com/go-chi/chi/compare/v2.1.1...v3.0.0) ### [`v2.1.1`](https://togithub.com/go-chi/chi/compare/v2.1.0...v2.1.1) [Compare Source](https://togithub.com/go-chi/chi/compare/v2.1.0...v2.1.1) ### [`v2.1.0`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v210-2017-03-30) [Compare Source](https://togithub.com/go-chi/chi/compare/v2.1.0...v2.1.0) - Minor improvements and update to the chi core library - Introduced a brand new `chi/render` sub-package to complete the story of building APIs to offer a pattern for managing well-defined request / response payloads. Please check out the updated `_examples/rest` example for how it works. - Added `MethodNotAllowed(h http.HandlerFunc)` to chi.Router interface ### [`v2.1.0+incompatible`](https://togithub.com/go-chi/chi/compare/v2.0.0...v2.1.0) [Compare Source](https://togithub.com/go-chi/chi/compare/v2.0.0...v2.1.0) ### [`v2.0.0`](https://togithub.com/go-chi/chi/blob/HEAD/CHANGELOG.md#v200-2017-01-06) [Compare Source](https://togithub.com/go-chi/chi/compare/v2.0.0...v2.0.0) - After many months of v2 being in an RC state with many companies and users running it in production, the inclusion of some improvements to the middlewares, we are very pleased to announce v2.0.0 of chi. ### [`v2.0.0+incompatible`](https://togithub.com/go-chi/chi/compare/v1.5.5...v2.0.0) [Compare Source](https://togithub.com/go-chi/chi/compare/v1.5.5...v2.0.0)

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.