forge_ops_tracker 0.19.0 → 0.19.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d585c1acbde6c8bb06ec05505e21bf4d784974ed8e655c9398fef0c7e595d03
4
- data.tar.gz: af67478c90a33dd594bbccf712e48dc817d5e99ae6b61edf0a0fca62e816e4ec
3
+ metadata.gz: a07d319688ef560a28c82ff70a822a2a171d1fe9d4c47973d51093e528e548e2
4
+ data.tar.gz: 6272b6ee64197d04a056a7d34ac4fe5de069be87dea1992f32d30700164ab95a
5
5
  SHA512:
6
- metadata.gz: ae806f1ba9cb14102494df6f6efca7685ce4900c281fda85c72fe9ad595f5ce3b03b7daf74762ef69de002e0c229d3155027eee4bd3c8d876646b824f4ee1ab4
7
- data.tar.gz: b774e7abc22663d23f728c71ee7d358180994ccc31b23eb334d393c39da7d403561456b4b484bbe34f3f1678c7f619a40ac94c977a4086ccac66f852790cdb85
6
+ metadata.gz: dfe88a94c2008f6ee5af0f47581322647a90253d4d25a2a768e6bfb6bfd759766c15c81315ffb4b030dfd593f893a924ec8c6b7b4be71ad77ff825086c1fc998
7
+ data.tar.gz: 6f087c6828f7a8d45d895d9e26749337dd6683247021187b89281065c5d10e838eb9de985a3fc15aaac2b9a023eceefbc3e7a50878738f13e318bba55390e77e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.19.1 (2026-10-22)
4
+
5
+ - Strict privacy now also turns off slow query plans (`explain_slow_queries`): no EXPLAIN is run and no
6
+ plan is sent, since a plan carries the SQL. Before, a plan could still be sent, with its values masked.
7
+ - The README says what strict privacy does in its opening lines.
8
+ - The source is public at https://github.com/Luke-Popwell/forge-ops-tracker-ruby, and the package links to it.
9
+
3
10
  ## 0.19.0 (2026-10-20)
4
11
 
5
12
  - Strict privacy: a raw request path now keeps only its first segment, and the rest is sent as
data/README.md CHANGED
@@ -3,6 +3,8 @@
3
3
  Exception reporting client for [ForgeOps](https://getforgeops.net), for Rails, plain Rack and
4
4
  Sinatra apps, and scripts.
5
5
 
6
+ > For health or personal data, turn on [strict privacy](#strict-privacy): the SDK then sends only structured facts about each error (its type, stack trace, release and route), never the message, a raw path, breadcrumbs, or context you haven't allowed.
7
+
6
8
  ## Installation
7
9
 
8
10
  ```ruby
@@ -98,7 +98,8 @@ module ForgeOpsTracker
98
98
  # checks first, so a fast query costs one comparison. Returns true only when an EXPLAIN was
99
99
  # queued; never raises.
100
100
  def consider(payload, duration_ms:)
101
- return false unless configuration.explain_slow_queries
101
+ # Strict privacy sends no SQL at all, masked or not (sdks/STRICT_PRIVACY.md).
102
+ return false unless configuration.explain_slow_queries && !configuration.strict_privacy
102
103
  return false unless duration_ms && duration_ms >= configuration.explain_threshold_ms.to_f
103
104
 
104
105
  connection = payload[:connection]
@@ -1,3 +1,3 @@
1
1
  module ForgeOpsTracker
2
- VERSION = "0.19.0"
2
+ VERSION = "0.19.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forge_ops_tracker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ForgeOps
@@ -147,6 +147,8 @@ licenses:
147
147
  metadata:
148
148
  homepage_uri: https://getforgeops.net
149
149
  rubygems_mfa_required: 'true'
150
+ source_code_uri: https://github.com/Luke-Popwell/forge-ops-tracker-ruby
151
+ changelog_uri: https://github.com/Luke-Popwell/forge-ops-tracker-ruby/blob/main/CHANGELOG.md
150
152
  rdoc_options: []
151
153
  require_paths:
152
154
  - lib