From a174d03213057f0a86ecf23251f2c9e072c0ec6e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 12 Sep 2024 15:43:07 -0700 Subject: [PATCH] release: Release 5 gems (#1162) * release: Release 4 gems * opentelemetry-helpers-sql-obfuscation 0.2.0 (was 0.1.1) * opentelemetry-instrumentation-trilogy 0.60.0 (was 0.59.3) * opentelemetry-instrumentation-mysql2 0.28.0 (was 0.27.2) * opentelemetry-instrumentation-pg 0.29.0 (was 0.28.0) * chore: Update changelogs, bump instrumentation-all * chore: Fix spelling --------- Co-authored-by: OpenTelemetry Bot <107717825+opentelemetrybot@users.noreply.github.com> Co-authored-by: Kayla Reopelle Co-authored-by: Kayla Reopelle <87386821+kaylareopelle@users.noreply.github.com> --- helpers/sql-obfuscation/CHANGELOG.md | 8 +- .../helpers/sql_obfuscation/version.rb | 2 +- instrumentation/all/CHANGELOG.md | 195 +++++++++--------- .../instrumentation/all/version.rb | 2 +- .../opentelemetry-instrumentation-all.gemspec | 6 +- instrumentation/mysql2/CHANGELOG.md | 105 +++++----- .../instrumentation/mysql2/version.rb | 2 +- instrumentation/pg/CHANGELOG.md | 83 ++++---- .../instrumentation/pg/version.rb | 2 +- instrumentation/trilogy/CHANGELOG.md | 64 +++--- .../instrumentation/trilogy/version.rb | 2 +- 11 files changed, 243 insertions(+), 228 deletions(-) diff --git a/helpers/sql-obfuscation/CHANGELOG.md b/helpers/sql-obfuscation/CHANGELOG.md index 7a62283ca..610ebb127 100644 --- a/helpers/sql-obfuscation/CHANGELOG.md +++ b/helpers/sql-obfuscation/CHANGELOG.md @@ -1,8 +1,12 @@ -# Release History: opentelemetry-helpers-sql-obfuscation +# Release History: opentelemetry-helpers-sql-obfuscation + +### v0.2.0 / 2024-09-12 + +- BREAKING CHANGE: Return message when sql is over the obfuscation limit. Fixes a bug where sql statements with prepended comments that hit the obfuscation limit would be sent raw. ### v0.1.1 / 2024-06-18 -* FIXED: Relax otel common gem constraints +- FIXED: Relax otel common gem constraints ### v0.1.0 / 2024-02-08 diff --git a/helpers/sql-obfuscation/lib/opentelemetry/helpers/sql_obfuscation/version.rb b/helpers/sql-obfuscation/lib/opentelemetry/helpers/sql_obfuscation/version.rb index 4d0787456..98cd6adc7 100644 --- a/helpers/sql-obfuscation/lib/opentelemetry/helpers/sql_obfuscation/version.rb +++ b/helpers/sql-obfuscation/lib/opentelemetry/helpers/sql_obfuscation/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Helpers module SqlObfuscation - VERSION = '0.1.1' + VERSION = '0.2.0' end end end diff --git a/instrumentation/all/CHANGELOG.md b/instrumentation/all/CHANGELOG.md index cf2807c72..7d3116d2a 100644 --- a/instrumentation/all/CHANGELOG.md +++ b/instrumentation/all/CHANGELOG.md @@ -1,285 +1,286 @@ # Release History: opentelemetry-instrumentation-all +### v0.64.0 / 2024-09-12 + +- BREAKING CHANGE: Return message when sql is over the obfuscation limit. Fixes a bug where sql statements with prepended comments that hit the obfuscation limit would be sent raw. + ### v0.63.0 / 2024-08-15 -* ADDED: Collect pg db.collection_name attribute +- ADDED: Collect pg db.collection_name attribute ### v0.62.1 / 2024-07-23 -* DOCS: Add cspell to CI +- DOCS: Add cspell to CI ### v0.62.0 / 2024-07-02 -* DOCS: Fix CHANGELOGs to reflect a past breaking change -* CHANGED: Update Rails Instrumentation -* CHANGED: Update Grape Instrumentation -* CHANGED: Update Sinatra Instrumentation +- DOCS: Fix CHANGELOGs to reflect a past breaking change +- CHANGED: Update Rails Instrumentation +- CHANGED: Update Grape Instrumentation +- CHANGED: Update Sinatra Instrumentation ### v0.61.0 / 2024-06-04 -* ADDED: Add aws lambda to instrumentation-all -* FIXED: Add action_mailer to rails and all +- ADDED: Add aws lambda to instrumentation-all +- FIXED: Add action_mailer to rails and all ### v0.60.0 / 2024-02-20 -* ADDED: Add support gruf 2.19 -* ADDED: Faraday add support for internal spans +- ADDED: Add support gruf 2.19 +- ADDED: Faraday add support for internal spans ### v0.59.0 / 2024-02-16 -* BREAKING CHANGE: GraphQL Legacy Tracer perf improvements [#867](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/867). +- BREAKING CHANGE: GraphQL Legacy Tracer perf improvements [#867](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/867). ### v0.58.0 / 2024-02-15 -* CHANGED: upgrade mysql2 instrumentation +- CHANGED: upgrade mysql2 instrumentation ### v0.57.0 / 2024-02-08 -* BREAKING CHANGE: Move shared sql behavior to helper gems - +- BREAKING CHANGE: Move shared sql behavior to helper gems ### v0.56.0 / 2024-01-09 -* BREAKING CHANGE: Use ActiveSupport instead of patches #703 +- BREAKING CHANGE: Use ActiveSupport instead of patches #703 ### v0.55.0 / 2024-01-06 -* CHANGED: Upgrade Trilogy and Rack [#796](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/796) +- CHANGED: Upgrade Trilogy and Rack [#796](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/796) ### v0.54.0 / 2023-11-28 -* ADDED: Updated excon to include connect spans +- ADDED: Updated excon to include connect spans ### v0.53.0 / 2023-11-28 -* CHANGED: Performance optimization cache attribute hashes [#723](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/723) +- CHANGED: Performance optimization cache attribute hashes [#723](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/723) ### v0.52.0 / 2023-11-21 -* BREAKING CHANGE: Drop Support for EoL Rails 6.0 [#680](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/680) -* BREAKING CHANGE: Use ActiveSupport Instrumentation instead of Money Patches [#677](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/677) +- BREAKING CHANGE: Drop Support for EoL Rails 6.0 [#680](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/680) +- BREAKING CHANGE: Use ActiveSupport Instrumentation instead of Money Patches [#677](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/677) -* CHANGED: Drop Support for EoL Rails 6.0 [#680](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/680) -* CHANGED: Use ActiveSupport Instrumentation instead of Money Patches [#677](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/677) +- CHANGED: Drop Support for EoL Rails 6.0 [#680](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/680) +- CHANGED: Use ActiveSupport Instrumentation instead of Money Patches [#677](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/677) ### v0.51.1 / 2023-10-27 -* ADDED: Instrument connect and ping (Trilogy) +- ADDED: Instrument connect and ping (Trilogy) ### v0.51.0 / 2023-10-16 -* CHANGED: See [#695](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/695) for details +- CHANGED: See [#695](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/695) for details ### v0.50.1 / 2023-09-07 -* BREAKING CHANGE: Align messaging instrumentation operation names (Resque) +- BREAKING CHANGE: Align messaging instrumentation operation names (Resque) ### v0.50.0 / 2023-09-07 -* BREAKING CHANGE: Align messaging instrumentation operation names [#648](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/648) +- BREAKING CHANGE: Align messaging instrumentation operation names [#648](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/648) ### v0.40.0 / 2023-08-07 -* ADDED: Add Gruf instrumentation +- ADDED: Add Gruf instrumentation ### v0.39.1 / 2023-06-05 -* FIXED: Use latest bug fix version for all dependencies +- FIXED: Use latest bug fix version for all dependencies ### v0.39.0 / 2023-06-02 -* BREAKING CHANGE: Separate logical MySQL host from connected host -* ADDED: Separate logical MySQL host from connected host +- BREAKING CHANGE: Separate logical MySQL host from connected host +- ADDED: Separate logical MySQL host from connected host ### v0.38.0 / 2023-05-31 -* BREAKING CHANGE: Add database name for trilogy traces +- BREAKING CHANGE: Add database name for trilogy traces -* ADDED: Add database name for trilogy traces +- ADDED: Add database name for trilogy traces ### v0.37.0 / 2023-05-25 -* ADDED: Add config[:obfuscation_limit] to pg and mysql2 -* ADDED: Add Obfuscation Limit Option to Trilogy - +- ADDED: Add config[:obfuscation_limit] to pg and mysql2 +- ADDED: Add Obfuscation Limit Option to Trilogy ### v0.36.0 / 2023-05-18 -* ADDED: GraphQL instrumentation: support new tracing API (#453) -* ADDED: Add span_preprocessor hook (#456) -* ADDED: add db.operation attribute for dalli (#458) +- ADDED: GraphQL instrumentation: support new tracing API (#453) +- ADDED: Add span_preprocessor hook (#456) +- ADDED: add db.operation attribute for dalli (#458) ### v0.35.0 / 2023-04-21 -* ADDED: Re-add Grape instrumentation to opentelemetry-instrumentation-all +- ADDED: Re-add Grape instrumentation to opentelemetry-instrumentation-all ### v0.34.0 / 2023-04-17 -* BREAKING CHANGE: Drop support for EoL Ruby 2.7 +- BREAKING CHANGE: Drop support for EoL Ruby 2.7 -* ADDED: Drop support for EoL Ruby 2.7 -* ADDED: Add Grape instrumentation +- ADDED: Drop support for EoL Ruby 2.7 +- ADDED: Add Grape instrumentation ### v0.33.0 / 2023-03-15 -* BREAKING CHANGE: Add support for GraphQL 2.0.19 +- BREAKING CHANGE: Add support for GraphQL 2.0.19 -* FIXED: Add support for GraphQL 2.0.19 +- FIXED: Add support for GraphQL 2.0.19 ### v0.32.0 / 2023-03-13 -* BREAKING CHANGE: Lock graphql max version to 2.0.17 -* FIXED: Lock graphql max version to 2.0.17 -* ADDED: Add with_attributes context propagation to Trilogy instrumentation -* ADDED: Add option to configure span name for trilogy -* FIXED: Ensure encoding errors handled during SQL obfuscation for Trilogy +- BREAKING CHANGE: Lock graphql max version to 2.0.17 +- FIXED: Lock graphql max version to 2.0.17 +- ADDED: Add with_attributes context propagation to Trilogy instrumentation +- ADDED: Add option to configure span name for trilogy +- FIXED: Ensure encoding errors handled during SQL obfuscation for Trilogy ### v0.31.0 / 2023-02-09 -* BREAKING CHANGE: Drop Rails 5 support [#324](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/324) - +- BREAKING CHANGE: Drop Rails 5 support [#324](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/324) ### v0.30.0 / 2023-01-31 -* BREAKING CHANGE: Updates instrumentations [#303](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/303) +- BREAKING CHANGE: Updates instrumentations [#303](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/303) ### v0.29.0 / 2023-01-14 -* BREAKING CHANGE: includes minor version updates in [#271](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/271) +- BREAKING CHANGE: includes minor version updates in [#271](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/271) ### v0.28.1 / 2023-01-14 -* DOCS: Fix gem homepage -* DOCS: More gem documentation fixes +- DOCS: Fix gem homepage +- DOCS: More gem documentation fixes ### v0.28.0 / 2022-11-09 -* ADDED: Bump minimum gem versions for opentelemetry-instrumentation-all -* ADDED: Instrumentation for racecar -* CHANGED: Update rails instrumentation +- ADDED: Bump minimum gem versions for opentelemetry-instrumentation-all +- ADDED: Instrumentation for racecar +- CHANGED: Update rails instrumentation ### v0.27.0 / 2022-10-14 -* CHANGED: Update Rails instrumentation +- CHANGED: Update Rails instrumentation ### v0.26.0 / 2022-10-12 -* ADDED: Upgrade min instrumentation versions See For Details https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/134 +- ADDED: Upgrade min instrumentation versions See For Details https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/134 ### v0.25.0 / 2022-06-09 -* Bump all dependencies to use base 0.21.0 +- Bump all dependencies to use base 0.21.0 ### v0.24.1 / 2022-05-05 -* (No significant changes) +- (No significant changes) ### v0.24.0 / 2022-05-02 -* ADDED: Adds instrumentation for rdkafka -* FIXED: Add rdkafka to all +- ADDED: Adds instrumentation for rdkafka +- FIXED: Add rdkafka to all ### v0.23.0 / 2022-01-26 -* ADDED: Add Trilogy Auto Instrumentation -* FIXED: `ActiveSupport` constant conflict in Active Model Serializers instrumentation -* FIXED: add missing require for aws_sdk instrumentation #1054 +- ADDED: Add Trilogy Auto Instrumentation +- FIXED: `ActiveSupport` constant conflict in Active Model Serializers instrumentation +- FIXED: add missing require for aws_sdk instrumentation #1054 ### v0.22.0 / 2021-12-01 -* ADDED: Move activesupport notification subscriber out of action_view gem +- ADDED: Move activesupport notification subscriber out of action_view gem ### v0.21.3 / 2021-10-07 -* (No significant changes) +- (No significant changes) ### v0.21.2 / 2021-09-29 -* (No significant changes) +- (No significant changes) ### v0.21.1 / 2021-09-29 -* (No significant changes) +- (No significant changes) ### v0.21.0 / 2021-09-15 -* ADDED: Add Que instrumentation +- ADDED: Add Que instrumentation ### v0.20.2 / 2021-09-09 -* (No significant changes) +- (No significant changes) ### v0.20.1 / 2021-08-18 -* FIXED: Instrumentation all sidekiq +- FIXED: Instrumentation all sidekiq ### v0.20.0 / 2021-08-12 -* ADDED: Instrument active record -* ADDED: Add ActionView instrumentation via ActiveSupport::Notifications +- ADDED: Instrument active record +- ADDED: Add ActionView instrumentation via ActiveSupport::Notifications ### v0.19.0 / 2021-06-25 -* ADDED: Add resque instrumentation -* ADDED: Add ActiveJob instrumentation -* ADDED: Configuration option to enable or disable redis root spans [#777](https://github.com/open-telemetry/opentelemetry-ruby/pull/777) -* FIXED: Broken instrumentation all release +- ADDED: Add resque instrumentation +- ADDED: Add ActiveJob instrumentation +- ADDED: Configuration option to enable or disable redis root spans [#777](https://github.com/open-telemetry/opentelemetry-ruby/pull/777) +- FIXED: Broken instrumentation all release ### v0.18.0 / 2021-05-21 -* ADDED: Add koala instrumentation +- ADDED: Add koala instrumentation ### v0.17.0 / 2021-04-22 -* ADDED: Add instrumentation for postgresql (pg gem) +- ADDED: Add instrumentation for postgresql (pg gem) ### v0.16.0 / 2021-03-17 -* ADDED: Instrument http gem -* ADDED: Instrument lmdb gem -* FIXED: Example scripts now reference local common lib -* DOCS: Replace Gitter with GitHub Discussions +- ADDED: Instrument http gem +- ADDED: Instrument lmdb gem +- FIXED: Example scripts now reference local common lib +- DOCS: Replace Gitter with GitHub Discussions ### v0.15.0 / 2021-02-18 -* ADDED: Instrument http client gem +- ADDED: Instrument http client gem ### v0.14.0 / 2021-02-03 -* (No significant changes) +- (No significant changes) ### v0.13.0 / 2021-01-29 -* (No significant changes) +- (No significant changes) ### v0.12.1 / 2021-01-13 -* ADDED: Instrument RubyKafka +- ADDED: Instrument RubyKafka ### v0.12.0 / 2020-12-24 -* ADDED: Instrument graphql +- ADDED: Instrument graphql ### v0.11.0 / 2020-12-11 -* FIXED: Copyright comments to not reference year +- FIXED: Copyright comments to not reference year ### v0.10.0 / 2020-12-03 -* FIXED: Otel-instrumentation-all not installing all +- FIXED: Otel-instrumentation-all not installing all ### v0.9.0 / 2020-11-27 -* ADDED: Add common helpers +- ADDED: Add common helpers ### v0.8.0 / 2020-10-27 -* (No significant changes) +- (No significant changes) ### v0.7.0 / 2020-10-07 -* DOCS: Standardize top-level docs structure and readme +- DOCS: Standardize top-level docs structure and readme ### v0.6.0 / 2020-09-10 -* Now depends on version 0.6.x of all the individual instrumentation gems. +- Now depends on version 0.6.x of all the individual instrumentation gems. diff --git a/instrumentation/all/lib/opentelemetry/instrumentation/all/version.rb b/instrumentation/all/lib/opentelemetry/instrumentation/all/version.rb index bffff61dd..93c736580 100644 --- a/instrumentation/all/lib/opentelemetry/instrumentation/all/version.rb +++ b/instrumentation/all/lib/opentelemetry/instrumentation/all/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module All - VERSION = '0.63.0' + VERSION = '0.64.0' end end end diff --git a/instrumentation/all/opentelemetry-instrumentation-all.gemspec b/instrumentation/all/opentelemetry-instrumentation-all.gemspec index 7af795545..54ee07265 100644 --- a/instrumentation/all/opentelemetry-instrumentation-all.gemspec +++ b/instrumentation/all/opentelemetry-instrumentation-all.gemspec @@ -44,9 +44,9 @@ Gem::Specification.new do |spec| spec.add_dependency 'opentelemetry-instrumentation-koala', '~> 0.20.1' spec.add_dependency 'opentelemetry-instrumentation-lmdb', '~> 0.22.1' spec.add_dependency 'opentelemetry-instrumentation-mongo', '~> 0.22.1' - spec.add_dependency 'opentelemetry-instrumentation-mysql2', '~> 0.27.0' + spec.add_dependency 'opentelemetry-instrumentation-mysql2', '~> 0.28.0' spec.add_dependency 'opentelemetry-instrumentation-net_http', '~> 0.22.1' - spec.add_dependency 'opentelemetry-instrumentation-pg', '~> 0.28.0' + spec.add_dependency 'opentelemetry-instrumentation-pg', '~> 0.29.0' spec.add_dependency 'opentelemetry-instrumentation-que', '~> 0.8.0' spec.add_dependency 'opentelemetry-instrumentation-racecar', '~> 0.3.0' spec.add_dependency 'opentelemetry-instrumentation-rack', '~> 0.24.0' @@ -59,7 +59,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'opentelemetry-instrumentation-ruby_kafka', '~> 0.21.0' spec.add_dependency 'opentelemetry-instrumentation-sidekiq', '~> 0.25.0' spec.add_dependency 'opentelemetry-instrumentation-sinatra', '~> 0.24.0' - spec.add_dependency 'opentelemetry-instrumentation-trilogy', '~> 0.59.0' + spec.add_dependency 'opentelemetry-instrumentation-trilogy', '~> 0.60.0' spec.add_development_dependency 'active_model_serializers' spec.add_development_dependency 'activesupport' diff --git a/instrumentation/mysql2/CHANGELOG.md b/instrumentation/mysql2/CHANGELOG.md index 4d78d7856..e84ca9092 100644 --- a/instrumentation/mysql2/CHANGELOG.md +++ b/instrumentation/mysql2/CHANGELOG.md @@ -1,157 +1,160 @@ # Release History: opentelemetry-instrumentation-mysql2 +### v0.28.0 / 2024-09-12 + +- BREAKING CHANGE: Return message when sql is over the obfuscation limit. Fixes a bug where sql statements with prepended comments that hit the obfuscation limit would be sent raw. + ### v0.27.2 / 2024-07-23 -* DOCS: Add cspell to CI +- DOCS: Add cspell to CI ### v0.27.1 / 2024-04-30 -* FIXED: Bundler conflict warnings +- FIXED: Bundler conflict warnings ### v0.27.0 / 2024-02-15 -* ADDED: Instrument mysql2 prepare statement +- ADDED: Instrument mysql2 prepare statement ### v0.26.1 / 2024-02-08 -* FIXED: Add missing requires for sql-helpers to mysql, pg, and trilogy instrumentation +- FIXED: Add missing requires for sql-helpers to mysql, pg, and trilogy instrumentation ### v0.26.0 / 2024-02-08 -* BREAKING CHANGE: Move shared sql behavior to helper gems - +- BREAKING CHANGE: Move shared sql behavior to helper gems ### v0.25.0 / 2023-10-16 -* BREAKING CHANGE: Obfuscation for mysql2, dalli and postgresql as default option for db_statement +- BREAKING CHANGE: Obfuscation for mysql2, dalli and postgresql as default option for db_statement -* ADDED: Obfuscation for mysql2, dalli and postgresql as default option for db_statement +- ADDED: Obfuscation for mysql2, dalli and postgresql as default option for db_statement ### v0.24.3 / 2023-08-03 -* FIXED: Remove inline linter rules +- FIXED: Remove inline linter rules ### v0.24.2 / 2023-06-05 -* FIXED: Base config options +- FIXED: Base config options ### v0.24.1 / 2023-06-01 -* FIXED: Regex non-match with obfuscation limit (issue #486) +- FIXED: Regex non-match with obfuscation limit (issue #486) ### v0.24.0 / 2023-05-25 -* ADDED: Add config[:obfuscation_limit] to pg and mysql2 +- ADDED: Add config[:obfuscation_limit] to pg and mysql2 ### v0.23.0 / 2023-04-17 -* BREAKING CHANGE: Drop support for EoL Ruby 2.7 +- BREAKING CHANGE: Drop support for EoL Ruby 2.7 -* ADDED: Drop support for EoL Ruby 2.7 -* FIXED: Ensure encoding errors handled during SQL obfuscation for Trilogy +- ADDED: Drop support for EoL Ruby 2.7 +- FIXED: Ensure encoding errors handled during SQL obfuscation for Trilogy ### v0.22.0 / 2023-01-14 -* BREAKING CHANGE: Removed deprecated instrumentation options +- BREAKING CHANGE: Removed deprecated instrumentation options -* ADDED: Add option to configure span name -* ADDED: Removed deprecated instrumentation options -* DOCS: Fix gem homepage -* DOCS: More gem documentation fixes +- ADDED: Add option to configure span name +- ADDED: Removed deprecated instrumentation options +- DOCS: Fix gem homepage +- DOCS: More gem documentation fixes ### v0.21.1 / 2022-10-26 -* FIXED: Handle encoding errors in mysql obfuscation +- FIXED: Handle encoding errors in mysql obfuscation ### v0.21.0 / 2022-06-09 -* Upgrading Base dependency version -* FIXED: Broken test file requirements +- Upgrading Base dependency version +- FIXED: Broken test file requirements ### v0.20.1 / 2022-05-03 -* ADDED: `with_attributes` method for context propagation +- ADDED: `with_attributes` method for context propagation ### v0.20.0 / 2021-12-01 -* ADDED: Add default options config helper + env var config option support +- ADDED: Add default options config helper + env var config option support ### v0.19.1 / 2021-09-29 -* (No significant changes) +- (No significant changes) ### v0.19.0 / 2021-08-12 -* BREAKING CHANGE: Add option for db.statement +- BREAKING CHANGE: Add option for db.statement -* ADDED: Add option for db.statement -* DOCS: Update docs to rely more on environment variable configuration -* DOCS: Move to using new db_statement +- ADDED: Add option for db.statement +- DOCS: Update docs to rely more on environment variable configuration +- DOCS: Move to using new db_statement ### v0.18.1 / 2021-06-23 -* (No significant changes) +- (No significant changes) ### v0.18.0 / 2021-05-21 -* ADDED: Updated API dependency for 1.0.0.rc1 -* Fix: Nil value for db.name attribute #744 +- ADDED: Updated API dependency for 1.0.0.rc1 +- Fix: Nil value for db.name attribute #744 ### v0.17.0 / 2021-04-22 -* (No significant changes) +- (No significant changes) ### v0.16.0 / 2021-03-17 -* FIXED: Update DB semantic conventions -* FIXED: Example scripts now reference local common lib -* ADDED: Configurable obfuscation of sql in mysql2 instrumentation to avoid logging sensitive data +- FIXED: Update DB semantic conventions +- FIXED: Example scripts now reference local common lib +- ADDED: Configurable obfuscation of sql in mysql2 instrumentation to avoid logging sensitive data ### v0.15.0 / 2021-02-18 -* ADDED: Add instrumentation config validation +- ADDED: Add instrumentation config validation ### v0.14.0 / 2021-02-03 -* (No significant changes) +- (No significant changes) ### v0.13.0 / 2021-01-29 -* (No significant changes) +- (No significant changes) ### v0.12.0 / 2020-12-24 -* (No significant changes) +- (No significant changes) ### v0.11.0 / 2020-12-11 -* ADDED: Add peer service config to mysql -* FIXED: Copyright comments to not reference year +- ADDED: Add peer service config to mysql +- FIXED: Copyright comments to not reference year ### v0.10.1 / 2020-12-09 -* FIXED: Semantic conventions db.type -> db.system +- FIXED: Semantic conventions db.type -> db.system ### v0.10.0 / 2020-12-03 -* (No significant changes) +- (No significant changes) ### v0.9.0 / 2020-11-27 -* BREAKING CHANGE: Add timeout for force_flush and shutdown +- BREAKING CHANGE: Add timeout for force_flush and shutdown -* ADDED: Add timeout for force_flush and shutdown +- ADDED: Add timeout for force_flush and shutdown ### v0.8.0 / 2020-10-27 -* BREAKING CHANGE: Remove 'canonical' from status codes +- BREAKING CHANGE: Remove 'canonical' from status codes -* FIXED: Remove 'canonical' from status codes +- FIXED: Remove 'canonical' from status codes ### v0.7.0 / 2020-10-07 -* DOCS: Standardize top-level docs structure and readme +- DOCS: Standardize top-level docs structure and readme ### v0.6.0 / 2020-09-10 -* (No significant changes) +- (No significant changes) diff --git a/instrumentation/mysql2/lib/opentelemetry/instrumentation/mysql2/version.rb b/instrumentation/mysql2/lib/opentelemetry/instrumentation/mysql2/version.rb index ea71550ea..f6076089b 100644 --- a/instrumentation/mysql2/lib/opentelemetry/instrumentation/mysql2/version.rb +++ b/instrumentation/mysql2/lib/opentelemetry/instrumentation/mysql2/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module Mysql2 - VERSION = '0.27.2' + VERSION = '0.28.0' end end end diff --git a/instrumentation/pg/CHANGELOG.md b/instrumentation/pg/CHANGELOG.md index 36a25243a..0d291618b 100644 --- a/instrumentation/pg/CHANGELOG.md +++ b/instrumentation/pg/CHANGELOG.md @@ -1,122 +1,125 @@ # Release History: opentelemetry-instrumentation-pg +### v0.29.0 / 2024-09-12 + +- BREAKING CHANGE: Return message when sql is over the obfuscation limit. Fixes a bug where sql statements with prepended comments that hit the obfuscation limit would be sent raw. + ### v0.28.0 / 2024-08-15 -* ADDED: Collect pg db.collection_name attribute -* FIXED: Update versions to be tested (includes drop support for pg 1.2) +- ADDED: Collect pg db.collection_name attribute +- FIXED: Update versions to be tested (includes drop support for pg 1.2) ### v0.27.4 / 2024-07-23 -* DOCS: Add cspell to CI +- DOCS: Add cspell to CI ### v0.27.3 / 2024-05-11 -* ADDED: Support prepend SQL comment for PG instrumentation +- ADDED: Support prepend SQL comment for PG instrumentation ### v0.27.2 / 2024-04-30 -* FIXED: Bundler conflict warnings +- FIXED: Bundler conflict warnings ### v0.27.1 / 2024-02-08 -* FIXED: Add missing requires for sql-helpers to mysql, pg, and trilogy instrumentation +- FIXED: Add missing requires for sql-helpers to mysql, pg, and trilogy instrumentation ### v0.27.0 / 2024-02-08 -* BREAKING CHANGE: Move shared sql behavior to helper gems - +- BREAKING CHANGE: Move shared sql behavior to helper gems ### v0.26.1 / 2023-11-23 -* CHANGED: Applied Rubocop Performance Recommendations [#727](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/727) +- CHANGED: Applied Rubocop Performance Recommendations [#727](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/727) ### v0.26.0 / 2023-10-16 -* BREAKING CHANGE: Obfuscation for mysql2, dalli and postgresql as default option for db_statement +- BREAKING CHANGE: Obfuscation for mysql2, dalli and postgresql as default option for db_statement -* ADDED: Obfuscation for mysql2, dalli and postgresql as default option for db_statement +- ADDED: Obfuscation for mysql2, dalli and postgresql as default option for db_statement ### v0.25.3 / 2023-07-29 -* FIXED: Pass block explicitly in `define_method` calls for PG instrumentation query methods +- FIXED: Pass block explicitly in `define_method` calls for PG instrumentation query methods ### v0.25.2 / 2023-06-05 -* FIXED: Base config options +- FIXED: Base config options ### v0.25.1 / 2023-06-01 -* FIXED: Regex non-match with obfuscation limit (issue #486) +- FIXED: Regex non-match with obfuscation limit (issue #486) ### v0.25.0 / 2023-05-25 -* ADDED: Add config[:obfuscation_limit] to pg and mysql2 +- ADDED: Add config[:obfuscation_limit] to pg and mysql2 ### v0.24.0 / 2023-04-17 -* BREAKING CHANGE: Drop support for EoL Ruby 2.7 +- BREAKING CHANGE: Drop support for EoL Ruby 2.7 -* ADDED: Drop support for EoL Ruby 2.7 +- ADDED: Drop support for EoL Ruby 2.7 ### v0.23.0 / 2023-01-14 -* BREAKING CHANGE: Removed deprecated instrumentation options +- BREAKING CHANGE: Removed deprecated instrumentation options -* ADDED: Removed deprecated instrumentation options -* FIXED: Reduce Hash Allocations in PG Instrumentation -* DOCS: Fix gem homepage -* DOCS: More gem documentation fixes +- ADDED: Removed deprecated instrumentation options +- FIXED: Reduce Hash Allocations in PG Instrumentation +- DOCS: Fix gem homepage +- DOCS: More gem documentation fixes ### v0.22.3 / 2022-12-06 -* FIXED: Use attributes from the active PG connection +- FIXED: Use attributes from the active PG connection ### v0.22.2 / 2022-11-10 -* FIXED: Safeguard against host being nil +- FIXED: Safeguard against host being nil ### v0.22.1 / 2022-10-27 -* FIXED: Only take the first item in a comma-separated list for pg attrs +- FIXED: Only take the first item in a comma-separated list for pg attrs ### v0.22.0 / 2022-10-04 -* ADDED: Add `with_attributes` context propagation for PG instrumentation +- ADDED: Add `with_attributes` context propagation for PG instrumentation ### v0.21.0 / 2022-06-09 -* Upgrading Base dependency version -* FIXED: Broken test file requirements +- Upgrading Base dependency version +- FIXED: Broken test file requirements ### v0.20.0 / 2022-05-02 -* ADDED: Validate Using Enums -* FIXED: Update pg instrumentation to handle non primitive argument -* FIXED: RubyGems Fallback +- ADDED: Validate Using Enums +- FIXED: Update pg instrumentation to handle non primitive argument +- FIXED: RubyGems Fallback ### v0.19.2 / 2021-12-02 -* (No significant changes) +- (No significant changes) ### v0.19.1 / 2021-09-29 -* (No significant changes) +- (No significant changes) ### v0.19.0 / 2021-08-12 -* ADDED: Add db_statement toggle for postgres -* DOCS: Update docs to rely more on environment variable configuration +- ADDED: Add db_statement toggle for postgres +- DOCS: Update docs to rely more on environment variable configuration ### v0.18.1 / 2021-06-23 -* (No significant changes) +- (No significant changes) ### v0.18.0 / 2021-05-21 -* ADDED: Updated API dependency for 1.0.0.rc1 -* ADDED: Add option to postgres instrumentation to disable db.statement +- ADDED: Updated API dependency for 1.0.0.rc1 +- ADDED: Add option to postgres instrumentation to disable db.statement ### v0.17.1 / 2021-04-23 -* Initial release. -* ADDED: Initial postgresql instrumentation +- Initial release. +- ADDED: Initial postgresql instrumentation diff --git a/instrumentation/pg/lib/opentelemetry/instrumentation/pg/version.rb b/instrumentation/pg/lib/opentelemetry/instrumentation/pg/version.rb index 4496dc1aa..23b0157b9 100644 --- a/instrumentation/pg/lib/opentelemetry/instrumentation/pg/version.rb +++ b/instrumentation/pg/lib/opentelemetry/instrumentation/pg/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module PG - VERSION = '0.28.0' + VERSION = '0.29.0' end end end diff --git a/instrumentation/trilogy/CHANGELOG.md b/instrumentation/trilogy/CHANGELOG.md index 6b9fe2acf..f1e00396f 100644 --- a/instrumentation/trilogy/CHANGELOG.md +++ b/instrumentation/trilogy/CHANGELOG.md @@ -1,96 +1,100 @@ # Release History: opentelemetry-instrumentation-trilogy +### v0.60.0 / 2024-09-12 + +- BREAKING CHANGE: Return message when sql is over the obfuscation limit. Fixes a bug where sql statements with prepended comments that hit the obfuscation limit would be sent raw. + ### v0.59.3 / 2024-04-30 -* FIXED: Bundler conflict warnings +- FIXED: Bundler conflict warnings ### v0.59.2 / 2024-02-20 -* FIXED: Dup string if frozen in trilogy query +- FIXED: Dup string if frozen in trilogy query ### v0.59.1 / 2024-02-08 -* FIXED: Add missing requires for sql-helpers to mysql, pg, and trilogy instrumentation +- FIXED: Add missing requires for sql-helpers to mysql, pg, and trilogy instrumentation ### v0.59.0 / 2024-02-08 -* BREAKING CHANGE: Move shared sql behavior to helper gems +- BREAKING CHANGE: Move shared sql behavior to helper gems -* ADDED: Propagate context to Vitess +- ADDED: Propagate context to Vitess ### v0.58.0 / 2024-01-06 -* BREAKING CHANGE: Change db.mysql.instance.address to db.instance.id +- BREAKING CHANGE: Change db.mysql.instance.address to db.instance.id -* ADDED: Change db.mysql.instance.address to db.instance.id -* FIXED: Trilogy only set db.instance.id attribute if there is a value +- ADDED: Change db.mysql.instance.address to db.instance.id +- FIXED: Trilogy only set db.instance.id attribute if there is a value ### v0.57.0 / 2023-10-27 -* ADDED: Instrument connect and ping +- ADDED: Instrument connect and ping ### v0.56.3 / 2023-08-03 -* FIXED: Remove inline linter rules +- FIXED: Remove inline linter rules ### v0.56.2 / 2023-07-14 -* ADDED: `db.user` attribute (recommended connection-level attribute) +- ADDED: `db.user` attribute (recommended connection-level attribute) ### v0.56.1 / 2023-06-05 -* FIXED: Base config options +- FIXED: Base config options ### v0.56.0 / 2023-06-02 -* BREAKING CHANGE: Separate logical MySQL host from connected host +- BREAKING CHANGE: Separate logical MySQL host from connected host -* ADDED: Separate logical MySQL host from connected host +- ADDED: Separate logical MySQL host from connected host ### v0.55.1 / 2023-06-01 -* FIXED: Regex non-match with obfuscation limit (issue #486) +- FIXED: Regex non-match with obfuscation limit (issue #486) ### v0.55.0 / 2023-05-31 -* BREAKING CHANGE: Add database name for trilogy traces +- BREAKING CHANGE: Add database name for trilogy traces -* ADDED: Add database name for trilogy traces +- ADDED: Add database name for trilogy traces ### v0.54.0 / 2023-05-25 -* ADDED: Add Obfuscation Limit Option to Trilogy +- ADDED: Add Obfuscation Limit Option to Trilogy ### v0.53.0 / 2023-04-17 -* BREAKING CHANGE: Drop support for EoL Ruby 2.7 +- BREAKING CHANGE: Drop support for EoL Ruby 2.7 -* ADDED: Drop support for EoL Ruby 2.7 +- ADDED: Drop support for EoL Ruby 2.7 ### v0.52.0 / 2023-03-06 -* ADDED: Add with_attributes context propagation to Trilogy instrumentation -* ADDED: Add option to configure span name for trilogy -* FIXED: Ensure encoding errors handled during SQL obfuscation for Trilogy +- ADDED: Add with_attributes context propagation to Trilogy instrumentation +- ADDED: Add option to configure span name for trilogy +- FIXED: Ensure encoding errors handled during SQL obfuscation for Trilogy ### v0.51.1 / 2023-01-14 -* DOCS: Fix gem homepage -* DOCS: More gem documentation fixes +- DOCS: Fix gem homepage +- DOCS: More gem documentation fixes ### v0.51.0 / 2022-06-09 -* Upgrading Base dependency version -* FIXED: Broken test file requirements +- Upgrading Base dependency version +- FIXED: Broken test file requirements ### v0.50.2 / 2022-05-05 -* (No significant changes) +- (No significant changes) ### v0.50.1 / 2022-01-07 -* FIXED: Trilogy Driver Options +- FIXED: Trilogy Driver Options ### v0.50.0 / 2021-12-31 -* Initial release. +- Initial release. diff --git a/instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/version.rb b/instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/version.rb index 24cedba17..ebce38215 100644 --- a/instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/version.rb +++ b/instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module Trilogy - VERSION = '0.59.3' + VERSION = '0.60.0' end end end