2024/01/03分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Resolve documentational ambiguity over rescue_responses
[ci-skip]
rails guideのConfiguring Rails Applications
の修正です。
config.action_dispatch.rescue_responses
について説明している箇所に、デフォルトの設定はそのままでrescue対象を追加する方法の説明の追加、及び、デフォルトの設定が古い内容になっていたのを最新の内容に更新しています。
Gemfile
の修正です。
サポートしなくなったRuby 3.0未満の為の定義を削除しています。
Remove rollup and test machinery for rails-ujs (#50535)
deprecatedになっていた@rails/ujs
のファイル、テスト等のファイルや、docから@rails/ujs
関連の説明をまとめて削除しています。ビルドで生成されたrails-ujs.js
及びrails-ujs.esm.js
はasset pipelineの為に残っている状態です。
User content_for for titles in the application layout (#49702)
railtiesの修正です。
generatorで生成するapplication layoutでtitleタグの値をテンプレートファイルごとに指定出来るよう修正しています。
railties/lib/rails/generators/rails/app/templates/github/dependabot.yml
の修正です。
github-actions
もDependabotの更新の対象になるよう修正しています。
Document correct usage of named routes [skip ci]
actionpack/lib/action_dispatch/routing.rb
のdocの修正です。
ActionDispatch::Routing
のdoc内のnamed routesのexampleがエラーになるコードになっていたのを修正しています。
Add default pwa manifest and service worker file (#50528)
railtiesの修正です。
rails new
で新規にアプリケーションを生成した際に、PWA用のmanifestファイル、及び、service worker用のJSファイルを生成するよう修正しています。service workerのJSファイルでは、Web Push notificationを表示するexampleコードが記載されるようになっています。
Add .github to the default rails file structure
rails guideのGetting Started with Rails
の修正です。
rails new
で生成するファイルについて説明している箇所に、.github
ディレクトリについての説明を追加しています。
Document removal of rails/ujs in release note
rails guideのRuby on Rails 7.2 Release Notes
の修正です。
@rails/ujs
が削除された変更について説明を追加しています。