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

Bump responders from 3.0.1 to 3.1.0 #5224

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2023

Bumps responders from 3.0.1 to 3.1.0.

Release notes

Sourced from responders's releases.

v3.1.0

https://github.com/heartcombo/responders/blob/v3.1.0/CHANGELOG.md#310

Changelog

Sourced from responders's changelog.

3.1.0

  • Add config responders.redirect_status to allow overriding the redirect code/status used in redirects. The default is 302 Found, which matches Rails, but it allows to change responders to redirect with 303 See Other for example, to make it more compatible with how Hotwire/Turbo expects redirects to work.
  • Add config responders.error_status to allow overriding the status code used to respond to HTML or JS requests that have errors on the resource. The default is 200 OK, but it allows to change the response to be 422 Unprocessable Entity in such cases for example, which makes it more consistent with other statuses more commonly used in APIs (like JSON/XML), and works by default with Turbo/Hotwire which expects a 422 on form error HTML responses. Note that changing this may break your application if you're relying on the previous 2xx status to handle error cases.
  • Add support for Ruby 3.0, 3.1, and 3.2, drop support for Ruby < 2.5.
  • Add support for Rails 6.1 and 7.0, drop support for Rails < 5.2.
  • Move CI to GitHub Actions.
Commits
  • 7f85ccc Release v3.1.0
  • c7b7dad Remove CodeClimate badge
  • 1ad4137 Add branch to Rails github gem declaration to be able to use local repo
  • fb9f787 Merge pull request #240 from heartcombo/ca-config-errors
  • 707e4a0 Add note about Hotwire/Turbo to the readme
  • 447065c Use class_attribute to allow changing statuses per-responder
  • 9efc80b Update the install generator to set new defaults for new apps
  • 28f1a98 Make error status for HTML/JS responses fully configurable
  • 01e9531 Respect status given to respond_with when responding with errors
  • 2b23c7c Add changelog entry for #234 [ci skip]
  • 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 <dependency name> 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)

Bumps [responders](https://github.com/heartcombo/responders) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/heartcombo/responders/releases)
- [Changelog](https://github.com/heartcombo/responders/blob/main/CHANGELOG.md)
- [Commits](heartcombo/responders@v3.0.1...v3.1.0)

---
updated-dependencies:
- dependency-name: responders
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that updates a dependency label Sep 1, 2023
@javierm javierm added this to Reviewing in Consul Democracy Sep 1, 2023
@javierm javierm self-assigned this Sep 1, 2023
Consul Democracy automation moved this from Reviewing to Testing Sep 1, 2023
@javierm javierm merged commit 7462435 into master Sep 1, 2023
11 checks passed
@javierm javierm deleted the dependabot/bundler/responders-3.1.0 branch September 1, 2023 11:50
Consul Democracy automation moved this from Testing to Release 2.1.0 Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that updates a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant