diff --git a/CHANGELOG.md b/CHANGELOG.md index af5acbf1..a8f6d9b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,31 @@ ## 9.0.0 +### Breaking changes + +- Removed `Sentry.Sources` +- Removed `Sentry.Client`, as it's an internal module +- Removed the `Sentry.Event.sentry_exception/0` type +- Removed `Sentry.Event.add_metadata/1` +- Removed `Sentry.Event.culprit_from_stacktrace/1` +- Removed `Sentry.Event.do_put_source_context/3` +- Removed the `:async` value for the `:result` option in `Sentry.send_event/2` (and friends) +- Removed `Sentry.CrashError` — now, crash reports (detected through `Sentry.LoggerBackend`) that do not contain exceptions are reported as *messages* in Sentry +- Changed the shape of the `Sentry.Event` struct - check out the new fields (and typespec for `Sentry.Event.t/0`) + +### Various fixes & improvements + +- Add `Sentry.LoggerHandler`, which is a `:logger` handler rather than a `Logger` backend +- Make the `Sentry.HTTPClient.child_spec/0` callback optional +- Add `:all` as a possible value of the `:metadata` configuration option for `Sentry.LoggerBackend` +- Add `:all` as a possible value for the `:included_environment` configuration option +- Add `Sentry.Interfaces` with all the child modules, which are useful if you're working directly with the Sentry API +- Fix an issue with JSON-encoding non-encodable terms (such as PIDs, which are pretty common) + +### Deprecations + +- Soft-deprecate `Sentry.EventFilter` in favour of `:before_send_event` callbacks. + ### Various fixes & improvements - Remove manually-entered entries from the CHANGELOG (48cf37d9) by @whatyouhide @@ -29,8 +54,6 @@ - Clean up a bunch of little non-important things (18e83ae9) by @whatyouhide - Simplify test GenServer (30a9828e) by @whatyouhide -_Plus 41 more_ - ## 8.1.0 ### Various fixes & improvements