From ad8b966f189cdd092597b75d131a25f3cb2039ed Mon Sep 17 00:00:00 2001 From: Liz Kenyon Date: Fri, 5 Dec 2025 11:22:30 -0600 Subject: [PATCH] Drop Ruby versions 3.0 and 3.1 These versions have reached EOL --- .github/workflows/build.yml | 3 +-- BREAKING_CHANGES_FOR_V16.md | 15 +++++++++++++++ CHANGELOG.md | 1 + shopify_api.gemspec | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 BREAKING_CHANGES_FOR_V16.md diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7f769ca1b..69b14796d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,10 +11,9 @@ jobs: strategy: matrix: version: - - 3.0 - - 3.1 - 3.2 - 3.3 + - 3.4 steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Set up Ruby ${{ matrix.version }} diff --git a/BREAKING_CHANGES_FOR_V16.md b/BREAKING_CHANGES_FOR_V16.md new file mode 100644 index 000000000..4768015aa --- /dev/null +++ b/BREAKING_CHANGES_FOR_V16.md @@ -0,0 +1,15 @@ +# Breaking change notice for version 16.0.0 + +## Minimum Ruby Version Requirement + +The minimum required Ruby version has been updated from 3.0 to 3.2. + +### Why this change? + +Ruby 3.0 and 3.1 have reached End of Life (EOL). + +### Migration Guide + +If you're currently using Ruby 3.0 or 3.1, you'll need to upgrade to Ruby 3.2 or higher before upgrading to shopify-api-ruby v16.0.0. + +**Note:** Ruby 3.2+ includes performance improvements and new features. Most applications should not require code changes beyond updating the Ruby version itself. diff --git a/CHANGELOG.md b/CHANGELOG.md index 166152d1e..9a4c2337e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ Note: For changes to the API, see https://shopify.dev/changelog?filter=api ## Unreleased +- ⚠️ [Breaking] Minimum required Ruby version is now 3.2. Ruby 3.0 and 3.1 are no longer supported. ### 15.0.0 diff --git a/shopify_api.gemspec b/shopify_api.gemspec index b64cef214..7001741af 100644 --- a/shopify_api.gemspec +++ b/shopify_api.gemspec @@ -30,7 +30,7 @@ Gem::Specification.new do |s| s.license = "MIT" - s.required_ruby_version = ">= 3.0" + s.required_ruby_version = ">= 3.2" s.add_runtime_dependency("activesupport") s.add_runtime_dependency("concurrent-ruby")