|
| 1 | +## 7.1.0 |
| 2 | + |
| 3 | +### Breaking Changes 🛠 |
| 4 | + |
| 5 | +- Disable Rails Structured Logging by default. by @sl0thentr0py in [#3102](https://github.com/getsentry/sentry-ruby/pull/3102) |
| 6 | + |
| 7 | + Since `enable_logs` was removed in [7.0.0](https://github.com/getsentry/sentry-ruby/releases/tag/7.0.0) and the community did not like the automatic enabling of Rails Structured Logging, we are disabling it in this minor. |
| 8 | + We apologize for the confusion caused. If you want to turn it on, please use: |
| 9 | + |
| 10 | + ```ruby |
| 11 | + Sentry.init do |config| |
| 12 | + # ... |
| 13 | + config.rails.structured_logging.enabled = true |
| 14 | + end |
| 15 | + ``` |
| 16 | +- fix!(tracing): Remove 302/303 from default `trace_ignore_status_codes` by @sl0thentr0py in [#3103](https://github.com/getsentry/sentry-ruby/pull/3103) |
| 17 | + |
| 18 | +### New Features ✨ |
| 19 | + |
| 20 | +- (metrics) Attribute integration-emitted metrics by @sentry-junior in [#3071](https://github.com/getsentry/sentry-ruby/pull/3071) |
| 21 | +- The SDK now wraps user callbacks so that they don't unintentionally break your application if they raise inside the callback. by @sl0thentr0py in [#3077](https://github.com/getsentry/sentry-ruby/pull/3077) |
| 22 | + |
| 23 | + | Callback | Behavior | |
| 24 | + | --- | --- | |
| 25 | + | `before_send` | Return `nil` and drop the event | |
| 26 | + | `before_send_transaction` | Return `nil` and drop the transaction | |
| 27 | + | `before_send_check_in` | Return `nil` and drop the check-in | |
| 28 | + | `event_processor` | Return `nil` and drop the event | |
| 29 | + | `before_send_log` | Return `nil` and drop the log item | |
| 30 | + | `before_send_metric` | Return `nil` and drop the metric item | |
| 31 | + | `before_breadcrumb` | Return `nil` and drop the breadcrumb | |
| 32 | + | `traces_sampler` | Fall back to `traces_sample_rate` | |
| 33 | + | `backtrace_cleanup_callback` | Fall back to the original backtrace | |
| 34 | + | `std_lib_logger_filter` | Return `nil` and skip the log | |
| 35 | + |
| 36 | +### Bug Fixes 🐛 |
| 37 | + |
| 38 | +#### Logs, Metrics |
| 39 | + |
| 40 | +- Make ThreadedPeriodicWorker and TelemetryEventBuffer fork friendly by @sl0thentr0py in [#3097](https://github.com/getsentry/sentry-ruby/pull/3097) |
| 41 | +- Reduce mutex surface area for TelemetryEventBuffer by @sl0thentr0py in [#3083](https://github.com/getsentry/sentry-ruby/pull/3083) |
| 42 | +- Kill telemetry buffer threads on close by @sl0thentr0py in [#3094](https://github.com/getsentry/sentry-ruby/pull/3094) |
| 43 | +- Ensure TelemetryBuffer uses own thread for both size based and periodic flushing by @sl0thentr0py in [#3084](https://github.com/getsentry/sentry-ruby/pull/3084) |
| 44 | + |
| 45 | +#### Other |
| 46 | + |
| 47 | +- (faraday) Don't double instrument builder by @sl0thentr0py in [#3082](https://github.com/getsentry/sentry-ruby/pull/3082) |
| 48 | +- (rails) Read query params safely in around_action by @sl0thentr0py in [#3106](https://github.com/getsentry/sentry-ruby/pull/3106) |
| 49 | + |
1 | 50 | ## 7.0.0 |
2 | 51 |
|
3 | 52 | ### Breaking Changes 🛠 |
|
0 commit comments