Releases: getsentry/sentry-elixir
Releases · getsentry/sentry-elixir
13.2.0
New Features ✨
Bug Fixes 🐛
- (oban) Handle non-list stacktraces in Oban error reporter by @whatyouhide in #1071
- (plug) Broader scrubbing by @solnic in #1070
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
- Prep 13.2.0 by @solnic in #1078
- refa(plug): consolidate access to the plug scrubber by @solnic in #1069
- Bump inspect limit for stacktrace args by @whatyouhide in #1076
- Fix all Elixir 1.20 warnings by @whatyouhide in #1074
- Exclude :bandit domain by default by @dinokovac-river in #1073
13.1.0
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
13.0.0
New Features ✨
Tests
- Auto-start TelemetryProcessor in setup_sentry by @solnic in #1039
- Automatic await in test helpers by @solnic in #1037
- Add test helpers by @solnic in #1034
Tracing
- First class support for Oban by @solnic in #1020
- Add support for OTel span links by @solnic in #1019
Other
- (metrics) Support for Metrics by @solnic in #1018
- (test) Add assert_sentry_metric/2 assertion helper by @solnic in #1042
- Add strict trace continuation support by @giortzisg in #1016
Bug Fixes 🐛
- (ci) Update validate-pr action to remove draft enforcement by @stephanie-anderson in #1027
- (tests) Proper TP setup for phx process in tests by @solnic in #1041
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
- More test stability fixes and improvements by @solnic in #1035
- Proper config isolation by @solnic in #1031
Other
- (deps) Bump devalue from 5.6.3 to 5.6.4 in /test_integrations/tracing/svelte_mini by @dependabot in #1017
- (test) Rework Sentry.Test to use Bypass-based HTTP testing by @solnic in #1030
- Update @doc since version to 13.0.0 in test modules by @solnic in #1038
- Update GitHub Actions setup to use latest action versions by @solnic in #1033
- Update validate-pr workflow by @stephanie-anderson in #1028
- Add PR validation workflow by @stephanie-anderson in #1023
12.0.3
New Features ✨
- (agents) Add AGENTS.md by @solnic in #1013
- (logs) Support non-primitives in the attributes by @solnic in #1014
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
12.0.1
12.0.0
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 thisThis 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_callbackoption toOban.ErrorReporterfor 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_patternssupport for OTP-28.0 (#965)For people on OTP 28.1
All you need is to use
~r/foo/Einstead 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_patternsconfig to strings:config :sentry, enable_source_code_context: true, root_source_code_paths: [File.cwd!()], source_code_exclude_patterns: ["/_build/", "/deps/", "/priv/", "/test/"]