- Added handling of rate limiting from the Rollbar API.
- BREAKING CHANGE: Increased Elixir version requirement to 1.4 and higher.
- Made invalid configurations raise.
- Allowed to configure Rollbax to use a proxy (#105).
- Fixed some code that wouldn't let Rollbax start if
:enabled
wasfalse
but the access token or environment were not set.
- Fixed a bug where we didn't list Jason as an application in the
:applications
key.
- BREAKING CHANGE: Increased Elixir version requirement to 1.3 and higher.
- Introduced
Rollbax.report_message/4
. - Reworked logging support. Now
Rollbax.Logger
is not aLogger
backend, and you cannot send logs to Rollbar automatically viaLogger.*
macros (Rollbar is not a logging aggregation service after all! 😛). UseRollbax.report_message/4
instead. Check out the documentation for more information on how to use the newRollbax.Logger
. - Made the
:access_token
configuration parameter be only required if:enabled
istrue
. - Added support for customizing the Rollbar API endpoint.
- Stopped overriding occurrence data provided by the user.
- Added support for runtime configuration through a callback that can be set with
:config_callback
. - Dropped support for configuring some options through
{:system, variable}
"special" values. The new:config_callback
configuration option allows to fetch variables from the environment at runtime, so that should be used instead.
- Made sure that JSON encoding never cause
Rollbax.Client
crashing. - Improved formatting of stacktraces, and exceptions reported as exits.
- Fixed a possible infinite loop when a report is send while
Rollbax.Client
is not available.
- Fixed a bug when reporting a term that is not an exception and using kind
:error
inRollbax.report/5
.
- Fixed a bug with custom data not being reported correctly.
- Bumped Elixir requirement from ~> 1.0 to ~> 1.1.
- Added support for blacklisting logger messages through the
:blacklist
configuration option. This way, it's possible to prevent logged messages that match a given pattern from being reported. - Started allowing globally-set custom data: the data in the
:custom
configuration option for the:rollbax
application is now sent alongside everything reported to Rollbax (and merged with report-specific custom data).
- Fixed a bug involving invalid unicode codepoints in
Rollbax.Logger
.
- Removed
Rollbax.report/2
in favour ofRollbax.report/3
: this new function takes the "kind" of the exception (:error
,:exit
, or:throw
) so that items on Rollbar are displayed more nicely. - Renamed
Rollbax.Notifier
toRollbax.Logger
. - Started logging (with level
:error
) when the Rollbar API replies with an error. - Started putting the metadata associated with
Logger
calls in the"message"
part of the reported item instead of the"custom"
data associated with it.