2023/10/12分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Merge pull request #49538 from akhilgkrishnan/capitalize-framework-names
docの修正です。
コンポーネント名を大文字に修正しています。
Don't include enqueuing info when job wasn't enqueued
activejob/lib/active_job/log_subscriber.rb
の修正です。
jobに関するlogを出力する際に、jobがenqueueしていない場合、enqueueに関する情報は含まないよう修正しています。
Load author_addresses
fixtures for ActiveRecordMessagePackTest
activerecord/test/cases/message_pack_test.rb
の修正です。
使用しているのにloadしていないfixtureがあったのを修正しています。
Merge pull request #49553 from tricknotes/update-rails-ujs-build
actionview/app/assets/javascripts/rails-ujs.esm.js
、
actionview/app/assets/javascripts/rails-ujs.js
の修正です。
Ignore certain data-* attributes in rails-ujs when element is content…で行った、data-method、data-remote、data-disable属性を含む不正なHTMLコンテンツをクリップボードから貼り付けた場合に、XSSが出来てしまう可能性がある脆弱性の修正がRails 7.1に含まれていなかたったのを、含むよう修正しています。
Merge pull request #49535 from t27duck/check_rails_new_options
railties/lib/rails/generators/app_base.rb
、
railties/lib/rails/generators/rails/app/app_generator.rb
の修正です。
rails new
の--javascript
、--css
、及び、--asset-pipeline
オプションに不正な値を指定した場合にエラーになるよう修正しています。
Merge pull request #49532 from akhilgkrishnan/base-template-for-7-2-release-note
rails guideのRuby on Rails 7.2 Release Notes
の修正です。
各コンポーネントの変更点を記載するためのテンプレートを追加しています。
Advise upgraders to set active_record.encryption.hash_digest_class
rails guideのUpgrading Ruby on Rails
の修正です。
Upgrading from Rails 7.0 to Rails 7.1
にActive Record encryptionのデフォルトalgorithmが変更になったことについて説明した、Active Record encryption algorithm changes
セクションを追加しています。
guides/source/asset_pipeline.md: fix spelling
rails guideのThe Asset Pipeline
の修正です。
各箇所のグラマーの修正を行っています。
Remove unnecessary monospace formatting [ci-skip]
rails guideのThe Asset Pipeline
の修正です。
各箇所のフォーマットの修正を行っています。
Fix monospace formatting [ci-skip]
rails guideのUpgrading Ruby on Rails
の修正です。
各箇所のフォーマットの修正を行っています。
activemodel/test/cases/errors_test.rb
、
activerecord/test/cases/scoping/named_scoping_test.rb
の修正です。
テスト名、及び、テストのコメントのグラマーの修正を行っています。
Fix documentation for credentails server start command
railties/lib/rails/commands/credentials/USAGE
、
railties/lib/rails/commands/secrets/USAGE
の修正です。
credentials/secretsのUSAGE内のserverを起動するコマンドの例に誤りがあったのを修正しています。
Merge pull request #49598 from fatkodima/fix-identity-columns-pg-9
activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
の修正です。
PostgreSQL 10未満を使用している場合、columnの情報取得時にエラーになってしまうバグがあったのを修正しています。PostgreSQL 10で追加されたattributeを参照していた為。
Add email to the list of default filter parameters
railties/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb.tt
の修正です。
config.filter_parameters
のデフォルト値にemail
を追加しています。Email addressも個人情報と見なされる為、デフォルトでfilterされるべきだろう、という理由です。
Fix numbered list and indentation of code blocks on upgrade guide
rails guideのUpgrading Ruby on Rails
の修正です。
Active Record Encryption algorithm changes
セクションのフォーマットの修正を行っています。
Update filter_parameters default in configuring guide [ci skip]
rails guideのConfiguring Rails Applications
の修正です。
config.filter_parameters
のデフォルト値に説明している箇所にemail
を追加しています。
rails guideのActive Record Validations
の修正です。
ページ内リンクが正しく設定されていない箇所があったのを修正しています。
Add consistant option description for --database on rails new
railties/lib/rails/generators/app_base.rb
の修正です。
rails new
の--database
オプションに関する説明で、指定出来るオプションの区切り文字を/
から,
に変更しています。他のオプションと合わせる為。
Fix code example for create_unlogged_tables [ci skip]
activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
のdocの修正です。
create_unlogged_tables
を設定するexampleコードが、実際には動作しないコードになっていたのを修正しています。