Releases: getsentry/sentry-elixir
Releases · getsentry/sentry-elixir
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.Clientcode style (#147) - Fix invalid specs in 
Sentrymethods (#146) - Allow setting client at runtime (#150)
 
 - Backward incompatible changes
- Return 
:ignoredinstead 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 
:ignoredand 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 ofTaskwhen 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 
:dsnfrom System at runtime by configuring as{:system, "ENV_VAR"} 
 - Allow setting 
 
2.1.0
- Enhancements
- Allow filtering which exceptions are sent via 
Sentry.EventFilterbehaviour - 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_scrubberandSentry.Plug.default_header_scrubber) - Header scrubbing can now be configured with 
:header_scrubber 
 - Bug Fixes
- Ensure 
mix sentry.send_test_eventfinishes sending event before ending Mix task 
 - Ensure 
 - Backward incompatible changes
Sentry.capture_exception/1now returns aTaskinstead of{:ok, PID}- Sentry.Plug 
:scrubberoption has been removed in favor of the more descriptive:body_scrubberoption, which defaults to newly addedSentry.Plug.default_scrubber/1 - New option for Sentry.Plug 
:header_scrubberdefaults 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_scrubbershould be set tonil