Releases: getsentry/sentry-elixir
Releases · getsentry/sentry-elixir
4.0.3
4.0.2
4.0.2 (2017-04-26)
- Enhancements
- Relax hackney requirements
4.0.1
4.0.0
See these 3.0.0
to 4.0.0
upgrade instructions to update your existing app.
- Enhancements
- Bump hackney to a version that isn't retired (#135)
- Improve Logger reporting (#136)
- Accept keyword lists in
Sentry.Context.add_breadcrumb/1
(#139) - Add elements to beginning of breadcrumbs list for performance (#141)
- Close unread hackney responses properly (#149)
- Improve
Sentry.Client
code style (#147) - Fix invalid specs in
Sentry
methods (#146) - Allow setting client at runtime (#150)
- Backward incompatible changes
- Return
:ignored
instead of{:ok, ""}
when event is not sent because environment_name is not in included_environments inSentry.send_event
,Sentry.capture_exception
, orSentry.capture_message
(#146) - Return
:ignored
and log warning instead of returning{:ok, "Sentry: unable to parse exception"}
when unable to parse exception inSentry.send_event
,Sentry.capture_exception
, orSentry.capture_message
(#146) - Return
{:ok, Task}
instead ofTask
when an event is successfully sent withSentry.send_event
,Sentry.capture_exception
, orSentry.capture_message
(#146) - Ignore non-existent route exceptions (#110)
- Sending source code as context when reporting errors (#138)
- Return
3.0.0
2.2.0
- Enhancements
- Allow setting
hackney_opts
- Add
Sentry.capture_message/1
- Allow reading
:dsn
from System at runtime by configuring as{:system, "ENV_VAR"}
- Allow setting
2.1.0
- Enhancements
- Allow filtering which exceptions are sent via
Sentry.EventFilter
behaviour - Add
Sentry.Context.set_http_context/1
- Allow filtering which exceptions are sent via
- Bug Fixes
- Fix usage of deprecated modules
- Fix README documentation
- Fix timestamp parameter format
2.0.2
- Bug Fixes
- Fix regex checking of non-binary values
2.0.1
- Bug Fixes
- Fix compilation error when Plug is not available
2.0.0
- Enhancements
- Return a task when sending a Sentry event
- Provide default scrubber for request body and headers (
Sentry.Plug.default_body_scrubber
andSentry.Plug.default_header_scrubber
) - Header scrubbing can now be configured with
:header_scrubber
- Bug Fixes
- Ensure
mix sentry.send_test_event
finishes sending event before ending Mix task
- Ensure
- Backward incompatible changes
Sentry.capture_exception/1
now returns aTask
instead of{:ok, PID}
- Sentry.Plug
:scrubber
option has been removed in favor of the more descriptive:body_scrubber
option, which defaults to newly addedSentry.Plug.default_scrubber/1
- New option for Sentry.Plug
:header_scrubber
defaults to newly addedSentry.Plug.default_header_scrubber/1
- Request bodies were not previously sent by default. Because of above change, request bodies are now sent by default after being scrubbed by default scrubber. To prevent sending any data,
:body_scrubber
should be set tonil