Skip to content

Releases: getsentry/sentry-elixir

13.2.0

11 Jun 08:28

Choose a tag to compare

New Features ✨

  • (scrubbing) Implement PII scrubbing for stacktrace args by @solnic in #1068

Bug Fixes 🐛

Internal Changes 🔧

  • (ci) Add Elixir 1.20.0-OTP-29 to the matrix by @solnic in #1075
  • Allow usage of hackney 4.x by @sax in #1054

Other

13.1.0

21 May 10:51

Choose a tag to compare

New Features ✨

Tests

  • More test helpers and features by @solnic in #1060
  • Support async tests with Telemetry Processor by @solnic in #1055
  • Restore manual pid allowance for capturing events by @solnic in #1053

Bug Fixes 🐛

  • (live_view) Scrub sensitive data from LiveView breadcrumbs by @solnic in #1051
  • (live_view_hook) Handle Bandit.TransportError and URI struct in connect_info by @dl-alexandre in #1062
  • (test) Handle deduped events when collecting by @solnic in #1066

Internal Changes 🔧

Deps Dev

  • Bump postcss from 8.5.6 to 8.5.14 in /test_integrations/tracing/svelte_mini by @dependabot in #1061
  • Bump svelte from 5.53.6 to 5.55.7 in /test_integrations/tracing/svelte_mini by @dependabot in #1059

Other

  • (deps) Bump devalue from 5.6.4 to 5.8.1 in /test_integrations/tracing/svelte_mini by @dependabot in #1058
  • (docs) Prep for 13.1.0 by @solnic in #1067

Other

13.0.1

04 May 09:50

Choose a tag to compare

Bug Fixes 🐛

  • (logs) Remove auto-registered handler when user adds custom handler by @solnic in #1046
  • (tests) Accept nil as the DSN value again by @solnic in #1044

13.0.0

27 Apr 08:31

Choose a tag to compare

New Features ✨

Tests

Tracing

Other

Bug Fixes 🐛

Internal Changes 🔧

Deps Dev

  • Bump vite from 6.4.1 to 6.4.2 in /test_integrations/tracing/svelte_mini by @dependabot in #1032
  • Bump picomatch from 4.0.3 to 4.0.4 in /test_integrations/tracing/svelte_mini by @dependabot in #1021

Tests

Other

12.0.3

12 Mar 12:08

Choose a tag to compare

New Features ✨

Bug Fixes 🐛

Internal Changes 🔧

Deps Dev

  • Bump svelte from 5.53.0 to 5.53.6 in /test_integrations/tracing/svelte_mini by @dependabot in #1006
  • Bump rollup from 4.53.5 to 4.59.0 in /test_integrations/tracing/svelte_mini by @dependabot in #1007

12.0.2

02 Mar 09:46

Choose a tag to compare

Bug Fixes 🐛

12.0.1

27 Feb 10:32

Choose a tag to compare

Internal Changes 🔧

12.0.0

25 Feb 15:05

Choose a tag to compare

Logs & Telemetry Processor

Support for Structured Logs is here! 🎉 To enable:

config :sentry,
  # your config...
  enable_logs: true # <- add this!

Log events are sent to Sentry using the new TelemetryProcessor backend. You can enable it for other types of events via configuration:

config :sentry,
  # your config...
  enable_logs: true,
  telemetry_processor_categories: [:log, :error, :check_in, :transaction] # <- add this

This will become the default backend eventually, please try it out and report any issues!

You can learn more about the Telemetry Processor in our official documentation.

Related Pull Requests

Other new features

  • Support for Distributed Tracing (957)
  • Support for LiveView spans captured under single trace root (#977)
  • Add should_report_error_callback option to Oban.ErrorReporter for flexible error reporting logic (#832)
  • Handle HTTP 413 responses for oversized envelopes (#982)

Bug Fixes

  • Wrong app_name used by Igniter in prod.exs (#972)

    This requires configuring a custom propagator:

    # Configure OpenTelemetry to use Sentry propagator for distributed tracing
    config :opentelemetry,
      text_map_propagators: [
        :trace_context,
        :baggage,
        Sentry.OpenTelemetry.Propagator
      ]

Various improvements

  • Switch default HTTP client from Hackney to Finch (#897)

  • :source_code_exclude_patterns support for OTP-28.0 (#965)

    For people on OTP 28.1

    All you need is to use ~r/foo/E instead of ~r/foo/ in your config files. For example:

    config :sentry,
      enable_source_code_context: true,
      root_source_code_paths: [File.cwd!()],
      source_code_exclude_patterns: [~r/_build/E, ~r/deps/E, ~r/priv/E, ~r/test/E]
    For people on OTP 28.0

    You can convert your regexps for source_code_exclude_patterns config to strings:

    config :sentry,
      enable_source_code_context: true,
      root_source_code_paths: [File.cwd!()],
      source_code_exclude_patterns: ["/_build/", "/deps/", "/priv/", "/test/"]

11.0.4

18 Sep 13:13

Choose a tag to compare

  • Fix safe JSON encoding of improper lists (#938)

11.0.3

12 Aug 12:21

Choose a tag to compare

Various improvements

  • Allow any version of opentelemetry deps and verify minimum versions internally - this makes it possible to use sentry with tracing disabled along with older versions of opentelemetry deps (#931)