Skip to content

Commit f5e9f82

Browse files
author
Version Bot
committed
[Version-Bot] Add Laravel Version
1 parent 195e013 commit f5e9f82

22 files changed

+9673
-1
lines changed

diffs/v10.0.0...v10.3.0.diff

+835
Large diffs are not rendered by default.

diffs/v10.0.1...v10.3.0.diff

+819
Large diffs are not rendered by default.

diffs/v10.0.2...v10.3.0.diff

+805
Large diffs are not rendered by default.

diffs/v10.0.3...v10.3.0.diff

+757
Large diffs are not rendered by default.

diffs/v10.0.4...v10.3.0.diff

+739
Large diffs are not rendered by default.

diffs/v10.0.5...v10.3.0.diff

+669
Large diffs are not rendered by default.

diffs/v10.0.6...v10.3.0.diff

+638
Large diffs are not rendered by default.

diffs/v10.0.7...v10.3.0.diff

+612
Large diffs are not rendered by default.

diffs/v10.1.0...v10.3.0.diff

+466
Large diffs are not rendered by default.

diffs/v10.1.1...v10.3.0.diff

+458
Large diffs are not rendered by default.

diffs/v10.2.0...v10.3.0.diff

+421
Large diffs are not rendered by default.

diffs/v10.2.1...v10.3.0.diff

