Readouble

Laravel 12.x リリースノート

バージョニング規約Versioning Scheme

Laravelとファーストパーティパッケージは、セマンティックバージョニングにしたがっています。メジャーなフレームのリリースは、毎年(第1四半期に)リリースします。マイナーとパッチリリースはより頻繁に毎週リリースします。マイナーとパッチリリースは、決してブレーキングチェンジを含みませんLaravel and its other first-party packages follow Semantic Versioning[https://semver.org]. Major framework releases are released every year (~Q1), while minor and patch releases may be released as often as every week. Minor and patch releases should never contain breaking changes.

アプリケーションやパッケージからLaravelフレームワークやそのコンポーネントを参照する場合、Laravelのメジャーリリースにはブレークチェンジが含まれるため、常に^11.0のようなバージョン制約を使用する必要があります。しかし、常に1日かからずに新しいメジャーリリースへアップデートできるように、私たちは努めています。When referencing the Laravel framework or its components from your application or package, you should always use a version constraint such as ^11.0, since major releases of Laravel do include breaking changes. However, we strive to always ensure you may update to a new major release in one day or less.

名前付き引数Named Arguments

名前付き引数は、Laravelの下位互換性ガイドラインの対象外です。Laravelコードベースを改善するために、必要に応じて関数の引数の名前を変更することもできます。したがって、Laravelメソッドを呼び出すときに名前付き引数を使用する場合は、パラメータ名が将来変更される可能性があることを理解した上で、慎重に行う必要があります。Named arguments[https://www.php.net/manual/en/functions.arguments.php#functions.named-arguments] are not covered by Laravel's backwards compatibility guidelines. We may choose to rename function arguments when necessary in order to improve the Laravel codebase. Therefore, using named arguments when calling Laravel methods should be done cautiously and with the understanding that the parameter names may change in the future.

サポートポリシーSupport Policy

Laravelのすべてのリリースは、バグフィックスは18ヶ月、セキュリティフィックスは2年です。Lumenのようなその他の追加ライブラリでは、最新のメジャーリリースのみでバグフィックスを受け付けています。また、Laravelがサポートするデータベースのサポートについても確認してください。For all Laravel releases, bug fixes are provided for 18 months and security fixes are provided for 2 years. For all additional libraries, including Lumen, only the latest major release receives bug fixes. In addition, please review the database versions supported by Laravel[/docs/{{version}}/database#introduction].

バージョンVersion PHP (*)PHP (*) リリースRelease バグフィックス期日Bug Fixes Until セキュリティ修正期日Security Fixes Until
99 8.0 - 8.28.0 - 8.2 2022年2月8日February 8th, 2022 2023年8月8日August 8th, 2023 2024年2月6日February 6th, 2024
1010 8.1 - 8.38.1 - 8.3 2023年2月14日February 14th, 2023 2024年8月6日August 6th, 2024 2025年2月4日February 4th, 2025
1111 8.2 - 8.48.2 - 8.4 2024年3月12日March 12th, 2024 2025年9月3日September 3rd, 2025 2026年3月12日March 12th, 2026
1212 8.2 - 8.48.2 - 8.4 2025年2月24日February 24th, 2025 2026年8月13日August 13th, 2026 2027年2月4日February 24th, 2027
End of life
Security fixes only

(*) 対応PHPバージョン(*) Supported PHP versions

Laravel 12Laravel 12

Laravel12では、Laravel11.xでの改善を引き継ぎ、上流の依存関係を更新し、React、Vue、Livewire用の新しいスターターキットを導入しました。これにはユーザー認証にWorkOSのAuthKitを使用するオプションも含まれます。スターターキットのWorkOS選択肢はソーシャル認証、パスキー、SSOをサポートしています。Laravel 12 continues the improvements made in Laravel 11.x by updating upstream dependencies and introducing new starter kits for React, Vue, and Livewire, including the option of using WorkOS AuthKit[https://authkit.com] for user authentication. The WorkOS variant of our starter kits offers social authentication, passkeys, and SSO support.

最低限のブレイキングチェンジMinimal Breaking Changes

このリリースサイクルでは、ブレイキングチェンジを最小限に抑えることに重点を置いてきました。その代わりに、既存のアプリケーションを壊さないようなクオリティ・オブ・ライフの改善を年間を通して継続的に行うことに専念してきました。Much of our focus during this release cycle has been minimizing breaking changes. Instead, we have dedicated ourselves to shipping continuous quality-of-life improvements throughout the year that do not break existing applications.

そのため、Laravel12のリリースは、既存の依存関係をアップグレードするための、比較的マイナーな「メンテナンスリリース」となっています。このことから、ほとんどのLaravelアプリケーションは、アプリケーションコードを変更することなく、Laravel12にアップグレードできます。Therefore, the Laravel 12 release is a relatively minor "maintenance release" in order to upgrade existing dependencies. In light of this, most Laravel applications may upgrade to Laravel 12 without changing any application code.

新しいアプリケーションスターターキットNew Application Starter Kits

Laravel12では、React、Vue、Livewire用の新しいアプリケーションスターターキットを導入しました。ReactとVueのスターターキットは、Inertia2、TypeScript、shadcn/ui、Tailwindを利用し、Livewireのスターターキットは、TailwindベースのFlux UIコンポーネントライブラリとLaravel Voltを利用します。Laravel 12 introduces new application starter kits[/docs/{{version}}/starter-kits] for React, Vue, and Livewire. The React and Vue starter kits utilize Inertia 2, TypeScript, shadcn/ui[https://ui.shadcn.com], and Tailwind, while the Livewire starter kits utilize the Tailwind-based Flux UI[https://fluxui.dev] component library and Laravel Volt.

React、Vue、Livewireのスターターキットはすべて、Laravelの組み込み認証システムを利用し、ログイン、登録、パスワードリセット、メール認証などを提供します。さらに、各スターターキットへWorkOS AuthKitを活用した搭載バージョンを導入し、ソーシャル認証、パスキー、SSOサポートを提供します。WorkOSは、月間アクティブユーザー数100万人までのアプリケーションに無料で認証を提供しています。The React, Vue, and Livewire starter kits all utilize Laravel's built-in authentication system to offer login, registration, password reset, email verification, and more. In addition, we are introducing a WorkOS AuthKit-powered[https://authkit.com] variant of each starter kit, offering social authentication, passkeys, and SSO support. WorkOS offers free authentication for applications up to 1 million monthly active users.

新しいアプリケーションスターターキットの導入に伴い、Laravel BreezeとLaravel Jetstreamは追加アップデートを受けられなくなりました。With the introduction of our new application starter kits, Laravel Breeze and Laravel Jetstream will no longer receive additional updates.

新しいスターターキットを使い始めるには、スターターキットのドキュメントを確認してください。To get started with our new starter kits, check out the starter kit documentation[/docs/{{version}}/starter-kits].

章選択

設定

明暗テーマ
light_mode
dark_mode
brightness_auto システム設定に合わせる
テーマ選択
photo_size_select_actual デフォルト
photo_size_select_actual モノクローム(白黒)
photo_size_select_actual Solarized風
photo_size_select_actual GitHub風(青ベース)
photo_size_select_actual Viva(黄緑ベース)
photo_size_select_actual Happy(紫ベース)
photo_size_select_actual Mint(緑ベース)
コードハイライトテーマ選択

明暗テーマごとに、コードハイライトのテーマを指定できます。

テーマ配色確認
スクリーン表示幅
640px
80%
90%
100%

768px以上の幅があるときのドキュメント部分表示幅です。

インデント
無し
1rem
2rem
3rem
原文確認
原文を全行表示
原文を一行ずつ表示
使用しない

※ 段落末のEボタンへカーソルオンで原文をPopupします。

Diff表示形式
色分けのみで区別
行頭の±で区別
削除線と追記で区別

※ [tl!…]形式の挿入削除行の表示形式です。

テストコード表示
両コード表示
Pestのみ表示
PHPUnitのみ表示
OS表示
全OS表示
macOSのみ表示
windowsのみ表示
linuxのみ表示
和文変換

対象文字列と置換文字列を半角スペースで区切ってください。(最大5組各10文字まで)

本文フォント

総称名以外はCSSと同様に、"〜"でエスケープしてください。

コードフォント

総称名以外はCSSと同様に、"〜"でエスケープしてください。

保存内容リセット

localStrageに保存してある設定項目をすべて削除し、デフォルト状態へ戻します。

ヘッダー項目移動

キーボード操作