sentry-ruby-core 4.3.0 → 4.3.1
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile +1 -0
- data/README.md +4 -4
- data/lib/sentry-ruby.rb +2 -2
- data/lib/sentry/breadcrumb/sentry_logger.rb +1 -1
- data/lib/sentry/exceptions.rb +1 -1
- data/lib/sentry/version.rb +1 -1
- 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: 8a2e4ce39cece4f17353a14a3984cfaf57b9fc1f9288915a36f9c5ae56e719cd
|
4
|
+
data.tar.gz: 77ebe61492554532ce811320fbae436735c82ac3a0586176ee53b040211d6b81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34504541c4743476d4360e7b452e8a7a4b9a3bd66d80878a768d839d8fe00e5294c2e385d62d50527ddf957368a660c8276342abf72a82079583c0a33385e29d
|
7
|
+
data.tar.gz: d050d0b1bf6346553db6cc02e84b144908d877bd1883243526b0366e21eb97e924cf2f23c2c8ad10383785a90e05337615041ac6d9c87c36694d6077e3f6481d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 4.3.1
|
4
|
+
|
5
|
+
- Add Sentry.set_context helper [#1337](https://github.com/getsentry/sentry-ruby/pull/1337)
|
6
|
+
- Fix handle the case where the logger messages is not of String type [#1341](https://github.com/getsentry/sentry-ruby/pull/1341)
|
7
|
+
- Don't report Sentry::ExternalError to Sentry [#1353](https://github.com/getsentry/sentry-ruby/pull/1353)
|
8
|
+
- Sentry.add_breadcrumb should call Hub#add_breadcrumb [#1358](https://github.com/getsentry/sentry-ruby/pull/1358)
|
9
|
+
- Fixes [#1357](https://github.com/getsentry/sentry-ruby/issues/1357)
|
10
|
+
|
3
11
|
## 4.3.0
|
4
12
|
|
5
13
|
### Features
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -72,7 +72,7 @@ end
|
|
72
72
|
|
73
73
|
### Sentry doesn't report some kinds of data by default
|
74
74
|
|
75
|
-
**Sentry ignores some exceptions by default** - most of these are related to 404s parameter parsing errors. [For a complete list, see the `IGNORE_DEFAULT` constant](https://github.com/getsentry/sentry-ruby/blob/master/sentry-ruby/lib/sentry/configuration.rb#
|
75
|
+
**Sentry ignores some exceptions by default** - most of these are related to 404s parameter parsing errors. [For a complete list, see the `IGNORE_DEFAULT` constant](https://github.com/getsentry/sentry-ruby/blob/master/sentry-ruby/lib/sentry/configuration.rb#L151) and the integration gems' `IGNORE_DEFAULT`, like [`sentry-rails`'s](https://github.com/getsentry/sentry-ruby/blob/master/sentry-rails/lib/sentry/rails/configuration.rb#L12)
|
76
76
|
|
77
77
|
Sentry doesn't send personally identifiable information (pii) by default, such as request body, user ip or cookies. If you want those information to be sent, you can use the `send_default_pii` config option:
|
78
78
|
|
@@ -249,8 +249,8 @@ Sentry.capture_exception(exception, tags: {foo: "bar"})
|
|
249
249
|
|
250
250
|
## More Information
|
251
251
|
|
252
|
-
|
253
|
-
|
254
|
-
|
252
|
+
- [Documentation](https://docs.sentry.io/platforms/ruby/)
|
253
|
+
- [Bug Tracker](https://github.com/getsentry/sentry-ruby/issues)
|
254
|
+
- [Forum](https://forum.sentry.io/)
|
255
255
|
- [Discord](https://discord.gg/ez5KZN7)
|
256
256
|
|
data/lib/sentry-ruby.rb
CHANGED
@@ -58,7 +58,7 @@ module Sentry
|
|
58
58
|
extend Forwardable
|
59
59
|
|
60
60
|
def_delegators :get_current_client, :configuration, :send_event
|
61
|
-
def_delegators :get_current_scope, :set_tags, :set_extras, :set_user
|
61
|
+
def_delegators :get_current_scope, :set_tags, :set_extras, :set_user, :set_context
|
62
62
|
|
63
63
|
attr_accessor :background_worker
|
64
64
|
|
@@ -80,7 +80,7 @@ module Sentry
|
|
80
80
|
|
81
81
|
# Takes an instance of Sentry::Breadcrumb and stores it to the current active scope.
|
82
82
|
def add_breadcrumb(breadcrumb)
|
83
|
-
|
83
|
+
get_current_hub&.add_breadcrumb(breadcrumb)
|
84
84
|
end
|
85
85
|
|
86
86
|
# Returns the current active hub.
|
@@ -50,7 +50,7 @@ module Sentry
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
return if ignored_logger?(progname) || message
|
53
|
+
return if ignored_logger?(progname) || message == ""
|
54
54
|
|
55
55
|
# some loggers will add leading/trailing space as they (incorrectly, mind you)
|
56
56
|
# think of logging as a shortcut to std{out,err}
|
data/lib/sentry/exceptions.rb
CHANGED
data/lib/sentry/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sentry-ruby-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sentry Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|