bugsnag 6.29.0 → 6.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2536331250287057ddd6ae55cd70922f9a6d53785a9d4172ed801a7c0d262437
4
- data.tar.gz: 373d2dd942e58cc57c5fdc26f2841a05910ed06e63986e3a05681c18fd29b0a6
3
+ metadata.gz: '0844f1dd59f8339a8a3e729207816355f41ca8b37e78805ea0bedbd7c1851b41'
4
+ data.tar.gz: d06684b963d6aa03266e3a32c10dbd2a5332e8f54a2ef4066bc2c86766f722a9
5
5
  SHA512:
6
- metadata.gz: 3d9d3118b3ba2aa5e32d0ca738dbbb5da143f2837a54596e3b048a98cce1f6a1651254d7148afea912e5b78c674d589ddfee1321c768f3dcc0560a0127a021ef
7
- data.tar.gz: e175d840f498cab1ecad66017d386a7d02fb9065e603945c1e3029736373ea2a0dd9e1f9f33a414bd0109d6cd6de7cbd2b3b72a1fb01051379945dfa2a137524
6
+ metadata.gz: b892575e62bf900f2c8ba2b2f104ab26281214efa44564eb9eecb586aadbafdf446641e49256797e1856fd0998c527f700077bcad74a0c6f7293db69f4d7657d
7
+ data.tar.gz: c6d1e384a2b7f250893b465c9d2c69acb992f6241424cef4ce1d8d2b5de5f2ab48221d71e2568d6f22528f682d1dc5380fd1cdaa0474a3884d12194972d32330
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## v6.30.0 (13 April 2026)
5
+
6
+ ### Enhancements
7
+
8
+ * Use `ActiveSupport::Notifications.monotonic_subscribe` for performance improvement on compatible Rails versions
9
+ | [#856](https://github.com/bugsnag/bugsnag-ruby/pull/856)
10
+
4
11
  ## v6.29.0 (21 January 2026)
5
12
 
6
13
  ### Enhancements
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.29.0
1
+ 6.30.0
@@ -15,7 +15,9 @@ module Bugsnag
15
15
  # @api private
16
16
  # @param event [Hash] details of the event to subscribe to
17
17
  def event_subscription(event)
18
- ActiveSupport::Notifications.subscribe(event[:id]) do |*, event_id, data|
18
+ # monotonic_subscribe was introduced in Rails 6.1+, check if it exists
19
+ subscription_method = ActiveSupport::Notifications.respond_to?(:monotonic_subscribe) ? :monotonic_subscribe : :subscribe
20
+ ActiveSupport::Notifications.send(subscription_method, event[:id]) do |*, event_id, data|
19
21
  filtered_data = data.slice(*event[:allowed_data])
20
22
  filtered_data[:event_name] = event[:id]
21
23
  filtered_data[:event_id] = event_id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugsnag
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.29.0
4
+ version: 6.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-21 00:00:00.000000000 Z
11
+ date: 2026-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -107,7 +107,7 @@ homepage: https://github.com/bugsnag/bugsnag-ruby
107
107
  licenses:
108
108
  - MIT
109
109
  metadata:
110
- changelog_uri: https://github.com/bugsnag/bugsnag-ruby/blob/v6.29.0/CHANGELOG.md
110
+ changelog_uri: https://github.com/bugsnag/bugsnag-ruby/blob/v6.30.0/CHANGELOG.md
111
111
  documentation_uri: https://docs.bugsnag.com/platforms/ruby/
112
112
  source_code_uri: https://github.com/bugsnag/bugsnag-ruby/
113
113
  rubygems_mfa_required: 'true'
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
- rubygems_version: 3.4.19
129
+ rubygems_version: 3.3.3
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: Ruby notifier for bugsnag.com