Skip to content

Releases: BetterErrors/better_errors

v0.5.0

31 Aug 04:06
Compare
Choose a tag to compare

New Features

  • #79 - Add HTML comment with textual error information to the bottom of error pages (@csexton)
  • Serve text only error page when the Accept request header does not include text/html.

Bugs Fixed

  • #78 - Don't add a path specific to @charliesome's machine to $LOAD_PATH (@josevalim)
  • #80 - Relax dependency on erubis to support Rails 3.0 (@simi)
  • #91 - Fix Better Errors when Turbolinks is loaded
  • #94 - Rewind rack.input when reading it in case other middleware has also read from it (@virusman)
  • #104 - Insert the Better Errors middleware after ActionDispatch::DebugExceptions (@loopj)
  • #113 - Fix jump when hovering over header when there are multiple lines in the exception header (@betawaffle)
  • #102 - Don't URL encode filename when creating MacVim URLs (@lucascaton)

v0.3.2

31 Aug 03:58
Compare
Choose a tag to compare

Misc.

  • Remove BetterErrors::DisableLoggingMiddleware

v0.3.0

31 Aug 03:57
Compare
Choose a tag to compare

New Features

  • #32 - Suppress logging for special requests to the Better Errors middleware
  • #21 - Show Rack request info
  • #34 - Make filenames a link to open the file in the user's editor (@jdelStrother)

Bugs Fixed

  • #31 - Fix Better Errors choking when a backtrace line does not contain a filename and line number
  • #19 - Fix incorrect URLs being requested when an app is not mounted at /.
  • #37 - Fix exception raised when inspecting local/instance variables on a BasicObject frame
  • #43 - Fix for Rack servers that don't set REQUEST_PATH (@quadule)
  • #41 - Fix gems vendored under the application root being incorrectly shown as application frames (@brewski)
  • #58 - Visiting /__better_errors will no longer raise an exception when there is no exception recorded (@shime)`
  • #59 - Remove warning telling users to install binding_of_caller (@BrandonMathis)
  • #63 - Allow object_ids that have wrapped around and become negative (@zhouguangming)
  • Handle exceptions raised by #inspect when showing local/instance variables
  • Disable Pry's pager

v0.2.0

31 Aug 03:47
Compare
Choose a tag to compare

New Features

  • #6 - Redesign error page to be more beautiful and responsive ✨ (@rstacruz)

Bugs Fixed

  • #28 - Fix exception raised when a backtrace line does not adhere to the standard Ruby format

v0.1.1

31 Aug 03:44
Compare
Choose a tag to compare

New Features

  • Files where syntax errors occurred are now shown in the backtrace. (@rstacruz)

Bugs Fixed

  • Don't try to show variable info or REPL if the binding for the current stack frame is unavailable

v0.1.0

31 Aug 03:42
Compare
Choose a tag to compare

New Features

  • #15 - Add history browsing in REPL with up/down arrow keys. (@jarrodrobins)
  • #3 - Add experimental Pry REPL support
  • Browsing to /__better_errors will show the error page for the most recent exception.

Bugs Fixed

  • #12, #18 - Fixes NoMethodError when an exception does not respond to __better_errors_binding_stack
  • Fix case where a binding could be mismatched with a stack frame.

v0.0.8

31 Aug 03:38
Compare
Choose a tag to compare

New Features

  • #8 - Log exception details and a backtrace to the terminal

Bugs Fixed

  • #10 - Fall back to plain text if the extension of a file in the backtrace is not supported by Better Errors
  • #13 - Fix an exception raised if a line number in a backtrace does not exist. (@caldwell)
  • If __method__ returns nil, a pretty method name is not set.
  • The first application frame (if any) will be selected by default

v0.0.7

31 Aug 03:34
Compare
Choose a tag to compare

Bugs Fixed

  • Better Errors will not error out when a filename in the backtrace does not exist.
  • Support /__better_errors URL anywhere in the request path, instead of just the root.

v0.0.6

31 Aug 03:31
Compare
Choose a tag to compare

New Features

  • better_errors/rails will no longer to load when Rails.env is production.

v0.0.5

31 Aug 03:30
Compare
Choose a tag to compare

Bugs Fixed

  • REPL is no longer shown if binding_of_caller is not installed