2021/06/28分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
activestorage/CHANGELOG.md
- Remove deprecated methods:
build_after_upload,create_after_upload!in favor ofcreate_and_upload!, andservice_urlin favor ofurl. - Deprecate
config.active_storage.replace_on_assign_to_many. Future versions of Rails will behave the same way as when the config is set totrue.
Add support for if_exists/if_not_exists on remove_foreign_key/add_foreign_key
activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb、activerecord/lib/active_record/connection_adapters/sqlite3/schema_statements.rbの修正です。
add_foreign_keyメソッドにif_not_existsオプションのサポートを、remove_foreign_keyメソッドにif_existsオプションをサポートをそれぞれ追加しています。
Add terser as option to JavaScript compressors list
rails guideのThe Asset Pipelineの修正です。
JavaScript Compressionの項にあるcompressionツールの一覧にterserを追加しています。
[ci skip] replace Uglifier example with Terser
rails guideのThe Asset Pipeline、Configuring Rails Applicationsの修正です。
JavaScript compressionのexampleでuglifierを使用していたのをterserを使用するよう修正、及び、config.assets.js_compressorに指定出来る値の一覧にterserを追加しています。
Merge pull request #42618 from AkhilGKrishnan/guides-punctuation-issue-fix
rails guideのLayouts and Rendering in Railsの修正です。
Linking to CSS Files with the stylesheet_link_tagの項のフォーマットの修正を行っています。
Remove already deprecated methods in ActiveStorage
Active Storageの修正です。
deprecatedになっていたbuild_after_upload、 create_after_upload! 、service_urlメソッドを削除しています。
Replace uglifier with terser in dummy applications
Railsのテストで使用しているdummy applicationsでuglifierではなくterserを使用するよう修正しています。ES6+の機能を使えるようにする為。
activerecord/CHANGELOG.mdの修正です。
async queriesのログにlock waitした期間の情報も出力するよう対応した、Report async queries lock wait durationについてCHANGELOGにエントリーを追加しています。
Deprecate replace_on_assign_to_many
activestorage/lib/active_storage/attached/model.rbの修正です。
config.active_storage.replace_on_assign_to_manyをdeprecateにしています。Rails 7.1以降はreplace_on_assign_to_manyにtrueを指定した場合の挙動に強制的になります。