- Enhancements
- Bump hackney to a version that isn't retired (#135)
- Enhancements
- Add dialyzer support (#128)
- Backward incompatible changes
- Fix default configuration (#124)
- Start and use separate Sentry hackney pool instead of default (#130)
- Return
:error
instead of raising when encoding invalid JSON (#131)
- 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
-
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
- Bug Fixes
- Fix regex checking of non-binary values
- Bug Fixes
- Fix compilation error when Plug is not available
-
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