Skip to content

Commit 23c744a

Browse files
hannahramadankaylareopelle
authored andcommitted
feat!: deprecate sql-obfuscation gem (open-telemetry#1674)
* feat!: deprecate gem * Update message * Only one heading for README * Feedback updates * Revert version * Update helpers/sql-obfuscation/CHANGELOG.md Co-authored-by: Kayla Reopelle <[email protected]> * Update readme * Update helpers/sql-obfuscation/README.md * Update gemspec description --------- Co-authored-by: Kayla Reopelle <[email protected]>
1 parent c01ef5a commit 23c744a

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

helpers/sql-obfuscation/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History: opentelemetry-helpers-sql-obfuscation
22

3+
### Deprecation Notice / 2025-10-13
4+
5+
* **DEPRECATED:** This gem, `opentelemetry-helpers-sql-obfuscation`, has been replaced by `opentelemetry-helpers-sql-processor`. This is the final release and serves as a transitional package.
6+
* **ACTION REQUIRED:** No action is needed unless you use this gem directly. If you use this gem directly, update your `Gemfile` to use `gem 'opentelemetry-helpers-sql-processor'` instead.
7+
* **SUPPORT ENDING:** `opentelemetry-helpers-sql-obfuscation` will no longer receive updates.
8+
39
### v0.3.0 / 2025-01-16
410

511
* BREAKING CHANGE: Set minimum supported version to Ruby 3.1

helpers/sql-obfuscation/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
# OpenTelemetry Instrumentation Helpers: SQL Obfuscation
1+
# Deprecation Notice
2+
3+
**This gem (`opentelemetry-helpers-sql-obfuscation`) is deprecated and no longer maintained.**
4+
5+
It has been replaced by **`opentelemetry-helpers-sql-processor`**.
6+
7+
All future development, bug fixes, and feature releases will occur in the new gem.
8+
9+
## OpenTelemetry Instrumentation Helpers: SQL Obfuscation
210

311
This Ruby gem contains logic to obfuscate SQL. It's intended for use by by gem authors instrumenting SQL adapter libraries, such as mysql2, pg, and trilogy.
412

helpers/sql-obfuscation/lib/opentelemetry-helpers-sql-obfuscation.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
# SPDX-License-Identifier: Apache-2.0
66

77
require_relative 'opentelemetry/helpers'
8+
9+
OpenTelemetry.logger.warn <<~WARNING
10+
[DEPRECATION] The 'opentelemetry-helpers-sql-obfuscation' gem has been renamed to 'opentelemetry-helpers-sql-processor'. No action is needed unless you use this gem directly.
11+
WARNING

helpers/sql-obfuscation/opentelemetry-helpers-sql-obfuscation.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Gem::Specification.new do |spec|
1414
spec.authors = ['OpenTelemetry Authors']
1515
spec.email = ['[email protected]']
1616

17-
spec.summary = 'SQL Obfuscation Instrumentation Helpers for the OpenTelemetry framework'
18-
spec.description = 'SQL Obfuscation Instrumentation Helpers for the OpenTelemetry framework'
17+
spec.summary = 'This gem is deprecated and no longer maintained. It has been replaced by opentelemetry-helpers-sql-processor.'
18+
spec.description = 'This gem is deprecated and no longer maintained. It has been replaced by opentelemetry-helpers-sql-processor.'
1919
spec.homepage = 'https://github.com/open-telemetry/opentelemetry-ruby-contrib'
2020
spec.license = 'Apache-2.0'
2121

0 commit comments

Comments
 (0)