Jille / rufs

RUFS - share files with your friends
4 stars 0 forks source link

build(deps): bump github.com/Jille/convreq from 1.3.0 to 1.7.1 #110

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps github.com/Jille/convreq from 1.3.0 to 1.7.1.

Release notes

Sourced from github.com/Jille/convreq's releases.

v1.7.0

Add a reflectionless fast path for common signature func(context.Context, *http.Request) HttpResponse

v1.6.0

Support for parameters named MyMethodJSON which lets convreq parse the request body as JSON.

v1.5.0

Replace RespondJSON with JSON. The call respond.JSON() is clear enough.

Leave a forwarding function for backwards compatibility.

v1.4.0

Add more respond methods: HTTP 424, RespondJSON

Fix NoContent to actually return no content.

Commits
  • fcbc7f6 respond.NoContent(): Don't use http.Error() which sends a newline
  • 45e4d7a Add a reflectionless fast path for common signature func(context.Context, *ht...
  • 891397a Be stricter on the Content-Type for *JSON arguments
  • c5fd140 Support decoding JSON bodies into a handler argument
  • a20fd9b Replace RespondJSON with JSON. The call respond.JSON() is clear enough.
  • aac8046 Merge pull request #3 from tgmpje/jsonsupport
  • e432ef6 Make NoContent fix backwards compatible
  • 4ccb624 Typofix
  • d0be3f7 Only set content-type header for JSON request if not already set
  • 1b09f13 Merge pull request #2 from tgmpje/nocontent
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 months ago

Looks like github.com/Jille/convreq is up-to-date now, so this is no longer needed.