Skip to content

Commit c888a81

Browse files
committed
Merge tag 'v12.28.1'
Signed-off-by: Mior Muhammad Zaki <[email protected]>
2 parents 2837041 + 868c1f2 commit c888a81

File tree

260 files changed

+4032
-999
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

260 files changed

+4032
-999
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,16 @@ jobs:
4040
fail-fast: true
4141
matrix:
4242
php: [8.3, 8.4]
43-
phpunit: ['11.5.3', '12.0.0', '12.2.0']
43+
phpunit: ['11.5.3', '12.0.0', '12.3.0']
4444
stability: [prefer-lowest, prefer-stable]
4545
include:
4646
- php: 8.3
4747
phpunit: '12.1.0'
4848
stability: prefer-stable
49+
- php: 8.3
50+
phpunit: '12.2.0'
51+
stability: prefer-stable
52+
4953

5054
name: PHP ${{ matrix.php }} - PHPUnit ${{ matrix.phpunit }} - ${{ matrix.stability }}
5155

@@ -100,8 +104,15 @@ jobs:
100104
fail-fast: true
101105
matrix:
102106
php: [8.3, 8.4]
103-
phpunit: ['11.5.3', '12.0.0', '12.1.0']
107+
phpunit: ['11.5.3', '12.0.0', '12.3.0']
104108
stability: [prefer-lowest, prefer-stable]
109+
include:
110+
- php: 8.3
111+
phpunit: '12.1.0'
112+
stability: prefer-stable
113+
- php: 8.3
114+
phpunit: '12.2.0'
115+
stability: prefer-stable
105116

106117
name: PHP ${{ matrix.php }} - PHPUnit ${{ matrix.phpunit }} - ${{ matrix.stability }} - Windows
107118

CHANGELOG.md

Lines changed: 135 additions & 1 deletion
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
66
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
77
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
8+
<a href="https://insights.linuxfoundation.org/project/laravel-framework"><img src="https://insights.linuxfoundation.org/api/badge/health-score?project=laravel-framework" alt="Health score"></a>
89
</p>
910

1011
## About Laravel

bin/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ git tag $VERSION
5252
git push origin --tags
5353

5454
# Tag Components
55-
for REMOTE in auth broadcasting bus cache collections conditionable config console container contracts cookie database encryption events filesystem hashing http log macroable mail notifications pagination pipeline process queue redis routing session support testing translation validation view
55+
for REMOTE in auth broadcasting bus cache collections conditionable config console container contracts cookie database encryption events filesystem hashing http json-schema log macroable mail notifications pagination pipeline process queue redis routing session support testing translation validation view
5656
do
5757
echo ""
5858
echo ""

bin/split.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ remote events [email protected]:illuminate/events.git
3535
remote filesystem [email protected]:illuminate/filesystem.git
3636
remote hashing [email protected]:illuminate/hashing.git
3737
remote http [email protected]:illuminate/http.git
38+
remote json-schema [email protected]:illuminate/json-schema.git
3839
remote log [email protected]:illuminate/log.git
3940
remote macroable [email protected]:illuminate/macroable.git
4041
remote mail [email protected]:illuminate/mail.git
@@ -69,6 +70,7 @@ split 'src/Illuminate/Events' events
6970
split 'src/Illuminate/Filesystem' filesystem
7071
split 'src/Illuminate/Hashing' hashing
7172
split 'src/Illuminate/Http' http
73+
split 'src/Illuminate/JsonSchema' json-schema
7274
split 'src/Illuminate/Log' log
7375
split 'src/Illuminate/Macroable' macroable
7476
split 'src/Illuminate/Mail' mail

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"ext-session": "*",
2525
"ext-tokenizer": "*",
2626
"composer-runtime-api": "^2.2",
27-
"brick/math": "^0.11|^0.12|^0.13",
27+
"brick/math": "^0.11|^0.12|^0.13|^0.14",
2828
"doctrine/inflector": "^2.0.5",
2929
"dragonmantank/cron-expression": "^3.4",
3030
"egulias/email-validator": "^3.2.1|^4.0",
@@ -51,9 +51,9 @@
5151
"symfony/http-kernel": "^7.4.0|^8.0.0",
5252
"symfony/mailer": "^7.4.0|^8.0.0",
5353
"symfony/mime": "^7.4.0|^8.0.0",
54+
"symfony/polyfill-php84": "^1.33",
55+
"symfony/polyfill-php85": "^1.33",
5456
"symfony/process": "^7.4.0|^8.0.0",
55-
"symfony/polyfill-php84": "^1.31",
56-
"symfony/polyfill-php85": "^1.31",
5757
"symfony/routing": "^7.4.0|^8.0.0",
5858
"symfony/uid": "^7.4.0|^8.0.0",
5959
"symfony/var-dumper": "^7.4.0|^8.0.0",
@@ -80,6 +80,7 @@
8080
"illuminate/filesystem": "self.version",
8181
"illuminate/hashing": "self.version",
8282
"illuminate/http": "self.version",
83+
"illuminate/json-schema": "self.version",
8384
"illuminate/log": "self.version",
8485
"illuminate/macroable": "self.version",
8586
"illuminate/mail": "self.version",
@@ -112,6 +113,7 @@
112113
"league/flysystem-read-only": "^3.25.1",
113114
"league/flysystem-sftp-v3": "^3.25.1",
114115
"mockery/mockery": "^1.6.10",
116+
"opis/json-schema": "^2.4.1",
115117
"orchestra/testbench-core": "^11.0.0",
116118
"pda/pheanstalk": "^5.0.6|^7.0.0",
117119
"php-http/discovery": "^1.15",

