honeybadger 5.24.0 → 5.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31e329380be3a169c776198960e6557ca9868511737c1b272e9720dbe6f2740e
4
- data.tar.gz: 33347a45c58cd403e12cc3d93194163b6ee2ba310f54c04d5a9423221e4bc6f7
3
+ metadata.gz: f7bcdde3f33ab64c1d8e608d169bc05c56e6ed8ec958a11046caa49568c348a5
4
+ data.tar.gz: 036fff2d87563cd2b21155619b32e53b22d1a8afd846d881ae486e557dc81e71
5
5
  SHA512:
6
- metadata.gz: 6c3b9297748ae34ff9bba398ae209de3917afa0d2f50569a697695702cac972e9212d13ea4d766be5eb90c257df8e3a0aac2688e200da2ea2c2f72f27809ac07
7
- data.tar.gz: 3f2a284a89f3a4ead20ac8dc75d537a0985dbe4aea60528571d528c3e54e4bf0e5e9f0bf57d8176ad926a794fa56a4e9a7c9663aa9291fec0d6cf1d4d902a75e
6
+ metadata.gz: fb6966adaf990948aa62522c52054f45b9bc3adee2bb9b0939c296cd071d0741a714ca4723b83504de0da8958df9e65c79533081a72f6d2eb0a4cecd16927cfc
7
+ data.tar.gz: 831467b1a778c468c1f35f776f4c79561228115ecb610c25769799dc254d25a1eb62135c6b03bd95e1cc0dbb126118f5a0ffa5b37bd306ab36cb16b3ef1389db
data/CHANGELOG.md CHANGED
@@ -1,6 +1,20 @@
1
1
  # Change Log
2
2
 
3
3
 
4
+ ## [5.26.0](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.25.0...v5.26.0) (2024-11-27)
5
+
6
+
7
+ ### Features
8
+
9
+ * use after_change for context changes ([#651](https://github.com/honeybadger-io/honeybadger-ruby/issues/651)) ([2cfc766](https://github.com/honeybadger-io/honeybadger-ruby/commit/2cfc766660d0462168aded9c34712904f8a1f774))
10
+
11
+ ## [5.25.0](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.24.0...v5.25.0) (2024-11-26)
12
+
13
+
14
+ ### Features
15
+
16
+ * set context during rails error report ([#649](https://github.com/honeybadger-io/honeybadger-ruby/issues/649)) ([dee37e1](https://github.com/honeybadger-io/honeybadger-ruby/commit/dee37e157b0913e24a5d368e3d2cbe733f87214e))
17
+
4
18
  ## [5.24.0](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.23.0...v5.24.0) (2024-11-21)
5
19
 
6
20
 
@@ -65,6 +65,12 @@ module Honeybadger
65
65
  end
66
66
 
67
67
  if Honeybadger.config[:'exceptions.enabled'] && defined?(::ActiveSupport::ErrorReporter) # Rails 7
68
+ if defined?(::ActiveSupport::ExecutionContext)
69
+ ::ActiveSupport::ExecutionContext.after_change do
70
+ Honeybadger.context(::ActiveSupport::ExecutionContext.to_h)
71
+ end
72
+ end
73
+
68
74
  ::Rails.error.subscribe(ErrorSubscriber)
69
75
  end
70
76
  end
@@ -1,4 +1,4 @@
1
1
  module Honeybadger
2
2
  # The current String Honeybadger version.
3
- VERSION = '5.24.0'.freeze
3
+ VERSION = '5.26.0'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybadger
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.24.0
4
+ version: 5.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Honeybadger Industries LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-21 00:00:00.000000000 Z
11
+ date: 2024-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logger