honeybadger 6.3.1 → 6.4.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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/honeybadger/agent.rb +1 -0
- data/lib/honeybadger/config/defaults.rb +5 -0
- data/lib/honeybadger/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d68528495f6a108b6f425a6c19f48fdbc6cb6e70aae0db958b03f77e24df7da4
|
|
4
|
+
data.tar.gz: b2e1a816492b63b86f9be7d179c943e7dddfe9e724c5b04ffdfcf4dd057c0833
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6f188b0a3be2f3dc9f77f28c18503afac2d1805a59c62a23ee9ac7ad2dad919bbfbdd5d35dc8153dfff63fc279ced4da497bc30074b013e7cba19830fde74ea
|
|
7
|
+
data.tar.gz: 92359a65d182ac76af10ad10ca7e09132d9fb2750feaa4a12d73627d1cedd889c4acb83ed43aec3f54f9dd97ce45e84675d6f66a0764f9f7e4efffbdacd61901
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## [6.4.0](https://github.com/honeybadger-io/honeybadger-ruby/compare/v6.3.1...v6.4.0) (2026-02-18)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* attach environment to Insights event payloads ([#780](https://github.com/honeybadger-io/honeybadger-ruby/issues/780)) ([97d1db1](https://github.com/honeybadger-io/honeybadger-ruby/commit/97d1db12bbe474657bee71d0b822af4774ebb61e))
|
|
10
|
+
|
|
4
11
|
## [6.3.1](https://github.com/honeybadger-io/honeybadger-ruby/compare/v6.3.0...v6.3.1) (2026-02-12)
|
|
5
12
|
|
|
6
13
|
|
data/lib/honeybadger/agent.rb
CHANGED
|
@@ -414,6 +414,7 @@ module Honeybadger
|
|
|
414
414
|
extra_payload = {}.tap do |p|
|
|
415
415
|
p[:request_id] = context_manager.get_request_id if context_manager.get_request_id
|
|
416
416
|
p[:hostname] = config[:hostname].to_s if config[:"events.attach_hostname"]
|
|
417
|
+
p[:environment] = config[:env].to_s if config[:"events.attach_environment"] && config[:env].to_s.length > 0
|
|
417
418
|
p.update(context_manager.get_event_context || {})
|
|
418
419
|
end
|
|
419
420
|
|
|
@@ -125,6 +125,11 @@ module Honeybadger
|
|
|
125
125
|
default: true,
|
|
126
126
|
type: Boolean
|
|
127
127
|
},
|
|
128
|
+
"events.attach_environment": {
|
|
129
|
+
description: "Add the environment to all event payloads.",
|
|
130
|
+
default: true,
|
|
131
|
+
type: Boolean
|
|
132
|
+
},
|
|
128
133
|
"events.ignore": {
|
|
129
134
|
description: "A list of additional events to ignore. Use a hash to query nested payloads, match using a string or regex. Non-hash will match on the event_type.",
|
|
130
135
|
default: IGNORE_EVENTS_DEFAULT,
|
data/lib/honeybadger/version.rb
CHANGED