Skip to content

chore(deps): update dependency active_hash to v4#2583

Merged
jacopen merged 1 commit intomainfrom
renovate/active_hash-4.x-lockfile
Aug 1, 2025
Merged

chore(deps): update dependency active_hash to v4#2583
jacopen merged 1 commit intomainfrom
renovate/active_hash-4.x-lockfile

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 30, 2025

✅ マイナーチェンジ以上のアップデートは動作確認をしてからマージすること

This PR contains the following updates:

Package Change Age Confidence
active_hash (changelog) 3.3.1 -> 4.0.0 age confidence

Release Notes

active-hash/active_hash (active_hash)

v4.0.0

Compare Source

Added
Fixed
Removed

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jul 30, 2025
@renovate renovate bot requested a review from a team July 30, 2025 02:14
@github-actions
Copy link

Simplecov Report

Covered Threshold
64.47% 60%

@renovate renovate bot force-pushed the renovate/active_hash-4.x-lockfile branch from afd9f29 to 17506d3 Compare August 1, 2025 01:44
@jacopen
Copy link
Collaborator

jacopen commented Aug 1, 2025

@claude Breaking Changesが無いかどうかを中心にレビューして

@claude
Copy link

claude bot commented Aug 1, 2025

Claude finished @jacopen's task —— View job


Active Hash v4.0.0 アップデートレビュー

Breaking Changesの確認を中心にレビューしました。

タスクリスト

  • プロジェクトのRubyバージョンを確認
  • プロジェクトのRails/ActiveRecordバージョンを確認
  • active_hash 4.0.0の要件との互換性を分析
  • active_hashの使用箇所を確認
  • Breaking Changesの影響評価とレビュー結果を提供

確認結果

環境情報

  • Ruby: 3.3.6 ✅
  • Rails: 8.0.2 ✅
  • ActiveRecord: 8.0.2 ✅

Breaking Changes評価

主要なBreaking Change:

  • Active Hash 4.0.0は ActiveRecord < 6.1 と Ruby < 3.0 のサポートを削除

影響評価:問題なし

このプロジェクトの環境は:

  • Ruby 3.3.6(要求: 3.0以上)
  • ActiveRecord 8.0.2(要求: 6.1以上)

いずれも要求バージョンを大幅に上回っており、互換性の問題はありません。

コードベースの確認

ActiveHashの使用状況:

  • 10個のActiveHashモデルが存在(FormModels::*
  • Profileモデルでbelongs_to_active_hashアソシエーションを使用 (app/models/profile.rb:28-29)
  • カスタムリフレクション対応のイニシャライザが存在 (config/initializers/active_hash_reflection.rb)

これらの既存コードはActive Hash 4.0.0でも問題なく動作します。

結論

このPRをマージして問題ありません。 Breaking Changesによる影響はなく、プロジェクトの環境は新バージョンの要件を満たしています。

追加の新機能

Active Hash 4.0.0では以下の新機能が追加されています:

  • i18n サポート
  • column_names メソッド
  • count へのブロックサポート
  • Enum サポートの改善

これらは既存コードに影響を与えませんが、今後の開発で活用できる可能性があります。

@jacopen jacopen merged commit 4060013 into main Aug 1, 2025
6 of 7 checks passed
@jacopen jacopen deleted the renovate/active_hash-4.x-lockfile branch August 1, 2025 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant