Releases: getsentry/sentry-elixir
Releases · getsentry/sentry-elixir
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.Threadto fix stacktraces in messages. - Add the
--typeand--no-stacktraceflags tomix sentry.send_test_message. - Add support for interpolating messages (with
%s) placeholders. SeeSentry.capture_message/2. - Add support for attachments; see
Sentry.AttachmentandSentry.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_depsnow reports all loaded applications at the time the:sentryapplication starts. This is not a compile-time configuration option anymore.- Add the
mix sentry.package_source_codeMix task. See the upgrade guide for more information. - Add
~r"/test/"to the default source code exclude patterns (see the:source_code_exclude_patternsoption). :environment_namenow defaults toproduction(if it wasn't configured explicitly and if theSENTRY_ENVIRONMENTenvironment variable is not set).- Hard-deprecate
:included_environments. To control whether to send events to Sentry, use the:dsnconfiguration option instead.:included_environmentsnow emits a warning if used, but will still work until v11.0.0 of this library. - Hard-deprecate
:before_send_eventin 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.Conns inSentry.PlugCapture(#619) by @whatyouhide - Fix typespec for the
Sentry.Context.t/0type (#618) by @whatyouhide - Apply
:sample_rateafter 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/0type - Removed
Sentry.Event.add_metadata/1 - Removed
Sentry.Event.culprit_from_stacktrace/1 - Removed
Sentry.Event.do_put_source_context/3 - Removed the
:asyncvalue for the:resultoption 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.Eventstruct - check out the new fields (and typespec forSentry.Event.t/0)
Various fixes & improvements
- Add
Sentry.LoggerHandler, which is a:loggerhandler rather than aLoggerbackend - Make the
Sentry.HTTPClient.child_spec/0callback optional - Add
:allas a possible value of the:metadataconfiguration option forSentry.LoggerBackend - Add
:allas a possible value for the:included_environmentconfiguration option - Add
Sentry.Interfaceswith 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.EventFilterin favour of:before_send_eventcallbacks.
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
8.1.0
Various fixes & improvements
- Bump min craft version to 1.4.2 (795bfd1) by @sl0thentr0py
- Add github target to craft (ef563cc) by @sl0thentr0py
- Bump min craft version (56516be) by @sl0thentr0py
- Improve deprecation of Sentry.Config.root_source_code_path/0 (#558) by @whatyouhide
- Wrap HTTP requests in try/catch (#515) by @ruslandoga
- Remove extra config files (#556) by @yordis
- Remove use of deprecated Mix.Config (#555) by @whatyouhide
- Add release/** branches to ci for craft (dfaffb9) by @sl0thentr0py
- Fix typo in moduledoc (#534) by @louisvisser
- Check :hackney application when starting (#554) by @whatyouhide
- feat(event): filter more exceptions by default (#550) by @gpouilloux
- Fix example configuration for Sentry.Sources (#543) by @scudelletti
- Use module attribute for dictionary key consistently (#537) by @tmecklem
- Fix send_event/2 typespec (#545) by @ruslandoga
- Update badges in the README (#548) by @ruslandoga
- Update ex_docs to 0.29+ (#549) by @ruslandoga
- Fix Elixir 1.15 warnings (#553) by @dustinfarris
- Add :remote_address_reader PlugContext option (#519) by @michallepicki
- Traverse full domain list when checking for excluded domains (#508) by @martosaur
- Add craft with target hex (#532) by @sl0thentr0py
- Add Sentry to LICENSE (#530) by @sl0thentr0py
- Update ci setup-beam action name (#531) by @sl0thentr0py
- allow logging from tasks (#517) by @ruslandoga
- Improve DSN parsing and Endpoint building (#507) by @AtjonTV
Plus 14 more