Packages
sentry
8.0.3
13.3.0
13.2.0
13.1.0
13.0.1
13.0.0
12.0.3
12.0.2
12.0.1
12.0.0
11.0.4
11.0.3
11.0.2
11.0.1
11.0.0
10.10.0
10.9.0
10.8.1
10.8.0
10.7.1
10.7.0
10.6.2
10.6.1
10.6.0
10.5.0
10.4.0
10.3.0
10.2.1
10.2.0
10.2.0-rc.2
10.2.0-rc.1
10.1.0
10.0.3
10.0.2
10.0.1
10.0.0
9.1.0
9.0.0
8.1.0
8.0.6
8.0.5
8.0.4
8.0.3
8.0.2
8.0.1
8.0.0
8.0.0-rc.2
8.0.0-rc.1
8.0.0-rc.0
retired
7.2.5
7.2.4
7.2.3
7.2.2
7.2.1
7.2.0
7.1.0
7.0.6
7.0.5
7.0.4
7.0.3
7.0.2
7.0.1
7.0.0
6.4.2
6.4.1
6.4.0
6.3.0
6.2.1
6.2.0
6.1.0
6.0.5
6.0.4
6.0.3
6.0.2
6.0.1
6.0.0
5.0.1
5.0.0
4.0.3
4.0.2
4.0.1
4.0.0
3.0.0
2.2.0
2.1.0
2.0.2
2.0.1
2.0.0
1.1.2
1.1.1
1.1.0
1.0.0
0.3.2
0.3.1
0.3.0
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
The Official Elixir client for Sentry
Current section
Files
Jump to
Current section
Files
CHANGELOG.md
# Changelog
## 8.0.3 (2020-11-11)
* Enhancements
* Update package & docs configuration (#432)
* Add Plug.Status filter example (#433)
* Support multiple source code root paths in Sentry.Sources (#437)
* Bug Fixes
* Fix dialyzer reporting unmatched_return for Sentry.PlugCapture (#436)
* Align Sentry event levels with Elixir logging levels (#439)
## 8.0.2 (2020-09-06)
* Enhancements
* Log error when JSON is unencodable (#429)
* Set logger event level to logger message level (#430)
* Limit breadcrumbs on add_breadcrumb (#431)
## 8.0.1 (2020-08-08)
* Enhancements
* Add plug parsing errors to list of default excluded params (#414)
* Make Sentry.PlugContext.scrub\_map public (#417)
* Allow users to configure maximum number of breadcrumbs (#418)
## 8.0.0 (2020-07-13)
[7.x -> 8.0 Upgrade Guide](https://gist.github.com/mitchellhenke/dce120a5515565076b13962ee0be749b)
* Bug Fixes
* Fix documentation for `Sentry.PlugContext` (#410)
## 8.0.0-rc.2 (2020-07-01)
* Bug Fixes
* Fix trying to transform erlang error coming from PlugCapture (#406)
## 8.0.0-rc.1 (2020-06-29)
* Bug Fixes
* Remove changes that were unintentionally included in build
## 8.0.0-rc.0 (2020-06-24)
* Enhancements
* Cache environment config in application config (#393)
* Allow configuring LoggerBackend to send all messages, not just exceptions (e.g. `Logger.error("I am an error message")`)
* Bug Fixes
* fix request url port in payloads for HTTPS requests (#391)
* Breaking Changes
* Change default `included_environments` to only include `:prod` by default (#370)
* Change default event send type to :none instead of :async (#341)
* Make hackney an optional dependency, and simplify Sentry.HTTPClient behaviour (#400)
* Use Logger.metadata for Sentry.Context, no longer return metadata values on set_* functions, and rename `set_http_context` to `set_request_context` (#401)
* Move excluded exceptions from Sentry.Plug to Sentry.DefaultEventFilter (#402)
* Remove Sentry.Plug and Sentry.Phoenix.Endpoint in favor of Sentry.PlugContext and Sentry.PlugCapture (#402)
* Remove feedback form rendering and configuration (#402)
* Logger metadata is now specified by key in LoggerBackend instead of enabled/disabled (#403)
* Require Elixir 1.10 and optionally plug_cowboy 2.3 (#403)
* `Sentry.capture_exception/1` now only accepts exceptions (#403)
## 7.2.4 (2020-03-09)
* Enhancements
* Allow configuring gather feedback form for Sentry.Plug errors (#387)
## 7.2.3 (2020-02-27)
* Enhancements
* Allow gathering feedback from Sentry.Plug errors (#385)
## 7.2.2 (2020-02-13)
* Bug Fixes
* Ensure stacktrace is list in LoggerBackend (#380)
## 7.2.1 (2019-12-05)
* Bug Fixes
* Improve documentation for `Sentry.Client.send_event/2` (#367)
* Fix potential Logger deadlock (#372)
* Pass the same exception for NoRouteError in `Sentry.Phoenix.Endpoint` (#376)
* Handle new MFA for duplicate Plug errors (#377)
* Update docs to recommend using application environment config for adding `Sentry.LoggerBackend` (#379)
## 7.2.0 (2019-10-23)
* Enhancements
* Allow filtering of Events using `before_send_event` (#364)
* Bug Fixes
* Remove newline from Logger for API error (#351)
* Add docs for Sentry.Context (#352)
* Avoid error duplication for Plug errors (#355)
* Fix issue in Sentry.Sources docs around recompilation (#357)
## 7.1.0 (2019-06-11)
* Enhancements
* Option to include `Logger.metadata` in `Sentry.LoggerBackend` (#338)
* Send maximum length of args in stacktrace (#340)
* Fix dialyzer warning when using Sentry.Phoenix.Endpoint (#344)
* Bug Fixes
* Fix documentation error relating to File.cwd!() (#346)
* Add parens to File.cwd!() in documentation (#347)
* Check that DSN is binary (#348)
## 7.0.6 (2019-04-17)
* Enhancements
* Allow configuring Sentry log level (#334)
## 7.0.5 (2019-04-05)
* Bug Fixes
* Strip leading "Elixir." from module name on error type (#330)
## 7.0.4 (2019-02-12)
* Bug Fixes
* Do not error if you cannot format the remote IP or port (#326)
## 7.0.3 (2018-11-14)
* Bug Fixes
* Fix issue from using spawn\_link stacktrace (#315)
* Relax plug\_cowboy versions (#314)
## 7.0.2 (2018-11-01)
* Bug Fixes
* Fix sending Phoenix.Router.NoRouteError when using Sentry.Phoenix.Endpoint (#309)
## 7.0.1 (2018-10-01)
* Enhancements
* Remove Poison from applications list (#306)
## 7.0.0 (2018-09-07)
* Enhancements
* Implement `Sentry.LoggerBackend`
* Breaking Changes
* Replace Poison with configurable JSON library
* Require Elixir 1.7+
* Remove `Sentry.Logger`
## 6.4.2 (2018-09-05)
* Enhancements
* Add deps reporting back (#305 / #301)
## 6.4.1 (2018-07-26)
* Bug Fixes
* Remove UUID dependency (#298)
* Fix link in documentation (#300)
## 6.4.0 (2018-07-02)
* Enhancements
* Add documentation detail around including source code (#287)
* Document fingerprinting (#288)
* Document `Sentry.Context` (#289)
* Add CONTRIBUTING.md (#290)
* Document cookie scrubber (#291)
* Document testing with Sentry (#292)
* Bug Fixes
* Change `report_deps` default value to false to avoid compiler bug (#285)
* Limit size of messages (#293)
* Use `elixir_uuid` instead of `uuid` (#295)
## 6.3.0 (2018-06-26)
* Enhancements
* Use the stacktrace passed to Sentry.Event.transform_exception/2 when calling Exception.normalize/3 (#266)
* Reduce Logger noise in HTTP Client (#274)
* Use `Plug.Conn.get_peer_data/1` (#273)
* Bug Fixes
* Add documentation for capturing arbitrary events (#272)
* Fix typo in README.md (#277)
## 6.2.1 (2018-04-24)
* Enhancements
* Accept public key DSNs (#263)
## 6.2.0 (2018-04-04)
* 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)
## 6.1.0 (2017-12-07)
* 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)
## 6.0.5 (2017-12-07)
* Enhancements
* Improve README documentation (#236)
* Fix GenEvent warning (#237, #239)
* Bug Fixes
* Fix error\_type reported in Sentry.Plug (#238)
## 6.0.4 (2017-11-20)
* Enhancements
* Allow string for included_environments by splitting on commas (#234)
* Bug Fixes
* Handle :error when sending test event (#228)
## 6.0.3 (2017-11-01)
* Enhancements
* Fix tests for differing versions of Erlang/Elixir (#221)
* Bug Fixes
* Fix invalid value for stacktrace via Event rendering layer (#224)
## 6.0.2 (2017-10-03)
* 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)
## 6.0.1 (2017-09-06)
* Bug Fixes
* Fix filters and test mix task (#206)
* Enhancements
* Improve README clarity (#202)
## 6.0.0 (2017-08-29)
See these [`5.0.0` to `6.0.0` upgrade instructions](https://gist.github.com/mitchellhenke/ffe2048e708fd7dd32d8d0a843daddf3) 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)
## 5.0.1 (2017-07-18)
* Bug Fixes
* Fix logger and context usage (#185)
## 5.0.0 (2017-07-10)
* 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)
## 4.0.3 (2017-05-17)
* Enhancements
* Update and improve Travis build matrix (#155)
* Specify behaviour for Sentry HTTP clients (#158)
## 4.0.2 (2017-04-26)
* Enhancements
* Relax hackney requirements
## 4.0.1 (2017-04-25)
* Enhancements
* Bump hackney to a version that fixes major bug (#153)
## 4.0.0 (2017-04-20)
See these [`3.0.0` to `4.0.0` upgrade instructions](https://gist.github.com/mitchellhenke/5248b3073f113309fa25550a0e4126d4) 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 in `Sentry.send_event`, `Sentry.capture_exception`, or `Sentry.capture_message` (#146)
* Return `:ignored` and log warning instead of returning `{:ok, "Sentry: unable to parse exception"}` when unable to parse exception in `Sentry.send_event`, `Sentry.capture_exception`, or `Sentry.capture_message` (#146)
* Return `{:ok, Task}` instead of `Task` when an event is successfully sent with `Sentry.send_event`, `Sentry.capture_exception`, or `Sentry.capture_message` (#146)
* Ignore non-existent route exceptions (#110)
* Sending source code as context when reporting errors (#138)
## 3.0.0 (2017-03-02)
* 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)
## 2.2.0 (2017-02-15)
* Enhancements
* Allow setting `hackney_opts`
* Add `Sentry.capture_message/1`
* Allow reading `:dsn` from System at runtime by configuring as `{:system, "ENV_VAR"}`
## 2.1.0 (2016-12-17)
* Enhancements
* Allow filtering which exceptions are sent via `Sentry.EventFilter` behaviour
* Add `Sentry.Context.set_http_context/1`
* Bug Fixes
* Fix usage of deprecated modules
* Fix README documentation
* Fix timestamp parameter format
## 2.0.2 (2016-12-08)
* Bug Fixes
* Fix regex checking of non-binary values
## 2.0.1 (2016-12-05)
* Bug Fixes
* Fix compilation error when Plug is not available
## 2.0.0 (2016-11-28)
* Enhancements
* Return a task when sending a Sentry event
* Provide default scrubber for request body and headers (`Sentry.Plug.default_body_scrubber` and `Sentry.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
* Backward incompatible changes
* `Sentry.capture_exception/1` now returns a `Task` instead of `{:ok, PID}`
* Sentry.Plug `:scrubber` option has been removed in favor of the more descriptive `:body_scrubber`option, which defaults to newly added `Sentry.Plug.default_scrubber/1`
* New option for Sentry.Plug `:header_scrubber` defaults to newly added `Sentry.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 to `nil`