From cea91aa5774155e9dda58bcf6be5e898155cc51a Mon Sep 17 00:00:00 2001 From: Arjun Rajappa Date: Fri, 27 Mar 2026 15:49:41 +0530 Subject: [PATCH 1/2] chore: deprecate Ruby 3.1 support in CI workflows Signed-off-by: Arjun Rajappa --- .circleci/config.yml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bf6f535b..40a69c63 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,7 +45,7 @@ executors: parameters: ruby_version: type: string - default: "3.1" + default: "3.2" docker: - image: public.ecr.aws/docker/library/ruby:<> environment: @@ -65,7 +65,7 @@ executors: parameters: ruby_version: type: string - default: "3.1" + default: "3.2" docker: - image: public.ecr.aws/docker/library/ruby:<> environment: @@ -82,7 +82,7 @@ executors: parameters: ruby_version: type: string - default: "3.1" + default: "3.2" docker: - image: public.ecr.aws/docker/library/ruby:<> environment: @@ -203,7 +203,7 @@ jobs: default: "base" ruby_version: type: string - default: "3.1" + default: "3.2" executor: name: <> ruby_version: <> @@ -221,7 +221,7 @@ jobs: default: "./gemfiles/aws_30.gemfile" ruby_version: type: string - default: "3.1" + default: "3.2" executor: name: <> ruby_version: <> @@ -276,12 +276,11 @@ workflows: stack: - base ruby_version: - - "3.1" - "3.2" - "3.3" - "3.4" - "4.0" - libraries_ruby_31_32: + libraries_ruby_32_33: jobs: - test_apprisal: name: "test_apprisal-<>-ruby-<>-<>" @@ -291,9 +290,9 @@ workflows: - base <<: *library_gemfile ruby_version: - - "3.1" - "3.2" - libraries_ruby_33_35: + - "3.3" + libraries_ruby_34_40: jobs: - test_apprisal: name: "test_apprisal-<>-ruby-<>-<>" @@ -303,7 +302,6 @@ workflows: - base <<: *library_gemfile ruby_version: - - "3.3" - "3.4" - "4.0" # Currently compiling the native extensions for `grpc` @@ -317,7 +315,7 @@ workflows: - stack: base ruby_version: "4.0" gemfile: "./gemfiles/grpc_10.gemfile" - rails_ruby_31_35: + rails_ruby_32_40: jobs: - test_apprisal: name: "test_apprisal-rails-<>-ruby-<>-<>" @@ -332,12 +330,11 @@ workflows: - "./gemfiles/rails_70.gemfile" - "./gemfiles/rails_71.gemfile" ruby_version: - - "3.1" - "3.2" - "3.3" - "3.4" - - "4.0" - rails8_ruby_33_35: + - "4.0" + rails8_ruby_32_40: jobs: - test_apprisal: name: "test_apprisal-rails-8-<>-ruby-<>-<>" @@ -353,6 +350,7 @@ workflows: - "3.2" - "3.3" - "3.4" + - "4.0" sequel: jobs: - test_apprisal: @@ -367,9 +365,9 @@ workflows: - "./gemfiles/sequel_57.gemfile" - "./gemfiles/sequel_58.gemfile" ruby_version: - - "3.1" - "3.2" - "3.3" + - "3.4" - "4.0" report_coverage: jobs: From 839700e49b03cd0763ebde2c1514861d7ece0a0a Mon Sep 17 00:00:00 2001 From: Arjun Rajappa Date: Mon, 30 Mar 2026 19:54:22 +0530 Subject: [PATCH 2/2] chore(deps): raise minimum Ruby version to 3.2 with EOL+1 year support policy Signed-off-by: Arjun Rajappa --- README.md | 4 +++- instana.gemspec | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 13b4d026..825d55f0 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ The `instana` gem provides Ruby metrics and traces (request, queue & cross-host) for [Instana](https://www.instana.com/). -This gem supports Ruby versions 2.7 or greater. +## Ruby Version Support + +This gem requires Ruby 3.2 or greater. We actively test and maintain compatibility with Ruby versions 3.2, 3.3, 3.4, and 4.0 to ensure optimal performance and reliability. As part of our commitment to supporting the Ruby community, we continue to provide support for Ruby versions up to 1 year after their official End-of-Life (EOL) date, giving you ample time to plan and execute version upgrades. Any and all feedback is welcome. Happy Ruby visibility. diff --git a/instana.gemspec b/instana.gemspec index 6ccbaa3c..0277f4f6 100644 --- a/instana.gemspec +++ b/instana.gemspec @@ -30,7 +30,7 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.required_ruby_version = '>= 3.0' + spec.required_ruby_version = '>= 3.2' spec.platform = defined?(JRUBY_VERSION) ? 'java' : Gem::Platform::RUBY # spec.add_development_dependency "bundler", "=> 2.0"