The :enable_logs and :enable_metrics options have been removed. Structured logs are now enabled by setting :level inside the :logs option (for example, logs: [level: :info]). The :level key defaults to nil, so if you only delete enable_logs: true and keep a :logs block without :level, the SDK still reports crashes but stops sending structured logs. Metrics are always on and are sent unconditionally. To stop metrics from being sent, drop them in a :before_send_metric callback. See the 13.x to 14.x upgrade guide for details.
Breaking Changes 🛠
Config
Data Collection
New Features ✨
- (scrubbing) Adopt denylist defined by Data Collection spec by @solnic in #1198
- (telemetry_processor) Enable all categories by default by @solnic in #1208
- (tracing) Add option to exclude certain http statuses from tracing by @solnic in #1217
Bug Fixes 🐛
Callbacks
- Wrap Oban callbacks by @solnic in #1224
- Wrap plug and phoenix callbacks by @solnic in #1223
- Wrap traces sampler callback by @solnic in #1222
- Wrap log and metric callbacks by @solnic in #1221
- Wrap event pipeline callbacks by @solnic in #1220
Data Collection
- Scrub referer URLs too by @solnic in #1201
- Leave query params the SDK does not redact untouched by @solnic in #1200
- Scrub conn path params (#1195) by @solnic in #1197
- Apply the url scrubber to conn path and query fields … by @solnic in #1196
Telemetry Processor
- Flush buffered telemetry on shutdown by @solnic in #1204
- Wake scheduler for pending buffer deadlines by @solnic in #1203
Sentry SDK Specification Alignments
- (metrics) Attach sentry.timestamp.sequence by @solnic in #1215
- (tracing) Discard ignored-status transactions as event_processor by @solnic in #1226