2020/04/09分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
activejob/CHANGELOG.md
Update tzinfo to avoid taint warnings
Gemfile.lock
の修正です。
tzinfo
のバージョンを2.0.2に更新しています。taintに関するwarningが表示されるのを避ける為。
Build Journey::Path::Pattern ast in a single loop
actionpack/lib/action_dispatch/journey/path/pattern.rb
の修正です。
Jou::Path::Pattern#ast
メソッドでast生成のループ処理を減らすようリファクタリングしています。
Merge pull request #38082 from p8/guides/actioncable-clarify-stream-for
rails guideのAction Cable Overview
の修正です。
Streams
の項にあるexampleコードについて説明している箇所に、stream名についての説明を追加しています。
Merge pull request #38605 from dmitry/issue-38584
activejob/lib/active_job/queue_adapters/test_adapter.rb
の修正です。
assert_enqueued_with
とperform_enqueued_jobs
を合わせて使用、かつ、それぞれでjobのfilterをしている場合に、enqueueされたjobが正しく実行されないバグがあったのを修正しています。
ActionView::Base.annotate_template_file_names
only annotates HTML output.
actionview/lib/action_view/template/handlers/erb.rb
、
actionview/lib/action_view/template/handlers/erb/erubi.rb
の修正です。
Merge pull request #38848 from joelhawksley/template-annotationsで追加された、テンプレート名のコメントへの出力処理を、formatがHTMLのときのみ出力するよう修正しています。
Move CHANGELOG entry to the top
activejob/CHANGELOG.md
の修正です。
Merge pull request #38605 from dmitry/issue-38584で追加されたCHANGELOGのエントリーをファイルの先頭に追加しています。
Update the Active Model deprecation warning
activemodel/lib/active_model/errors.rb
の修正です。
ActiveModel::Errors#each
メソッドで出力するdeprecateメッセージで、新しいActiveModel::Errors
でエラーのattribute / messageを取得する方法についての説明を行うよう修正しています。
Add attribute_names method on errors
activemodel/lib/active_model/errors.rb
の修正です。
エラーになったattribute名の一覧を取得するためのActiveModel::Errors#attribute_names
メソッドを追加しています。
Minor fix to correctly identify the entire scope of the loopback address, per RFC-3330.
actionpack/lib/action_dispatch/middleware/remote_ip.rb
の修正です。
127.0.0.1
だけがlocalhost IPv4のtrusted proxyとして指定されていたのを、range(127.0.0.0/8
)をtrusted proxyとして使用出来るよう修正しています。