2022/05/18分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
- Allow #increment and #decrement methods of
ActiveSupport::Cache::Store
subclasses 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に更新しています。