bugsnag 6.25.2 → 6.26.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/VERSION +1 -1
- data/bugsnag.gemspec +1 -1
- data/lib/bugsnag/integrations/railtie.rb +8 -1
- data/lib/bugsnag/integrations/resque.rb +1 -1
- data/lib/bugsnag/integrations/sidekiq.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60383f9662a63f219295a1554c0643092d201039d57ec4b93f7542761662105f
|
4
|
+
data.tar.gz: 04076a3736b8ff9ee5b575b083e328429f149cd4a531f5ac062581d9472feea9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0826f29f80c34ec5e785dff331b185498b2d2862455f5011dc6405eedfdbe23188a811ba93f8673bc79834e3a5e8c46d63d0cfa5ca541c4864ef5367ec83e034'
|
7
|
+
data.tar.gz: 9a5bdf81e2ddd1b7ad7c0b2ec48463c288c9e8f55887454530c016a95a6f38f593e696af69adc558bd1a54df0f1fa104954c0d40612d70ac309c88765c6d6fb7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,27 @@
|
|
1
1
|
Changelog
|
2
2
|
=========
|
3
3
|
|
4
|
+
## v6.26.1 (9 January 2024)
|
5
|
+
|
6
|
+
### Fixes
|
7
|
+
|
8
|
+
* Fix deprecation warning from Sidekiq error handler
|
9
|
+
| [#796](https://github.com/bugsnag/bugsnag-ruby/pull/796)
|
10
|
+
| [fukayatsu](https://github.com/fukayatsu)
|
11
|
+
* Fix Resque integration when failure backend is already `Resque::Failure::Multiple`
|
12
|
+
| [#803](https://github.com/bugsnag/bugsnag-ruby/pull/803)
|
13
|
+
| [sj26](https://github.com/sj26)
|
14
|
+
* Redact URLs in automatic Rails breadcrumbs
|
15
|
+
| [#806](https://github.com/bugsnag/bugsnag-ruby/pull/806)
|
16
|
+
|
17
|
+
## v6.26.0 (19 July 2023)
|
18
|
+
|
19
|
+
### Enhancements
|
20
|
+
|
21
|
+
* Support Sidekiq v7
|
22
|
+
| [#785](https://github.com/bugsnag/bugsnag-ruby/pull/785)
|
23
|
+
| [stevenharman](https://github.com/stevenharman)
|
24
|
+
|
4
25
|
## v6.25.2 (7 February 2023)
|
5
26
|
|
6
27
|
### Enhancements
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
6.
|
1
|
+
6.26.1
|
data/bugsnag.gemspec
CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
|
|
30
30
|
|
31
31
|
if s.respond_to?(:metadata=)
|
32
32
|
s.metadata = {
|
33
|
-
"changelog_uri" => "https://github.com/bugsnag/bugsnag-ruby/blob/
|
33
|
+
"changelog_uri" => "https://github.com/bugsnag/bugsnag-ruby/blob/v#{File.read("VERSION").strip}/CHANGELOG.md",
|
34
34
|
"documentation_uri" => "https://docs.bugsnag.com/platforms/ruby/",
|
35
35
|
"source_code_uri" => "https://github.com/bugsnag/bugsnag-ruby/",
|
36
36
|
"rubygems_mfa_required" => "true"
|
@@ -24,7 +24,8 @@ module Bugsnag
|
|
24
24
|
filtered_data[:event_name] = event[:id]
|
25
25
|
filtered_data[:event_id] = event_id
|
26
26
|
|
27
|
-
|
27
|
+
case event[:id]
|
28
|
+
when "sql.active_record"
|
28
29
|
if data.key?(:binds)
|
29
30
|
binds = data[:binds].each_with_object({}) { |bind, output| output[bind.name] = '?' if defined?(bind.name) }
|
30
31
|
filtered_data[:binds] = JSON.dump(binds) unless binds.empty?
|
@@ -36,6 +37,12 @@ module Bugsnag
|
|
36
37
|
# the connection ID is the object_id of the connection object
|
37
38
|
filtered_data[:connection_id] = data[:connection].object_id
|
38
39
|
end
|
40
|
+
|
41
|
+
when "start_processing.action_controller"
|
42
|
+
filtered_data[:path] = Bugsnag.cleaner.clean_url(data[:path]) if data.key?(:path)
|
43
|
+
|
44
|
+
when "redirect_to.action_controller"
|
45
|
+
filtered_data[:location] = Bugsnag.cleaner.clean_url(data[:location]) if data.key?(:location)
|
39
46
|
end
|
40
47
|
|
41
48
|
Bugsnag.leave_breadcrumb(
|
@@ -21,7 +21,7 @@ module Bugsnag
|
|
21
21
|
return if ::Resque::Failure.backend == self
|
22
22
|
|
23
23
|
# Ensure resque is using a "Multiple" failure backend
|
24
|
-
unless ::Resque::Failure.backend
|
24
|
+
unless ::Resque::Failure.backend <= ::Resque::Failure::Multiple
|
25
25
|
original_backend = ::Resque::Failure.backend
|
26
26
|
::Resque::Failure.backend = ::Resque::Failure::Multiple
|
27
27
|
::Resque::Failure.backend.classes ||= []
|
@@ -4,6 +4,7 @@ module Bugsnag
|
|
4
4
|
##
|
5
5
|
# Extracts and attaches Sidekiq job and queue information to an error report
|
6
6
|
class Sidekiq
|
7
|
+
include ::Sidekiq::ServerMiddleware if defined?(::Sidekiq::ServerMiddleware)
|
7
8
|
|
8
9
|
unless const_defined?(:FRAMEWORK_ATTRIBUTES)
|
9
10
|
FRAMEWORK_ATTRIBUTES = {
|
@@ -49,7 +50,7 @@ module Bugsnag
|
|
49
50
|
|
50
51
|
def self.configure_server(server)
|
51
52
|
if Bugsnag::Sidekiq.sidekiq_supports_error_handlers
|
52
|
-
server.error_handlers << proc do |ex, _context|
|
53
|
+
server.error_handlers << proc do |ex, _context, _config = nil|
|
53
54
|
Bugsnag::Sidekiq.notify(ex)
|
54
55
|
Bugsnag.configuration.clear_request_data
|
55
56
|
end
|
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.
|
4
|
+
version: 6.26.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-09 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/
|
110
|
+
changelog_uri: https://github.com/bugsnag/bugsnag-ruby/blob/v6.26.1/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'
|