Skip to content

Commit d2d04eb

Browse files
committed
fix changelog
1 parent 9d74c76 commit d2d04eb

1 file changed

Lines changed: 19 additions & 23 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,43 @@
22

33
### Breaking Changes 🛠
44

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+
610
```ruby
711
Sentry.init do |config|
812
# ...
913
config.rails.structured_logging.enabled = true
1014
end
1115
```
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)
1417

1518
### New Features ✨
1619

1720
- (metrics) Attribute integration-emitted metrics by @sentry-junior in [#3071](https://github.com/getsentry/sentry-ruby/pull/3071)
1821
- 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+
| 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 |
3235

3336
### Bug Fixes 🐛
3437

3538
#### Logs, Metrics
3639

3740
- Make ThreadedPeriodicWorker and TelemetryEventBuffer fork friendly by @sl0thentr0py in [#3097](https://github.com/getsentry/sentry-ruby/pull/3097)
3841
- Reduce mutex surface area for TelemetryEventBuffer by @sl0thentr0py in [#3083](https://github.com/getsentry/sentry-ruby/pull/3083)
39-
40-
#### Metrics, Logs
41-
4242
- Kill telemetry buffer threads on close by @sl0thentr0py in [#3094](https://github.com/getsentry/sentry-ruby/pull/3094)
4343
- Ensure TelemetryBuffer uses own thread for both size based and periodic flushing by @sl0thentr0py in [#3084](https://github.com/getsentry/sentry-ruby/pull/3084)
4444

@@ -47,10 +47,6 @@
4747
- (faraday) Don't double instrument builder by @sl0thentr0py in [#3082](https://github.com/getsentry/sentry-ruby/pull/3082)
4848
- (rails) Read query params safely in around_action by @sl0thentr0py in [#3106](https://github.com/getsentry/sentry-ruby/pull/3106)
4949

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-
5450
## 7.0.0
5551

5652
### Breaking Changes 🛠

0 commit comments

Comments
 (0)