- Enhancements
- Allow overriding in Sentry.Plug(#261)
- Implement Sentry.Phoenix.Endpoint to capture errors in Phoenix.Endpoint (#259)
- Bug Fixes
- Fix sending events from remote_console (#262)
- Add filter option to configuration table in README (#255)
- Default to not sending cookies, but allow configuration to send (#254)
- Do not raise on invalid DSN (#218)
- Enhancements
- Elixir 1.6.0 formatted (#246)
- Improve documentation around source code compilation (#242)
- Update typespecs (#249)
- Report errors from :kernel.spawn processes (#251)
- Bug Fixes
- Fix doc typos (#245)
- Remove Sentry.Event compile warning (#248)
- Fix enable_source_code_context configuration (#247)
- Enhancements
- Improve README documentation (#236)
- Fix GenEvent warning (#237, #239)
- Bug Fixes
- Fix error_type reported in Sentry.Plug (#238)
- Enhancements
- Allow string for included_environments by splitting on commas (#234)
- Bug Fixes
- Handle :error when sending test event (#228)
- Enhancements
- Fix tests for differing versions of Erlang/Elixir (#221)
- Bug Fixes
- Fix invalid value for stacktrace via Event rendering layer (#224)
- Enhancements
- Improve Sentry.Logger documentation (#217)
- Bug Fixes
- Handle Plug.Upload during scrubbing (#208)
- Do not check DSN for source_code_path_pattern configuration (#211)
- Fix culprit ambiguity (#214)
- Bug Fixes
- Fix filters and test mix task (#206)
- Enhancements
- Improve README clarity (#202)
See these 5.0.0
to 6.0.0
upgrade instructions to update your existing app.
- Breaking Changes
- Remove use_error_logger configuration (#196)
- enable_source_code_context is no longer required configuration (#201)
- Bug Fixes
- Fix README error (#197)
- Prevent overwriting server_name option (#200)
- Enhancements
- Scrubbing of nested maps (#192)
- Allow Hackney 1.9 and later (#199)
- Bug Fixes
- Fix logger and context usage (#185)
- Backward incompatible changes
- Allow specifying sync/async/none when getting result of sending event (#174)
- Enhancements
- Modules (#182)
- Config from system and DSN (#180)
- App Frames (#177)
- Sampling (#176)
- Post event hook (#175)
- Improve documentation around recompilation for source code context (#171)
- Use better arity logic in stacktraces (#170)
- Allow custom fingerprinting (#160)
- Bug Fixes
- Fix README typo (#159)
- Fix the backoff to really be exponential (#162)
- Enhancements
- Update and improve Travis build matrix (#155)
- Specify behaviour for Sentry HTTP clients (#158)
- Enhancements
- Relax hackney requirements
- Enhancements
- Bump hackney to a version that fixes major bug (#153)
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
- 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