+391
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,391 @@
1+
diff --git a/.env.example b/.env.example
2+
index 478972c2..ea0665b0 100644
3+
--- a/.env.example
4+
+++ b/.env.example
5+
@@ -51,6 +51,7 @@ PUSHER_PORT=443
6+
PUSHER_SCHEME=https
7+
PUSHER_APP_CLUSTER=mt1
8+
9+
+VITE_APP_NAME="${APP_NAME}"
10+
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
11+
VITE_PUSHER_HOST="${PUSHER_HOST}"
12+
VITE_PUSHER_PORT="${PUSHER_PORT}"
13+
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
14+
index 8e6e9cd5..0e0c54ec 100644
15+
--- a/.github/workflows/tests.yml
16+
+++ b/.github/workflows/tests.yml
17+
@@ -19,13 +19,13 @@ jobs:
18+
strategy:
19+
fail-fast: true
20+
matrix:
21+
- php: [8.1, 8.2]
22+
+ php: [8.1, 8.2, 8.3]
23+
24+
name: PHP ${{ matrix.php }}
25+
26+
steps:
27+
- name: Checkout code
28+
- uses: actions/checkout@v3
29+
+ uses: actions/checkout@v4
30+
31+
- name: Setup PHP
32+
uses: shivammathur/setup-php@v2
33+
diff --git a/CHANGELOG.md b/CHANGELOG.md
34+
index 583e36b7..61700d13 100644
35+
--- a/CHANGELOG.md
36+
+++ b/CHANGELOG.md
37+
@@ -1,6 +1,58 @@
38+
# Release Notes
39+
40+
-## [Unreleased](https://github.com/laravel/laravel/compare/v10.2.0...10.x)
41+
+## [Unreleased](https://github.com/laravel/laravel/compare/v10.2.10...10.x)
42+
+
43+
+## [v10.2.10](https://github.com/laravel/laravel/compare/v10.2.9...v10.2.10) - 2023-11-30
44+
+
45+
+* [10.x] Fixes missing property description by [@nunomaduro](https://github.com/nunomaduro) in https://github.com/laravel/laravel/pull/6275
46+
+* [10.x] Add partitioned cookie config key by [@fabricecw](https://github.com/fabricecw) in https://github.com/laravel/laravel/pull/6257
47+
+
48+
+## [v10.2.9](https://github.com/laravel/laravel/compare/v10.2.8...v10.2.9) - 2023-11-13
49+
+
50+
+- Update axios to latest version by [@emargareten](https://github.com/emargareten) in https://github.com/laravel/laravel/pull/6272
51+
+
52+
+## [v10.2.8](https://github.com/laravel/laravel/compare/v10.2.7...v10.2.8) - 2023-11-02
53+
+
54+
+- Revert "[10.x] Let database handle default collation" by [@taylorotwell](https://github.com/taylorotwell) in https://github.com/laravel/laravel/pull/6266
55+
+
56+
+## [v10.2.7](https://github.com/laravel/laravel/compare/v10.2.6...v10.2.7) - 2023-10-31
57+
+
58+
+- Postmark mailer configuration update by [@ninjaparade](https://github.com/ninjaparade) in https://github.com/laravel/laravel/pull/6228
59+
+- [10.x] Update sanctum config file by [@ahmed-aliraqi](https://github.com/ahmed-aliraqi) in https://github.com/laravel/laravel/pull/6234
60+
+- [10.x] Let database handle default collation by [@Jubeki](https://github.com/Jubeki) in https://github.com/laravel/laravel/pull/6241
61+
+- [10.x] Increase bcrypt rounds to 12 by [@valorin](https://github.com/valorin) in https://github.com/laravel/laravel/pull/6245
62+
+- [10.x] Use 12 bcrypt rounds for password in UserFactory by [@Jubeki](https://github.com/Jubeki) in https://github.com/laravel/laravel/pull/6247
63+
+- [10.x] Fix typo in the comment for token prefix (sanctum config) by [@yuters](https://github.com/yuters) in https://github.com/laravel/laravel/pull/6248
64+
+- [10.x] Update fixture hash to match testing cost by [@timacdonald](https://github.com/timacdonald) in https://github.com/laravel/laravel/pull/6259
65+
+- [10.x] Update minimum `laravel/sanctum` by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/laravel/pull/6261
66+
+- [10.x] Hash improvements by [@timacdonald](https://github.com/timacdonald) in https://github.com/laravel/laravel/pull/6258
67+
+- Redis maintenance store config example contains an excess space by [@hedge-freek](https://github.com/hedge-freek) in https://github.com/laravel/laravel/pull/6264
68+
+
69+
+## [v10.2.6](https://github.com/laravel/laravel/compare/v10.2.5...v10.2.6) - 2023-08-10
70+
+
71+
+- Bump `laravel-vite-plugin` to latest version by [@adevade](https://github.com/adevade) in https://github.com/laravel/laravel/pull/6224
72+
+
73+
+## [v10.2.5](https://github.com/laravel/laravel/compare/v10.2.4...v10.2.5) - 2023-06-30
74+
+
75+
+- Allow accessing APP_NAME in Vite scope by [@domnantas](https://github.com/domnantas) in https://github.com/laravel/laravel/pull/6204
76+
+- Omit default values for suffix in phpunit.xml by [@spawnia](https://github.com/spawnia) in https://github.com/laravel/laravel/pull/6210
77+
+
78+
+## [v10.2.4](https://github.com/laravel/laravel/compare/v10.2.3...v10.2.4) - 2023-06-07
79+
+
80+
+- Add `precognitive` key to $middlewareAliases by @emargareten in https://github.com/laravel/laravel/pull/6193
81+
+
82+
+## [v10.2.3](https://github.com/laravel/laravel/compare/v10.2.2...v10.2.3) - 2023-06-01
83+
+
84+
+- Update description by @taylorotwell in https://github.com/laravel/laravel/commit/85203d687ebba72b2805b89bba7d18dfae8f95c8
85+
+
86+
+## [v10.2.2](https://github.com/laravel/laravel/compare/v10.2.1...v10.2.2) - 2023-05-23
87+
+
88+
+- Add lock path by @taylorotwell in https://github.com/laravel/laravel/commit/a6bfbc7f90e33fd6cae3cb23f106c9689858c3b5
89+
+
90+
+## [v10.2.1](https://github.com/laravel/laravel/compare/v10.2.0...v10.2.1) - 2023-05-12
91+
+
92+
+- Add hashed cast to user password by @emargareten in https://github.com/laravel/laravel/pull/6171
93+
+- Bring back pusher cluster config option by @jesseleite in https://github.com/laravel/laravel/pull/6174
94+
95+
## [v10.2.0](https://github.com/laravel/laravel/compare/v10.1.1...v10.2.0) - 2023-05-05
96+
97+
diff --git a/README.md b/README.md
98+
index 3ed385a7..1824fc1b 100644
99+
--- a/README.md
100+
+++ b/README.md
101+
@@ -31,23 +31,23 @@ If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Lar
102+
103+
## Laravel Sponsors
104+
105+
-We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell).
106+
+We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the [Laravel Partners program](https://partners.laravel.com).
107+
108+
### Premium Partners
109+
110+
- **[Vehikl](https://vehikl.com/)**
111+
- **[Tighten Co.](https://tighten.co)**
112+
+- **[WebReinvent](https://webreinvent.com/)**
113+
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
114+
- **[64 Robots](https://64robots.com)**
115+
-- **[Cubet Techno Labs](https://cubettech.com)**
116+
-- **[Cyber-Duck](https://cyber-duck.co.uk)**
117+
-- **[Many](https://www.many.co.uk)**
118+
-- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
119+
-- **[DevSquad](https://devsquad.com)**
120+
- **[Curotec](https://www.curotec.com/services/technologies/laravel/)**
121+
+- **[Cyber-Duck](https://cyber-duck.co.uk)**
122+
+- **[DevSquad](https://devsquad.com/hire-laravel-developers)**
123+
+- **[Jump24](https://jump24.co.uk)**
124+
+- **[Redberry](https://redberry.international/laravel/)**
125+
+- **[Active Logic](https://activelogic.com)**
126+
+- **[byte5](https://byte5.de)**
127+
- **[OP.GG](https://op.gg)**
128+
-- **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)**
129+
-- **[Lendio](https://lendio.com)**
130+
131+
## Contributing
132+
133+
diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php
134+
index 1fb53dce..494c0501 100644
135+
--- a/app/Http/Kernel.php
136+
+++ b/app/Http/Kernel.php
137+
@@ -60,6 +60,7 @@ class Kernel extends HttpKernel
138+
'can' => \Illuminate\Auth\Middleware\Authorize::class,
139+
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
140+
'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class,
141+
+ 'precognitive' => \Illuminate\Foundation\Http\Middleware\HandlePrecognitiveRequests::class,
142+
'signed' => \App\Http\Middleware\ValidateSignature::class,
143+
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
144+
'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
145+
diff --git a/composer.json b/composer.json
146+
index 0b45dd18..8a3d72d4 100644
147+
--- a/composer.json
148+
+++ b/composer.json
149+
@@ -1,14 +1,14 @@
150+
{
151+
"name": "laravel/laravel",
152+
"type": "project",
153+
- "description": "The Laravel Framework.",
154+
- "keywords": ["framework", "laravel"],
155+
+ "description": "The skeleton application for the Laravel framework.",
156+
+ "keywords": ["laravel", "framework"],
157+
"license": "MIT",
158+
"require": {
159+
"php": "^8.1",
160+
"guzzlehttp/guzzle": "^7.2",
161+
"laravel/framework": "^10.10",
162+
- "laravel/sanctum": "^3.2",
163+
+ "laravel/sanctum": "^3.3",
164+
"laravel/tinker": "^2.8"
165+
},
166+
"require-dev": {
167+
diff --git a/config/app.php b/config/app.php
168+
index 4c231b47..9207160d 100644
169+
--- a/config/app.php
170+
+++ b/config/app.php
171+
@@ -141,7 +141,7 @@ return [
172+
173+
'maintenance' => [
174+
'driver' => 'file',
175+
- // 'store' => 'redis',
176+
+ // 'store' => 'redis',
177+
],
178+
179+
/*
180+
diff --git a/config/cache.php b/config/cache.php
181+
index 33bb2954..d4171e22 100644
182+
--- a/config/cache.php
183+
+++ b/config/cache.php
184+
@@ -52,6 +52,7 @@ return [
185+
'file' => [
186+
'driver' => 'file',
187+
'path' => storage_path('framework/cache/data'),
188+
+ 'lock_path' => storage_path('framework/cache/data'),
189+
],
190+
191+
'memcached' => [
192+
diff --git a/config/hashing.php b/config/hashing.php
193+
index bcd3be4c..0e8a0bb3 100644
194+
--- a/config/hashing.php
195+
+++ b/config/hashing.php
196+
@@ -29,7 +29,8 @@ return [
197+
*/
198+
199+
'bcrypt' => [
200+
- 'rounds' => env('BCRYPT_ROUNDS', 10),
201+
+ 'rounds' => env('BCRYPT_ROUNDS', 12),
202+
+ 'verify' => true,
203+
],
204+
205+
/*
206+
@@ -47,6 +48,7 @@ return [
207+
'memory' => 65536,
208+
'threads' => 1,
209+
'time' => 4,
210+
+ 'verify' => true,
211+
],
212+
213+
];
214+
diff --git a/config/mail.php b/config/mail.php
215+
index e652bd02..d7416b15 100644
216+
--- a/config/mail.php
217+
+++ b/config/mail.php
218+
@@ -59,6 +59,7 @@ return [
219+
220+
'postmark' => [
221+
'transport' => 'postmark',
222+
+ // 'message_stream_id' => null,
223+
// 'client' => [
224+
// 'timeout' => 5,
225+
// ],
226+
diff --git a/config/sanctum.php b/config/sanctum.php
227+
index 529cfdc9..35d75b31 100644
228+
--- a/config/sanctum.php
229+
+++ b/config/sanctum.php
230+
@@ -41,13 +41,28 @@ return [
231+
|--------------------------------------------------------------------------
232+
|
233+
| This value controls the number of minutes until an issued token will be
234+
- | considered expired. If this value is null, personal access tokens do
235+
- | not expire. This won't tweak the lifetime of first-party sessions.
236+
+ | considered expired. This will override any values set in the token's
237+
+ | "expires_at" attribute, but first-party sessions are not affected.
238+
|
239+
*/
240+
241+
'expiration' => null,
242+
243+
+ /*
244+
+ |--------------------------------------------------------------------------
245+
+ | Token Prefix
246+
+ |--------------------------------------------------------------------------
247+
+ |
248+
+ | Sanctum can prefix new tokens in order to take advantage of numerous
249+
+ | security scanning initiatives maintained by open source platforms
250+
+ | that notify developers if they commit tokens into repositories.
251+
+ |
252+
+ | See: https://docs.github.com/en/code-security/secret-scanning/about-secret-scanning
253+
+ |
254+
+ */
255+
+
256+
+ 'token_prefix' => env('SANCTUM_TOKEN_PREFIX', ''),
257+
+
258+
/*
259+
|--------------------------------------------------------------------------
260+
| Sanctum Middleware
261+
@@ -60,8 +75,9 @@ return [
262+
*/
263+
264+
'middleware' => [
265+
- 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class,
266+
+ 'authenticate_session' => Laravel\Sanctum\Http\Middleware\AuthenticateSession::class,
267+
'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class,
268+
+ 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class,
269+
],
270+
271+
];
272+
diff --git a/config/session.php b/config/session.php
273+
index 8fed97c0..e738cb3e 100644
274+
--- a/config/session.php
275+
+++ b/config/session.php
276+
@@ -198,4 +198,17 @@ return [
277+
278+
'same_site' => 'lax',
279+
280+
+ /*
281+
+ |--------------------------------------------------------------------------
282+
+ | Partitioned Cookies
283+
+ |--------------------------------------------------------------------------
284+
+ |
285+
+ | Setting this value to true will tie the cookie to the top-level site for
286+
+ | a cross-site context. Partitioned cookies are accepted by the browser
287+
+ | when flagged "secure" and the Same-Site attribute is set to "none".
288+
+ |
289+
+ */
290+
+
291+
+ 'partitioned' => false,
292+
+
293+
];
294+
diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php
295+
index a6ecc0af..584104c9 100644
296+
--- a/database/factories/UserFactory.php
297+
+++ b/database/factories/UserFactory.php
298+
@@ -3,6 +3,7 @@
299+
namespace Database\Factories;
300+
301+
use Illuminate\Database\Eloquent\Factories\Factory;
302+
+use Illuminate\Support\Facades\Hash;
303+
use Illuminate\Support\Str;
304+
305+
/**
306+
@@ -10,6 +11,11 @@ use Illuminate\Support\Str;
307+
*/
308+
class UserFactory extends Factory
309+
{
310+
+ /**
311+
+ * The current password being used by the factory.
312+
+ */
313+
+ protected static ?string $password;
314+
+
315+
/**
316+
* Define the model's default state.
317+
*
318+
@@ -21,7 +27,7 @@ class UserFactory extends Factory
319+
'name' => fake()->name(),
320+
'email' => fake()->unique()->safeEmail(),
321+
'email_verified_at' => now(),
322+
- 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
323+
+ 'password' => static::$password ??= Hash::make('password'),
324+
'remember_token' => Str::random(10),
325+
];
326+
}
327+
diff --git a/package.json b/package.json
328+
index e543e0d1..fe1122a8 100644
329+
--- a/package.json
330+
+++ b/package.json
331+
@@ -6,8 +6,8 @@
332+
"build": "vite build"
333+
},
334+
"devDependencies": {
335+
- "axios": "^1.1.2",
336+
- "laravel-vite-plugin": "^0.7.5",
337+
- "vite": "^4.0.0"
338+
+ "axios": "^1.6.1",
339+
+ "laravel-vite-plugin": "^1.0.0",
340+
+ "vite": "^5.0.0"
341+
}
342+
}
343+
diff --git a/phpunit.xml b/phpunit.xml
344+
index e9f533da..bc86714b 100644
345+
--- a/phpunit.xml
346+
+++ b/phpunit.xml
347+
@@ -1,20 +1,20 @@
348+
<?xml version="1.0" encoding="UTF-8"?>
349+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
350+
- xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
351+
+ xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
352+
bootstrap="vendor/autoload.php"
353+
colors="true"
354+
>
355+
<testsuites>
356+
<testsuite name="Unit">
357+
- <directory suffix="Test.php">./tests/Unit</directory>
358+
+ <directory>tests/Unit</directory>
359+
</testsuite>
360+
<testsuite name="Feature">
361+
- <directory suffix="Test.php">./tests/Feature</directory>
362+
+ <directory>tests/Feature</directory>
363+
</testsuite>
364+
</testsuites>
365+
<source>
366+
<include>
367+
- <directory suffix=".php">./app</directory>
368+
+ <directory>app</directory>
369+
</include>
370+
</source>
371+
<php>
372+
@@ -24,6 +24,7 @@
373+
<!-- <env name="DB_CONNECTION" value="sqlite"/> -->
374+
<!-- <env name="DB_DATABASE" value=":memory:"/> -->
375+
<env name="MAIL_MAILER" value="array"/>
376+
+ <env name="PULSE_ENABLED" value="false"/>
377+
<env name="QUEUE_CONNECTION" value="sync"/>
378+
<env name="SESSION_DRIVER" value="array"/>
379+
<env name="TELESCOPE_ENABLED" value="false"/>
380+
diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php
381+
index 8364a84e..2a4a09ee 100644
382+
--- a/tests/Feature/ExampleTest.php
383+
+++ b/tests/Feature/ExampleTest.php
384+
@@ -14,6 +14,6 @@ class ExampleTest extends TestCase
385+
{
386+
$response = $this->get('/');
387+
388+
- $response->assertStatus(200);
389+
+ $response->assertOk();
390+
}
391+
}

0 commit comments

Comments
 (0)