Releases: getsentry/sentry-elixir
Releases · getsentry/sentry-elixir
10.2.0
- No documented changes.
10.2.0-rc.2
Various fixes & improvements
- Support RCs in bump-version.sh script (42cc5d6) by @whatyouhide
- Improve behavior of :test_mode/:dsn (7f8442e) by @whatyouhide
- Bump nimble_ownership dep to make testing better (#700) by @whatyouhide
10.2.0-rc.1
Various fixes & improvements
- Add Cron support for Quantum jobs (#699) by @whatyouhide
- Add cron integration for Oban (#698) by @whatyouhide
- Introduce manual check-ins for crons (#697) by @whatyouhide
- Fix Dialyzer error (47e2d65) by @whatyouhide
- Clean up --output flag for "mix sentry.package_source_code" (711236f) by @whatyouhide
- Allow --output argument in "mix sentry.package_source_code" (#691) by @razielgn
- Don't list optional dependency on plug_cowboy (1ac4b93) by @whatyouhide
- Speed up tests by ~450% (#690) by @whatyouhide
- Remove Sentry.Interfaces.Span (#689) by @whatyouhide
- Fix a couple of flaky tests in CI (#688) by @whatyouhide
- Add url_scrubber for redacting URLs (#687) by @paulstatezny
- Update stuff in CI (#684) by @whatyouhide
- Introduce Sentry.Test (#681) by @whatyouhide
- Improve error message on unavailable config (05c4c22) by @whatyouhide
- Add Sentry.Interfaces.Span (#679) by @whatyouhide
- Fix crash with custom scrubber in Sentry.PlugContext (#678) by @paulstatezny
- Add exception mechanism set handled/unhandled (#677) by @whatyouhide
- Ignores unknown request fields (#676) by @whatyouhide
- Accept anything that is "stringable" when interpolating (#675) by @whatyouhide
10.1.0
Various fixes & improvements
- Add
Sentry.Interfaces.Thread
to fix stacktraces in messages. - Add the
--type
and--no-stacktrace
flags tomix sentry.send_test_message
. - Add support for interpolating messages (with
%s
) placeholders. SeeSentry.capture_message/2
. - Add support for attachments; see
Sentry.Attachment
andSentry.Context.add_attachment/1
.
10.0.3
Various fixes & improvements
- No "app.config" in "mix sentry.package_source_code" (#661) by @whatyouhide
- Add upgrade guide links to the changelog (#659) by @axelson
10.0.2
Various fixes & improvements
- Fix infinite logging loop (#657) by @whatyouhide
- Remove reference to "before_send_event" in README (f165050) by @whatyouhide
- Don't report events if DSN is not configured (#655) by @whatyouhide
10.0.1
10.0.0
:report_deps
now reports all loaded applications at the time the:sentry
application starts. This is not a compile-time configuration option anymore.- Add the
mix sentry.package_source_code
Mix task. See the upgrade guide for more information. - Add
~r"/test/"
to the default source code exclude patterns (see the:source_code_exclude_patterns
option). :environment_name
now defaults toproduction
(if it wasn't configured explicitly and if theSENTRY_ENVIRONMENT
environment variable is not set).- Hard-deprecate
:included_environments
. To control whether to send events to Sentry, use the:dsn
configuration option instead.:included_environments
now emits a warning if used, but will still work until v11.0.0 of this library. - Hard-deprecate
:before_send_event
in favor of the new:before_send
. This brings this SDK in line with all other Sentry SDKs.
9.1.0
Various fixes & improvements
- Attempt to scrub all
Plug.Conn
s inSentry.PlugCapture
(#619) by @whatyouhide - Fix typespec for the
Sentry.Context.t/0
type (#618) by @whatyouhide - Apply
:sample_rate
after event callbacks, rather than before (ab5c748) by @whatyouhide
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 inSentry.send_event/2
(and friends) - Removed
Sentry.CrashError
— now, crash reports (detected throughSentry.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 forSentry.Event.t/0
)
Various fixes & improvements
- Add
Sentry.LoggerHandler
, which is a:logger
handler rather than aLogger
backend - Make the
Sentry.HTTPClient.child_spec/0
callback optional - Add
:all
as a possible value of the:metadata
configuration option forSentry.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 (48cf37d) by @whatyouhide
- Don't cover test/support in tests (8cfe14b) by @whatyouhide
- Make two more funs private in Sentry.Event (340ba14) by @whatyouhide
- Add excoveralls for code coverage (58d94cf) by @whatyouhide
- Clean up Sentry.Config (f996c7d) by @whatyouhide
- Revert default :included_environments to [:prod] (d33bf19) by @whatyouhide
- Send async events right away without queueing (#612) by @whatyouhide
- Make Sentry.Interfaces.Request a struct (#611) by @whatyouhide
- Improve some tests (59e8ebb) by @whatyouhide
- Add Sentry logo to the docs (6d27eac) by @whatyouhide
- Polish docs for "mix sentry.send_test_event" (903aeb9) by @whatyouhide
- Update changelog and error messages (f6f577f) by @whatyouhide
- Soft-deprecate Sentry.EventFilter (#608) by @whatyouhide
- Improve Sentry.Event struct definition (#609) by @whatyouhide
- Clean up docs and tests for "mix sentry.send_test_event" (#610) by @whatyouhide
- Add Sentry.LoggerHandler (#607) by @whatyouhide
- Remove Sentry.CrashError and improve EXIT reporting (#606) by @whatyouhide
- Support :all in Sentry.LoggerBackend's :metadata (#605) by @whatyouhide
- Optimize JSON sanitization step (b96d6cf) by @whatyouhide
- Accept all environments by default (#604) by @whatyouhide
- Add example about alternative HTTP client to docs (38e80ed) by @whatyouhide
- Make Sentry.HTTPClient.child_spec/0 optional (#603) by @whatyouhide
- Clean up a bunch of little non-important things (18e83ae) by @whatyouhide
- Simplify test GenServer (30a9828) by @whatyouhide