config/database.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
'busy_timeout' => null,
4242
'journal_mode' => null,
4343
'synchronous' => null,
44+
'transaction_mode' => 'DEFERRED',
4445
],
4546

4647
'mysql' => [
@@ -159,6 +160,10 @@
159160
'password' => env('REDIS_PASSWORD'),
160161
'port' => env('REDIS_PORT', '6379'),
161162
'database' => env('REDIS_DB', '0'),
163+
'max_retries' => env('REDIS_MAX_RETRIES', 3),
164+
'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM', 'decorrelated_jitter'),
165+
'backoff_base' => env('REDIS_BACKOFF_BASE', 100),
166+
'backoff_cap' => env('REDIS_BACKOFF_CAP', 1000),
162167
],
163168

164169
'cache' => [
@@ -168,6 +173,10 @@
168173
'password' => env('REDIS_PASSWORD'),
169174
'port' => env('REDIS_PORT', '6379'),
170175
'database' => env('REDIS_CACHE_DB', '1'),
176+
'max_retries' => env('REDIS_MAX_RETRIES', 3),
177+
'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM', 'decorrelated_jitter'),
178+
'backoff_base' => env('REDIS_BACKOFF_BASE', 100),
179+
'backoff_cap' => env('REDIS_BACKOFF_CAP', 1000),
171180
],
172181

173182
],

src/Illuminate/Auth/Access/Gate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ public function authorize($ability, $arguments = [])
402402
* Inspect the user for the given ability.
403403
*
404404
* @param \UnitEnum|string $ability
405-
* @param array|mixed $arguments
405+
* @param mixed $arguments
406406
* @return \Illuminate\Auth\Access\Response
407407
*/
408408
public function inspect($ability, $arguments = [])
@@ -426,7 +426,7 @@ public function inspect($ability, $arguments = [])
426426
* Get the raw result from the authorization callback.
427427
*
428428
* @param string $ability
429-
* @param array|mixed $arguments
429+
* @param mixed $arguments
430430
* @return mixed
431431
*
432432
* @throws \Illuminate\Auth\Access\AuthorizationException

src/Illuminate/Auth/AuthManager.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,11 @@ public function createSessionDriver($name, $config)
132132
// When using the remember me functionality of the authentication services we
133133
// will need to be set the encryption instance of the guard, which allows
134134
// secure, encrypted cookie values to get generated for those cookies.
135-
if (method_exists($guard, 'setCookieJar')) {
136-
$guard->setCookieJar($this->app['cookie']);
137-
}
135+
$guard->setCookieJar($this->app['cookie']);
138136

139-
if (method_exists($guard, 'setDispatcher')) {
140-
$guard->setDispatcher($this->app['events']);
141-
}
137+
$guard->setDispatcher($this->app['events']);
142138

143-
if (method_exists($guard, 'setRequest')) {
144-
$guard->setRequest($this->app->refresh('request', $guard, 'setRequest'));
145-
}
139+
$guard->setRequest($this->app->refresh('request', $guard, 'setRequest'));
146140

147141
if (isset($config['remember'])) {
148142
$guard->setRememberDuration($config['remember']);

src/Illuminate/Broadcasting/BroadcastManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function presence(string $channel): AnonymousEvent
159159
/**
160160
* Begin broadcasting an event.
161161
*
162-
* @param mixed|null $event
162+
* @param mixed $event
163163
* @return \Illuminate\Broadcasting\PendingBroadcast
164164
*/
165165
public function event($event = null)

0 commit comments

Comments
 (0)