From 5757a21bf65c44e14f94317b4c2c05dcb89e519e Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Mar 2024 17:51:42 +0800 Subject: [PATCH 01/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index e99d51d..1433231 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit e99d51d095da503373ae47f508d9df426a2fe9d2 +Subproject commit 14332317985331b9d0509ff7f1056c7439561dac From 1e2f1d75764bf1936aca13f96eeb8008d5c75521 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Mar 2024 17:53:02 +0800 Subject: [PATCH 02/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 483727c..3d7dbea 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "php": "^7.3 || ^8.0", "laravel/framework": "^8.83.27", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.49.4", + "orchestra/testbench-core": "^6.49.5", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, From 387d6d4aa9eb79c0f24047fa467d1dbedece3990 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Mar 2024 17:54:59 +0800 Subject: [PATCH 03/89] Prepare 6.43.2 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index f4345db..714400f 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -2,6 +2,20 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 6.43.2 + +Released: 2024-03-25 + +### Changes + +* Update minimum support for Testbench Core v6.49.5+. ([v6.49.4...v6.49.5](https://github.com/orchestral/testbench-core/compare/v6.49.4...v6.49.5)) + +#### Testbench Changes + +##### Fixes + +* Fixes `RefreshDatabase` to be executed on `tearDown()` only limited when ad-hoc migrations was added during test. + ## 6.43.1 Released: 2024-03-19 From fd87b6d41545db7890fd28b3bfa938b0f916ab99 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Mar 2024 17:58:38 +0800 Subject: [PATCH 04/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index afd77e8..3cb37ed 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit afd77e83c3eb15c9c39cac6e18b2050dd24be252 +Subproject commit 3cb37ed52a547b1b43e793dee720237adf1466ff From ef66161fd3b09a1e3de0bcecf619320f402a736c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Mar 2024 18:02:18 +0800 Subject: [PATCH 05/89] Prepare 7.41.2 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 14 ++++++++++++++ composer.json | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index e18c834..dc37eec 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -2,6 +2,20 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 7.41.2 + +Released: 2024-03-25 + +### Changes + +* Update minimum support for Testbench Core v7.42.5+. ([v7.42.4...v7.42.5](https://github.com/orchestral/testbench-core/compare/v7.42.4...v7.42.5)) + +#### Testbench Changes + +##### Fixes + +* Fixes `RefreshDatabase` to be executed on `tearDown()` only limited when ad-hoc migrations was added during test. + ## 7.41.1 Released: 2024-03-19 diff --git a/composer.json b/composer.json index a9c0248..6fc442a 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.15", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.42.4", + "orchestra/testbench-core": "^7.42.5", "orchestra/workbench": "^1.4 || ^7.4", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", From ec5dfff81d58bbe5b42cbf9a0e0d26bb4a82ce9e Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Mar 2024 18:03:13 +0800 Subject: [PATCH 06/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index a863b35..786943e 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit a863b355bf73609121c1d2d08b3ffb8b27ecb8d0 +Subproject commit 786943e4a95f20ce7a50b4f50b764576a61246e1 From 79f0eb5bd7ce893d772620802c557775c87f2f35 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Mar 2024 18:04:50 +0800 Subject: [PATCH 07/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 16b5528..9e57845 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.40", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.23.4", + "orchestra/testbench-core": "^8.23.5", "orchestra/workbench": "^1.4 || ^8.4", "phpunit/phpunit": "^9.6 || ^10.1", "symfony/process": "^6.2", From d08b40877714370c8788ff1d9813d9fc9c6c55b2 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Mar 2024 18:09:14 +0800 Subject: [PATCH 08/89] Prepare 8.22.2 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index d1381ca..58a7f2f 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,20 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.22.2 + +Released: 2024-03-25 + +### Changes + +* Update minimum support for Testbench Core v8.23.5+. ([v8.23.4...v8.23.5](https://github.com/orchestral/testbench-core/compare/v8.23.4...v8.23.5)) + +#### Testbench Changes + +##### Fixes + +* Fixes `RefreshDatabase` to be executed on `tearDown()` only limited when ad-hoc migrations was added during test. + ## 8.22.1 Released: 2024-03-19 From d662b07e7e4610c0cb567e151441aa56e99426f1 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Mar 2024 18:12:24 +0800 Subject: [PATCH 09/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index ea532af..93136d6 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit ea532af82da288d363b7dc7c96edae6bbb329efe +Subproject commit 93136d62545abbc16045a0566015244b58c39d9b From 9c89ee5bcb7e5023ea72c39ce221794d397b9adb Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Mar 2024 18:14:22 +0800 Subject: [PATCH 10/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 71696ad..1b250b2 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.23", "laravel/framework": "^11.0", "mockery/mockery": "^1.6", - "orchestra/testbench-core": "^9.0.6", + "orchestra/testbench-core": "^9.0.7", "orchestra/workbench": "^9.0", "phpunit/phpunit": "^10.5 || ^11.0.1", "symfony/process": "^7.0", From edf1452ae4f5ee4c0113c8e3ac3cbffa44701913 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Mar 2024 18:14:53 +0800 Subject: [PATCH 11/89] Prepare 9.0.6 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index 9ea223a..9ee0a4e 100644 --- a/CHANGELOG-9.x.md +++ b/CHANGELOG-9.x.md @@ -2,6 +2,20 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 9.0.2 + +Released: 2024-03-25 + +### Changes + +* Update minimum support for Testbench Core v9.0.7+. ([v9.0.6...v9.0.7](https://github.com/orchestral/testbench-core/compare/v9.0.6...v9.0.7)) + +#### Testbench Changes + +##### Fixes + +* Fixes `RefreshDatabase` to be executed on `tearDown()` only limited when ad-hoc migrations was added during test. + ## 9.0.1 Released: 2024-03-19 From 345208ccf458ba147a35e7f4925d12e5a66dd13b Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 27 Mar 2024 07:30:01 +0800 Subject: [PATCH 12/89] Prepare 9.0.3 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 21 ++++++++++++++++++++- bin/sync | 2 +- composer.json | 4 ++-- core | 2 +- 4 files changed, 24 insertions(+), 5 deletions(-) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index 9ee0a4e..5b9ebc1 100644 --- a/CHANGELOG-9.x.md +++ b/CHANGELOG-9.x.md @@ -1,7 +1,26 @@ -# Changes for 8.x +# Changes for 9.x This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 9.0.3 + +Released: 2024-03-27 + +### Changes + +* Update minimum support for Testbench Core v9.0.9+. ([v9.0.7...v9.0.9](https://github.com/orchestral/testbench-core/compare/v9.0.7...v9.0.9)) +* Update minimum support for Laravel Framework `11.1.0`. + +#### Testbench Changes + +##### Changes + +* Add support for `HASH_VERIFY` environment variables. + +##### Fixes + +* Force reset `RefreshDatabaseState` when using `LazilyRefreshDatabase` with SQLite `:in-memory:` database connections. + ## 9.0.2 Released: 2024-03-25 diff --git a/bin/sync b/bin/sync index 7f3ead3..74b4da1 100755 --- a/bin/sync +++ b/bin/sync @@ -2,7 +2,7 @@ Date: Wed, 27 Mar 2024 07:33:50 +0800 Subject: [PATCH 13/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index 93136d6..c1b6f9a 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 93136d62545abbc16045a0566015244b58c39d9b +Subproject commit c1b6f9af73986af1f5e0add0b86c155cdf8bd70b From 48343e1deee90323d0af66efe7f0dd0f43f9edef Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 27 Mar 2024 07:34:49 +0800 Subject: [PATCH 14/89] wip Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 21 ++++++++++++++++++++- composer.json | 4 ++-- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index 9ee0a4e..5b9ebc1 100644 --- a/CHANGELOG-9.x.md +++ b/CHANGELOG-9.x.md @@ -1,7 +1,26 @@ -# Changes for 8.x +# Changes for 9.x This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 9.0.3 + +Released: 2024-03-27 + +### Changes + +* Update minimum support for Testbench Core v9.0.9+. ([v9.0.7...v9.0.9](https://github.com/orchestral/testbench-core/compare/v9.0.7...v9.0.9)) +* Update minimum support for Laravel Framework `11.1.0`. + +#### Testbench Changes + +##### Changes + +* Add support for `HASH_VERIFY` environment variables. + +##### Fixes + +* Force reset `RefreshDatabaseState` when using `LazilyRefreshDatabase` with SQLite `:in-memory:` database connections. + ## 9.0.2 Released: 2024-03-25 diff --git a/composer.json b/composer.json index 1b250b2..f2558f3 100644 --- a/composer.json +++ b/composer.json @@ -23,9 +23,9 @@ "php": "^8.2", "composer-runtime-api": "^2.2", "fakerphp/faker": "^1.23", - "laravel/framework": "^11.0", + "laravel/framework": "^11.1", "mockery/mockery": "^1.6", - "orchestra/testbench-core": "^9.0.7", + "orchestra/testbench-core": "^9.1", "orchestra/workbench": "^9.0", "phpunit/phpunit": "^10.5 || ^11.0.1", "symfony/process": "^7.0", From c75f240acf666a0135fc37aadc151ff70136ef2f Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 27 Mar 2024 07:35:51 +0800 Subject: [PATCH 15/89] wip Signed-off-by: Mior Muhammad Zaki --- bin/sync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sync b/bin/sync index 74b4da1..7f3ead3 100755 --- a/bin/sync +++ b/bin/sync @@ -2,7 +2,7 @@ Date: Sat, 13 Apr 2024 16:57:33 +0800 Subject: [PATCH 16/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index 1433231..ad49a50 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 14332317985331b9d0509ff7f1056c7439561dac +Subproject commit ad49a508f9cf8c577c3f355f28b2308b998c448c From e0483d503e26da30af2383a51989c58fa9b4296c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 13 Apr 2024 17:38:58 +0800 Subject: [PATCH 17/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index 3cb37ed..878f0ca 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 3cb37ed52a547b1b43e793dee720237adf1466ff +Subproject commit 878f0ca5b1a45ba1705d836beaae0ba34cb0e358 From abce7aa42ef1636d64cc0a2543663988a7c5aa6f Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 13 Apr 2024 17:39:48 +0800 Subject: [PATCH 18/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index 786943e..7f42980 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 786943e4a95f20ce7a50b4f50b764576a61246e1 +Subproject commit 7f429808771deab955c72f58bee4c48d92ce887e From ed7aca3f5b02f498f8408764503b7217db53da1e Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 13 Apr 2024 17:40:22 +0800 Subject: [PATCH 19/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index c1b6f9a..1ede9aa 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit c1b6f9af73986af1f5e0add0b86c155cdf8bd70b +Subproject commit 1ede9aaaf809b9ff6afecaf420cc336b543d11e1 From 8b0534c3c5566838903c43ca2fd99d54a56b1120 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 16 Apr 2024 16:55:24 +0800 Subject: [PATCH 20/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index ad49a50..54af071 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit ad49a508f9cf8c577c3f355f28b2308b998c448c +Subproject commit 54af0710f2028105343a95b2b4b1fe548e5420c3 From e712d9537ee690c21258b61f3716d0996a447442 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 16 Apr 2024 16:55:56 +0800 Subject: [PATCH 21/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 3d7dbea..7d38e1f 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "php": "^7.3 || ^8.0", "laravel/framework": "^8.83.27", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.49.5", + "orchestra/testbench-core": "^6.49.6", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, From 3ac980b6c4afd71f1dc7a2c2bd5cd3df0a93ce51 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 16 Apr 2024 16:58:13 +0800 Subject: [PATCH 22/89] Prepare 6.43.3 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index 714400f..14232f2 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -2,6 +2,14 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 6.43.3 + +Released: 2024-03-25 + +### Changes + +* Update minimum support for Testbench Core v6.49.6+. ([v6.49.5...v6.49.6](https://github.com/orchestral/testbench-core/compare/v6.49.5...v6.49.6)) + ## 6.43.2 Released: 2024-03-25 From 213a67e9ae588d220f6b997df0b9d952d6761856 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 16 Apr 2024 17:01:57 +0800 Subject: [PATCH 23/89] wip Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index 14232f2..af5303b 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -10,6 +10,13 @@ Released: 2024-03-25 * Update minimum support for Testbench Core v6.49.6+. ([v6.49.5...v6.49.6](https://github.com/orchestral/testbench-core/compare/v6.49.5...v6.49.6)) +#### Testbench Changes + +##### Changes + +* Flush Static Improvements. +* Allows `Orchestra\Testbench\remote` to accept `$env` with either `array` or `string`. + ## 6.43.2 Released: 2024-03-25 From 556021ad33367b679dac4aacfe4788a227302135 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 16 Apr 2024 17:04:27 +0800 Subject: [PATCH 24/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 6fc442a..682d654 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.15", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.42.5", + "orchestra/testbench-core": "^7.42.6", "orchestra/workbench": "^1.4 || ^7.4", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", diff --git a/core b/core index 878f0ca..76b74fd 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 878f0ca5b1a45ba1705d836beaae0ba34cb0e358 +Subproject commit 76b74fd6e6d7b9adcc5ad616c1b19157dc359425 From a2b39ae75bca6b3078254242c0bed0fdd55b6aa4 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 16 Apr 2024 17:17:54 +0800 Subject: [PATCH 25/89] Prepare 7.41.3 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 2 +- CHANGELOG-7.x.md | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index af5303b..47d6105 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -4,7 +4,7 @@ This changelog references the relevant changes (bug and security fixes) done to ## 6.43.3 -Released: 2024-03-25 +Released: 2024-04-16 ### Changes diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index dc37eec..467c9e0 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -2,6 +2,22 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 7.41.3 + +Released: 2024-04-16 + +### Changes + +* Update minimum support for Testbench Core v7.42.6+. ([v7.42.5...v7.42.6](https://github.com/orchestral/testbench-core/compare/v7.42.5...v7.42.6)) + +#### Testbench Changes + +##### Changes + +* Flush Static Improvements. +* Allows `Orchestra\Testbench\remote` to accept `$env` with either `array` or `string`. +* Includes `TESTBENCH_PACKAGE_REMOTE=true` when running command using `Orchestra\Testbench\remote`. + ## 7.41.2 Released: 2024-03-25 From f47fa97eb7bb5cffac1039b895cbdd30e01cb12d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 16 Apr 2024 17:22:10 +0800 Subject: [PATCH 26/89] wip Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 2 +- core | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index af5303b..47d6105 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -4,7 +4,7 @@ This changelog references the relevant changes (bug and security fixes) done to ## 6.43.3 -Released: 2024-03-25 +Released: 2024-04-16 ### Changes diff --git a/core b/core index 54af071..8f173b7 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 54af0710f2028105343a95b2b4b1fe548e5420c3 +Subproject commit 8f173b76a4fff71c0d2668bcebd432eb070ff98e From f6fccc0ac27ad54cc8e121ccf9bad2e81c04ae7e Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 16 Apr 2024 17:33:42 +0800 Subject: [PATCH 27/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index 7f42980..a90f163 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 7f429808771deab955c72f58bee4c48d92ce887e +Subproject commit a90f163be1473a83e246fc4dd5b6de524d546ee2 From bb2efe836350a86210310e678995aa47e4929be4 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 16 Apr 2024 17:42:06 +0800 Subject: [PATCH 28/89] Preare 8.22.3 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 24 ++++++++++++++++++++++++ composer.json | 2 +- core | 2 +- 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index 58a7f2f..77226d0 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,30 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.22.3 + +Released: 2024-04-16 + +### Changes + +* Update minimum support for Testbench Core v8.23.9+. ([v8.23.5...v8.23.9](https://github.com/orchestral/testbench-core/compare/v8.23.5...v8.23.9)) + +#### Testbench Changes + +##### Fixes + +###### Changes + +* Allows `Orchestra\Testbench\remote` to accept `$env` with either `array` or `string`. +* Includes `TESTBENCH_PACKAGE_REMOTE=true` when running command using `Orchestra\Testbench\remote`. +* Flush Static Improvements. +* Revert setting `workbench` environment variable when Testbench CLI is used outside of testing. + +###### Fixes + +* Fixes `serve` command. +* Fixes `runningInUnitTests()` returning `true` when not running tests via Testbench CLI. + ## 8.22.2 Released: 2024-03-25 diff --git a/composer.json b/composer.json index 9e57845..f16f026 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.40", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.23.5", + "orchestra/testbench-core": "^8.23.9", "orchestra/workbench": "^1.4 || ^8.4", "phpunit/phpunit": "^9.6 || ^10.1", "symfony/process": "^6.2", diff --git a/core b/core index a90f163..75d9d10 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit a90f163be1473a83e246fc4dd5b6de524d546ee2 +Subproject commit 75d9d109373f5b0049767ab4be312f45c8248fb9 From 7be4000afef7175144b5f4ea69172de1927b642f Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 16 Apr 2024 17:51:40 +0800 Subject: [PATCH 29/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f2558f3..5ebf3da 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.23", "laravel/framework": "^11.1", "mockery/mockery": "^1.6", - "orchestra/testbench-core": "^9.1", + "orchestra/testbench-core": "^9.0.13", "orchestra/workbench": "^9.0", "phpunit/phpunit": "^10.5 || ^11.0.1", "symfony/process": "^7.0", diff --git a/core b/core index 1ede9aa..653bcbc 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 1ede9aaaf809b9ff6afecaf420cc336b543d11e1 +Subproject commit 653bcbc5a6e724dc254ec076448b373016f63b9e From 1fe2e613fa4b01f4bb4dafdceb4aae766363937e Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 16 Apr 2024 17:56:54 +0800 Subject: [PATCH 30/89] Prepare 9.0.4 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index 5b9ebc1..5e4699f 100644 --- a/CHANGELOG-9.x.md +++ b/CHANGELOG-9.x.md @@ -2,6 +2,28 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 9.0.4 + +Released: 2024-04-16 + +### Changes + +* Update minimum support for Testbench Core v9.0.13+. ([v9.0.9...v9.0.13](https://github.com/orchestral/testbench-core/compare/v9.0.9...v9.0.13)) + +#### Testbench Changes + +##### Changes + +* Allows `Orchestra\Testbench\remote` to accept `$env` with either `array` or `string`. +* Includes `TESTBENCH_PACKAGE_REMOTE=true` when running command using `Orchestra\Testbench\remote`. +* Flush Static Improvements. +* Revert setting `workbench` environment variable when Testbench CLI is used outside of testing. + +##### Fixes + +* Fixes `serve` command. +* Fixes `runningInUnitTests()` returning `true` when not running tests via Testbench CLI. + ## 9.0.3 Released: 2024-03-27 From ec4c0f3c6993933677b87e8e73a9da41c1dfa145 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sun, 21 Apr 2024 18:03:14 +0800 Subject: [PATCH 31/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- workbench/routes/web.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core b/core index 8f173b7..6de78f3 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 8f173b76a4fff71c0d2668bcebd432eb070ff98e +Subproject commit 6de78f3365823cdd4f9fd3223a340fcae56bcb08 diff --git a/workbench/routes/web.php b/workbench/routes/web.php index e595b3c..54f8fcd 100644 --- a/workbench/routes/web.php +++ b/workbench/routes/web.php @@ -18,3 +18,4 @@ }); Route::view('/testbench', 'workbench::testbench')->name('testbench'); +Route::text('/hello-world', 'Hello world'); From dca9e1695c6f1d534b65e0bfe1945ee47cdd09ae Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sun, 21 Apr 2024 18:03:33 +0800 Subject: [PATCH 32/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7d38e1f..578c047 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "php": "^7.3 || ^8.0", "laravel/framework": "^8.83.27", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.49.6", + "orchestra/testbench-core": "^6.49.7", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, From 7046d89ef7c243b28185afece2fc1e21a18c7547 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 22 Apr 2024 09:07:01 +0800 Subject: [PATCH 33/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/composer.json b/composer.json index 578c047..e474908 100644 --- a/composer.json +++ b/composer.json @@ -27,11 +27,6 @@ "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, - "extra": { - "branch-alias": { - "dev-master": "6.0-dev" - } - }, "scripts": { "post-autoload-dump": "@prepare", "prepare": "@php vendor/bin/testbench package:discover --ansi", From 48f0082b1e144179a5561d34cc0b841185a21acd Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 22 Apr 2024 09:09:58 +0800 Subject: [PATCH 34/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- workbench/routes/web.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core b/core index 76b74fd..0120f54 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 76b74fd6e6d7b9adcc5ad616c1b19157dc359425 +Subproject commit 0120f5428e6ea9654a7ffe9de1b7d3b48db73375 diff --git a/workbench/routes/web.php b/workbench/routes/web.php index e595b3c..54f8fcd 100644 --- a/workbench/routes/web.php +++ b/workbench/routes/web.php @@ -18,3 +18,4 @@ }); Route::view('/testbench', 'workbench::testbench')->name('testbench'); +Route::text('/hello-world', 'Hello world'); From c6d9d92ee5f6619a98e9219eb8f0fd33ed2ad32c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 22 Apr 2024 09:10:12 +0800 Subject: [PATCH 35/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 682d654..8fd7af9 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.15", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.42.6", + "orchestra/testbench-core": "^7.42.7", "orchestra/workbench": "^1.4 || ^7.4", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", From 484a4faf5a2b25723753a56f7481ace39d2c37bc Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 22 Apr 2024 09:15:50 +0800 Subject: [PATCH 36/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- workbench/routes/web.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f16f026..b9d29ea 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.40", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.23.9", + "orchestra/testbench-core": "^8.23.10", "orchestra/workbench": "^1.4 || ^8.4", "phpunit/phpunit": "^9.6 || ^10.1", "symfony/process": "^6.2", diff --git a/core b/core index 75d9d10..0b4bf76 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 75d9d109373f5b0049767ab4be312f45c8248fb9 +Subproject commit 0b4bf76d9ab2b5d6f3a7d9a956e5affbd04bbe4d diff --git a/workbench/routes/web.php b/workbench/routes/web.php index e595b3c..54f8fcd 100644 --- a/workbench/routes/web.php +++ b/workbench/routes/web.php @@ -18,3 +18,4 @@ }); Route::view('/testbench', 'workbench::testbench')->name('testbench'); +Route::text('/hello-world', 'Hello world'); From 1108306912a1884426224341d9426853f1436bf4 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 22 Apr 2024 09:19:43 +0800 Subject: [PATCH 37/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- workbench/bootstrap/web.php | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/core b/core index 0b4bf76..eabe0c7 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 0b4bf76d9ab2b5d6f3a7d9a956e5affbd04bbe4d +Subproject commit eabe0c72e787aae29df96bd4e33c61fffa6d5edc diff --git a/workbench/bootstrap/web.php b/workbench/bootstrap/web.php index 377cbf9..c9c075d 100644 --- a/workbench/bootstrap/web.php +++ b/workbench/bootstrap/web.php @@ -2,11 +2,6 @@ use Illuminate\Support\Facades\Route; -use function Illuminate\Filesystem\join_paths; -use function Orchestra\Testbench\workbench_path; - Route::get('/dashboard', function () { return 'workbench::dashboard'; })->middleware(['auth'])->name('dashboard'); - -require workbench_path(join_paths('routes', 'web.php')); From 39849e01ab8d316445aa7ab94639cbab60abce15 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 21 May 2024 08:49:31 +0800 Subject: [PATCH 38/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index e474908..76332aa 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "php": "^7.3 || ^8.0", "laravel/framework": "^8.83.27", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.49.7", + "orchestra/testbench-core": "^6.50", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, diff --git a/core b/core index 6de78f3..072a7db 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 6de78f3365823cdd4f9fd3223a340fcae56bcb08 +Subproject commit 072a7dbf93cb36a4fce441cbd802c7dfc7d598ab From fe24e3386f0da64a27876f7d5c9bc3ec3049323d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 21 May 2024 08:51:28 +0800 Subject: [PATCH 39/89] Prepare 6.44.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index 47d6105..b6619d1 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -2,6 +2,25 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 6.44.0 + +Released: 2024-05-21 + +### Changes + +* Update minimum support for Testbench Core v6.50.0+. ([v6.49.6...v6.50.0](https://github.com/orchestral/testbench-core/compare/v6.49.6...v6.50.0)) + +#### Testbench Changes + +##### Changes + +* Uses `TESTBENCH_WORKING_PATH` from environment variable before fallback to `getcwd()`. +* PHPStan Improvements. + +##### Fixes + +* Backport fixes to routing registration using macro with Workbench. + ## 6.43.3 Released: 2024-04-16 From 8e6af529949f18b118a0732044db486136edc028 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 21 May 2024 08:58:39 +0800 Subject: [PATCH 40/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 6 +++--- core | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 7cf78d8..f21f698 100644 --- a/composer.json +++ b/composer.json @@ -22,10 +22,10 @@ "require": { "php": "^8.0", "fakerphp/faker": "^1.21", - "laravel/framework": "^9.52.15", + "laravel/framework": "^9.52.16", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.42.7", - "orchestra/workbench": "^1.4 || ^7.4", + "orchestra/testbench-core": "^7.43", + "orchestra/workbench": "^1.4.1 || ^7.5", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", "symfony/yaml": "^6.0.9", diff --git a/core b/core index 0120f54..96ca77e 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 0120f5428e6ea9654a7ffe9de1b7d3b48db73375 +Subproject commit 96ca77e5d6fa1a0d371a070be23dbc01cdd595ab From 6bca534df0cecec3dcfbe445c763d9c7ce599d07 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 21 May 2024 09:03:24 +0800 Subject: [PATCH 41/89] Prepare 7.42.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index 467c9e0..29a6966 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -2,6 +2,25 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 7.42.0 + +Released: 2024-05-21 + +### Changes + +* Update minimum support for Testbench Core v7.43.0+. ([v7.42.6...v7.43.0](https://github.com/orchestral/testbench-core/compare/v7.42.6...v7.43.0)) + +#### Testbench Changes + +##### Changes + +* Uses `TESTBENCH_WORKING_PATH` from environment variable before fallback to `getcwd()`. +* PHPStan Improvements. + +##### Fixes + +* Backport fixes to routing registration using macro with Workbench. + ## 7.41.3 Released: 2024-04-16 From e88d1e3de348411df93e32dd02ebb7344c9de7f9 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 21 May 2024 09:25:32 +0800 Subject: [PATCH 42/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 6 +++--- core | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index b9d29ea..80b0919 100644 --- a/composer.json +++ b/composer.json @@ -23,10 +23,10 @@ "php": "^8.1", "composer-runtime-api": "^2.2", "fakerphp/faker": "^1.21", - "laravel/framework": "^10.40", + "laravel/framework": "^10.48.10", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.23.10", - "orchestra/workbench": "^1.4 || ^8.4", + "orchestra/testbench-core": "^8.24", + "orchestra/workbench": "^1.4.1 || ^8.5", "phpunit/phpunit": "^9.6 || ^10.1", "symfony/process": "^6.2", "symfony/yaml": "^6.2", diff --git a/core b/core index 0b4bf76..0d541a7 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 0b4bf76d9ab2b5d6f3a7d9a956e5affbd04bbe4d +Subproject commit 0d541a77c8497ef9d80f34322269417dbcbf216e From a371e763ebed1b5318d55782a41f5aa9f55768c0 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 21 May 2024 09:28:37 +0800 Subject: [PATCH 43/89] Prepare 8.23.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index 77226d0..16fde79 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,25 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.23.0 + +Released: 2024-05-21 + +### Changes + +* Update minimum support for Testbench Core v8.24.0+. ([v8.23.9...v8.24.0](https://github.com/orchestral/testbench-core/compare/v8.23.9...v8.24.0)) + +#### Testbench Changes + +###### Changes + +* Uses `TESTBENCH_WORKING_PATH` from environment variable before fallback to `getcwd()`. +* PHPStan Improvements. + +##### Fixes + +* Backport fixes to routing registration using macro with Workbench. + ## 8.22.3 Released: 2024-04-16 @@ -12,8 +31,6 @@ Released: 2024-04-16 #### Testbench Changes -##### Fixes - ###### Changes * Allows `Orchestra\Testbench\remote` to accept `$env` with either `array` or `string`. From c7f59807e5a67e5064875f36c5d9e44b89c9e4a0 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 21 May 2024 09:39:48 +0800 Subject: [PATCH 44/89] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 81b4f9e..18ad784 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -84,7 +84,7 @@ jobs: steps: - name: Checkout repository and submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -96,7 +96,7 @@ jobs: coverage: none - name: Install dependencies - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" with: dependency-versions: "${{ matrix.dependencies }}" composer-options: "--prefer-dist --no-cache --with=phpunit/phpunit:${{ matrix.phpunit }}" From 1e97dd54a7bdbafbfc1831ebf94da3bcaabb771f Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 21 May 2024 09:43:38 +0800 Subject: [PATCH 45/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 6 +++--- core | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index c8ef5e5..d727a39 100644 --- a/composer.json +++ b/composer.json @@ -23,10 +23,10 @@ "php": "^8.2", "composer-runtime-api": "^2.2", "fakerphp/faker": "^1.23", - "laravel/framework": "^11.1", + "laravel/framework": "^11.7", "mockery/mockery": "^1.6", - "orchestra/testbench-core": "^9.0.14", - "orchestra/workbench": "^9.0", + "orchestra/testbench-core": "^9.1", + "orchestra/workbench": "^9.1", "phpunit/phpunit": "^10.5 || ^11.0.1", "symfony/process": "^7.0", "symfony/yaml": "^7.0", diff --git a/core b/core index eabe0c7..174eca9 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit eabe0c72e787aae29df96bd4e33c61fffa6d5edc +Subproject commit 174eca97e949c15250dc21a4c34835eedab72599 From bb7fe3306595ab71abedb53366ce0b306415d90e Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 21 May 2024 09:46:07 +0800 Subject: [PATCH 46/89] Prepare 9.1.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index 5e4699f..d743e50 100644 --- a/CHANGELOG-9.x.md +++ b/CHANGELOG-9.x.md @@ -2,6 +2,27 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 9.1.0 + +Released: 2024-05-21 + +### Changes + +* Update minimum support for Testbench Core v9.1.0+. ([v9.0.13...v9.1.0](https://github.com/orchestral/testbench-core/compare/v9.0.13...v9.1.0)) + +#### Testbench Changes + +##### Changes + +* Uses `TESTBENCH_WORKING_PATH` from environment variable before fallback to `getcwd()`. +* PHPStan Improvements. +* Add support for PHPUnit 11.1. +* Update skeleton to match v11.0.7. + +##### Fixes + +* Fixes routing registration using macro with Workbench. + ## 9.0.4 Released: 2024-04-16 From a0e15f94d2e2754765cbd640dcf52b1523385149 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 1 Jun 2024 17:54:53 +0800 Subject: [PATCH 47/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 76332aa..3949ca5 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "php": "^7.3 || ^8.0", "laravel/framework": "^8.83.27", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.50", + "orchestra/testbench-core": "^6.50.1", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, diff --git a/core b/core index 072a7db..e2f995a 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 072a7dbf93cb36a4fce441cbd802c7dfc7d598ab +Subproject commit e2f995addf1afc57dea618d0460151dea3a7ad45 From 4054c284b0628ca18592af597e3abfa3750bebe0 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 1 Jun 2024 17:57:38 +0800 Subject: [PATCH 48/89] Prepare 6.44.1 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index b6619d1..f8238ae 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -2,6 +2,20 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 6.44.1 + +Released: 2024-06-01 + +### Changes + +* Update minimum support for Testbench Core v6.50.1+. ([v6.50.0...v6.50.1](https://github.com/orchestral/testbench-core/compare/v6.50.0...v6.50.1)) + +#### Testbench Changes + +##### Fixes + +* Fixes `Orchestra\Testbench\Attributes\RequiresLaravel` attribute usage. + ## 6.44.0 Released: 2024-05-21 From 22ff2fb71212bc4e600c4446d8a67ce0c2382be8 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 1 Jun 2024 18:09:52 +0800 Subject: [PATCH 49/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f21f698..97b1309 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.16", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.43", + "orchestra/testbench-core": "^7.43.2", "orchestra/workbench": "^1.4.1 || ^7.5", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", diff --git a/core b/core index 96ca77e..e6b44a0 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 96ca77e5d6fa1a0d371a070be23dbc01cdd595ab +Subproject commit e6b44a05163198bc8517b45a8a89c590bc2d2702 From e1cc1f3a53d55280fc72a4d5fbf3d190df7165e8 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 1 Jun 2024 18:23:48 +0800 Subject: [PATCH 50/89] Prepare 7.42.1 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index 29a6966..6041a99 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -2,6 +2,24 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 7.42.1 + +Released: 2024-06-01 + +### Changes + +* Update minimum support for Testbench Core v7.43.2+. ([v7.43.0...v7.43.2](https://github.com/orchestral/testbench-core/compare/v7.43.0...v7.43.2)) + +#### Testbench Changes + +##### Changes + +* Utilise `Orchestra\Testbench\package_path()` function instead of `TESTBENCH_WORKING_PATH` constant. + +##### Fixes + +* Fixes `Orchestra\Testbench\Attributes\RequiresLaravel` attribute usage. + ## 7.42.0 Released: 2024-05-21 From 238001364e7ddd2c46c6ca129b3375223c27a498 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 1 Jun 2024 18:30:04 +0800 Subject: [PATCH 51/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 80b0919..bc59064 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.48.10", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.24", + "orchestra/testbench-core": "^8.24.2", "orchestra/workbench": "^1.4.1 || ^8.5", "phpunit/phpunit": "^9.6 || ^10.1", "symfony/process": "^6.2", diff --git a/core b/core index 0d541a7..756519e 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 0d541a77c8497ef9d80f34322269417dbcbf216e +Subproject commit 756519effeac591971c313ee830ed625ffac8681 From 70d661a02095dc7d6b667a557be268e805394d8d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 1 Jun 2024 18:39:39 +0800 Subject: [PATCH 52/89] Prepare 8.23.1 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index 16fde79..d1d971e 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,24 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.23.1 + +Released: 2024-06-01 + +### Changes + +* Update minimum support for Testbench Core v8.24.2+. ([v8.24.0...v8.24.2](https://github.com/orchestral/testbench-core/compare/v8.24.0...v8.24.2)) + +#### Testbench Changes + +##### Changes + +* Utilise `Orchestra\Testbench\package_path()` function instead of `TESTBENCH_WORKING_PATH` constant. + +##### Fixes + +* Fixes `Orchestra\Testbench\Attributes\RequiresLaravel` attribute usage. + ## 8.23.0 Released: 2024-05-21 @@ -12,7 +30,7 @@ Released: 2024-05-21 #### Testbench Changes -###### Changes +##### Changes * Uses `TESTBENCH_WORKING_PATH` from environment variable before fallback to `getcwd()`. * PHPStan Improvements. From aa6f17400268395618b0493d6e1ee592d2cec3e0 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 1 Jun 2024 18:46:55 +0800 Subject: [PATCH 53/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- workbench/routes/web.php | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index d727a39..c86c72b 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.23", "laravel/framework": "^11.7", "mockery/mockery": "^1.6", - "orchestra/testbench-core": "^9.1", + "orchestra/testbench-core": "^9.1.2", "orchestra/workbench": "^9.1", "phpunit/phpunit": "^10.5 || ^11.0.1", "symfony/process": "^7.0", diff --git a/core b/core index 174eca9..37ed7cc 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 174eca97e949c15250dc21a4c34835eedab72599 +Subproject commit 37ed7cca1603c57e729388e7df6c13f87ba37bbb diff --git a/workbench/routes/web.php b/workbench/routes/web.php index 96553d9..2b56da1 100644 --- a/workbench/routes/web.php +++ b/workbench/routes/web.php @@ -13,9 +13,9 @@ | */ -Route::get('/', function () { - return view('welcome'); -})->name('welcome'); +Route::get('failed', fn () => throw new RuntimeException('Bad route!')); + +Route::get('/', fn () => view('welcome'))->name('welcome'); Route::view('/testbench', 'workbench::testbench')->name('testbench'); Route::text('/hello-world', 'Hello world'); From 95898401376cc006466c5b38960d191ad8010d02 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 1 Jun 2024 18:51:27 +0800 Subject: [PATCH 54/89] Prepare 9.1.1 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index d743e50..c61cc94 100644 --- a/CHANGELOG-9.x.md +++ b/CHANGELOG-9.x.md @@ -2,6 +2,25 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 9.1.1 + +Released: 2024-06-01 + +### Changes + +* Update minimum support for Testbench Core v9.1.2+. ([v9.1.0...v9.1.2](https://github.com/orchestral/testbench-core/compare/v9.1.0...v9.1.2)) + +#### Testbench Changes + +##### Changes + +* Utilise `Orchestra\Testbench\package_path()` function instead of `TESTBENCH_WORKING_PATH` constant. +* Update configuration to match Laravel Framework v11.8.0, + +##### Fixes + +* Fixes `Orchestra\Testbench\Attributes\RequiresLaravel` attribute usage. + ## 9.1.0 Released: 2024-05-21 From e6be53cdcc650d625c566e4db15e7add2486f809 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 4 Jun 2024 20:11:46 +0800 Subject: [PATCH 55/89] Prepare 6.44.2 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 14 ++++++++++++++ composer.json | 2 +- core | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index f8238ae..e7a0f5e 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -2,6 +2,20 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 6.44.2 + +Released: 2024-06-04 + +### Changes + +* Update minimum support for Testbench Core v6.50.2+. ([v6.50.1...v6.50.2](https://github.com/orchestral/testbench-core/compare/v6.50.1...v6.50.2)) + +#### Testbench Changes + +##### Fixes + +* Fixes `Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler()` usage to detect `Workbench\App\Exceptions\Handler` class. + ## 6.44.1 Released: 2024-06-01 diff --git a/composer.json b/composer.json index 3949ca5..adb8a6d 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "php": "^7.3 || ^8.0", "laravel/framework": "^8.83.27", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.50.1", + "orchestra/testbench-core": "^6.50.2", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, diff --git a/core b/core index e2f995a..5460274 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit e2f995addf1afc57dea618d0460151dea3a7ad45 +Subproject commit 5460274d1f85a4880892389ba6e4d0697d4ee7ed From 052adf0d05e4a1bf604049ddd13a97bc99d14b3e Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 4 Jun 2024 20:17:55 +0800 Subject: [PATCH 56/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 97b1309..3a3a833 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.16", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.43.2", + "orchestra/testbench-core": "^7.43.3", "orchestra/workbench": "^1.4.1 || ^7.5", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", diff --git a/core b/core index e6b44a0..74880dc 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit e6b44a05163198bc8517b45a8a89c590bc2d2702 +Subproject commit 74880dc5872e9d3f0e61740fa890d28933e521af From cc4776df383c36981af51de8d988acf0aa87a669 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 4 Jun 2024 20:19:09 +0800 Subject: [PATCH 57/89] Prepare 7.42.2 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index 6041a99..28f3769 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -2,6 +2,20 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 7.42.2 + +Released: 2024-06-04 + +### Changes + +* Update minimum support for Testbench Core v7.43.3+. ([v7.43.2...v7.43.3](https://github.com/orchestral/testbench-core/compare/v7.43.2...v7.43.3)) + +#### Testbench Changes + +##### Fixes + +* Fixes `Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler()` usage to detect `Workbench\App\Exceptions\Handler` class. + ## 7.42.1 Released: 2024-06-01 From a91af05a5ef9ffe7020920c7558e8ae4cfba71a7 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 4 Jun 2024 20:24:16 +0800 Subject: [PATCH 58/89] Prepare 8.23.2 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 14 ++++++++++++++ composer.json | 2 +- core | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index d1d971e..db7012e 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,20 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.23.2 + +Released: 2024-06-04 + +### Changes + +* Update minimum support for Testbench Core v8.24.3+. ([v8.24.2...v8.24.3](https://github.com/orchestral/testbench-core/compare/v8.24.2...v8.24.3)) + +#### Testbench Changes + +##### Fixes + +* Fixes `Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler()` usage to detect `Workbench\App\Exceptions\Handler` class. + ## 8.23.1 Released: 2024-06-01 diff --git a/composer.json b/composer.json index bc59064..e7bb95f 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.48.10", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.24.2", + "orchestra/testbench-core": "^8.24.3", "orchestra/workbench": "^1.4.1 || ^8.5", "phpunit/phpunit": "^9.6 || ^10.1", "symfony/process": "^6.2", diff --git a/core b/core index 756519e..c4daf2f 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 756519effeac591971c313ee830ed625ffac8681 +Subproject commit c4daf2f1929242f4e4cb33b5ebdaaf631df30a46 From e3aa89ddfc76c22c65bf653f220bb906c26726a1 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 4 Jun 2024 20:30:43 +0800 Subject: [PATCH 59/89] Prepare 9.1.2 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 15 +++++++++++++++ composer.json | 2 +- core | 2 +- workbench/routes/api.php | 4 +++- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index c61cc94..494d9b2 100644 --- a/CHANGELOG-9.x.md +++ b/CHANGELOG-9.x.md @@ -2,6 +2,21 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 9.1.2 + +Released: 2024-06-04 + +### Changes + +* Update minimum support for Testbench Core v9.1.3+. ([v9.1.2...v9.1.3](https://github.com/orchestral/testbench-core/compare/v9.1.2...v9.1.3)) + +#### Testbench Changes + +##### Fixes + +* Fixes `Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler()` usage to detect `Workbench\App\Exceptions\Handler` class. +* Fixes `Orchestra\Testbench\Console\Kernel` and `Orchestra\Testbench\Foundation\Console\Kernel` unable to discover commands. + ## 9.1.1 Released: 2024-06-01 diff --git a/composer.json b/composer.json index c86c72b..65545bd 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.23", "laravel/framework": "^11.7", "mockery/mockery": "^1.6", - "orchestra/testbench-core": "^9.1.2", + "orchestra/testbench-core": "^9.1.3", "orchestra/workbench": "^9.1", "phpunit/phpunit": "^10.5 || ^11.0.1", "symfony/process": "^7.0", diff --git a/core b/core index c4daf2f..c5b20db 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit c4daf2f1929242f4e4cb33b5ebdaaf631df30a46 +Subproject commit c5b20dbe859913a24f220d3e8e95f148e6db19bd diff --git a/workbench/routes/api.php b/workbench/routes/api.php index 80d19e3..4e291a1 100644 --- a/workbench/routes/api.php +++ b/workbench/routes/api.php @@ -13,6 +13,8 @@ | */ -Route::get('/hello', function () { +Route::get('api/hello', function () { return response()->json('hello world'); }); + +Route::get('api/failed', fn () => throw new RuntimeException('Bad route!')); From ef5250d919f577caaf12d48e37abbd7535fc9a28 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 13 Jul 2024 14:22:59 +0800 Subject: [PATCH 60/89] wip Signed-off-by: Mior Muhammad Zaki --- bin/sync | 2 +- composer.json | 2 +- core | 2 +- phpunit.xml | 1 - testbench.yaml | 2 +- .../app/Console/Commands/DummyCommand.php | 34 +++++++++++++++ .../Http/Controllers/ExampleController.php | 27 ++++++++++++ workbench/app/Jobs/CustomPayloadJob.php | 15 +++++++ workbench/app/Jobs/RegisterUser.php | 11 +++++ workbench/app/Models/User.php | 42 +++++++++++++++++++ .../Providers/WorkbenchServiceProvider.php | 33 +++++++++++++++ 11 files changed, 166 insertions(+), 5 deletions(-) create mode 100644 workbench/app/Console/Commands/DummyCommand.php create mode 100644 workbench/app/Http/Controllers/ExampleController.php create mode 100644 workbench/app/Jobs/CustomPayloadJob.php create mode 100644 workbench/app/Jobs/RegisterUser.php create mode 100644 workbench/app/Models/User.php create mode 100644 workbench/app/Providers/WorkbenchServiceProvider.php diff --git a/bin/sync b/bin/sync index 9fd212e..bdd7f99 100755 --- a/bin/sync +++ b/bin/sync @@ -23,7 +23,7 @@ Illuminate\Support\Collection::make([ $files->copy("{$workingPath}/core/testbench.yaml", "{$workingPath}/testbench.yaml"); Illuminate\Support\Collection::make([ - ...$files->glob("{$workingPath}/core/workbench/app/View/Components/*"), + ...$files->glob("{$workingPath}/core/workbench/app/*"), ])->flatten() ->filter(fn ($file) => is_file($file)) ->each(function ($file) use ($files, $workingPath) { diff --git a/composer.json b/composer.json index adb8a6d..6f97b9e 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "php": "^7.3 || ^8.0", "laravel/framework": "^8.83.27", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.50.2", + "orchestra/testbench-core": "^6.51", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, diff --git a/core b/core index 5460274..dcd1ecd 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 5460274d1f85a4880892389ba6e4d0697d4ee7ed +Subproject commit dcd1ecdfdcad7f7be88fe7fa645cd24caf32a0f2 diff --git a/phpunit.xml b/phpunit.xml index 1d42825..3c155f5 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -30,7 +30,6 @@ - diff --git a/testbench.yaml b/testbench.yaml index bc46ae2..d34acdf 100644 --- a/testbench.yaml +++ b/testbench.yaml @@ -10,8 +10,8 @@ migrations: workbench: discovers: config: true + factories: true web: true api: true commands: true views: true - diff --git a/workbench/app/Console/Commands/DummyCommand.php b/workbench/app/Console/Commands/DummyCommand.php new file mode 100644 index 0000000..e0b099c --- /dev/null +++ b/workbench/app/Console/Commands/DummyCommand.php @@ -0,0 +1,34 @@ +info('It works!'); + + return 0; + } +} diff --git a/workbench/app/Http/Controllers/ExampleController.php b/workbench/app/Http/Controllers/ExampleController.php new file mode 100644 index 0000000..8251147 --- /dev/null +++ b/workbench/app/Http/Controllers/ExampleController.php @@ -0,0 +1,27 @@ +middleware(function ($request, Closure $next) { + $route = app('router')->getCurrentRoute(); + + Assert::assertSame('index', $route->getActionMethod()); + Assert::assertSame(ExampleController::class, \get_class($route->getController())); + + return $next($request); + }); + } + + public function index() + { + return 'ExampleController@index'; + } +} diff --git a/workbench/app/Jobs/CustomPayloadJob.php b/workbench/app/Jobs/CustomPayloadJob.php new file mode 100644 index 0000000..5614e5e --- /dev/null +++ b/workbench/app/Jobs/CustomPayloadJob.php @@ -0,0 +1,15 @@ + + */ + protected $fillable = [ + 'name', + 'email', + 'password', + ]; + + /** + * The attributes that should be hidden for serialization. + * + * @var array + */ + protected $hidden = [ + 'password', + 'remember_token', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'email_verified_at' => 'datetime', + ]; +} diff --git a/workbench/app/Providers/WorkbenchServiceProvider.php b/workbench/app/Providers/WorkbenchServiceProvider.php new file mode 100644 index 0000000..9adb042 --- /dev/null +++ b/workbench/app/Providers/WorkbenchServiceProvider.php @@ -0,0 +1,33 @@ +loadMigrationsFrom(realpath(__DIR__.'/../../database/migrations')); + } + + /** + * Bootstrap services. + * + * @return void + */ + public function boot() + { + Route::macro('text', function (string $url, string $content) { + return $this->get($url, function () use ($content) { + return response($content)->header('Content-Type', 'text/plain'); + }); + }); + } +} From 97d1d94f84bcf913747645211fa26a05c54c15a8 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 13 Jul 2024 14:26:39 +0800 Subject: [PATCH 61/89] Prepare 6.45.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index e7a0f5e..6da14b2 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -2,6 +2,30 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 6.45.0 + +Released: 2024-07-13 + +### Changes + +* Update minimum support for Testbench Core v6.51.0+. ([v6.50.2...v6.51.0](https://github.com/orchestral/testbench-core/compare/v6.50.2...v6.51.0)) + +#### Testbench Changes + +##### Added + +* Added new attributes: + - `Orchestra\Testbench\Attributes\ResolvesLaravel` + - `Orchestra\Testbench\Attributes\UsesFrameworkConfiguration` +* Allows to discover `factories` using Workbench to map `Workbench\App\Models` to `Workbench\Database\Factories` classes. +* Allows to auto discover console command classes from `workbench/app/Console/Commands`. + +##### Changes + +* Implements `JsonSerializable` to `Orchestra\Testbench\Foundation\UndefinedValue`. +* Update skeleton to use `workbench` as default environment value. +* Allow `Orchestra\Testbench\Attributes\Define` and `Orchestra\Testbench\Attributes\DefineEnvironment` to be used on the class level by [@danjohnson95](https://github.com/danjohnson95) + ## 6.44.2 Released: 2024-06-04 From a7cd139793ba08bed28adec165b86579c4196778 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 13 Jul 2024 14:42:29 +0800 Subject: [PATCH 62/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- testbench.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 3a3a833..a094bae 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.16", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.43.3", + "orchestra/testbench-core": "^7.44", "orchestra/workbench": "^1.4.1 || ^7.5", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", diff --git a/core b/core index 74880dc..5dad4e7 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 74880dc5872e9d3f0e61740fa890d28933e521af +Subproject commit 5dad4e7070fee4c3bf950588c79f5ded69517e19 diff --git a/testbench.yaml b/testbench.yaml index 1473fa5..4fcbf85 100644 --- a/testbench.yaml +++ b/testbench.yaml @@ -10,6 +10,7 @@ migrations: workbench: discovers: config: true + factories: true web: true api: true commands: true From f1091b1665204b67d589741f78e39f95ff136a89 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 13 Jul 2024 14:43:26 +0800 Subject: [PATCH 63/89] wip Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 24 +++++++++++ bin/sync | 2 +- phpunit.xml | 1 - .../app/Console/Commands/DummyCommand.php | 34 +++++++++++++++ .../Http/Controllers/ExampleController.php | 27 ++++++++++++ workbench/app/Jobs/CustomPayloadJob.php | 15 +++++++ workbench/app/Jobs/RegisterUser.php | 11 +++++ workbench/app/Models/User.php | 42 +++++++++++++++++++ .../Providers/WorkbenchServiceProvider.php | 33 +++++++++++++++ 9 files changed, 187 insertions(+), 2 deletions(-) create mode 100644 workbench/app/Console/Commands/DummyCommand.php create mode 100644 workbench/app/Http/Controllers/ExampleController.php create mode 100644 workbench/app/Jobs/CustomPayloadJob.php create mode 100644 workbench/app/Jobs/RegisterUser.php create mode 100644 workbench/app/Models/User.php create mode 100644 workbench/app/Providers/WorkbenchServiceProvider.php diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index e7a0f5e..6da14b2 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -2,6 +2,30 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 6.45.0 + +Released: 2024-07-13 + +### Changes + +* Update minimum support for Testbench Core v6.51.0+. ([v6.50.2...v6.51.0](https://github.com/orchestral/testbench-core/compare/v6.50.2...v6.51.0)) + +#### Testbench Changes + +##### Added + +* Added new attributes: + - `Orchestra\Testbench\Attributes\ResolvesLaravel` + - `Orchestra\Testbench\Attributes\UsesFrameworkConfiguration` +* Allows to discover `factories` using Workbench to map `Workbench\App\Models` to `Workbench\Database\Factories` classes. +* Allows to auto discover console command classes from `workbench/app/Console/Commands`. + +##### Changes + +* Implements `JsonSerializable` to `Orchestra\Testbench\Foundation\UndefinedValue`. +* Update skeleton to use `workbench` as default environment value. +* Allow `Orchestra\Testbench\Attributes\Define` and `Orchestra\Testbench\Attributes\DefineEnvironment` to be used on the class level by [@danjohnson95](https://github.com/danjohnson95) + ## 6.44.2 Released: 2024-06-04 diff --git a/bin/sync b/bin/sync index a31db68..cd198b1 100755 --- a/bin/sync +++ b/bin/sync @@ -23,7 +23,7 @@ Illuminate\Support\Collection::make([ $files->copy("{$workingPath}/core/testbench.yaml", "{$workingPath}/testbench.yaml"); Illuminate\Support\Collection::make([ - ...$files->glob("{$workingPath}/core/workbench/app/View/Components/*"), + ...$files->glob("{$workingPath}/core/workbench/app/*"), ])->flatten() ->filter(fn ($file) => is_file($file)) ->each(function ($file) use ($files, $workingPath) { diff --git a/phpunit.xml b/phpunit.xml index 1e8c1ea..f31f353 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -32,7 +32,6 @@ - diff --git a/workbench/app/Console/Commands/DummyCommand.php b/workbench/app/Console/Commands/DummyCommand.php new file mode 100644 index 0000000..e0b099c --- /dev/null +++ b/workbench/app/Console/Commands/DummyCommand.php @@ -0,0 +1,34 @@ +info('It works!'); + + return 0; + } +} diff --git a/workbench/app/Http/Controllers/ExampleController.php b/workbench/app/Http/Controllers/ExampleController.php new file mode 100644 index 0000000..8251147 --- /dev/null +++ b/workbench/app/Http/Controllers/ExampleController.php @@ -0,0 +1,27 @@ +middleware(function ($request, Closure $next) { + $route = app('router')->getCurrentRoute(); + + Assert::assertSame('index', $route->getActionMethod()); + Assert::assertSame(ExampleController::class, \get_class($route->getController())); + + return $next($request); + }); + } + + public function index() + { + return 'ExampleController@index'; + } +} diff --git a/workbench/app/Jobs/CustomPayloadJob.php b/workbench/app/Jobs/CustomPayloadJob.php new file mode 100644 index 0000000..5614e5e --- /dev/null +++ b/workbench/app/Jobs/CustomPayloadJob.php @@ -0,0 +1,15 @@ + + */ + protected $fillable = [ + 'name', + 'email', + 'password', + ]; + + /** + * The attributes that should be hidden for serialization. + * + * @var array + */ + protected $hidden = [ + 'password', + 'remember_token', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'email_verified_at' => 'datetime', + ]; +} diff --git a/workbench/app/Providers/WorkbenchServiceProvider.php b/workbench/app/Providers/WorkbenchServiceProvider.php new file mode 100644 index 0000000..9adb042 --- /dev/null +++ b/workbench/app/Providers/WorkbenchServiceProvider.php @@ -0,0 +1,33 @@ +loadMigrationsFrom(realpath(__DIR__.'/../../database/migrations')); + } + + /** + * Bootstrap services. + * + * @return void + */ + public function boot() + { + Route::macro('text', function (string $url, string $content) { + return $this->get($url, function () use ($content) { + return response($content)->header('Content-Type', 'text/plain'); + }); + }); + } +} From 71fc892a624fc207257077bcab2baae67e8fdcb8 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 13 Jul 2024 14:47:33 +0800 Subject: [PATCH 64/89] Prepare 7.43.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index 28f3769..7238d82 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -2,6 +2,34 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 7.43.0 + +Released: 2024-07-13 + +### Changes + +* Update minimum support for Testbench Core v7.44.0+. ([v7.43.3...v7.44.0](https://github.com/orchestral/testbench-core/compare/v7.43.3...v7.44.0)) + +#### Testbench Changes + +##### Added + +* Added new attributes: + - `Orchestra\Testbench\Attributes\ResolvesLaravel` + - `Orchestra\Testbench\Attributes\UsesFrameworkConfiguration` +* Allows to discover `factories` using Workbench to map `Workbench\App\Models` to `Workbench\Database\Factories` classes. +* Allows to auto discover console command classes from `workbench/app/Console/Commands`. + +##### Changes + +* Implements `JsonSerializable` to `Orchestra\Testbench\Foundation\UndefinedValue`. +* Update skeleton to use `workbench` as default environment value. +* Allow `Orchestra\Testbench\Attributes\Define` and `Orchestra\Testbench\Attributes\DefineEnvironment` to be used on the class level by [@danjohnson95](https://github.com/danjohnson95) + +##### Fixes + +* Ensure `usesTestingFeature()` attribute registration is loaded before class attributes instead of method attributes. + ## 7.42.2 Released: 2024-06-04 From f7ac8b8ec8584e42d8f393e5581f2e2984b8a5f3 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 13 Jul 2024 14:57:02 +0800 Subject: [PATCH 65/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- testbench.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index e7bb95f..0f7e7ba 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.48.10", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.24.3", + "orchestra/testbench-core": "^8.25", "orchestra/workbench": "^1.4.1 || ^8.5", "phpunit/phpunit": "^9.6 || ^10.1", "symfony/process": "^6.2", diff --git a/core b/core index c4daf2f..17cbaf5 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit c4daf2f1929242f4e4cb33b5ebdaaf631df30a46 +Subproject commit 17cbaf568fe6c84039295b3de09a1b049339d928 diff --git a/testbench.yaml b/testbench.yaml index 1473fa5..4fcbf85 100644 --- a/testbench.yaml +++ b/testbench.yaml @@ -10,6 +10,7 @@ migrations: workbench: discovers: config: true + factories: true web: true api: true commands: true From 2e5ca3ac1e8170a787532c4fc19403f91e9dd7d4 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 13 Jul 2024 15:05:48 +0800 Subject: [PATCH 66/89] Prepare 8.24.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index db7012e..8fc5481 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,34 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.24.0 + +Released: 2024-07-13 + +### Changes + +* Update minimum support for Testbench Core v8.25.0+. ([v8.24.3...v8.25.0](https://github.com/orchestral/testbench-core/compare/v8.24.3...v8.25.0)) + +#### Testbench Changes + +##### Added + +* Added new attributes: + - `Orchestra\Testbench\Attributes\ResolvesLaravel` + - `Orchestra\Testbench\Attributes\UsesFrameworkConfiguration` +* Allows to discover `factories` using Workbench to map `Workbench\App\Models` to `Workbench\Database\Factories` classes. +* Allows to auto discover console command classes from `workbench/app/Console/Commands`. + +##### Changes + +* Implements `JsonSerializable` to `Orchestra\Testbench\Foundation\UndefinedValue`. +* Update skeleton to use `workbench` as default environment value. +* Allow `Orchestra\Testbench\Attributes\Define` and `Orchestra\Testbench\Attributes\DefineEnvironment` to be used on the class level by [@danjohnson95](https://github.com/danjohnson95) + +##### Fixes + +* Ensure `usesTestingFeature()` attribute registration is loaded before class attributes instead of method attributes. + ## 8.23.2 Released: 2024-06-04 From 1dc2efb72aa4acfad445ecba6a216f1d50d9b1eb Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 13 Jul 2024 15:16:37 +0800 Subject: [PATCH 67/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 4 ++-- core | 2 +- testbench.yaml | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 65545bd..0fbfad9 100644 --- a/composer.json +++ b/composer.json @@ -23,9 +23,9 @@ "php": "^8.2", "composer-runtime-api": "^2.2", "fakerphp/faker": "^1.23", - "laravel/framework": "^11.7", + "laravel/framework": "^11.11", "mockery/mockery": "^1.6", - "orchestra/testbench-core": "^9.1.3", + "orchestra/testbench-core": "^9.2", "orchestra/workbench": "^9.1", "phpunit/phpunit": "^10.5 || ^11.0.1", "symfony/process": "^7.0", diff --git a/core b/core index c5b20db..adaa3e0 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit c5b20dbe859913a24f220d3e8e95f148e6db19bd +Subproject commit adaa3e09de1005ffadd9f6fd7b49133b0021753e diff --git a/testbench.yaml b/testbench.yaml index 56dc830..ab80f09 100644 --- a/testbench.yaml +++ b/testbench.yaml @@ -11,6 +11,7 @@ workbench: health: true discovers: config: true + factories: true web: true api: true commands: true From ccf7c9bdb6b15201a9c91a8cd0d60db721147987 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 13 Jul 2024 15:23:13 +0800 Subject: [PATCH 68/89] Prepare 9.2.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index 494d9b2..ba640e4 100644 --- a/CHANGELOG-9.x.md +++ b/CHANGELOG-9.x.md @@ -2,6 +2,35 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 9.2.0 + +Released: 2024-07-13 + +### Changes + +* Update minimum support for Testbench Core v9.2.0+. ([v9.1.3...v9.2.0](https://github.com/orchestral/testbench-core/compare/v9.1.3...v9.2.0)) + +#### Testbench Changes + +##### Added + +* Added new attributes: + - `Orchestra\Testbench\Attributes\ResolvesLaravel` + - `Orchestra\Testbench\Attributes\UsesFrameworkConfiguration` +* Allows to discover `factories` using Workbench to map `Workbench\App\Models` to `Workbench\Database\Factories` classes. +* Allows to auto discover console command classes from `workbench/app/Console/Commands`. + +##### Changes + +* Bump minimum support to Laravel Framework v11.11. +* Implements `JsonSerializable` to `Orchestra\Testbench\Foundation\UndefinedValue`. +* Update skeleton to use `workbench` as default environment value. +* Allow `Orchestra\Testbench\Attributes\Define` and `Orchestra\Testbench\Attributes\DefineEnvironment` to be used on the class level by [@danjohnson95](https://github.com/danjohnson95) + +##### Fixes + +* Ensure `usesTestingFeature()` attribute registration is loaded before class attributes instead of method attributes. + ## 9.1.2 Released: 2024-06-04 From 2de183fb74a15fde82d44929b03bb465fcaaaaa8 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 31 Jul 2024 14:18:52 +0800 Subject: [PATCH 69/89] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index dcd1ecd..846a9b5 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit dcd1ecdfdcad7f7be88fe7fa645cd24caf32a0f2 +Subproject commit 846a9b59f431d1e130b7522473173d2cb45fbabb From 16352e8aa7e64a8295cb492cfcf0712185590146 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 10 Aug 2024 18:49:57 +0800 Subject: [PATCH 70/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 6f97b9e..1a46091 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "php": "^7.3 || ^8.0", "laravel/framework": "^8.83.27", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.51", + "orchestra/testbench-core": "^6.51.1", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, From 2987ea784e0ab7da2356b78b524feedab5c58ae6 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 10 Aug 2024 18:51:39 +0800 Subject: [PATCH 71/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index a094bae..d1ffcc4 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.16", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.44", + "orchestra/testbench-core": "^7.44.1", "orchestra/workbench": "^1.4.1 || ^7.5", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", diff --git a/core b/core index 5dad4e7..a213025 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 5dad4e7070fee4c3bf950588c79f5ded69517e19 +Subproject commit a213025b5211957587e82e7cd137d20243fdf7c6 From dd9ce4c35c3495ef36c334e3b613915332695483 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 10 Aug 2024 18:52:55 +0800 Subject: [PATCH 72/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d1ffcc4..ae3d267 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "laravel/framework": "^9.52.16", "mockery/mockery": "^1.5.1", "orchestra/testbench-core": "^7.44.1", - "orchestra/workbench": "^1.4.1 || ^7.5", + "orchestra/workbench": "^7.8", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", "symfony/yaml": "^6.0.9", From 587dd1671730886d3fb40c3f742ed518a5f31ae3 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 10 Aug 2024 18:55:58 +0800 Subject: [PATCH 73/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 4 ++-- core | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 0f7e7ba..6193cf3 100644 --- a/composer.json +++ b/composer.json @@ -25,8 +25,8 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.48.10", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.25", - "orchestra/workbench": "^1.4.1 || ^8.5", + "orchestra/testbench-core": "^8.25.1", + "orchestra/workbench": "^8.8", "phpunit/phpunit": "^9.6 || ^10.1", "symfony/process": "^6.2", "symfony/yaml": "^6.2", diff --git a/core b/core index 17cbaf5..adbb367 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 17cbaf568fe6c84039295b3de09a1b049339d928 +Subproject commit adbb3674efd6e2f3fa46cbc87ff9142a733492d4 From 264836f81f1d90252b60887a19c81e40844694b5 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sun, 11 Aug 2024 01:03:53 +0800 Subject: [PATCH 74/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 4 ++-- core | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 0fbfad9..d52bb13 100644 --- a/composer.json +++ b/composer.json @@ -25,8 +25,8 @@ "fakerphp/faker": "^1.23", "laravel/framework": "^11.11", "mockery/mockery": "^1.6", - "orchestra/testbench-core": "^9.2", - "orchestra/workbench": "^9.1", + "orchestra/testbench-core": "^9.2.2", + "orchestra/workbench": "^9.4", "phpunit/phpunit": "^10.5 || ^11.0.1", "symfony/process": "^7.0", "symfony/yaml": "^7.0", diff --git a/core b/core index adaa3e0..63d3bc4 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit adaa3e09de1005ffadd9f6fd7b49133b0021753e +Subproject commit 63d3bc427fe0d9a1ba724d965742f41718c07dd3 From 2e00d714a746ab0ab6cdd472d973ad252f161128 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 08:40:35 +0800 Subject: [PATCH 75/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 4 ++-- core | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index ae3d267..dfb2455 100644 --- a/composer.json +++ b/composer.json @@ -24,8 +24,8 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.16", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.44.1", - "orchestra/workbench": "^7.8", + "orchestra/testbench-core": "^7.45", + "orchestra/workbench": "^7.9", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", "symfony/yaml": "^6.0.9", diff --git a/core b/core index a213025..68c0fe4 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit a213025b5211957587e82e7cd137d20243fdf7c6 +Subproject commit 68c0fe453377ba1883313775106fd53f28c5d6a8 From 1075f43816539755b58f89020801a14d5ba0dccf Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 10:40:22 +0800 Subject: [PATCH 76/89] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yaml | 4 +--- .gitmodules | 4 ---- bin/sync | 30 ++++++++++-------------------- composer.json | 10 +++++++--- core | 1 - phpunit.xml | 2 +- 6 files changed, 19 insertions(+), 32 deletions(-) delete mode 100644 .gitmodules delete mode 160000 core diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ce2b08e..c57a3b0 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -30,10 +30,8 @@ jobs: name: PHP:${{ matrix.php }} with PHPUnit:${{ matrix.phpunit }} on ${{ matrix.os }} (${{ matrix.dependencies }}) steps: - - name: Checkout repository and submodules + - name: Checkout repository uses: actions/checkout@v4 - with: - submodules: recursive - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 665ea14..0000000 --- a/.gitmodules +++ /dev/null @@ -1,4 +0,0 @@ -[submodule "core"] - path = core - url = https://github.com/orchestral/testbench-core.git - branch = 6.x diff --git a/bin/sync b/bin/sync index bdd7f99..0dfb62b 100755 --- a/bin/sync +++ b/bin/sync @@ -10,35 +10,25 @@ $files = new Illuminate\Filesystem\Filesystem(); echo ">>>> Checkout branch {$BRANCH}".PHP_EOL; -Illuminate\Support\Collection::make([ - "git checkout $BRANCH", - "git submodule init", - "git submodule foreach git reset --hard HEAD", - "git submodule foreach git checkout $BRANCH", - "git submodule foreach git pull", -])->each(function ($command) use ($workingPath) { - Symfony\Component\Process\Process::fromShellCommandline($command, $workingPath)->mustRun(); -}); - -$files->copy("{$workingPath}/core/testbench.yaml", "{$workingPath}/testbench.yaml"); +$files->copy("{$workingPath}/vendor/orchestra/testbench-core/testbench.yaml", "{$workingPath}/testbench.yaml"); Illuminate\Support\Collection::make([ - ...$files->glob("{$workingPath}/core/workbench/app/*"), + ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/app/*"), ])->flatten() ->filter(fn ($file) => is_file($file)) ->each(function ($file) use ($files, $workingPath) { - $files->copy($file, "{$workingPath}/workbench".Illuminate\Support\Str::after($file, "{$workingPath}/core/workbench")); + $files->copy($file, "{$workingPath}/workbench".Illuminate\Support\Str::after($file, "{$workingPath}/vendor/orchestra/testbench-core/workbench")); }); Illuminate\Support\Collection::make([ - ...$files->glob("{$workingPath}/core/workbench/config/*.php"), - ...$files->glob("{$workingPath}/core/workbench/config/*/*.php"), - ...$files->glob("{$workingPath}/core/workbench/routes/*"), - ...$files->glob("{$workingPath}/core/workbench/resources/lang/en/*"), - ...$files->glob("{$workingPath}/core/workbench/resources/views/components/*"), - ...$files->glob("{$workingPath}/core/workbench/resources/views/*"), + ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/config/*.php"), + ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/config/*/*.php"), + ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/routes/*"), + ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/resources/lang/en/*"), + ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/resources/views/components/*"), + ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/resources/views/*"), ])->flatten() ->filter(fn ($file) => is_file($file)) ->each(function ($file) use ($files, $workingPath) { - $files->copy($file, "{$workingPath}/workbench".Illuminate\Support\Str::after($file, "{$workingPath}/core/workbench")); + $files->copy($file, "{$workingPath}/workbench".Illuminate\Support\Str::after($file, "{$workingPath}/vendor/orchestra/testbench-core/workbench")); }); diff --git a/composer.json b/composer.json index 1a46091..bfdfd35 100644 --- a/composer.json +++ b/composer.json @@ -27,6 +27,13 @@ "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, + "config": { + "preferred-install": { + "orchestra/testbench-core": "source", + "*": "auto" + }, + "sort-packages": true + }, "scripts": { "post-autoload-dump": "@prepare", "prepare": "@php vendor/bin/testbench package:discover --ansi", @@ -36,9 +43,6 @@ "@test" ] }, - "config": { - "sort-packages": true - }, "prefer-stable": true, "minimum-stability": "dev" } diff --git a/core b/core deleted file mode 160000 index 846a9b5..0000000 --- a/core +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 846a9b59f431d1e130b7522473173d2cb45fbabb diff --git a/phpunit.xml b/phpunit.xml index 3c155f5..7ef474e 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -19,7 +19,7 @@ - ./core/tests/ + ./vendor/orchestra/testbench-core/tests/ From 5bec2f293804eeec37d55fde52d1e25b0f8f2e78 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 10:41:44 +0800 Subject: [PATCH 77/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index bfdfd35..9aab6b1 100644 --- a/composer.json +++ b/composer.json @@ -13,10 +13,10 @@ ], "autoload-dev": { "psr-4": { - "Orchestra\\Testbench\\Tests\\": "core/tests/", - "Workbench\\App\\": "core/workbench/app/", - "Workbench\\Database\\Factories\\": "core/workbench/database/factories", - "Workbench\\Database\\Seeders\\": "core/workbench/database/seeders" + "Orchestra\\Testbench\\Tests\\": "vendor/orchestra/testbench-core/tests/", + "Workbench\\App\\": "workbench/app/", + "Workbench\\Database\\Factories\\": "workbench/database/factories", + "Workbench\\Database\\Seeders\\": "workbench/database/seeders" } }, "require": { From 7b07a072e3da653ce6e0432586d27b9455942886 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 11:06:06 +0800 Subject: [PATCH 78/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 9aab6b1..5801936 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "php": "^7.3 || ^8.0", "laravel/framework": "^8.83.27", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.51.1", + "orchestra/testbench-core": "^6.51.2", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, From e6cc6ffca4641b0ec681553712e3f6fc9b3cb0ac Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 11:47:38 +0800 Subject: [PATCH 79/89] wip Signed-off-by: Mior Muhammad Zaki --- bin/sync | 7 ++++ testbench.yaml | 2 +- workbench/database/factories/UserFactory.php | 39 ++++++++++++++++++++ 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 workbench/database/factories/UserFactory.php diff --git a/bin/sync b/bin/sync index 0dfb62b..0c3f941 100755 --- a/bin/sync +++ b/bin/sync @@ -23,6 +23,7 @@ Illuminate\Support\Collection::make([ Illuminate\Support\Collection::make([ ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/config/*.php"), ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/config/*/*.php"), + ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/database/factories/*.php"), ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/routes/*"), ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/resources/lang/en/*"), ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/resources/views/components/*"), @@ -32,3 +33,9 @@ Illuminate\Support\Collection::make([ ->each(function ($file) use ($files, $workingPath) { $files->copy($file, "{$workingPath}/workbench".Illuminate\Support\Str::after($file, "{$workingPath}/vendor/orchestra/testbench-core/workbench")); }); + +transform([ + " - workbench/database/migrations" => " - vendor/orchestra/testbench-core/workbench/database/migrations", +], function ($changes) use ($files, $workingPath) { + $files->replaceInFile(array_keys($changes), array_values($changes), "{$workingPath}/testbench.yaml"); +}); diff --git a/testbench.yaml b/testbench.yaml index d34acdf..0a8fec9 100644 --- a/testbench.yaml +++ b/testbench.yaml @@ -5,7 +5,7 @@ env: APP_NAME: "Testbench" migrations: - - workbench/database/migrations + - vendor/orchestra/testbench-core/workbench/database/migrations workbench: discovers: diff --git a/workbench/database/factories/UserFactory.php b/workbench/database/factories/UserFactory.php new file mode 100644 index 0000000..718b9a1 --- /dev/null +++ b/workbench/database/factories/UserFactory.php @@ -0,0 +1,39 @@ + $this->faker->name(), + 'email' => $this->faker->unique()->safeEmail(), + 'email_verified_at' => now(), + 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password + 'remember_token' => Str::random(10), + ]; + } + + /** + * Indicate that the model's email address should be unverified. + * + * @return \Illuminate\Database\Eloquent\Factories\Factory + */ + public function unverified() + { + return $this->state(function (array $attributes) { + return [ + 'email_verified_at' => null, + ]; + }); + } +} From be8f855b1a4fcf1baa3f4ed71c77ef76a01ca634 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 11:59:57 +0800 Subject: [PATCH 80/89] wip Signed-off-by: Mior Muhammad Zaki --- bin/sync | 20 +++++----- composer.json | 4 +- workbench/database/factories/UserFactory.php | 39 -------------------- 3 files changed, 12 insertions(+), 51 deletions(-) delete mode 100644 workbench/database/factories/UserFactory.php diff --git a/bin/sync b/bin/sync index 0c3f941..0d3e043 100755 --- a/bin/sync +++ b/bin/sync @@ -13,25 +13,25 @@ echo ">>>> Checkout branch {$BRANCH}".PHP_EOL; $files->copy("{$workingPath}/vendor/orchestra/testbench-core/testbench.yaml", "{$workingPath}/testbench.yaml"); Illuminate\Support\Collection::make([ - ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/app/*"), + ...$files->allFiles("{$workingPath}/vendor/orchestra/testbench-core/workbench/app/"), ])->flatten() ->filter(fn ($file) => is_file($file)) ->each(function ($file) use ($files, $workingPath) { - $files->copy($file, "{$workingPath}/workbench".Illuminate\Support\Str::after($file, "{$workingPath}/vendor/orchestra/testbench-core/workbench")); + $filename = "{$workingPath}/workbench".Illuminate\Support\Str::after($file, "{$workingPath}/vendor/orchestra/testbench-core/workbench"); + $files->ensureDirectoryExists(Illuminate\Support\Str::before($filename, basename($filename))); + $files->copy($file, $filename); }); Illuminate\Support\Collection::make([ - ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/config/*.php"), - ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/config/*/*.php"), - ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/database/factories/*.php"), - ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/routes/*"), - ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/resources/lang/en/*"), - ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/resources/views/components/*"), - ...$files->glob("{$workingPath}/vendor/orchestra/testbench-core/workbench/resources/views/*"), + ...$files->allFiles("{$workingPath}/vendor/orchestra/testbench-core/workbench/config/"), + ...$files->allFiles("{$workingPath}/vendor/orchestra/testbench-core/workbench/routes/"), + ...$files->allFiles("{$workingPath}/vendor/orchestra/testbench-core/workbench/resources/"), ])->flatten() ->filter(fn ($file) => is_file($file)) ->each(function ($file) use ($files, $workingPath) { - $files->copy($file, "{$workingPath}/workbench".Illuminate\Support\Str::after($file, "{$workingPath}/vendor/orchestra/testbench-core/workbench")); + $filename = "{$workingPath}/workbench".Illuminate\Support\Str::after($file, "{$workingPath}/vendor/orchestra/testbench-core/workbench"); + $files->ensureDirectoryExists(Illuminate\Support\Str::before($filename, basename($filename))); + $files->copy($file, $filename); }); transform([ diff --git a/composer.json b/composer.json index 5801936..2ce14fa 100644 --- a/composer.json +++ b/composer.json @@ -15,8 +15,8 @@ "psr-4": { "Orchestra\\Testbench\\Tests\\": "vendor/orchestra/testbench-core/tests/", "Workbench\\App\\": "workbench/app/", - "Workbench\\Database\\Factories\\": "workbench/database/factories", - "Workbench\\Database\\Seeders\\": "workbench/database/seeders" + "Workbench\\Database\\Factories\\": "vendor/orchestra/testbench-core/workbench/database/factories", + "Workbench\\Database\\Seeders\\": "vendor/orchestra/testbench-core/workbench/database/seeders" } }, "require": { diff --git a/workbench/database/factories/UserFactory.php b/workbench/database/factories/UserFactory.php deleted file mode 100644 index 718b9a1..0000000 --- a/workbench/database/factories/UserFactory.php +++ /dev/null @@ -1,39 +0,0 @@ - $this->faker->name(), - 'email' => $this->faker->unique()->safeEmail(), - 'email_verified_at' => now(), - 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password - 'remember_token' => Str::random(10), - ]; - } - - /** - * Indicate that the model's email address should be unverified. - * - * @return \Illuminate\Database\Eloquent\Factories\Factory - */ - public function unverified() - { - return $this->state(function (array $attributes) { - return [ - 'email_verified_at' => null, - ]; - }); - } -} From f183e3d2f5f385682385bbfb8dbb69f255595d20 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 12:02:05 +0800 Subject: [PATCH 81/89] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c57a3b0..857ad1d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -44,7 +44,7 @@ jobs: uses: "ramsey/composer-install@v3" with: dependency-versions: "${{ matrix.dependencies }}" - composer-options: "--prefer-dist --no-cache --with=phpunit/phpunit:${{ matrix.phpunit }}" + composer-options: "--no-cache --with=phpunit/phpunit:${{ matrix.phpunit }}" - name: Installed dependencies run: | From 10e9b20aa4281b8d35f94330e49c510658add109 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 12:04:59 +0800 Subject: [PATCH 82/89] Prepare 6.45.1 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index 6da14b2..5fe18ae 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -2,6 +2,24 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 6.45.1 + +Released: 2024-07-13 + +### Changes + +* Update minimum support for Testbench Core v6.51.2+. ([v6.51.0...v6.51.2](https://github.com/orchestral/testbench-core/compare/v6.51.0...v6.51.2)) + +#### Testbench Changes + +##### Changes + +* Code Improvements. + +##### Fixes + +* Fixes `InteractsWithPublishedFiles` should only flush published files within `database/migrations` directory. + ## 6.45.0 Released: 2024-07-13 From 675746982f25ceb7be3529893a849b3842a4fd7c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 12:59:18 +0800 Subject: [PATCH 83/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index b4fb066..eb978ad 100644 --- a/composer.json +++ b/composer.json @@ -15,8 +15,8 @@ "psr-4": { "Orchestra\\Testbench\\Tests\\": "vendor/orchestra/testbench-core/tests/", "Workbench\\App\\": "workbench/app/", - "Workbench\\Database\\Factories\\": "workbench/database/factories", - "Workbench\\Database\\Seeders\\": "workbench/database/seeders" + "Workbench\\Database\\Factories\\": "workbench/database/factories/", + "Workbench\\Database\\Seeders\\": "workbench/database/seeders/" } }, "require": { From c1dffa7407c1652d6e465e54973bc817411fe2ae Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 13:04:34 +0800 Subject: [PATCH 84/89] Prepare 7.44.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 19 +++++++++++++++++++ bin/sync | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index 7238d82..8b586ea 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -2,6 +2,25 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 7.44.0 + +Released: 2024-08-14 + +### Changes + +* Update minimum support for Testbench Core v7.45.0+. ([v7.44.0...v7.45.0](https://github.com/orchestral/testbench-core/compare/v7.44.0...v7.45.0)) + +#### Testbench Changes + +##### Changes + +* Update `Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile` to remove `.gitkeep` file when directory contain one or more files. +* Code Improvements. + +##### Fixes + +* Fixes `InteractsWithPublishedFiles` should only flush published files within `database/migrations` directory. + ## 7.43.0 Released: 2024-07-13 diff --git a/bin/sync b/bin/sync index 22e46ef..a3ed3f0 100755 --- a/bin/sync +++ b/bin/sync @@ -33,4 +33,4 @@ Illuminate\Support\Collection::make([ $filename = "{$workingPath}/workbench".Illuminate\Support\Str::after($file, "{$workingPath}/vendor/orchestra/testbench-core/workbench"); $files->ensureDirectoryExists(Illuminate\Support\Str::before($filename, basename($filename))); $files->copy($file, $filename); -}); \ No newline at end of file +}); From 042f79e12e7110120a8359794286c869d06a17c1 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 14:12:03 +0800 Subject: [PATCH 85/89] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 036d25b..809e4a2 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -103,7 +103,7 @@ jobs: run: composer show -D - name: Execute tests - run: vendor/bin/phpunit --exclude-group commander,core,database,workbench,phpunit-configuration --no-coverage --no-configuration --dont-report-useless-tests --bootstrap vendor/autoload.php core/tests + run: vendor/bin/phpunit --exclude-group commander,core,database,workbench,phpunit-configuration --no-coverage --no-configuration --dont-report-useless-tests --bootstrap vendor/autoload.php vendor/orchestra/testbench-core/tests env: RAY_ENABLED: false TESTBENCH_CONVERT_DEPRECATIONS_TO_EXCEPTIONS: true From f26659f21789854228135ffe1b4d9c9d69a23014 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 14:15:32 +0800 Subject: [PATCH 86/89] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 809e4a2..c4e0130 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -97,7 +97,7 @@ jobs: uses: "ramsey/composer-install@v3" with: dependency-versions: "${{ matrix.dependencies }}" - composer-options: "--prefer-dist --no-cache --with=phpunit/phpunit:${{ matrix.phpunit }}" + composer-options: "--no-cache --with=phpunit/phpunit:${{ matrix.phpunit }}" - name: Installed dependencies run: composer show -D From 892f2d15a783c9403a043b1a39a3b4b8732b9fe2 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 14:19:27 +0800 Subject: [PATCH 87/89] Prepare 8.25.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index 8fc5481..09b74eb 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,25 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.25.0 + +Released: 2024-08-14 + +### Changes + +* Update minimum support for Testbench Core v8.26.0+. ([v8.25.0...v8.26.0](https://github.com/orchestral/testbench-core/compare/v8.25.0...v8.26.0)) + +#### Testbench Changes + +##### Changes + +* Update `Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile` to remove `.gitkeep` file when directory contain one or more files. +* Code Improvements. + +##### Fixes + +* Fixes `InteractsWithPublishedFiles` should only flush published files within `database/migrations` directory. + ## 8.24.0 Released: 2024-07-13 From 2427cf225317aed30081647d5ea304c5dcc1fb7b Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 14:27:42 +0800 Subject: [PATCH 88/89] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 0502eaa..8c8ce9d 100644 --- a/composer.json +++ b/composer.json @@ -25,8 +25,8 @@ "fakerphp/faker": "^1.23", "laravel/framework": "^11.11", "mockery/mockery": "^1.6", - "orchestra/testbench-core": "^9.2.2", - "orchestra/workbench": "^9.4", + "orchestra/testbench-core": "^9.3", + "orchestra/workbench": "^9.5", "phpunit/phpunit": "^10.5 || ^11.0.1", "symfony/process": "^7.0", "symfony/yaml": "^7.0", From 6084d0793bae571713e96d48557562bb8276aa7b Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 14 Aug 2024 14:29:45 +0800 Subject: [PATCH 89/89] Prepare 9.3.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index ba640e4..c5a0525 100644 --- a/CHANGELOG-9.x.md +++ b/CHANGELOG-9.x.md @@ -2,6 +2,25 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 9.3.0 + +Released: 2024-08-14 + +### Changes + +* Update minimum support for Testbench Core v9.3.0+. ([v9.2.0...v9.3.0](https://github.com/orchestral/testbench-core/compare/v9.2.0...v9.3.0)) + +#### Testbench Changes + +##### Changes + +* Update `Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile` to remove `.gitkeep` file when directory contain one or more files. +* Code Improvements. + +##### Fixes + +* Fixes `InteractsWithPublishedFiles` should only flush published files within `database/migrations` directory. + ## 9.2.0 Released: 2024-07-13