gruf-sentry 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -9
- data/lib/gruf/sentry/configuration.rb +1 -1
- data/lib/gruf/sentry/version.rb +1 -1
- data/lib/gruf/sentry.rb +0 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5be5ead811b7149dc76af1ab04ef1519d31f0ea36c02c6011317b0bc66c4c5b1
|
4
|
+
data.tar.gz: 18a889e81d8f9450791546105721162e9ba24d5621576fb21fde8dcc5fa1aa9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb2909677b75bfd34f996db5dc67b04e3f4d87de376ce10290b2e7af2e4f618478626b4bc23419c3c6ef2ac7fb7099bbe8d4fb8f5a503cbf05eed75e4090d101
|
7
|
+
data.tar.gz: 779ff551e6b9fab963148faaee09d67381d8ac66f4ddd705ed93ebb74818bb2ca1b8362afae7164f5c37b7d066932818ce71468258d376d0e346441726c7e33d
|
data/CHANGELOG.md
CHANGED
@@ -2,35 +2,40 @@ Changelog for the gruf-sentry gem.
|
|
2
2
|
|
3
3
|
### Pending release
|
4
4
|
|
5
|
+
### 1.4.0
|
6
|
+
|
7
|
+
* Remove `GRPC::FailedPrecondition` from default error classes (equivalent is HTTP 412, so not an internal error)
|
8
|
+
* Remove `Raven` compatibility layer; you must be on sentry-ruby now
|
9
|
+
|
5
10
|
### 1.3.0
|
6
11
|
|
7
|
-
|
12
|
+
* Upgrade to sentry-ruby 5.x
|
8
13
|
|
9
14
|
### 1.2.0
|
10
15
|
|
11
|
-
|
12
|
-
|
16
|
+
* Add Ruby 3.1 support
|
17
|
+
* Drop Ruby 2.6 support
|
13
18
|
|
14
19
|
### 1.1.0
|
15
20
|
|
16
|
-
|
21
|
+
* Update Gruf::Sentry::ClientInterceptor for new sentry-ruby format
|
17
22
|
|
18
23
|
### 1.0.1
|
19
24
|
|
20
|
-
|
25
|
+
* Update Sentry.capture_exception to work with new sentry-ruby format
|
21
26
|
|
22
27
|
### 1.0.0
|
23
28
|
|
24
|
-
|
29
|
+
* Update to sentry-ruby
|
25
30
|
|
26
31
|
### 0.2.0
|
27
32
|
|
28
|
-
|
29
|
-
|
33
|
+
* Add support for Ruby 3.0
|
34
|
+
* Remove support for < Ruby 2.6
|
30
35
|
|
31
36
|
### 0.1.1
|
32
37
|
|
33
|
-
|
38
|
+
* Fix issue with options reference in ErrorParser [#1]
|
34
39
|
|
35
40
|
### 0.1.0
|
36
41
|
|
@@ -24,7 +24,7 @@ module Gruf
|
|
24
24
|
VALID_CONFIG_KEYS = {
|
25
25
|
grpc_error_classes: ::ENV.fetch(
|
26
26
|
'GRUF_SENTRY_GRPC_ERROR_CLASSES',
|
27
|
-
'GRPC::Unknown,GRPC::Internal,GRPC::DataLoss,GRPC::
|
27
|
+
'GRPC::Unknown,GRPC::Internal,GRPC::DataLoss,GRPC::Unavailable,GRPC::DeadlineExceeded,GRPC::Cancelled'
|
28
28
|
).to_s.split(',').map(&:strip),
|
29
29
|
default_error_code: ::ENV.fetch('GRUF_SENTRY_DEFAULT_ERROR_CODE', GRPC::Core::StatusCodes::INTERNAL).to_i,
|
30
30
|
ignore_methods: ::ENV.fetch('GRUF_SENTRY_IGNORE_METHODS', '').split(',').map(&:strip) || []
|
data/lib/gruf/sentry/version.rb
CHANGED
data/lib/gruf/sentry.rb
CHANGED
@@ -18,9 +18,6 @@
|
|
18
18
|
require 'gruf'
|
19
19
|
require 'sentry-ruby'
|
20
20
|
|
21
|
-
# backwards-compatibly patch for sentry-raven users
|
22
|
-
::Raven = ::Sentry unless defined?(::Raven)
|
23
|
-
|
24
21
|
# use Zeitwerk to lazily autoload all the files in the lib directory
|
25
22
|
require 'zeitwerk'
|
26
23
|
root_path = File.dirname(__dir__)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gruf-sentry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shaun McCormick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler-audit
|