|
| 1 | +diff --git a/.gitignore b/.gitignore |
| 2 | +index e6bbd7ae..7fe978f8 100644 |
| 3 | +--- a/.gitignore |
| 4 | ++++ b/.gitignore |
| 5 | +@@ -8,6 +8,7 @@ |
| 6 | + .env |
| 7 | + .env.backup |
| 8 | + .env.production |
| 9 | ++.phpunit.result.cache |
| 10 | + Homestead.json |
| 11 | + Homestead.yaml |
| 12 | + auth.json |
| 13 | +diff --git a/CHANGELOG.md b/CHANGELOG.md |
| 14 | +index a08dfc8a..173a8721 100644 |
| 15 | +--- a/CHANGELOG.md |
| 16 | ++++ b/CHANGELOG.md |
| 17 | +@@ -1,7 +1,34 @@ |
| 18 | + # Release Notes |
| 19 | + |
| 20 | +-## [Unreleased](https://github.com/laravel/laravel/compare/v9.5.1...10.x) |
| 21 | ++## [Unreleased](https://github.com/laravel/laravel/compare/v10.0.6...10.x) |
| 22 | + |
| 23 | +-## [v10.0.0 (2022-02-07)](https://github.com/laravel/laravel/compare/v9.5.1...10.x) |
| 24 | ++## [v10.0.6](https://github.com/laravel/laravel/compare/v10.0.5...v10.0.6) - 2023-04-05 |
| 25 | ++ |
| 26 | ++- Add job batching options to Queue configuration file by @AnOlsen in https://github.com/laravel/laravel/pull/6149 |
| 27 | ++ |
| 28 | ++## [v10.0.5](https://github.com/laravel/laravel/compare/v10.0.4...v10.0.5) - 2023-03-08 |
| 29 | ++ |
| 30 | ++- Add replace_placeholders to log channels by @alanpoulain in https://github.com/laravel/laravel/pull/6139 |
| 31 | ++ |
| 32 | ++## [v10.0.4](https://github.com/laravel/laravel/compare/v10.0.3...v10.0.4) - 2023-02-27 |
| 33 | ++ |
| 34 | ++- Fix typo by @izzudin96 in https://github.com/laravel/laravel/pull/6128 |
| 35 | ++- Specify facility in the syslog driver config by @nicolus in https://github.com/laravel/laravel/pull/6130 |
| 36 | ++ |
| 37 | ++## [v10.0.3](https://github.com/laravel/laravel/compare/v10.0.2...v10.0.3) - 2023-02-21 |
| 38 | ++ |
| 39 | ++- Remove redundant `@return` docblock in UserFactory by @datlechin in https://github.com/laravel/laravel/pull/6119 |
| 40 | ++- Reverts change in asset helper by @timacdonald in https://github.com/laravel/laravel/pull/6122 |
| 41 | ++ |
| 42 | ++## [v10.0.2](https://github.com/laravel/laravel/compare/v10.0.1...v10.0.2) - 2023-02-16 |
| 43 | ++ |
| 44 | ++- Remove unneeded call by @taylorotwell in https://github.com/laravel/laravel/commit/3986d4c54041fd27af36f96cf11bd79ce7b1ee4e |
| 45 | ++ |
| 46 | ++## [v10.0.1](https://github.com/laravel/laravel/compare/v10.0.0...v10.0.1) - 2023-02-15 |
| 47 | ++ |
| 48 | ++- Add PHPUnit result cache to gitignore by @itxshakil in https://github.com/laravel/laravel/pull/6105 |
| 49 | ++- Allow php-http/discovery as a composer plugin by @nicolas-grekas in https://github.com/laravel/laravel/pull/6106 |
| 50 | ++ |
| 51 | ++## [v10.0.0 (2022-02-14)](https://github.com/laravel/laravel/compare/v9.5.2...v10.0.0) |
| 52 | + |
| 53 | + Laravel 10 includes a variety of changes to the application skeleton. Please consult the diff to see what's new. |
| 54 | +diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php |
| 55 | +index 5522aa2f..dafcbee7 100644 |
| 56 | +--- a/app/Providers/AuthServiceProvider.php |
| 57 | ++++ b/app/Providers/AuthServiceProvider.php |
| 58 | +@@ -21,8 +21,6 @@ class AuthServiceProvider extends ServiceProvider |
| 59 | + */ |
| 60 | + public function boot(): void |
| 61 | + { |
| 62 | +- $this->registerPolicies(); |
| 63 | +- |
| 64 | + // |
| 65 | + } |
| 66 | + } |
| 67 | +diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php |
| 68 | +index bc491099..0c18923b 100644 |
| 69 | +--- a/app/Providers/RouteServiceProvider.php |
| 70 | ++++ b/app/Providers/RouteServiceProvider.php |
| 71 | +@@ -11,7 +11,7 @@ use Illuminate\Support\Facades\Route; |
| 72 | + class RouteServiceProvider extends ServiceProvider |
| 73 | + { |
| 74 | + /** |
| 75 | +- * The path to the "home" route for your application. |
| 76 | ++ * The path to your application's "home" route. |
| 77 | + * |
| 78 | + * Typically, users are redirected here after authentication. |
| 79 | + * |
| 80 | +diff --git a/composer.json b/composer.json |
| 81 | +index 5b40f87c..4a1a7cda 100644 |
| 82 | +--- a/composer.json |
| 83 | ++++ b/composer.json |
| 84 | +@@ -17,7 +17,7 @@ |
| 85 | + "laravel/sail": "^1.18", |
| 86 | + "mockery/mockery": "^1.4.4", |
| 87 | + "nunomaduro/collision": "^7.0", |
| 88 | +- "phpunit/phpunit": "^10.0", |
| 89 | ++ "phpunit/phpunit": "^10.1", |
| 90 | + "spatie/laravel-ignition": "^2.0" |
| 91 | + }, |
| 92 | + "autoload": { |
| 93 | +@@ -48,9 +48,6 @@ |
| 94 | + ] |
| 95 | + }, |
| 96 | + "extra": { |
| 97 | +- "branch-alias": { |
| 98 | +- "dev-master": "10.x-dev" |
| 99 | +- }, |
| 100 | + "laravel": { |
| 101 | + "dont-discover": [] |
| 102 | + } |
| 103 | +@@ -60,7 +57,8 @@ |
| 104 | + "preferred-install": "dist", |
| 105 | + "sort-packages": true, |
| 106 | + "allow-plugins": { |
| 107 | +- "pestphp/pest-plugin": true |
| 108 | ++ "pestphp/pest-plugin": true, |
| 109 | ++ "php-http/discovery": true |
| 110 | + } |
| 111 | + }, |
| 112 | + "minimum-stability": "stable", |
| 113 | +diff --git a/config/app.php b/config/app.php |
| 114 | +index bca112fb..ef76a7ed 100644 |
| 115 | +--- a/config/app.php |
| 116 | ++++ b/config/app.php |
| 117 | +@@ -56,7 +56,7 @@ return [ |
| 118 | + |
| 119 | + 'url' => env('APP_URL', 'http://localhost'), |
| 120 | + |
| 121 | +- 'asset_url' => env('ASSET_URL', '/'), |
| 122 | ++ 'asset_url' => env('ASSET_URL'), |
| 123 | + |
| 124 | + /* |
| 125 | + |-------------------------------------------------------------------------- |
| 126 | +diff --git a/config/auth.php b/config/auth.php |
| 127 | +index cae00280..9548c15d 100644 |
| 128 | +--- a/config/auth.php |
| 129 | ++++ b/config/auth.php |
| 130 | +@@ -80,7 +80,7 @@ return [ |
| 131 | + | than one user table or model in the application and you want to have |
| 132 | + | separate password reset settings based on the specific user types. |
| 133 | + | |
| 134 | +- | The expire time is the number of minutes that each reset token will be |
| 135 | ++ | The expiry time is the number of minutes that each reset token will be |
| 136 | + | considered valid. This security feature keeps tokens short-lived so |
| 137 | + | they have less time to be guessed. You may change this as needed. |
| 138 | + | |
| 139 | +diff --git a/config/logging.php b/config/logging.php |
| 140 | +index 5aa1dbb7..c44d2763 100644 |
| 141 | +--- a/config/logging.php |
| 142 | ++++ b/config/logging.php |
| 143 | +@@ -3,6 +3,7 @@ |
| 144 | + use Monolog\Handler\NullHandler; |
| 145 | + use Monolog\Handler\StreamHandler; |
| 146 | + use Monolog\Handler\SyslogUdpHandler; |
| 147 | ++use Monolog\Processor\PsrLogMessageProcessor; |
| 148 | + |
| 149 | + return [ |
| 150 | + |
| 151 | +@@ -61,6 +62,7 @@ return [ |
| 152 | + 'driver' => 'single', |
| 153 | + 'path' => storage_path('logs/laravel.log'), |
| 154 | + 'level' => env('LOG_LEVEL', 'debug'), |
| 155 | ++ 'replace_placeholders' => true, |
| 156 | + ], |
| 157 | + |
| 158 | + 'daily' => [ |
| 159 | +@@ -68,6 +70,7 @@ return [ |
| 160 | + 'path' => storage_path('logs/laravel.log'), |
| 161 | + 'level' => env('LOG_LEVEL', 'debug'), |
| 162 | + 'days' => 14, |
| 163 | ++ 'replace_placeholders' => true, |
| 164 | + ], |
| 165 | + |
| 166 | + 'slack' => [ |
| 167 | +@@ -76,6 +79,7 @@ return [ |
| 168 | + 'username' => 'Laravel Log', |
| 169 | + 'emoji' => ':boom:', |
| 170 | + 'level' => env('LOG_LEVEL', 'critical'), |
| 171 | ++ 'replace_placeholders' => true, |
| 172 | + ], |
| 173 | + |
| 174 | + 'papertrail' => [ |
| 175 | +@@ -87,6 +91,7 @@ return [ |
| 176 | + 'port' => env('PAPERTRAIL_PORT'), |
| 177 | + 'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'), |
| 178 | + ], |
| 179 | ++ 'processors' => [PsrLogMessageProcessor::class], |
| 180 | + ], |
| 181 | + |
| 182 | + 'stderr' => [ |
| 183 | +@@ -97,16 +102,20 @@ return [ |
| 184 | + 'with' => [ |
| 185 | + 'stream' => 'php://stderr', |
| 186 | + ], |
| 187 | ++ 'processors' => [PsrLogMessageProcessor::class], |
| 188 | + ], |
| 189 | + |
| 190 | + 'syslog' => [ |
| 191 | + 'driver' => 'syslog', |
| 192 | + 'level' => env('LOG_LEVEL', 'debug'), |
| 193 | ++ 'facility' => LOG_USER, |
| 194 | ++ 'replace_placeholders' => true, |
| 195 | + ], |
| 196 | + |
| 197 | + 'errorlog' => [ |
| 198 | + 'driver' => 'errorlog', |
| 199 | + 'level' => env('LOG_LEVEL', 'debug'), |
| 200 | ++ 'replace_placeholders' => true, |
| 201 | + ], |
| 202 | + |
| 203 | + 'null' => [ |
| 204 | +diff --git a/config/mail.php b/config/mail.php |
| 205 | +index 049052ff..542d98c3 100644 |
| 206 | +--- a/config/mail.php |
| 207 | ++++ b/config/mail.php |
| 208 | +@@ -28,7 +28,7 @@ return [ |
| 209 | + | sending an e-mail. You will specify which one you are using for your |
| 210 | + | mailers below. You are free to add additional mailers as required. |
| 211 | + | |
| 212 | +- | Supported: "smtp", "sendmail", "mailgun", "ses", |
| 213 | ++ | Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2", |
| 214 | + | "postmark", "log", "array", "failover" |
| 215 | + | |
| 216 | + */ |
| 217 | +diff --git a/config/queue.php b/config/queue.php |
| 218 | +index 25ea5a81..01c6b054 100644 |
| 219 | +--- a/config/queue.php |
| 220 | ++++ b/config/queue.php |
| 221 | +@@ -73,6 +73,22 @@ return [ |
| 222 | + |
| 223 | + ], |
| 224 | + |
| 225 | ++ /* |
| 226 | ++ |-------------------------------------------------------------------------- |
| 227 | ++ | Job Batching |
| 228 | ++ |-------------------------------------------------------------------------- |
| 229 | ++ | |
| 230 | ++ | The following options configure the database and table that store job |
| 231 | ++ | batching information. These options can be updated to any database |
| 232 | ++ | connection and table which has been defined by your application. |
| 233 | ++ | |
| 234 | ++ */ |
| 235 | ++ |
| 236 | ++ 'batching' => [ |
| 237 | ++ 'database' => env('DB_CONNECTION', 'mysql'), |
| 238 | ++ 'table' => 'job_batches', |
| 239 | ++ ], |
| 240 | ++ |
| 241 | + /* |
| 242 | + |-------------------------------------------------------------------------- |
| 243 | + | Failed Queue Jobs |
| 244 | +diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php |
| 245 | +index d4e88356..a6ecc0af 100644 |
| 246 | +--- a/database/factories/UserFactory.php |
| 247 | ++++ b/database/factories/UserFactory.php |
| 248 | +@@ -28,8 +28,6 @@ class UserFactory extends Factory |
| 249 | + |
| 250 | + /** |
| 251 | + * Indicate that the model's email address should be unverified. |
| 252 | +- * |
| 253 | +- * @return $this |
| 254 | + */ |
| 255 | + public function unverified(): static |
| 256 | + { |
| 257 | +diff --git a/phpunit.xml b/phpunit.xml |
| 258 | +index eb13aff1..e9f533da 100644 |
| 259 | +--- a/phpunit.xml |
| 260 | ++++ b/phpunit.xml |
| 261 | +@@ -12,11 +12,11 @@ |
| 262 | + <directory suffix="Test.php">./tests/Feature</directory> |
| 263 | + </testsuite> |
| 264 | + </testsuites> |
| 265 | +- <coverage> |
| 266 | ++ <source> |
| 267 | + <include> |
| 268 | + <directory suffix=".php">./app</directory> |
| 269 | + </include> |
| 270 | +- </coverage> |
| 271 | ++ </source> |
| 272 | + <php> |
| 273 | + <env name="APP_ENV" value="testing"/> |
| 274 | + <env name="BCRYPT_ROUNDS" value="4"/> |
0 commit comments