Skip to content

v3.2.0

Compare
Choose a tag to compare
@yuki24 yuki24 released this 04 Aug 03:04
· 8 commits to main since this release

This release includes a breaking change. Please read the details below carefully.

New Features

Breaking Changes

The Rack compatibility fix is related to Rack becoming more compliant with the IANA HTTP Status Code Registry.
As a result:

  • unprocessable_entity has been renamed to unprocessable_content.
  • Rambulance will redirect any request from unprocessable_entity to unprocessable_content for backward compatibility.
  • Users must rename the view file from app/views/errors/unprocessable_entity.html.erb to app/views/errors/unprocessable_content.html.erb.
  • Users should update the hash values in their configurations: Change unprocessable_entity to unprocessable_content in config.rescue_responses/config.action_dispatch.rescue_responses