Skip to content

Latest commit

 

History

History
227 lines (125 loc) · 9.45 KB

CHANGELOG.md

File metadata and controls

227 lines (125 loc) · 9.45 KB

released at 2024-08-16 05:32:59 UTC

New Features

  • Add support for Rails 7.1 (e6d42b5)

released at 2024-08-04 03:04:26 UTC

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

released at 2024-01-04 10:08:11 UTC

New Features

  • The test helper is now compatible with Rails Edge (8.0) (#73, #75)
  • Add support for Ruby 3.3 (#74)

released at 2023-09-22 14:47:24 UTC

New Features

  • Add support for Rails 7.1 (be6f129)

Breaking Changes

  • Drop support for Ruby 2.3 and 2.4 (c0d3439)

released at 2023-01-05 05:33:36 UTC

New Features

  • Ruby 3.2 is now officially supported.

released at 2022-02-13 07:56:32 UTC

Features

  • Add support for Ruby 3.1, Rails 7.0 and JRuby 9.3.3.0

released at 2021-09-22 02:49:18 UTC

Breaking Changes

  • Drop support for Rails 4.1 and older (#62, @yuki24)

Features

Bug fixes

released at 2020-05-28 23:22:10 UTC

Bug fixes

  • Fixes a bug where a malformed Content-Type header could break the exceptions app (#55, @gingerlime)

released at 2020-05-23 02:52:27 UTC

Features

  • Add support for Ruby 2.7 (718531c)

Bug fixes

  • Fixes a bug where malformed MIME type in HTTP headers could break the exceptions app (#53, #54, @gingerlime)

released at 2019-10-03 03:39:17 UTC

Fixes

  • Fixes a bug where custom exceptions app can not be loaded properly on Rails 6 and Zeitwerk (#52, @sho918)

released at 2019-06-06 23:39:38 UTC

Fixes

  • Fixes a bug where ExceptionsApp is not loaded when action controller is not loaded (ec9d9e5)

released at 2019-06-04 16:30:38 UTC

Fixes

  • Fixes an issue where ExceptionsApp prevents Rails from booting up (#49)

released at 2019-06-03 05:01:14 UTC

Features

  • Add support for Ruby 2.6
  • Add support for Rails 6.0

Bug fixes

  • Fixes a bug where POST requests cause the exceptions app to throw an ActionController::InvalidAuthenticityToken error on Rails 5.2 (d68d677, #48, @adrianhuna)

Breaking Changes

  • Drop support for Ruby <= 2.2
  • Drop support for Rails <= 4.1

released at 2018-03-08 18:36:16 UTC

New features

  • Add support for Rails 5.2
  • Add a test helper method #with_exceptions_app for easier testing (f5c16b9, #27, @kbaba1001)

Bug fixes

  • Fixed a bug where an ActionController::UnknownFormat error could cause a number of issues (1b824e6, #41, #42, @willnet, @joker-777)
  • Fixed a bug where the methods on the ExceptionApp weren't easily inspectable (6b4c834)

released at 2018-01-02 21:36:02 UTC

New features

  • Add support for Ruby 2.5.0
  • Add support for Rails 5.1

Breaking changes & deprecations

  • Drop support for Ruby 1.9.3
  • Drop support for Haml and Slim templates

Bug fixes

  • Fixes a bug where the exceptions app fails to show an error page properly when a malformed body is posted (474b6b3, #40, @jasim)

released at 2016-10-12 02:25:55 UTC

  • Added support for Rails 5 and edge
  • Added the ability to use helper methods in error templates(@willnet, #37)

released at 2015-05-18 01:53:59 UTC

  • Added slim support (@liubin, #20)
  • rails g rambulance:install no longer generates jbuilder templates if it's undefined
  • The exceptions app no longer attempts to render layouts when the request format is json
  • Now rails g rambulance:install always copies application.html.erb to error.html.erb again
  • incompatible change : error_layout option for the install command has been removed in favor of the change above

released at 2015-01-23 13:42:35 UTC

  • Added 2 helper methods #exception and #status_in_words that you can use in views

released at 2014-09-18 03:38:18 UTC

  • Add support for Rails 4.2 beta
  • Do not copy application.html.erb when rails g rambulance:install [@kenn, #5]
  • Capture ActionController::BadRequest before processing action
  • Dynamically generate exception/status mapping in initializer
  • Add option to copy application.html.erb for error page layout

released at 2014-09-05 12:22:37 UTC

  • Fixed a bug where changing config.layout_name doesn't actually switch layout [@kenn, #4]
  • Exceptions app now refers to app/views/#{config.view_path} by default

released at 2014-06-22 02:39:06 UTC

  • Fixed a bug where installer command doesn't work

released at 2014-06-20 01:00:02 UTC

  • First release of rambulance!