|
2 | 2 |
|
3 | 3 | ### Breaking Changes 🛠 |
4 | 4 |
|
5 | | -- 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. We apologize for the confusion caused. If you want to turn it on, please use: by @sl0thentr0py in [#3102](https://github.com/getsentry/sentry-ruby/pull/3102) |
| 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 | + |
6 | 10 | ```ruby |
7 | 11 | Sentry.init do |config| |
8 | 12 | # ... |
9 | 13 | config.rails.structured_logging.enabled = true |
10 | 14 | end |
11 | 15 | ``` |
12 | | -- Resolves: #3101 by @sl0thentr0py in [#3102](https://github.com/getsentry/sentry-ruby/pull/3102) |
13 | | -- Resolves: RUBY-219 by @sl0thentr0py in [#3102](https://github.com/getsentry/sentry-ruby/pull/3102) |
| 16 | +- fix!(tracing): Remove 302/303 from default `trace_ignore_status_codes` by @sl0thentr0py in [#3103](https://github.com/getsentry/sentry-ruby/pull/3103) |
14 | 17 |
|
15 | 18 | ### New Features ✨ |
16 | 19 |
|
17 | 20 | - (metrics) Attribute integration-emitted metrics by @sentry-junior in [#3071](https://github.com/getsentry/sentry-ruby/pull/3071) |
18 | 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) |
19 | | -- `before_send`: return nil and drop the event by @sl0thentr0py in [#3077](https://github.com/getsentry/sentry-ruby/pull/3077) |
20 | | -- `before_send_transaction`: return nil and drop the transaction by @sl0thentr0py in [#3077](https://github.com/getsentry/sentry-ruby/pull/3077) |
21 | | -- `before_send_check_in`: return nil and drop the transaction by @sl0thentr0py in [#3077](https://github.com/getsentry/sentry-ruby/pull/3077) |
22 | | -- `before_send_check_in`: return nil and drop the check-in by @sl0thentr0py in [#3077](https://github.com/getsentry/sentry-ruby/pull/3077) |
23 | | -- `event_processor`: return nil and drop the event by @sl0thentr0py in [#3077](https://github.com/getsentry/sentry-ruby/pull/3077) |
24 | | -- `before_send_log`: return nil and drop the log item by @sl0thentr0py in [#3077](https://github.com/getsentry/sentry-ruby/pull/3077) |
25 | | -- `before_send_metric`: return nil and drop the metric item by @sl0thentr0py in [#3077](https://github.com/getsentry/sentry-ruby/pull/3077) |
26 | | -- `before_breadcrumb`: return nil and drop the breadcrumb by @sl0thentr0py in [#3077](https://github.com/getsentry/sentry-ruby/pull/3077) |
27 | | -- `traces_sampler`: fall back to `traces_sample_rate` by @sl0thentr0py in [#3077](https://github.com/getsentry/sentry-ruby/pull/3077) |
28 | | -- `backtrace_cleanup_callback`: fall back to the original backtrace by @sl0thentr0py in [#3077](https://github.com/getsentry/sentry-ruby/pull/3077) |
29 | | -- `std_lib_logger_filter`: return nil and skip the log by @sl0thentr0py in [#3077](https://github.com/getsentry/sentry-ruby/pull/3077) |
30 | | -- Resolves: #3072 by @sl0thentr0py in [#3077](https://github.com/getsentry/sentry-ruby/pull/3077) |
31 | | -- Resolves: RUBY-211 by @sl0thentr0py in [#3077](https://github.com/getsentry/sentry-ruby/pull/3077) |
| 22 | + |
| 23 | + `before_send`: return nil and drop the event |
| 24 | + `before_send_transaction`: return nil and drop the transaction |
| 25 | + `before_send_check_in`: return nil and drop the transaction |
| 26 | + `before_send_check_in`: return nil and drop the check-in |
| 27 | + `event_processor`: return nil and drop the event |
| 28 | + `before_send_log`: return nil and drop the log item |
| 29 | + `before_send_metric`: return nil and drop the metric item |
| 30 | + `before_breadcrumb`: return nil and drop the breadcrumb |
| 31 | + `traces_sampler`: fall back to `traces_sample_rate` |
| 32 | + `backtrace_cleanup_callback`: fall back to the original backtrace |
| 33 | + `std_lib_logger_filter`: return nil and skip the log |
32 | 34 |
|
33 | 35 | ### Bug Fixes 🐛 |
34 | 36 |
|
35 | 37 | #### Logs, Metrics |
36 | 38 |
|
37 | 39 | - Make ThreadedPeriodicWorker and TelemetryEventBuffer fork friendly by @sl0thentr0py in [#3097](https://github.com/getsentry/sentry-ruby/pull/3097) |
38 | 40 | - Reduce mutex surface area for TelemetryEventBuffer by @sl0thentr0py in [#3083](https://github.com/getsentry/sentry-ruby/pull/3083) |
39 | | - |
40 | | -#### Metrics, Logs |
41 | | - |
42 | 41 | - Kill telemetry buffer threads on close by @sl0thentr0py in [#3094](https://github.com/getsentry/sentry-ruby/pull/3094) |
43 | 42 | - 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 | 43 |
|
|
47 | 46 | - (faraday) Don't double instrument builder by @sl0thentr0py in [#3082](https://github.com/getsentry/sentry-ruby/pull/3082) |
48 | 47 | - (rails) Read query params safely in around_action by @sl0thentr0py in [#3106](https://github.com/getsentry/sentry-ruby/pull/3106) |
49 | 48 |
|
50 | | -### Other |
51 | | - |
52 | | -- fix!(tracing): Remove 302/303 from default `trace_ignore_status_codes` by @sl0thentr0py in [#3103](https://github.com/getsentry/sentry-ruby/pull/3103) |
53 | | - |
54 | 49 | ## 7.0.0 |
55 | 50 |
|
56 | 51 | ### Breaking Changes 🛠 |
|
0 commit comments