From 4c6186ac6207336b35bfdaf2669012711ac06d83 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 8 Feb 2022 16:08:54 +0000 Subject: [PATCH 01/32] Update CHANGELOG.md --- CHANGELOG.md | 119 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 71 insertions(+), 48 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c859aa2..3eb5d57b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,365 +1,388 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v8.6.10...8.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v8.6.11...8.x) +## [v8.6.11](https://github.com/laravel/laravel/compare/v8.6.10...v8.6.11) - 2022-02-08 + +### Changed + +- Fix alphabetical order ([#5795](https://github.com/laravel/laravel/pull/5795)) +- Added missing full stop in `required_array_keys` validation rule ([#5798](https://github.com/laravel/laravel/pull/5798)) +- Add validation language line ([926c48e](https://github.com/laravel/laravel/commit/926c48e8562e36811159d615ba27ebb2929d0378) +- Update the default Argon2 options ([096638e](https://github.com/laravel/laravel/commit/096638ea9a883495f4eddace63fde5a7fb1b2b1f)) ## [v8.6.10 (2021-12-22)](https://github.com/laravel/laravel/compare/v8.6.9...v8.6.10) ### Changed + - Bump Laravel to v8.75 ([#5750](https://github.com/laravel/laravel/pull/5750)) - Simplify the maintenance file call ([#5752](https://github.com/laravel/laravel/pull/5752)) - Add enum translation ([#5753](https://github.com/laravel/laravel/pull/5753)) - Add mac_address validation message ([#5754](https://github.com/laravel/laravel/pull/5754)) ### Removed -- Delete web.config ([#5744](https://github.com/laravel/laravel/pull/5744)) +- Delete web.config ([#5744](https://github.com/laravel/laravel/pull/5744)) ## [v8.6.9 (2021-12-07)](https://github.com/laravel/laravel/compare/v8.6.8...v8.6.9) ### Changed + - Improves generic types on the skeleton ([#5740](https://github.com/laravel/laravel/pull/5740)) - Add option to set sendmail path ([#5741](https://github.com/laravel/laravel/pull/5741)) ### Fixed -- Fix asset publishing if they were already published ([#5734](https://github.com/laravel/laravel/pull/5734)) +- Fix asset publishing if they were already published ([#5734](https://github.com/laravel/laravel/pull/5734)) ## [v8.6.8 (2021-11-23)](https://github.com/laravel/laravel/compare/v8.6.7...v8.6.8) ### Changed + - Order validation rules alphabetically ([#5728](https://github.com/laravel/laravel/pull/5728)) - Removes the Console\Kernel::$commands property ([#5727](https://github.com/laravel/laravel/pull/5727)) - ## [v8.6.7 (2021-11-16)](https://github.com/laravel/laravel/compare/v8.6.6...v8.6.7) ### Changed + - Added `declined` and `declined_if` validation rules ([#5723](https://github.com/laravel/laravel/pull/5723)) - Should be identical with current sanctum config file ([#5725](https://github.com/laravel/laravel/pull/5725)) - ## [v8.6.6 (2021-11-09)](https://github.com/laravel/laravel/compare/v8.6.5...v8.6.6) ### Changed + - Remove redundant `tap()` helper in `index.php` ([#5719](https://github.com/laravel/laravel/pull/5719)) - Add `Js` facade ([399d435](https://github.com/laravel/laravel/commit/399d435c4f0b41a5b6d3e14894195f9196d36bb8)) - ## [v8.6.5 (2021-10-26)](https://github.com/laravel/laravel/compare/v8.6.4...v8.6.5) ### Changed -- Guess database factory model by default ([#5713](https://github.com/laravel/laravel/pull/5713)) +- Guess database factory model by default ([#5713](https://github.com/laravel/laravel/pull/5713)) ## [v8.6.4 (2021-10-20)](https://github.com/laravel/laravel/compare/v8.6.3...v8.6.4) ### Changed -- Log deprecations instead of treating them as exceptions ([#5711](https://github.com/laravel/laravel/pull/5711)) +- Log deprecations instead of treating them as exceptions ([#5711](https://github.com/laravel/laravel/pull/5711)) ## [v8.6.3 (2021-10-05)](https://github.com/laravel/laravel/compare/v8.6.2...v8.6.3) ### Changed + - Add failover in supported mail configurations comment section ([#5692](https://github.com/laravel/laravel/pull/5692)) - Keeping access tokens migration id consistent ([#5691](https://github.com/laravel/laravel/pull/5691)) - Ensures downloaded version of Collision supports PHP 8.1 ([#5697](https://github.com/laravel/laravel/pull/5697)) ### Fixed -- Update lte and gte validation messages to have a grammatically parallel structure ([#5699](https://github.com/laravel/laravel/pull/5699)) +- Update lte and gte validation messages to have a grammatically parallel structure ([#5699](https://github.com/laravel/laravel/pull/5699)) ## [v8.6.2 (2021-09-07)](https://github.com/laravel/laravel/compare/v8.6.1...v8.6.2) ### Changed + - Dark mode auth links contrast ([#5678](https://github.com/laravel/laravel/pull/5678)) - Added prohibits validation message ([#5681](https://github.com/laravel/laravel/pull/5681)) - ## [v8.6.1 (2021-08-24)](https://github.com/laravel/laravel/compare/v8.6.0...v8.6.1) ### Changed -- Add failover driver to default mail config file ([#5672](https://github.com/laravel/laravel/pull/5672)) +- Add failover driver to default mail config file ([#5672](https://github.com/laravel/laravel/pull/5672)) ## [v8.6.0 (2021-08-17)](https://github.com/laravel/laravel/compare/v8.5.24...v8.6.0) ### Added -- Sanctum ([#5663](https://github.com/laravel/laravel/pull/5663)) +- Sanctum ([#5663](https://github.com/laravel/laravel/pull/5663)) ## [v8.5.24 (2021-08-10)](https://github.com/laravel/laravel/compare/v8.5.23...v8.5.24) ### Changed -- Use new `TrustProxies` middleware ([#5662](https://github.com/laravel/laravel/pull/5662)) +- Use new `TrustProxies` middleware ([#5662](https://github.com/laravel/laravel/pull/5662)) ## [v8.5.23 (2021-08-03)](https://github.com/laravel/laravel/compare/v8.5.22...v8.5.23) ### Changed -- Unified asset publishing ([#5654](https://github.com/laravel/laravel/pull/5654)) +- Unified asset publishing ([#5654](https://github.com/laravel/laravel/pull/5654)) ## [v8.5.22 (2021-07-13)](https://github.com/laravel/laravel/compare/v8.5.21...v8.5.22) ### Changed -- Add RateLimiter facade alias ([#5642](https://github.com/laravel/laravel/pull/5642)) +- Add RateLimiter facade alias ([#5642](https://github.com/laravel/laravel/pull/5642)) ## [v8.5.21 (2021-07-06)](https://github.com/laravel/laravel/compare/v8.5.20...v8.5.21) ### Changed -- Update validation language files ([#5637](https://github.com/laravel/laravel/pull/5637), [#5636](https://github.com/laravel/laravel/pull/5636)) +- Update validation language files ([#5637](https://github.com/laravel/laravel/pull/5637), [#5636](https://github.com/laravel/laravel/pull/5636)) ## [v8.5.20 (2021-06-15)](https://github.com/laravel/laravel/compare/v8.5.19...v8.5.20) ### Changed -- Add translation for current_password rule ([#5628](https://github.com/laravel/laravel/pull/5628)) +- Add translation for current_password rule ([#5628](https://github.com/laravel/laravel/pull/5628)) ## [v8.5.19 (2021-06-01)](https://github.com/laravel/laravel/compare/v8.5.18...v8.5.19) ### Changed -- Update skeleton for filesystem tweaks to make sail usage easier ([c5d38d4](https://github.com/laravel/laravel/commit/c5d38d469a447d6831c3cf56d193be7941d6586f)) +- Update skeleton for filesystem tweaks to make sail usage easier ([c5d38d4](https://github.com/laravel/laravel/commit/c5d38d469a447d6831c3cf56d193be7941d6586f)) ## [v8.5.18 (2021-05-18)](https://github.com/laravel/laravel/compare/v8.5.17...v8.5.18) ### Changed -- Add Octane cache store ([#5610](https://github.com/laravel/laravel/pull/5610), [637c85d](https://github.com/laravel/laravel/commit/637c85d624bf19355025b68aaa90e6cadf8a2881)) +- Add Octane cache store ([#5610](https://github.com/laravel/laravel/pull/5610), [637c85d](https://github.com/laravel/laravel/commit/637c85d624bf19355025b68aaa90e6cadf8a2881)) ## [v8.5.17 (2021-05-11)](https://github.com/laravel/laravel/compare/v8.5.16...v8.5.17) ### Security -- Bump framework version to include SQL server security fix ([#5601](https://github.com/laravel/laravel/pull/5601)) +- Bump framework version to include SQL server security fix ([#5601](https://github.com/laravel/laravel/pull/5601)) ## [v8.5.16 (2021-04-20)](https://github.com/laravel/laravel/compare/v8.5.15...v8.5.16) ### Changed + - Rename test methods ([#5574](https://github.com/laravel/laravel/pull/5574)) - Using faker method instead of properties ([#5583](https://github.com/laravel/laravel/pull/5583)) ### Fixed -- Ignore SQLite files generated on parallel testing ([#5593](https://github.com/laravel/laravel/pull/5593)) +- Ignore SQLite files generated on parallel testing ([#5593](https://github.com/laravel/laravel/pull/5593)) ## [v8.5.15 (2021-03-23)](https://github.com/laravel/laravel/compare/v8.5.14...v8.5.15) ### Changed + - Add prohibited validation rule ([#5569](https://github.com/laravel/laravel/pull/5569)) - Re-order composer.json ([#5570](https://github.com/laravel/laravel/pull/5570)) - ## [v8.5.14 (2021-03-16)](https://github.com/laravel/laravel/compare/v8.5.13...v8.5.14) ### Changed + - Add language for prohibited_if and prohibited_unless validation rules ([#5557](https://github.com/laravel/laravel/pull/5557)) - Add date facade alias ([#5556](https://github.com/laravel/laravel/pull/5556)) ### Fixed + - Add log level config value to stderr channel ([#5558](https://github.com/laravel/laravel/pull/5558)) - Fix footer on mobile ([#5561](https://github.com/laravel/laravel/pull/5561)) - ## [v8.5.13 (2021-03-09)](https://github.com/laravel/laravel/compare/v8.5.12...v8.5.13) ### Changed + - Use same default queue name for all drivers ([#5549](https://github.com/laravel/laravel/pull/5549)) - Standardise "must" and "may" language in validation ([#5552](https://github.com/laravel/laravel/pull/5552)) - Add missing 'after_commit' key to queue config ([#5554](https://github.com/laravel/laravel/pull/5554)) - ## [v8.5.12 (2021-03-02)](https://github.com/laravel/laravel/compare/v8.5.11...v8.5.12) ### Fixed + - Added sans-serif as Fallback Font ([#5543](https://github.com/laravel/laravel/pull/5543)) - Don't trim `current_password` ([#5546](https://github.com/laravel/laravel/pull/5546)) - ## [v8.5.11 (2021-02-23)](https://github.com/laravel/laravel/compare/v8.5.10...v8.5.11) ### Fixed -- Don't flash 'current_password' input ([#5541](https://github.com/laravel/laravel/pull/5541)) +- Don't flash 'current_password' input ([#5541](https://github.com/laravel/laravel/pull/5541)) ## [v8.5.10 (2021-02-16)](https://github.com/laravel/laravel/compare/v8.5.9...v8.5.10) ### Changed + - Add "ably" in comment as a broadcast connection ([#5531](https://github.com/laravel/laravel/pull/5531)) - Add unverified state to UserFactory ([#5533](https://github.com/laravel/laravel/pull/5533)) - Update login wording ([9a56a60](https://github.com/laravel/laravel/commit/9a56a60cc9e3785683e256d511ee1fb533025a0a)) ### Fixed -- Fix dead link in web.config ([#5528](https://github.com/laravel/laravel/pull/5528)) +- Fix dead link in web.config ([#5528](https://github.com/laravel/laravel/pull/5528)) ## [v8.5.9 (2021-01-19)](https://github.com/laravel/laravel/compare/v8.5.8...v8.5.9) ### Removed -- Delete `docker-compose.yml` ([#5522](https://github.com/laravel/laravel/pull/5522)) +- Delete `docker-compose.yml` ([#5522](https://github.com/laravel/laravel/pull/5522)) ## [v8.5.8 (2021-01-12)](https://github.com/laravel/laravel/compare/v8.5.7...v8.5.8) ### Fixed -- Update `TrustProxies.php` ([#5514](https://github.com/laravel/laravel/pull/5514)) +- Update `TrustProxies.php` ([#5514](https://github.com/laravel/laravel/pull/5514)) ## [v8.5.7 (2021-01-05)](https://github.com/laravel/laravel/compare/v8.5.6...v8.5.7) ### Changed + - Update sail to the v1.0.1 ([#5507](https://github.com/laravel/laravel/pull/5507)) - Upgrade to Mix v6 ([#5505](https://github.com/laravel/laravel/pull/5505)) - Updated Axios ([4de728e](https://github.com/laravel/laravel/commit/4de728e78c91b496ce5de09983a56e229aa0ade1)) - ## [v8.5.6 (2020-12-22)](https://github.com/laravel/laravel/compare/v8.5.5...v8.5.6) ### Added -- Add `lock_connection` ([bc339f7](https://github.com/laravel/laravel/commit/bc339f712389cf536ad7e340453f35d1dd865777), [e8788a7](https://github.com/laravel/laravel/commit/e8788a768899ff2a2ef1fe78e24b46e6e10175dc)) +- Add `lock_connection` ([bc339f7](https://github.com/laravel/laravel/commit/bc339f712389cf536ad7e340453f35d1dd865777), [e8788a7](https://github.com/laravel/laravel/commit/e8788a768899ff2a2ef1fe78e24b46e6e10175dc)) ## [v8.5.5 (2020-12-12)](https://github.com/laravel/laravel/compare/v8.5.4...v8.5.5) ### Changed -- Revert changes to env file ([3b2ed46](https://github.com/laravel/laravel/commit/3b2ed46e65c603ddc682753f1a9bb5472c4e12a8)) +- Revert changes to env file ([3b2ed46](https://github.com/laravel/laravel/commit/3b2ed46e65c603ddc682753f1a9bb5472c4e12a8)) ## [v8.5.4 (2020-12-10)](https://github.com/laravel/laravel/compare/v8.5.3...v8.5.4) ### Changed + - Gitignore `docker-compose.override.yml` ([#5487](https://github.com/laravel/laravel/pull/5487) - Update ENV vars to docker file ([ddb26fb](https://github.com/laravel/laravel/commit/ddb26fbc504cd64fb1b89511773aa8d03c758c6d)) - ## [v8.5.3 (2020-12-10)](https://github.com/laravel/laravel/compare/v8.5.2...v8.5.3) ### Changed -- Disable `TrustHosts` middleware ([b7cde8b](https://github.com/laravel/laravel/commit/b7cde8b495e183f386da63ff7792e0dea9cfcf56)) +- Disable `TrustHosts` middleware ([b7cde8b](https://github.com/laravel/laravel/commit/b7cde8b495e183f386da63ff7792e0dea9cfcf56)) ## [v8.5.2 (2020-12-08)](https://github.com/laravel/laravel/compare/v8.5.1...v8.5.2) ### Added -- Add Sail ([17668be](https://github.com/laravel/laravel/commit/17668beabe4cb489ad07abb8af0a9da01860601e)) +- Add Sail ([17668be](https://github.com/laravel/laravel/commit/17668beabe4cb489ad07abb8af0a9da01860601e)) ## [v8.5.1 (2020-12-08)](https://github.com/laravel/laravel/compare/v8.5.0...v8.5.1) ### Changed -- Revert change to `QUEUE_CONNECTION` ([34368a4](https://github.com/laravel/laravel/commit/34368a4fab61839c106efb1eea087cc270639619)) +- Revert change to `QUEUE_CONNECTION` ([34368a4](https://github.com/laravel/laravel/commit/34368a4fab61839c106efb1eea087cc270639619)) ## [v8.5.0 (2020-12-08)](https://github.com/laravel/laravel/compare/v8.4.4...v8.5.0) ### Added + - Add Sail file ([bcd87e8](https://github.com/laravel/laravel/commit/bcd87e80ac7fa6a5daf0e549059ad7cb0b41ce75)) ### Changed -- Update env file for Sail ([a895748](https://github.com/laravel/laravel/commit/a895748980b3e055ffcb68b6bc1c2e5fad6ecb08)) +- Update env file for Sail ([a895748](https://github.com/laravel/laravel/commit/a895748980b3e055ffcb68b6bc1c2e5fad6ecb08)) ## [v8.4.4 (2020-12-01)](https://github.com/laravel/laravel/compare/v8.4.3...v8.4.4) ### Changed + - Comment out `Redis` facade by default ([612d166](https://github.com/laravel/laravel/commit/612d16600419265566d01a19c852ddb13b5e9f4b)) - Uncomment `TrustHosts` middleware to enable it by default ([#5477](https://github.com/laravel/laravel/pull/5477)) ### Removed -- Remove cloud option ([82213fb](https://github.com/laravel/laravel/commit/82213fbf40fc4ec687781d0b93ff60a7de536913)) +- Remove cloud option ([82213fb](https://github.com/laravel/laravel/commit/82213fbf40fc4ec687781d0b93ff60a7de536913)) ## [v8.4.3 (2020-11-24)](https://github.com/laravel/laravel/compare/v8.4.2...v8.4.3) ### Added + - Add ably entry ([5182e9c](https://github.com/laravel/laravel/commit/5182e9c6de805e025fb4cfad63c210c3197002ab)) ### Fixed -- Add missing null cache driver in `config/cache.php` ([#5472](https://github.com/laravel/laravel/pull/5472)) +- Add missing null cache driver in `config/cache.php` ([#5472](https://github.com/laravel/laravel/pull/5472)) ## [v8.4.2 (2020-11-17)](https://github.com/laravel/laravel/compare/v8.4.1...v8.4.2) ### Changed + - Add sanctum cookie endpoint to default cors paths ([aa6d3660](https://github.com/laravel/laravel/commit/aa6d3660114c93e537a52e0ba3c03071a7f3e67f)) - Modify the `cache.php` docblocks ([#5468](https://github.com/laravel/laravel/pull/5468)) - Add stub handler ([4931af1](https://github.com/laravel/laravel/commit/4931af14006610bf8fd1f860cea1117c68133e94)) ### Fixed -- Closed @auth correctly ([#5471](https://github.com/laravel/laravel/pull/5471)) +- Closed @auth correctly ([#5471](https://github.com/laravel/laravel/pull/5471)) ## [v8.4.1 (2020-11-10)](https://github.com/laravel/laravel/compare/v8.4.0...v8.4.1) ### Changed -- Add auth line ([b54ef29](https://github.com/laravel/laravel/commit/b54ef297b3c723c8438596c6e6afef93a7458b98)) +- Add auth line ([b54ef29](https://github.com/laravel/laravel/commit/b54ef297b3c723c8438596c6e6afef93a7458b98)) ## [v8.4.0 (2020-10-30)](https://github.com/laravel/laravel/compare/v8.3.0...v8.4.0) ### Changed -- Bump several dependencies +- Bump several dependencies ## [v8.3.0 (2020-10-29)](https://github.com/laravel/laravel/compare/v8.2.0...v8.3.0) ### Added + - PHP 8 Support ([4c25cb9](https://github.com/laravel/laravel/commit/4c25cb953a0bbd4812bf92af71a13920998def1e)) ### Changed + - Update Faker ([#5461](https://github.com/laravel/laravel/pull/5461)) - Update minimum Laravel version ([86d4ec0](https://github.com/laravel/laravel/commit/86d4ec095f1681df736d53206780d79f5857907c)) - Revert to per user API rate limit ([#5456](https://github.com/laravel/laravel/pull/5456), [bec982b](https://github.com/laravel/laravel/commit/bec982b0a3962c8a3e1f665e987360bb8c056298)) ### Fixed -- Delete removed webpack flag ([#5460](https://github.com/laravel/laravel/pull/5460)) +- Delete removed webpack flag ([#5460](https://github.com/laravel/laravel/pull/5460)) ## [v8.2.0 (2020-10-20)](https://github.com/laravel/laravel/compare/v8.1.0...v8.2.0) ### Added + - Added 'LOG_LEVEL' env variable in `.env.example` ([#5445](https://github.com/laravel/laravel/pull/5445)) - Add 'multiple_of' translation ([#5449](https://github.com/laravel/laravel/pull/5449)) - ## [v8.1.0 (2020-10-06)](https://github.com/laravel/laravel/compare/v8.0.3...v8.1.0) ### Added + - Added `LOG_LEVEL` env variable ([#5442](https://github.com/laravel/laravel/pull/5442)) ### Changed -- Type hint the middleware Request ([#5438](https://github.com/laravel/laravel/pull/5438)) +- Type hint the middleware Request ([#5438](https://github.com/laravel/laravel/pull/5438)) ## [v8.0.3 (2020-09-22)](https://github.com/laravel/laravel/compare/v8.0.2...v8.0.3) ### Changed -- Add comment ([a6ca577](https://github.com/laravel/laravel/commit/a6ca5778391b150102637459ac3b2a42d78d495b)) +- Add comment ([a6ca577](https://github.com/laravel/laravel/commit/a6ca5778391b150102637459ac3b2a42d78d495b)) ## [v8.0.2 (2020-09-22)](https://github.com/laravel/laravel/compare/v8.0.1...v8.0.2) ### Changed + - Fully qualified user model in seeder ([#5406](https://github.com/laravel/laravel/pull/5406)) - Update model path in `AuthServiceProvider`'s policies ([#5412](https://github.com/laravel/laravel/pull/5412)) - Add commented code ([69d0c50](https://github.com/laravel/laravel/commit/69d0c504e3ff01e0fd219e02ebac9b1c22151c2a)) ### Fixed + - Swap route order ([292a5b2](https://github.com/laravel/laravel/commit/292a5b26a9293d82ab5a7d0bb81bba02ea71758e)) - Fix route when uncomment $namespace ([#5424](https://github.com/laravel/laravel/pull/5424)) ### Removed -- Removed `$namespace` property ([b33852e](https://github.com/laravel/laravel/commit/b33852ecace72791f4bc28b8dd84c108166512bf)) +- Removed `$namespace` property ([b33852e](https://github.com/laravel/laravel/commit/b33852ecace72791f4bc28b8dd84c108166512bf)) ## [v8.0.1 (2020-09-09)](https://github.com/laravel/laravel/compare/v8.0.0...v8.0.1) ### Changed -- Re-add property to route service provider ([9cbc381](https://github.com/laravel/laravel/commit/9cbc3819f7b1c268447996d347a1733aa68e16d7)) +- Re-add property to route service provider ([9cbc381](https://github.com/laravel/laravel/commit/9cbc3819f7b1c268447996d347a1733aa68e16d7)) ## [v8.0.0 (2020-09-08)](https://github.com/laravel/laravel/compare/v7.30.1...v8.0.0) From 207a23e4a1267e65b268a1ee09afdbc5f5e1beea Mon Sep 17 00:00:00 2001 From: ThisGitHubUsernameWasAvailable <89264810+ThisGitHubUsernameWasAvailable@users.noreply.github.com> Date: Wed, 9 Feb 2022 17:55:45 +0300 Subject: [PATCH 02/32] Fix .gitattributes consistency with .editorconfig (#5802) `lf` EOL is defined in `.editorconfig` but missed in `.gitattributes`, so here is the fix. This little fix helps keep the EOL consistent across the project and ensures it doesn't get messed up by GitHub Desktop or any other GIT client. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index 510d9961..65129b46 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ * text=auto +* text eol=lf *.blade.php diff=html *.css diff=css From 6c1f430aa76809084668f9a97121bd2ca8bafa10 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Thu, 10 Feb 2022 17:51:03 +0100 Subject: [PATCH 03/32] Revert "Fix .gitattributes consistency with .editorconfig (#5802)" (#5809) This reverts commit 207a23e4a1267e65b268a1ee09afdbc5f5e1beea. --- .gitattributes | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 65129b46..510d9961 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,4 @@ * text=auto -* text eol=lf *.blade.php diff=html *.css diff=css From c532e14680c01fcdc6e9531046cc4bafe9073254 Mon Sep 17 00:00:00 2001 From: Mateusz Nastalski Date: Mon, 28 Mar 2022 15:50:02 +0200 Subject: [PATCH 04/32] Remove "password" validation key (#5856) --- lang/en/validation.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lang/en/validation.php b/lang/en/validation.php index 4707f1a6..397f78e2 100644 --- a/lang/en/validation.php +++ b/lang/en/validation.php @@ -100,7 +100,6 @@ return [ 'not_in' => 'The selected :attribute is invalid.', 'not_regex' => 'The :attribute format is invalid.', 'numeric' => 'The :attribute must be a number.', - 'password' => 'The password is incorrect.', 'present' => 'The :attribute field must be present.', 'prohibited' => 'The :attribute field is prohibited.', 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.', From d650fa2a30270f016a406c2f53408d229d18165b Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 29 Mar 2022 09:48:17 -0500 Subject: [PATCH 05/32] [9.x] Make authenticate session a route middleware (#5842) * make authenticate session a route middleware * Update Kernel.php --- app/Http/Kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 4f18062a..c3be2544 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -33,7 +33,6 @@ class Kernel extends HttpKernel \App\Http\Middleware\EncryptCookies::class, \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, \Illuminate\Session\Middleware\StartSession::class, - // \Illuminate\Session\Middleware\AuthenticateSession::class, \Illuminate\View\Middleware\ShareErrorsFromSession::class, \App\Http\Middleware\VerifyCsrfToken::class, \Illuminate\Routing\Middleware\SubstituteBindings::class, @@ -56,6 +55,7 @@ class Kernel extends HttpKernel protected $routeMiddleware = [ 'auth' => \App\Http\Middleware\Authenticate::class, 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, + 'auth.session' => \Illuminate\Session\Middleware\AuthenticateSession::class, 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, 'can' => \Illuminate\Auth\Middleware\Authorize::class, 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, From 55db9d681a1420271ebba4053a2576854d7d42db Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 29 Mar 2022 14:52:38 +0000 Subject: [PATCH 06/32] Update CHANGELOG --- CHANGELOG.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b9a70cb..ed2bd2e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,15 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v9.1.2...9.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v9.1.3...9.x) + +## [v9.1.3](https://github.com/laravel/laravel/compare/v9.1.2...v9.1.3) - 2022-03-29 + +### Changed + +- Add an example to the class aliases by @nshiro in https://github.com/laravel/laravel/pull/5846 +- Add username in config to use with phpredis + ACL by @neoteknic in https://github.com/laravel/laravel/pull/5851 +- Remove "password" from validation lang by @mnastalski in https://github.com/laravel/laravel/pull/5856 +- Make authenticate session a route middleware by @taylorotwell in https://github.com/laravel/laravel/pull/5842 ## [v9.1.2](https://github.com/laravel/laravel/compare/v9.1.1...v9.1.2) - 2022-03-15 From f7b982ebdf7bd31eda9f05f901bd92ed32446156 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 29 Mar 2022 14:50:18 -0500 Subject: [PATCH 07/32] add encryption configuration --- config/database.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/database.php b/config/database.php index 2a42e193..40ac2479 100644 --- a/config/database.php +++ b/config/database.php @@ -89,6 +89,8 @@ return [ 'charset' => 'utf8', 'prefix' => '', 'prefix_indexes' => true, + // 'encrypt' => env('DB_ENCRYPT', 'yes'), + // 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'true'), ], ], From 61d1448ce90b312e43d7c477db02e2a75783a0bf Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 5 Apr 2022 15:28:45 +0000 Subject: [PATCH 08/32] Update CHANGELOG --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed2bd2e8..e39743c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v9.1.3...9.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v9.1.4...9.x) + +## [v9.1.4](https://github.com/laravel/laravel/compare/v9.1.3...v9.1.4) - 2022-03-29 + +### Changed + +- Add encryption configuration by @taylorotwell in https://github.com/laravel/laravel/commit/f7b982ebdf7bd31eda9f05f901bd92ed32446156 ## [v9.1.3](https://github.com/laravel/laravel/compare/v9.1.2...v9.1.3) - 2022-03-29 From d70eb3e1d1e97712623e4e1970832a72e0edacab Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 5 Apr 2022 20:53:39 -0500 Subject: [PATCH 09/32] wip --- config/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.php b/config/database.php index 40ac2479..137ad18c 100644 --- a/config/database.php +++ b/config/database.php @@ -90,7 +90,7 @@ return [ 'prefix' => '', 'prefix_indexes' => true, // 'encrypt' => env('DB_ENCRYPT', 'yes'), - // 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'true'), + // 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'), ], ], From 9986d516f0b68c4fa10a43a0f592a98a8bf7e6dc Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 6 Apr 2022 11:12:17 -0500 Subject: [PATCH 10/32] remove packages file for a better experience --- composer.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 438f4487..cba69987 100644 --- a/composer.json +++ b/composer.json @@ -32,11 +32,11 @@ } }, "scripts": { - "post-autoload-dump": [ - "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", - "@php artisan package:discover --ansi" + "post-install-cmd": [ + "@php -r \"@unlink('bootstrap/cache/packages.php');\"" ], "post-update-cmd": [ + "@php -r \"@unlink('bootstrap/cache/packages.php');\"", "@php artisan vendor:publish --tag=laravel-assets --ansi --force" ], "post-root-package-install": [ @@ -44,6 +44,10 @@ ], "post-create-project-cmd": [ "@php artisan key:generate --ansi" + ], + "post-autoload-dump": [ + "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", + "@php artisan package:discover --ansi" ] }, "extra": { From 19272e0bd3a321ec38d8633ab661ff7948f8a157 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 7 Apr 2022 09:15:43 -0500 Subject: [PATCH 11/32] revert change - unnecessary :) --- composer.json | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index cba69987..438f4487 100644 --- a/composer.json +++ b/composer.json @@ -32,11 +32,11 @@ } }, "scripts": { - "post-install-cmd": [ - "@php -r \"@unlink('bootstrap/cache/packages.php');\"" + "post-autoload-dump": [ + "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", + "@php artisan package:discover --ansi" ], "post-update-cmd": [ - "@php -r \"@unlink('bootstrap/cache/packages.php');\"", "@php artisan vendor:publish --tag=laravel-assets --ansi --force" ], "post-root-package-install": [ @@ -44,10 +44,6 @@ ], "post-create-project-cmd": [ "@php artisan key:generate --ansi" - ], - "post-autoload-dump": [ - "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", - "@php artisan package:discover --ansi" ] }, "extra": { From 039a99ad14dbb6cfebb6a04be4679f0916f639a4 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 8 Apr 2022 11:05:03 +0200 Subject: [PATCH 12/32] Create pull-requests.yml --- .github/workflows/pull-requests.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/pull-requests.yml diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml new file mode 100644 index 00000000..156b46eb --- /dev/null +++ b/.github/workflows/pull-requests.yml @@ -0,0 +1,13 @@ +name: Pull Requests + +on: + pull_request_target: + types: + - opened + +permissions: + pull-requests: write + +jobs: + uneditable: + uses: laravel/.github/.github/workflows/pull-requests.yml@main From b630eae0b31c8dbb87aefa46d66c1cdfa687911e Mon Sep 17 00:00:00 2001 From: Ostap Brehin Date: Mon, 11 Apr 2022 17:07:05 +0300 Subject: [PATCH 13/32] Update RouteServiceProvider.php (#5862) --- app/Providers/RouteServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index 0ba5291f..f34af12a 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -29,8 +29,8 @@ class RouteServiceProvider extends ServiceProvider $this->configureRateLimiting(); $this->routes(function () { - Route::prefix('api') - ->middleware('api') + Route::middleware('api') + ->prefix('api') ->group(base_path('routes/api.php')); Route::middleware('web') From 843a4f81eb25b88b225a89d75a2d3c274e81be6b Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 12 Apr 2022 15:37:49 +0200 Subject: [PATCH 14/32] Update server.php (#5863) --- server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.php b/server.php index 5fb6379e..1e44b886 100644 --- a/server.php +++ b/server.php @@ -8,7 +8,7 @@ */ $uri = urldecode( - parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) + parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ?? '' ); // This file allows us to emulate Apache's "mod_rewrite" functionality from the From a507e1424339633ce423729ec0ac49b99f0e57d7 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 12 Apr 2022 09:30:44 -0500 Subject: [PATCH 15/32] add levels to handler --- app/Exceptions/Handler.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 8e7fbd1b..5e4cb8de 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -7,6 +7,15 @@ use Throwable; class Handler extends ExceptionHandler { + /** + * A list of exceptions with their corresponding custom log levels. + * + * @var array, \Psr\Log\LogLevel::*> + */ + protected $levels = [ + // + ]; + /** * A list of the exception types that are not reported. * From a8cefc2dd15a7af467b17bd2c058054a76e39902 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 12 Apr 2022 09:31:23 -0500 Subject: [PATCH 16/32] update wording --- app/Exceptions/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 5e4cb8de..d677a92d 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -8,7 +8,7 @@ use Throwable; class Handler extends ExceptionHandler { /** - * A list of exceptions with their corresponding custom log levels. + * A list of exception types with their corresponding custom log levels. * * @var array, \Psr\Log\LogLevel::*> */ From d5d2b67dcbefdee6b04da06bcb0e82e689193614 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 12 Apr 2022 09:34:17 -0500 Subject: [PATCH 17/32] fix docblock --- app/Exceptions/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index d677a92d..008b40fa 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -19,7 +19,7 @@ class Handler extends ExceptionHandler /** * A list of the exception types that are not reported. * - * @var array> + * @var array> */ protected $dontReport = [ // From 78ad150a947f6677d9cb4e3eb9a257d312fe14c3 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 12 Apr 2022 15:09:15 +0000 Subject: [PATCH 18/32] Update CHANGELOG.md --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3eb5d57b..fcc00d8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v8.6.11...8.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v8.6.12...8.x) + +## [v8.6.12](https://github.com/laravel/laravel/compare/v8.6.11...v8.6.12) - 2022-04-12 + +### Changed + +- Fix empty paths for server.php by @driesvints in https://github.com/laravel/laravel/pull/5863 ## [v8.6.11](https://github.com/laravel/laravel/compare/v8.6.10...v8.6.11) - 2022-02-08 From ba23174f1cd12b92eca79e1b1f84069a1870317e Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 12 Apr 2022 15:23:51 +0000 Subject: [PATCH 19/32] Update CHANGELOG --- CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e39743c5..0e15e5de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v9.1.4...9.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v9.1.5...9.x) + +## [v9.1.5](https://github.com/laravel/laravel/compare/v9.1.4...v9.1.5) - 2022-04-12 + +### Changed + +- Rearrange route methods by @osbre in https://github.com/laravel/laravel/pull/5862 +- Add levels to handler by @taylorotwell in https://github.com/laravel/laravel/commit/a507e1424339633ce423729ec0ac49b99f0e57d7 ## [v9.1.4](https://github.com/laravel/laravel/compare/v9.1.3...v9.1.4) - 2022-03-29 From db0d052ece1c17c506633f4c9f5604b65e1cc3a4 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 20 Apr 2022 09:16:59 -0500 Subject: [PATCH 20/32] move password lines into main translation file --- lang/en.json | 7 ------- lang/en/validation.php | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 lang/en.json diff --git a/lang/en.json b/lang/en.json deleted file mode 100644 index 577680dd..00000000 --- a/lang/en.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "The :attribute must contain at least one letter.": "The :attribute must contain at least one letter.", - "The :attribute must contain at least one number.": "The :attribute must contain at least one number.", - "The :attribute must contain at least one symbol.": "The :attribute must contain at least one symbol.", - "The :attribute must contain at least one uppercase and one lowercase letter.": "The :attribute must contain at least one uppercase and one lowercase letter.", - "The given :attribute has appeared in a data leak. Please choose a different :attribute.": "The given :attribute has appeared in a data leak. Please choose a different :attribute." -} diff --git a/lang/en/validation.php b/lang/en/validation.php index 397f78e2..8ca5a008 100644 --- a/lang/en/validation.php +++ b/lang/en/validation.php @@ -100,6 +100,13 @@ return [ 'not_in' => 'The selected :attribute is invalid.', 'not_regex' => 'The :attribute format is invalid.', 'numeric' => 'The :attribute must be a number.', + 'password' => [ + 'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.', + 'letters' => 'The :attribute must contain at least one letter.', + 'symbols' => 'The :attribute must contain at least one symbol.', + 'numbers' => 'The :attribute must contain at least one number.', + 'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.', + ], 'present' => 'The :attribute field must be present.', 'prohibited' => 'The :attribute field is prohibited.', 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.', From 9d39835571f813e6918eac01d4efbd5fc72cef02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Tom=C3=A9?= Date: Wed, 20 Apr 2022 17:29:25 -0300 Subject: [PATCH 21/32] [9.x] Add missing maintenance to config (#5868) * [9.x] Add missing maintenance to config #40102 * fix spacing * fix cache store for maintenance config * formatting Co-authored-by: Taylor Otwell --- config/app.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/config/app.php b/config/app.php index b02c7f4b..ef76a7ed 100644 --- a/config/app.php +++ b/config/app.php @@ -125,6 +125,24 @@ return [ 'cipher' => 'AES-256-CBC', + /* + |-------------------------------------------------------------------------- + | Maintenance Mode Driver + |-------------------------------------------------------------------------- + | + | These configuration options determine the driver used to determine and + | manage Laravel's "maintenance mode" status. The "cache" driver will + | allow maintenance mode to be controlled across multiple machines. + | + | Supported drivers: "file", "cache" + | + */ + + 'maintenance' => [ + 'driver' => 'file', + // 'store' => 'redis', + ], + /* |-------------------------------------------------------------------------- | Autoloaded Service Providers From ba5f2dd26afb5d6af0dbd8f99341b277fef2865f Mon Sep 17 00:00:00 2001 From: driesvints Date: Wed, 27 Apr 2022 13:42:49 +0000 Subject: [PATCH 22/32] Update CHANGELOG --- CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e15e5de..4ebc0713 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v9.1.5...9.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v9.1.6...9.x) + +## [v9.1.6](https://github.com/laravel/laravel/compare/v9.1.5...v9.1.6) - 2022-04-20 + +### Changed + +- Move password lines into main translation file by @taylorotwell in https://github.com/laravel/laravel/commit/db0d052ece1c17c506633f4c9f5604b65e1cc3a4 +- Add missing maintenance to config by @ibrunotome in https://github.com/laravel/laravel/pull/5868 ## [v9.1.5](https://github.com/laravel/laravel/compare/v9.1.4...v9.1.5) - 2022-04-12 From d0603437cbbb478586979a3792d49e0d157ce554 Mon Sep 17 00:00:00 2001 From: Jesper Noordsij <45041769+jnoordsij@users.noreply.github.com> Date: Wed, 27 Apr 2022 17:11:10 +0200 Subject: [PATCH 23/32] Bump laravel/framework version to latest (#5870) Required for password rule translations to work properly (see https://github.com/laravel/framework/pull/42060) --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 438f4487..42f9ba83 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "require": { "php": "^8.0.2", "guzzlehttp/guzzle": "^7.2", - "laravel/framework": "^9.2", + "laravel/framework": "^9.10", "laravel/sanctum": "^2.14.1", "laravel/tinker": "^2.7" }, From 52e99847d0e97ab87b53182d4beb1c091896b5c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9as=20Lundgren?= <1066486+adevade@users.noreply.github.com> Date: Thu, 28 Apr 2022 15:08:50 +0200 Subject: [PATCH 24/32] Fix alphabetical order for password rules (#5872) --- lang/en/validation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/en/validation.php b/lang/en/validation.php index 8ca5a008..724b5ace 100644 --- a/lang/en/validation.php +++ b/lang/en/validation.php @@ -101,10 +101,10 @@ return [ 'not_regex' => 'The :attribute format is invalid.', 'numeric' => 'The :attribute must be a number.', 'password' => [ - 'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.', 'letters' => 'The :attribute must contain at least one letter.', - 'symbols' => 'The :attribute must contain at least one symbol.', + 'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.', 'numbers' => 'The :attribute must contain at least one number.', + 'symbols' => 'The :attribute must contain at least one symbol.', 'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.', ], 'present' => 'The :attribute field must be present.', From f662352123ab7c52965726a8ecf78e034ec5b7cc Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Mon, 2 May 2022 16:11:15 +0200 Subject: [PATCH 25/32] [9.x] Run tests for skeleton (#5873) * Run tests for skeleton * wip * wip --- .github/workflows/tests.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 00000000..9870c819 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,30 @@ +name: Tests + +on: [push, pull_request] + +jobs: + tests: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: 8.1 + extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite + coverage: none + + - name: Install Composer dependencies + run: composer install --prefer-dist --no-interaction + + - name: Copy environment file + run: cp .env.example .env + + - name: Generate app key + run: php artisan key:generate + + - name: Execute tests + run: vendor/bin/phpunit From 62cb9052cdf0c399d1287ea38752864bc9a24f29 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 3 May 2022 16:31:17 +0200 Subject: [PATCH 26/32] Update logging.php (#5874) --- config/logging.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/logging.php b/config/logging.php index fefe0885..5aa1dbb7 100644 --- a/config/logging.php +++ b/config/logging.php @@ -30,7 +30,10 @@ return [ | */ - 'deprecations' => env('LOG_DEPRECATIONS_CHANNEL', 'null'), + 'deprecations' => [ + 'channel' => env('LOG_DEPRECATIONS_CHANNEL', 'null'), + 'trace' => false, + ], /* |-------------------------------------------------------------------------- From 5840c98d8fde042efd8652f053d8e879a736ed3b Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 3 May 2022 17:51:16 +0200 Subject: [PATCH 27/32] Bump minimum Laravel version --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 42f9ba83..164c94bd 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "require": { "php": "^8.0.2", "guzzlehttp/guzzle": "^7.2", - "laravel/framework": "^9.10", + "laravel/framework": "^9.11", "laravel/sanctum": "^2.14.1", "laravel/tinker": "^2.7" }, From ffd790eae1e0a5bf3e64ca1ef09005446a89d4d6 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 3 May 2022 15:52:34 +0000 Subject: [PATCH 28/32] Update CHANGELOG --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ebc0713..5a221fb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v9.1.6...9.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v9.1.7...9.x) + +## [v9.1.7](https://github.com/laravel/laravel/compare/v9.1.6...v9.1.7) - 2022-05-03 + +### Changed + +- Deprecation log stack trace option by @driesvints in https://github.com/laravel/laravel/pull/5874 ## [v9.1.6](https://github.com/laravel/laravel/compare/v9.1.5...v9.1.6) - 2022-04-20 From 14b6505bbabe0a5dede5a853508ca61fa35781cd Mon Sep 17 00:00:00 2001 From: Bram in 't Zandt Date: Wed, 4 May 2022 16:05:31 +0200 Subject: [PATCH 29/32] Update mail.php (#5877) Add `local_domain` as an option to the smtp configuration. This can be used to change the domain that is used to send the `EHLO` command during the SMTP handshake. `null` is a sensible default since Symfony/Mailer will use it's own default (`127.0.0.1`) to send the mail. Co-authored-by: Bram in 't Zandt --- config/mail.php | 1 + 1 file changed, 1 insertion(+) diff --git a/config/mail.php b/config/mail.php index 11bfe7e1..534395a3 100644 --- a/config/mail.php +++ b/config/mail.php @@ -42,6 +42,7 @@ return [ 'username' => env('MAIL_USERNAME'), 'password' => env('MAIL_PASSWORD'), 'timeout' => null, + 'local_domain' => env('MAIL_EHLO_DOMAIN'), ], 'ses' => [ From 5c5a300bfd83cd3432eb342fdabf2b85bfaee4bd Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Thu, 5 May 2022 15:53:49 +0200 Subject: [PATCH 30/32] [9.x] Add specific test user in seeder (#5879) * Update DatabaseSeeder.php * formatting Co-authored-by: Taylor Otwell --- database/seeders/DatabaseSeeder.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index 71f673f0..c1c48a06 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -15,5 +15,10 @@ class DatabaseSeeder extends Seeder public function run() { // \App\Models\User::factory(10)->create(); + + // \App\Models\User::factory()->create([ + // 'name' => 'Test User', + // 'email' => 'test@example.com', + // ]); } } From 7216fa7e9a797227f303630d937a0722878b753b Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 5 May 2022 14:52:23 -0500 Subject: [PATCH 31/32] a few wording changes --- app/Exceptions/Handler.php | 2 +- app/Providers/AuthServiceProvider.php | 2 +- app/Providers/EventServiceProvider.php | 2 +- app/Providers/RouteServiceProvider.php | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 008b40fa..82a37e40 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -26,7 +26,7 @@ class Handler extends ExceptionHandler ]; /** - * A list of the inputs that are never flashed for validation exceptions. + * A list of the inputs that are never flashed to the session on validation exceptions. * * @var array */ diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 22b77e6e..51b351b0 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -8,7 +8,7 @@ use Illuminate\Support\Facades\Gate; class AuthServiceProvider extends ServiceProvider { /** - * The policy mappings for the application. + * The model to policy mappings for the application. * * @var array */ diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index 45ca6685..ab8b2cf7 100644 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -10,7 +10,7 @@ use Illuminate\Support\Facades\Event; class EventServiceProvider extends ServiceProvider { /** - * The event listener mappings for the application. + * The event to listener mappings for the application. * * @var array> */ diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index f34af12a..ea87f2e5 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -13,14 +13,14 @@ class RouteServiceProvider extends ServiceProvider /** * The path to the "home" route for your application. * - * This is used by Laravel authentication to redirect users after login. + * Typically, users are redirected here after authentication. * * @var string */ public const HOME = '/home'; /** - * Define your route model bindings, pattern filters, etc. + * Define your route model bindings, pattern filters, and other route configuration. * * @return void */ From 8d3a964edc67125f336f14ccfca31b62623bca65 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 10 May 2022 15:38:08 +0000 Subject: [PATCH 32/32] Update CHANGELOG --- CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a221fb2..2da613ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v9.1.7...9.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v9.1.8...9.x) + +## [v9.1.8](https://github.com/laravel/laravel/compare/v9.1.7...v9.1.8) - 2022-05-05 + +### Changed + +- Add local_domain option to smtp configuration by @bintzandt in https://github.com/laravel/laravel/pull/5877 +- Add specific test user in seeder by @driesvints in https://github.com/laravel/laravel/pull/5879 ## [v9.1.7](https://github.com/laravel/laravel/compare/v9.1.6...v9.1.7) - 2022-05-03