Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Dec 20, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
github.com/go-chi/chi require major 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

  • 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/445504550
  • History of changes: see go-chi/chi@v1.5.4...v5.0.0

v4.1.2

Compare Source

v4.1.1

Compare Source

v4.1.0

Compare Source

  • 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 go-chi/chi@v4.0.4...v4.1.0

v4.0.4

Compare Source

v4.0.3

Compare Source

  • 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 go-chi/chi@v4.0.2...v4.0.3

v4.0.2

Compare Source

v4.0.1

Compare Source

v4.0.0

Compare Source

  • 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)
  • router: additional check to ensure wildcard is at the end of a url pattern (#​333)
  • middleware: deprecate use of http.CloseNotifier (#​347)
  • middleware: fix RedirectSlashes to include query params on redirect (#​334)
  • History of changes: see go-chi/chi@v3.3.4...v4.0.0

v3.3.4

Compare Source

  • 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 go-chi/chi@v3.3.3...v3.3.4

v3.3.3

Compare Source

v3.3.2

Compare Source

  • Support to route trailing slashes on mounted sub-routers (#​281)
  • middleware: new ContentCharset to check matching charsets. Thank you
    @​csucu for your community contribution!

v3.3.1

Compare Source

  • 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.0

Compare Source

  • 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.2.1

Compare Source

  • 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.0

Compare Source

v3.1.5

Compare Source

  • 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.4

Compare Source

v3.1.3

Compare Source

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.2

Compare Source

v3.1.1

Compare Source

v3.1.0

Compare Source

v3.0.0

Compare Source

  • 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

v2.1.0

Compare Source

  • 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.0.0

Compare Source

  • 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.

v1.5.4

Compare Source

v1.5.3

Compare Source

  • Update go.mod to go 1.16 with new retract directive marking all versions without prior go.mod support
  • History of changes: see go-chi/chi@v1.5.2...v1.5.3

v1.5.2

Compare Source

  • Reverting allocation optimization as a precaution as go test -race fails.
  • Minor improvements, see history below
  • History of changes: see go-chi/chi@v1.5.1...v1.5.2

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.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate
Copy link
Author

renovate bot commented Dec 20, 2020

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻️ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you check the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: chaos-bot/go.sum
Command failed: docker run --rm --name=renovate_go --label=renovate_child -v "/mnt/renovate/gh/ultreme/radio-chaos":"/mnt/renovate/gh/ultreme/radio-chaos" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -v "/tmp/renovate-cache/others/go":"/tmp/renovate-cache/others/go" -e GOPATH -e CGO_ENABLED -w "/mnt/renovate/gh/ultreme/radio-chaos/chaos-bot" docker.io/renovate/go:1.14.15 bash -l -c "git config --global url.\"https://**redacted**@github.com/\".insteadOf \"https://github.com/\" && go get -d ./... && go mod tidy && go mod tidy"
go: downloading github.com/go-chi/chi v1.5.1
go: downloading moul.io/pipotron v1.13.0
go: downloading gopkg.in/yaml.v3 v3.0.0-20200506231410-2ff61e1afc86
go: downloading github.com/gohugoio/hugo v0.79.1
go: downloading github.com/bwmarrin/discordgo v0.22.0
go: downloading github.com/go-chi/httplog v0.1.8
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/hako/durafmt v0.0.0-20200710122514-c0fb7b4da026
go: downloading golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: downloading github.com/gobuffalo/packr/v2 v2.8.0
go: downloading github.com/karrick/godirwalk v1.15.6
go: downloading golang.org/x/sys v0.0.0-20200513112337-417ce2331b5c
go: downloading github.com/frankban/quicktest v1.11.2
go: downloading golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
go: downloading github.com/google/go-cmp v0.5.3
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
ultre.me/radio-chaos/chaos-bot imports
	gopkg.in/yaml.v2: fstatat /tmp/renovate-cache/others/go/pkg/mod/gopkg.in/yaml.v2@v2.4.0: permission denied
ultre.me/radio-chaos/chaos-bot imports
	moul.io/godev imports
	gopkg.in/yaml.v3: fstatat /tmp/renovate-cache/others/go/pkg/mod/gopkg.in/yaml.v3@v3.0.0-20200506231410-2ff61e1afc86: permission denied

@renovate renovate bot changed the title chore(deps): update module go-chi/chi to v4 fix(deps): update module go-chi/chi to v4 Feb 18, 2021
@auto-add-label auto-add-label bot added bug Something isn't working and removed dependencies labels Feb 18, 2021
@renovate renovate bot changed the title fix(deps): update module go-chi/chi to v4 fix(deps): update module github.com/go-chi/chi to v5 Apr 26, 2021
@renovate
Copy link
Author

renovate bot commented May 9, 2021

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻️ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you check the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: chaos-bot/go.sum
Command failed: docker run --rm --name=renovate_go --label=renovate_child -v "/mnt/renovate/gh/ultreme/radio-chaos":"/mnt/renovate/gh/ultreme/radio-chaos" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -v "/tmp/renovate-cache/others/go":"/tmp/renovate-cache/others/go" -e GOPATH -e CGO_ENABLED -w "/mnt/renovate/gh/ultreme/radio-chaos/chaos-bot" docker.io/renovate/go:1.16.3 bash -l -c "git config --global url.\"https://**redacted**@github.com/\".insteadOf \"https://github.com/\" && go get -d ./... && go mod tidy && go mod tidy"
go: downloading github.com/bwmarrin/discordgo v0.22.0
go: downloading github.com/go-chi/chi v1.5.1
go: downloading github.com/go-chi/httplog v0.1.8
go: downloading github.com/gohugoio/hugo v0.79.1
go: downloading github.com/hako/durafmt v0.0.0-20200710122514-c0fb7b4da026
go: downloading moul.io/pipotron v1.13.0
go: downloading golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: downloading gopkg.in/yaml.v3 v3.0.0-20200506231410-2ff61e1afc86
go: downloading github.com/gobuffalo/packr/v2 v2.8.0
go: downloading github.com/google/uuid v1.1.1
go: downloading golang.org/x/text v0.3.4
go: downloading golang.org/x/sys v0.0.0-20200513112337-417ce2331b5c
go: downloading github.com/karrick/godirwalk v1.15.6
ultre.me/radio-chaos/chaos-bot imports
	gopkg.in/yaml.v2: fstatat /tmp/renovate-cache/others/go/pkg/mod/gopkg.in/yaml.v2@v2.4.0: permission denied
ultre.me/radio-chaos/chaos-bot imports
	moul.io/godev imports
	gopkg.in/yaml.v3: fstatat /tmp/renovate-cache/others/go/pkg/mod/gopkg.in/yaml.v3@v3.0.0-20200506231410-2ff61e1afc86: permission denied

@trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label Oct 18, 2021
@renovate renovate bot changed the title fix(deps): update module github.com/go-chi/chi to v5 fix(deps): update module github.com/go-chi/chi to v5 - autoclosed Mar 7, 2022
@renovate renovate bot closed this Mar 7, 2022
@renovate renovate bot deleted the renovate/major-all branch March 7, 2022 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🔍 Ready for Review Pull Request is not reviewed yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant