Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
98b527a
Update CHANGELOG
taylorotwell Sep 4, 2025
8df7de3
Ensure cached and uncached routes share same precedence when resolvin…
timacdonald Sep 4, 2025
66a7fda
Re-enable previously commented assertions (#56930)
AhmedAlaa4611 Sep 4, 2025
5ae26cb
Reorder .gitignore entries for consistency and readability (#56963)
AhmedAlaa4611 Sep 7, 2025
f8f2820
[12.x] SQLite: Allow setting any pragmas (#56962)
stancl Sep 7, 2025
d6e4cbb
refactor: remove unused array from docblock (#56961)
alipowerful7 Sep 7, 2025
cd76f26
PendingResourceRegistration withoutMiddleware never returns array (#5…
moshe-autoleadstar Sep 7, 2025
888c47b
allow fakerphp/faker to not be installed (#56953)
SjorsO Sep 7, 2025
0dede4f
Fix Validator placeholderHash PHPDoc (#56947)
AhmedAlaa4611 Sep 7, 2025
6079a25
Handle MariaDB innodb_snapshot_isolation=ON (#56945)
Muffinman Sep 7, 2025
d2de325
[12.x] Add PhpRedis pack ignore numbers option (#56941)
tuandp Sep 7, 2025
336cf2b
test(support): add edge-case tuples for preg_replace_array (#56937)
realpvz Sep 7, 2025
17b273f
[12.x] Allow for BackedEnum on dynamic blade component (#56940)
gehrisandro Sep 7, 2025
18af306
[12.x] Remove one redundant array access (#56931)
vincentvanhoven Sep 7, 2025
608f97e
[12.x] Add withoutGlobalScopesExcept() to keep only specified global …
theHocineSaad Sep 7, 2025
e48bd1f
Make visibility consistent (#56970)
AhmedAlaa4611 Sep 8, 2025
6d358c1
Change list to tuple in PHPDoc block (#56967)
shaedrich Sep 8, 2025
c7ebbf6
aggregate service provider docblocks (#56968)
cosmastech Sep 8, 2025
9c507ef
[12.x] add --whisper option to schedule:work command (#56969)
thojo0 Sep 8, 2025
4bb8969
Update Faker suggestion to match skeleton version (#56974)
AhmedAlaa4611 Sep 8, 2025
d47515f
remove unnecessary `with()` helper call (#56975)
browner12 Sep 10, 2025
0789a84
Config: Move some items into pragmas (#56980)
AhmedAlaa4611 Sep 10, 2025
6ebd488
Add callback support to takeUntilTimeout in LazyCollection (#56981)
kamilkozak Sep 10, 2025
af4caf0
Utilize is_finite() (#56990)
AhmedAlaa4611 Sep 10, 2025
a8e00c4
property promotion (#56989)
cosmastech Sep 10, 2025
4871ce5
do not use `with()` helper when no second argument is passed (#56986)
browner12 Sep 10, 2025
144afb3
fixed wrong type (#56987)
sethsandaru Sep 10, 2025
a178dcf
[12.x] Some quick fixes (#56991)
theHocineSaad Sep 10, 2025
174d14e
tests: Ensure transaction callbacks run in FIFO order (#56973)
realpvz Sep 10, 2025
085a3d8
pass attributes and parent arguments to Factory Sequence as in ->stat…
fritz-c Sep 10, 2025
d9bdd6d
support `Castable` on `Enum` (#56977)
jrseliga Sep 10, 2025
c5fbab2
add trailling commas in multline method signatures (#56992)
browner12 Sep 10, 2025
78a7a2a
Improve docblocks for nullable parameters (#56995)
amirhshokri Sep 10, 2025
cf159ac
Improve docblocks for nullable parameters (#56996)
amirhshokri Sep 10, 2025
c5de8e9
Improve docblocks for nullable parameters (#56997)
amirhshokri Sep 10, 2025
13d8cae
Revert "Config: Move some items into pragmas (#56980)" (#57003)
taylorotwell Sep 10, 2025
38f7d03
[12.x]: Cache Session Driver (#56887)
joaopalopes24 Sep 10, 2025
59fd459
Update facade docblocks
taylorotwell Sep 10, 2025
6eaaa84
[12.x] Add support for #[UseResource(...)] and #[UseResourceCollectio…
Lukasss93 Sep 10, 2025
f639297
[12.x] Test Improvements (#57010)
crynobone Sep 11, 2025
525855d
[12.x] Test Improvements (#57031)
crynobone Sep 12, 2025
92b4da0
[12.x] Infinite method chaining in contextual binding builder (#57026)
daniser Sep 12, 2025
bc57836
[12.x] Improved manager typehints (#57024)
daniser Sep 12, 2025
048377a
Bump vite in /src/Illuminate/Foundation/resources/exceptions/renderer…
dependabot[bot] Sep 12, 2025
bfca3c4
Update facade docblocks
taylorotwell Sep 12, 2025
4f8f936
Correct APC cache store docblock types (#57020)
xurshudyan Sep 12, 2025
1e528f3
fix type hint
taylorotwell Sep 12, 2025
986c42a
Allow dynamic tries() method on Queueable listeners (#57014)
glioympas Sep 12, 2025
179967b
[12.x] Add --json option to ScheduleListCommand (#57006)
dxnter Sep 12, 2025
91f4dd6
Apply fixes from StyleCI
StyleCIBot Sep 12, 2025
a793089
[12.x] `with()` helper call simplification (#57041)
browner12 Sep 12, 2025
8323276
handle all Enum types for default values (#57040)
browner12 Sep 12, 2025
99b08c1
Refactor chained method calls for readability (#57050)
AhmedAlaa4611 Sep 13, 2025
588b9c8
Improve docblock wording (#57056)
AhmedAlaa4611 Sep 15, 2025
92bea89
Refactor chained method calls for readability (#57054)
AhmedAlaa4611 Sep 15, 2025
1b4fd54
[12.x] Update local exception page (#57036)
avosalmon Sep 15, 2025
0ff9e14
[12.x] Add ability to control QueueWorker memory exceeded exit code (…
jackbayliss Sep 15, 2025
2e259b8
[12.x] Ensure `laravel-cloud-socket` respects `LOG_LEVEL` (#57071)
PeteBishwhip Sep 16, 2025
f212d82
Update CHANGELOG
taylorotwell Sep 16, 2025
60beaa2
[12.x] Allow new versions for phiki/phiki than 2.0.0 (#57075)
hebbet Sep 17, 2025
90a556e
[12.x] Use null coalescing for memoryExceededExitCode (#57090)
jackbayliss Sep 17, 2025
aacd2b8
Fix 'can' function defined in RouterRegistrar in #54648 but did not w…
pdewit Sep 17, 2025
fcdaa73
[12.x] Fix SQS FIFO and fair queue support (#57080)
patrickcarlohickman Sep 17, 2025
a29fd47
atomically flush redis cache tags (#57098)
taylorotwell Sep 17, 2025
56dba3b
Add type hints to \Illuminate\Support\Str (#57096)
shaedrich Sep 17, 2025
58f2084
Update Database Connection getElapsedTime comment to specify unit (#5…
glensc Sep 17, 2025
51ff55a
[12.x] Add support for Ordinal Position in validation messages (#57109)
BinaryKitten Sep 18, 2025
1248fb5
[12.x] Fix exception frame file path on Windows (#57103)
avosalmon Sep 18, 2025
8b38c07
Add fallback to copy buttons on new exception page (#57092)
joaokamun Sep 18, 2025
1c76725
Adds `Macroable` trait to `Illuminate/Support/Benchmark` (#57107)
1tim22 Sep 18, 2025
7a5ee83
Update CHANGELOG
taylorotwell Sep 18, 2025
095bcdc
Apply intl extension check to ordinal position (#57112)
BinaryKitten Sep 18, 2025
4156e6a
Update CHANGELOG
taylorotwell Sep 18, 2025
aed034f
Update `package-lock.json`
crynobone Sep 19, 2025
e96e4a0
Bump vite in /src/Illuminate/Foundation/resources/exceptions/renderer…
dependabot[bot] Sep 19, 2025
0cbb09f
short hand false props (#57104)
PerryvanderMeer Sep 19, 2025
e906054
Allow Number parsing helpers to return false (#57127)
platoindebugmode Sep 20, 2025
69b0eb2
[12.x] Refactor `RedisTaggedCache@flush()` to allow for custom connec…
cosmastech Sep 20, 2025
0052422
Apply fixes from StyleCI
StyleCIBot Sep 20, 2025
87e58bb
Use light-dark scheme for exception renderer (#57128)
pxlrbt Sep 20, 2025
5507979
fix: replace log function and logger helper return type ?LogManager w…
abdelrahmenAyman Sep 21, 2025
ad488f9
Add MySQL-specific constraints for delete statements with joins
tegos Sep 21, 2025
43d2a71
Add tests to validate MySQL behavior for DELETE with JOIN restrictions
tegos Sep 22, 2025
f501f23
chore: update tests for DELETE statements with and without JOIN using…
tegos Sep 23, 2025
7172181
chore: exclude mariadb from LIMIT on DELETE with JOIN test
tegos Sep 23, 2025
e0b7d84
Fix session value is missing assertion (#57134)
barclaymichael Sep 22, 2025
131aca2
median() div swapped for intdiv() (#57148)
artumi-richard Sep 23, 2025
bd10d24
[12.x] Fix PHP 8.5 null-key deprecations (#57137)
IonBazan Sep 23, 2025
fd39e1e
Update CHANGELOG
taylorotwell Sep 23, 2025
83d20b0
Revert "short hand false props (#57104)" (#57151)
taylorotwell Sep 23, 2025
a338dd2
Update CHANGELOG
taylorotwell Sep 23, 2025
147fa27
[12.x] fix static analysis error (#57162)
cosmastech Sep 24, 2025
68784a4
Fix: Handle non-string returns from Htmlable::toHtml() in e() helper …
Carnicero90 Sep 24, 2025
c1483c4
[12.x] Fix pending attributes in schedule group (#57156)
jamessa Sep 24, 2025
4fef9e4
Remove Request overview from Exceptions (#57158)
barryvdh Sep 24, 2025
83adc87
convert encoding
taylorotwell Sep 24, 2025
6b1f753
[12.x] Pass "throw" option from scoped to parent disk (#57163)
daniser Sep 24, 2025
d5a4b99
Fix: Update return type annotation for array() method to always retur…
parijke Sep 24, 2025
082d84e
fix grouping
taylorotwell Sep 24, 2025
a529f81
[12.x] Adjust `Arr` typehints (#57165)
daniser Sep 24, 2025
a1f1781
feat: support ORDER BY and LIMIT in MySQL DELETE without joins, updat…
tegos Sep 25, 2025
88e63b0
test: update MySQL DELETE with JOIN tests to support ORDER BY and LIMIT
tegos Sep 25, 2025
accc64a
Update MySqlGrammar.php
taylorotwell Sep 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
ports:
- 11211:11211
mysql:
image: mysql:5.7
image: mysql:8
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: forge
Expand Down Expand Up @@ -72,6 +72,15 @@ jobs:
- name: Set Framework version
run: composer config version "13.x-dev"

- name: Set Minimum dependencies for `prefer-lowest`
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
command: composer require opis/string:2.0.1 --no-interaction --no-update
shell: bash
if: matrix.stability == 'prefer-lowest'

- name: Install dependencies
uses: nick-fields/retry@v3
with:
Expand Down Expand Up @@ -136,6 +145,15 @@ jobs:
- name: Set Framework version
run: composer config version "13.x-dev"

- name: Set Minimum dependencies for `prefer-lowest`
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
command: composer require opis/string:2.0.1 --no-interaction --no-update
shell: bash
if: matrix.stability == 'prefer-lowest'

- name: Install dependencies
uses: nick-fields/retry@v3
with:
Expand Down
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.DS_Store
.phpunit.result.cache
/.fleet
/.idea
/.phpunit.cache
/phpunit.xml
/.vscode
/vendor
composer.phar
composer.lock
.DS_Store
Thumbs.db
/phpunit.xml
/.idea
/.fleet
/.vscode
.phpunit.result.cache
102 changes: 101 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,106 @@
# Release Notes for 12.x

## [Unreleased](https://github.com/laravel/framework/compare/v12.28.0...12.x)
## [Unreleased](https://github.com/laravel/framework/compare/v12.31.1...12.x)

## [v12.31.1](https://github.com/laravel/framework/compare/v12.31.0...v12.31.1) - 2025-09-23

* Revert "[12.x] Reintroduce short-hand "false" syntax for Blade component props" by [@taylorotwell](https://github.com/taylorotwell) in https://github.com/laravel/framework/pull/57151

## [v12.31.0](https://github.com/laravel/framework/compare/v12.30.1...v12.31.0) - 2025-09-23

* Bump vite from 7.1.2 to 7.1.6 in /src/Illuminate/Foundation/resources/exceptions/renderer by [@dependabot](https://github.com/dependabot)[bot] in https://github.com/laravel/framework/pull/57114
* [12.x] Reintroduce short-hand "false" syntax for Blade component props by [@PerryvanderMeer](https://github.com/PerryvanderMeer) in https://github.com/laravel/framework/pull/57104
* [12.x] Allow Number parse helpers to return false by [@platoindebugmode](https://github.com/platoindebugmode) in https://github.com/laravel/framework/pull/57127
* [12.x] Refactor `RedisTaggedCache@flush()` to allow for custom connections by [@cosmastech](https://github.com/cosmastech) in https://github.com/laravel/framework/pull/57122
* [12.x] Use light-dark scheme for exception renderer by [@pxlrbt](https://github.com/pxlrbt) in https://github.com/laravel/framework/pull/57128
* [12.x] Replace logger helper and log function concrete return type ?LogManager with abstract ?LoggerInterface by [@abdelrahmenAyman](https://github.com/abdelrahmenAyman) in https://github.com/laravel/framework/pull/57028
* [12.x] Fix session value is missing assertion by [@barclaymichael](https://github.com/barclaymichael) in https://github.com/laravel/framework/pull/57134
* median() div swapped for intdiv() by [@artumi-richard](https://github.com/artumi-richard) in https://github.com/laravel/framework/pull/57148
* [12.x] Fix PHP 8.5 null-key deprecations by [@IonBazan](https://github.com/IonBazan) in https://github.com/laravel/framework/pull/57137

## [v12.30.1](https://github.com/laravel/framework/compare/v12.30.0...v12.30.1) - 2025-09-18

* [12.x] Fix: Apply intl extension check to ordinal position to prevent issues by [@BinaryKitten](https://github.com/BinaryKitten) in https://github.com/laravel/framework/pull/57112

## [v12.30.0](https://github.com/laravel/framework/compare/v12.29.0...v12.30.0) - 2025-09-18

* [12.x] Allow newer versions for phiki/phiki than 2.0.0 by [@hebbet](https://github.com/hebbet) in https://github.com/laravel/framework/pull/57075
* [12.x] Use null coalescing for memoryExceededExitCode by [@jackbayliss](https://github.com/jackbayliss) in https://github.com/laravel/framework/pull/57090
* [12.x] Fix 'can' function that was defined in RouterRegistrar in #54648 by [@pdewit](https://github.com/pdewit) in https://github.com/laravel/framework/pull/57072
* [12.x] Fix SQS FIFO and fair queue support by [@patrickcarlohickman](https://github.com/patrickcarlohickman) in https://github.com/laravel/framework/pull/57080
* atomically flush redis cache tags by [@taylorotwell](https://github.com/taylorotwell) in https://github.com/laravel/framework/pull/57098
* [12.x] Add type hints to `\Illuminate\Support\Str` by [@shaedrich](https://github.com/shaedrich) in https://github.com/laravel/framework/pull/57096
* Doc: Update Database Connection getElapsedTime comment to specify unit by [@glensc](https://github.com/glensc) in https://github.com/laravel/framework/pull/57099
* [12.x] Add support for Ordinal Position in validation messages by [@BinaryKitten](https://github.com/BinaryKitten) in https://github.com/laravel/framework/pull/57109
* [12.x] Fix exception frame file path on Windows by [@avosalmon](https://github.com/avosalmon) in https://github.com/laravel/framework/pull/57103
* Add fallback to copy buttons on new exception page by [@joaokamun](https://github.com/joaokamun) in https://github.com/laravel/framework/pull/57092
* [12.x] Adds `Macroable` trait to `Illuminate/Support/Benchmark` by [@1tim22](https://github.com/1tim22) in https://github.com/laravel/framework/pull/57107

## [v12.29.0](https://github.com/laravel/framework/compare/v12.28.1...v12.29.0) - 2025-09-16

* Ensure cached and uncached routes share same precedence when resolving actions and names by [@timacdonald](https://github.com/timacdonald) in https://github.com/laravel/framework/pull/56920
* [12.x] Re-enable previously commented assertions by [@AhmedAlaa4611](https://github.com/AhmedAlaa4611) in https://github.com/laravel/framework/pull/56930
* [12.x] Reorder .gitignore entries for consistency and readability by [@AhmedAlaa4611](https://github.com/AhmedAlaa4611) in https://github.com/laravel/framework/pull/56963
* [12.x] SQLite: Allow setting any pragmas by [@stancl](https://github.com/stancl) in https://github.com/laravel/framework/pull/56962
* refactor: remove unused array from docblock by [@alipowerful7](https://github.com/alipowerful7) in https://github.com/laravel/framework/pull/56961
* PendingResourceRegistration withoutMiddleware never returns array by [@moshe-autoleadstar](https://github.com/moshe-autoleadstar) in https://github.com/laravel/framework/pull/56959
* [12.x] Allow not having "fakerphp/faker" installed by [@SjorsO](https://github.com/SjorsO) in https://github.com/laravel/framework/pull/56953
* [12.x] Fix Validator placeholderHash PHPDoc by [@AhmedAlaa4611](https://github.com/AhmedAlaa4611) in https://github.com/laravel/framework/pull/56947
* [12.x] Handle MariaDB innodb_snapshot_isolation=ON by [@Muffinman](https://github.com/Muffinman) in https://github.com/laravel/framework/pull/56945
* [12.x] Add PhpRedis pack ignore numbers option by [@tuandp](https://github.com/tuandp) in https://github.com/laravel/framework/pull/56941
* test(support): add edge-case tuples for preg_replace_array by [@realpvz](https://github.com/realpvz) in https://github.com/laravel/framework/pull/56937
* [12.x] Allow for BackedEnum on dynamic blade component by [@gehrisandro](https://github.com/gehrisandro) in https://github.com/laravel/framework/pull/56940
* [12.x] Remove one redundant array access by [@vincentvanhoven](https://github.com/vincentvanhoven) in https://github.com/laravel/framework/pull/56931
* [12.x] Add withoutGlobalScopesExcept() to keep only specified global scopes by [@theHocineSaad](https://github.com/theHocineSaad) in https://github.com/laravel/framework/pull/56957
* [12.x] Make visibility consistent by [@AhmedAlaa4611](https://github.com/AhmedAlaa4611) in https://github.com/laravel/framework/pull/56970
* [12.x] Change list to tuple in PHPDoc block by [@shaedrich](https://github.com/shaedrich) in https://github.com/laravel/framework/pull/56967
* [12.x] Improve `AggregateServiceProvider` docblocks by [@cosmastech](https://github.com/cosmastech) in https://github.com/laravel/framework/pull/56968
* [12.x] add --whisper option to schedule:work command by [@thojo0](https://github.com/thojo0) in https://github.com/laravel/framework/pull/56969
* [12.x] Update Faker suggestion to match skeleton version by [@AhmedAlaa4611](https://github.com/AhmedAlaa4611) in https://github.com/laravel/framework/pull/56974
* Refactor: use str_contains() instead of strpos() for clarity by [@arshidkv12](https://github.com/arshidkv12) in https://github.com/laravel/framework/pull/56979
* [12.x] remove unnecessary `with()` helper call by [@browner12](https://github.com/browner12) in https://github.com/laravel/framework/pull/56975
* [12.x] Config: Move some items into pragmas by [@AhmedAlaa4611](https://github.com/AhmedAlaa4611) in https://github.com/laravel/framework/pull/56980
* Add callback support to takeUntilTimeout in LazyCollection by [@kamilkozak](https://github.com/kamilkozak) in https://github.com/laravel/framework/pull/56981
* [12.x] Utilize the is_finite() PHP function by [@AhmedAlaa4611](https://github.com/AhmedAlaa4611) in https://github.com/laravel/framework/pull/56990
* [12.x] Use property promotion in `MessageLogged` and narrow `$level` by [@cosmastech](https://github.com/cosmastech) in https://github.com/laravel/framework/pull/56989
* [12.x] do not use `with()` helper when no second argument is passed by [@browner12](https://github.com/browner12) in https://github.com/laravel/framework/pull/56986
* [12.x] Correct the type of $handler from Connection::whenQueryingForLongerThan by [@sethsandaru](https://github.com/sethsandaru) in https://github.com/laravel/framework/pull/56987
* [12.x] Some quick fixes by [@theHocineSaad](https://github.com/theHocineSaad) in https://github.com/laravel/framework/pull/56991
* tests: Ensure transaction callbacks run in FIFO order by [@realpvz](https://github.com/realpvz) in https://github.com/laravel/framework/pull/56973
* Pass $attributes and $parent arguments to Factory Sequence by [@fritz-c](https://github.com/fritz-c) in https://github.com/laravel/framework/pull/56972
* [12.x] - Support `Castable` on `Enum` by [@jrseliga](https://github.com/jrseliga) in https://github.com/laravel/framework/pull/56977
* [12.x] add trailing commas in multiline method signatures by [@browner12](https://github.com/browner12) in https://github.com/laravel/framework/pull/56992
* [12.x] Improve docblocks for nullable parameters by [@amirhshokri](https://github.com/amirhshokri) in https://github.com/laravel/framework/pull/56995
* [12.x] Improve docblocks for nullable parameters by [@amirhshokri](https://github.com/amirhshokri) in https://github.com/laravel/framework/pull/56996
* [12.x] Improve docblocks for nullable parameters by [@amirhshokri](https://github.com/amirhshokri) in https://github.com/laravel/framework/pull/56997
* Revert "[12.x] Config: Move some items into pragmas" by [@taylorotwell](https://github.com/taylorotwell) in https://github.com/laravel/framework/pull/57003
* [12.x]: Cache Session Driver by [@joaopalopes24](https://github.com/joaopalopes24) in https://github.com/laravel/framework/pull/56887
* [12.x] Add support for #[UseResource(...)] and #[UseResourceCollection(...)] attributes on models by [@Lukasss93](https://github.com/Lukasss93) in https://github.com/laravel/framework/pull/56966
* [12.x] Test Improvements by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/framework/pull/57010
* [12.x] Test Improvements by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/framework/pull/57031
* [12.x] Infinite method chaining in contextual binding builder by [@daniser](https://github.com/daniser) in https://github.com/laravel/framework/pull/57026
* [12.x] Improved manager typehints by [@daniser](https://github.com/daniser) in https://github.com/laravel/framework/pull/57024
* Bump vite from 5.4.19 to 5.4.20 in /src/Illuminate/Foundation/resources/exceptions/renderer by [@dependabot](https://github.com/dependabot)[bot] in https://github.com/laravel/framework/pull/57009
* [12.x] Correct APC cache store docblock types by [@xurshudyan](https://github.com/xurshudyan) in https://github.com/laravel/framework/pull/57020
* [12.x] Enable dynamic tries() method on Queueable Listeners by [@glioympas](https://github.com/glioympas) in https://github.com/laravel/framework/pull/57014
* [12.x] Add --json option to ScheduleListCommand by [@dxnter](https://github.com/dxnter) in https://github.com/laravel/framework/pull/57006
* [12.x] `with()` helper call simplification by [@browner12](https://github.com/browner12) in https://github.com/laravel/framework/pull/57041
* [12.x] handle all Enum types for default values by [@browner12](https://github.com/browner12) in https://github.com/laravel/framework/pull/57040
* [12.x] Refactor chained method calls for readability by [@AhmedAlaa4611](https://github.com/AhmedAlaa4611) in https://github.com/laravel/framework/pull/57050
* [12.x] Improve docblock wording by [@AhmedAlaa4611](https://github.com/AhmedAlaa4611) in https://github.com/laravel/framework/pull/57056
* [12.x] Refactor chained method calls for readability by [@AhmedAlaa4611](https://github.com/AhmedAlaa4611) in https://github.com/laravel/framework/pull/57054
* [12.x] Update local exception page by [@avosalmon](https://github.com/avosalmon) in https://github.com/laravel/framework/pull/57036
* [12.x] Add ability to control QueueWorker memory exceeded exit code by [@jackbayliss](https://github.com/jackbayliss) in https://github.com/laravel/framework/pull/57044
* [12.x] Ensure `laravel-cloud-socket` respects `LOG_LEVEL` by [@PeteBishwhip](https://github.com/PeteBishwhip) in https://github.com/laravel/framework/pull/57071

## [v12.28.1](https://github.com/laravel/framework/compare/v12.28.0...v12.28.1) - 2025-09-04

* [12.x] Rename `group` to `messageGroup` property by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/framework/pull/56919
* Fix PHP_CLI_SERVER_WORKERS inside laravel/sail by [@akyrey](https://github.com/akyrey) in https://github.com/laravel/framework/pull/56923
* Allow RouteRegistrar to be Macroable by [@moshe-autoleadstar](https://github.com/moshe-autoleadstar) in https://github.com/laravel/framework/pull/56921
* [12.x] Fix SesV2Transport docblock by [@dwightwatson](https://github.com/dwightwatson) in https://github.com/laravel/framework/pull/56917
* [12.x] Prevent unnecessary query logging on exceptions with a custom renderer by [@luanfreitasdev](https://github.com/luanfreitasdev) in https://github.com/laravel/framework/pull/56874
* [12.x] Reduce meaningless intermediate variables by [@AhmedAlaa4611](https://github.com/AhmedAlaa4611) in https://github.com/laravel/framework/pull/56927

## [v12.28.0](https://github.com/laravel/framework/compare/v12.27.1...v12.28.0) - 2025-09-03

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"monolog/monolog": "^3.0",
"nesbot/carbon": "^3.8.4",
"nunomaduro/termwind": "^2.0",
"phiki/phiki": "^2.0.0",
"psr/container": "^1.1.1|^2.0.1",
"psr/log": "^1.0|^2.0|^3.0",
"psr/simple-cache": "^1.0|^2.0|^3.0",
Expand Down Expand Up @@ -180,7 +181,7 @@
"ably/ably-php": "Required to use the Ably broadcast driver (^1.0).",
"aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.322.9).",
"brianium/paratest": "Required to run tests in parallel (^7.0|^8.0).",
"fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).",
"fakerphp/faker": "Required to generate fake data using the fake() helper (^1.23).",
"filp/whoops": "Required for friendly error pages in development (^2.14.3).",
"laravel/tinker": "Required to use the tinker console command (^2.0).",
"league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.25.1).",
Expand Down
5 changes: 5 additions & 0 deletions config/cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
'serialize' => false,
],

'session' => [
'driver' => 'session',
'key' => env('SESSION_CACHE_KEY', '_cache'),
],

'database' => [
'driver' => 'database',
'connection' => env('DB_CACHE_CONNECTION'),
Expand Down
1 change: 1 addition & 0 deletions config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
'journal_mode' => null,
'synchronous' => null,
'transaction_mode' => 'DEFERRED',
'pragmas' => [],
],

'mysql' => [
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Auth/Access/Gate.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ protected function authorizeOnDemand($condition, $message, $code, $allowWhenResp
$response = $condition;
}

return with($response instanceof Response ? $response : new Response(
return ($response instanceof Response ? $response : new Response(
(bool) $response === $allowWhenResponseIs, $message, $code
))->authorize();
}
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Broadcasting/BroadcastEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function middleware(): array
/**
* Handle a job failure.
*
* @param \Throwable $e
* @param \Throwable|null $e
* @return void
*/
public function failed(?Throwable $e = null): void
Expand Down
12 changes: 6 additions & 6 deletions src/Illuminate/Bus/Batch.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ public function add($jobs)
if (is_array($job)) {
$count += count($job);

return with($this->prepareBatchedChain($job), function ($chain) {
return $chain->first()
->allOnQueue($this->options['queue'] ?? null)
->allOnConnection($this->options['connection'] ?? null)
->chain($chain->slice(1)->values()->all());
});
$chain = $this->prepareBatchedChain($job);

return $chain->first()
->allOnQueue($this->options['queue'] ?? null)
->allOnConnection($this->options['connection'] ?? null)
->chain($chain->slice(1)->values()->all());
} else {
$job->withBatchId($this->id);

Expand Down
10 changes: 5 additions & 5 deletions src/Illuminate/Cache/ApcStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function __construct(ApcWrapper $apc, $prefix = '')
* Retrieve an item from the cache by key.
*
* @param string $key
* @return mixed
* @return mixed|null
*/
public function get($key)
{
Expand All @@ -60,8 +60,8 @@ public function put($key, $value, $seconds)
* Increment the value of an item in the cache.
*
* @param string $key
* @param mixed $value
* @return int|bool
* @param int $value
* @return int|false
*/
public function increment($key, $value = 1)
{
Expand All @@ -72,8 +72,8 @@ public function increment($key, $value = 1)
* Decrement the value of an item in the cache.
*
* @param string $key
* @param mixed $value
* @return int|bool
* @param int $value
* @return int|false
*/
public function decrement($key, $value = 1)
{
Expand Down
12 changes: 6 additions & 6 deletions src/Illuminate/Cache/ApcWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class ApcWrapper
* Get an item from the cache.
*
* @param string $key
* @return mixed
* @return mixed|null
*/
public function get($key)
{
Expand All @@ -23,7 +23,7 @@ public function get($key)
* @param string $key
* @param mixed $value
* @param int $seconds
* @return array|bool
* @return bool
*/
public function put($key, $value, $seconds)
{
Expand All @@ -34,8 +34,8 @@ public function put($key, $value, $seconds)
* Increment the value of an item in the cache.
*
* @param string $key
* @param mixed $value
* @return int|bool
* @param int $value
* @return int|false
*/
public function increment($key, $value)
{
Expand All @@ -46,8 +46,8 @@ public function increment($key, $value)
* Decrement the value of an item in the cache.
*
* @param string $key
* @param mixed $value
* @return int|bool
* @param int $value
* @return int|false
*/
public function decrement($key, $value)
{
Expand Down
Loading