Skip to content

Releases: yuki24/rambulance

v1.0.2

06 Jun 23:39
Compare
Choose a tag to compare

Fixes

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

v1.0.1

04 Jun 16:30
Compare
Choose a tag to compare

Fixes

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

v1.0.0

03 Jun 05:01
Compare
Choose a tag to compare

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

v0.6.0

08 Mar 18:36
Compare
Choose a tag to compare

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)

v0.5.0

02 Jan 21:36
Compare
Choose a tag to compare

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)

v0.4.0

12 Oct 02:25
Compare
Choose a tag to compare
  • Added support for Rails 5 and edge
  • Added the ability to use helper methods in error templates(@willnet, #37)

v0.3.1

18 May 01:53
Compare
Choose a tag to compare
  • 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

v0.3.0

23 Jan 13:42
Compare
Choose a tag to compare
  • Added 2 helper methods #exception and #status_in_words that you can use in views

v0.2.0

18 Sep 03:38
Compare
Choose a tag to compare
  • 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

v0.1.2

05 Sep 12:22
Compare
Choose a tag to compare
  • 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