2022/05/18分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
- Allow #increment and #decrement methods of
ActiveSupport::Cache::Storesubclasses to set new values.
Add initial value support to MemCacheStore #increment and #decrement
Active Supportの修正です。
cache storeの#increment、#decrementメソッドにkeyが未設定、または、expireしている場合に使用するデフォルト値を指定出来るよう修正しています。
Fix incorrect line number if a helper_method errors
actionpack/lib/abstract_controller/helpers.rbの修正です。
helper_methodで定義したメソッド内でエラーが発生した場合に、バックトレースの行が正しく表示されないバグがあったのを修正しています。
Deprecate :pool_size and :pool_timeout options for configuring connection pooling in cache stores
activesupport/lib/active_support/cache.rb、
activesupport/test/cache/behaviors/connection_pool_behavior.rbの修正です。
cache storeのpool_size、pool_timeoutオプションがdeprecatedになりました。connection poolingを有効化したい場合、今後はpoolオプションを使用する必要があります。
# connection poolingを有効化したい場合 config.cache_store = :redis_cache_store, pool: true # connection poolingの値を設定したい場合 config.cache_store = :redis_cache_store, pool: { size: 10, timeout: 2 }
Gemfileの修正です。
queue_classic gemのバージョンを4.0.0に更新しています。