Skip to content

v2.0.0 - Major Version Upgrade

Choose a tag to compare

@Andryu Andryu released this 25 Jan 09:18
· 18 commits to master since this release
b4bfc7d

Release v2.0.0 🎉

このリリースは、modern Rails環境への大規模なアップグレードです。

⚠️ Breaking Changes

  • Ruby: 最小バージョン 3.0.0(旧: 2.3.7)
  • Rails/ActiveRecord: 最小バージョン 6.1.0(旧: 4.2.1)
  • MySQL: 推奨バージョン 8.0(旧: 5.7)

✨ 新機能

  • Rails 7.0, 7.1, 7.2 サポート
  • Ruby 3.0, 3.1, 3.2, 3.3 サポート
  • GitHub Actions CI による自動テスト(15パターンのマトリックステスト)

🐛 バグ修正

  • モジュール名のタイポを修正(SimpleMysqlParitioning → SimpleMySQLPartitioning)
  • Rails 6.1+ の ActiveRecord::Result API 互換性(.to_hash → .any?)
  • MySQL 8.0 パーティション構文の修正
  • Rails 6.1+ 複合主キー作成の修正
  • concurrent-ruby 1.3.5 互換性問題の修正(< 1.3.5 に固定)
  • ActiveSupport コア拡張の require 不足を修正

📦 依存関係

  • activerecord >= 6.1.0
  • activesupport >= 6.1.0
  • concurrent-ruby ~> 1.3.0, < 1.3.5(Rails 6.1 互換性のため)

🧪 テスト状況

全15パターンのテストが成功 ✅

  • Rails 6.1 × Ruby 3.0, 3.1, 3.2, 3.3
  • Rails 7.0 × Ruby 3.0, 3.1, 3.2, 3.3
  • Rails 7.1 × Ruby 3.0, 3.1, 3.2, 3.3
  • Rails 7.2 × Ruby 3.1, 3.2, 3.3

📚 移行ガイド

詳細な移行手順は CHANGELOG.md を参照してください。

🔗 関連リンク