honeybadger v0.11.0 Release Notes
Release Date: 2019-02-28 // about 5 years ago-
โฌ๏ธ When upgrading to v0.11, users should be aware of a few important changes:
- You must be on Elixir 1.7+ and Erlang/OTP 21+
- Due to the deprecation of
System.stacktrace/0
and the introduction of__STACKTRACE__
, manually callingHoneybadger.notify/3
will no longer include a stacktrace by default. See the issue discussion for more details - A stacktrace can be manually provided from within a rescue/catch block via the STACKTRACE macro, e.g.
Honeybadger.notify(SomeError, %{my: :context}, __STACKTRACE__)
๐ Changed
- Switch from Erlang's
:error_logger
to an Elixir 1.7 and Erlang/OTP 21+Logger
backend. This provides more consistent error reporting and enhanced integration with Logger metadata. - Stop automatically extracting stacktraces for calls to
Honeybadger.notice/3
. The generated stacktrace was unreliably and frequently listed the Honeybadger reporter's internals, rather than application code. Manual calls tonotice/3
should happen within arescue/catch
block and use the__STACKTRACE__
macro.
โ Added
- ๐ Use
Logger.metadata
as the basis for Honeybadger context in all logger generated notices
๐ Fixed
- ๐ Fix Map.t() isn't a valid dialyzer type (#198)
- ๐ Try to convert remote IP to string in case of parsing failure