Skip to content

Commit 2e76214

Browse files
Merge remote-tracking branch 'remotes/origin/release/7.1.0'
2 parents 756cafa + d2d04eb commit 2e76214

14 files changed

Lines changed: 62 additions & 13 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
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+
150
## 7.0.0
251

352
### Breaking Changes 🛠

‎sentry-delayed_job/lib/sentry/delayed_job/version.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Sentry
44
module DelayedJob
5-
VERSION = "7.0.0"
5+
VERSION = "7.1.0"
66
end
77
end

‎sentry-delayed_job/sentry-delayed_job.gemspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ Gem::Specification.new do |spec|
3030
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
3131
spec.require_paths = ["lib"]
3232

33-
spec.add_dependency "sentry-ruby", "~> 7.0.0"
33+
spec.add_dependency "sentry-ruby", "~> 7.1.0"
3434
spec.add_dependency "delayed_job", ">= 4.0"
3535
end

‎sentry-opentelemetry/lib/sentry/opentelemetry/version.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Sentry
44
module OpenTelemetry
5-
VERSION = "7.0.0"
5+
VERSION = "7.1.0"
66
end
77
end

‎sentry-opentelemetry/sentry-opentelemetry.gemspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ Gem::Specification.new do |spec|
3030
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
3131
spec.require_paths = ["lib"]
3232

33-
spec.add_dependency "sentry-ruby", "~> 7.0.0"
33+
spec.add_dependency "sentry-ruby", "~> 7.1.0"
3434
spec.add_dependency "opentelemetry-sdk", "~> 1.0"
3535
end

‎sentry-rails/lib/sentry/rails/version.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Sentry
44
module Rails
5-
VERSION = "7.0.0"
5+
VERSION = "7.1.0"
66
end
77
end

‎sentry-rails/sentry-rails.gemspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
3131
spec.require_paths = ["lib"]
3232

3333
spec.add_dependency "railties", ">= 5.2.0"
34-
spec.add_dependency "sentry-ruby", "~> 7.0.0"
34+
spec.add_dependency "sentry-ruby", "~> 7.1.0"
3535

3636
spec.post_install_message = <<~MSG
3737
Starting with sentry-rails 7.1.0, Rails structured logging is disabled by default.

‎sentry-resque/lib/sentry/resque/version.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Sentry
44
module Resque
5-
VERSION = "7.0.0"
5+
VERSION = "7.1.0"
66
end
77
end

‎sentry-resque/sentry-resque.gemspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ Gem::Specification.new do |spec|
3030
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
3131
spec.require_paths = ["lib"]
3232

33-
spec.add_dependency "sentry-ruby", "~> 7.0.0"
33+
spec.add_dependency "sentry-ruby", "~> 7.1.0"
3434
spec.add_dependency "resque", ">= 1.24"
3535
end

‎sentry-ruby/lib/sentry/version.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Sentry
4-
VERSION = "7.0.0"
4+
VERSION = "7.1.0"
55
end

0 commit comments

Comments
 (0)