From 6c73e858b2d86509fadc94a70bae1f43ea7cdcc2 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 10 Aug 2023 10:32:19 +0800 Subject: [PATCH 01/26] Prepare 6.29.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 580f132..40b510b 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.29.2 + +Released: 2023-08-10 + +### Changes + +* Update minimum support for Testbench Core v6.33.2+. ([v6.33.1...v6.33.2](https://github.com/orchestral/testbench-core/compare/v6.33.1...v6.33.2)) + +#### Testbench Changes + +##### Fixes + +* Fixes `app()->environment()` detection when creating application `Orchestra\Testbench\Concerns\CreatesApplication` outside of `PHPUnit`. + ## 6.29.1 Released: 2023-08-09 diff --git a/composer.json b/composer.json index ccfb16e..470edf3 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "php": "^7.3 || ^8.0", "laravel/framework": "^8.83.27", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.33.1", + "orchestra/testbench-core": "^6.33.2", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, diff --git a/core b/core index d586ecc..77af259 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit d586eccf08090cbc95d23bfcc893f076083f44a5 +Subproject commit 77af2590713dcf3da21fe1521a2256634192932c From fa7b7c1ce5783941e2e23ec25709716ddddd4569 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 10 Aug 2023 10:36:13 +0800 Subject: [PATCH 02/26] Prepare 7.26.2 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index ab63fa2..52bc444 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.26.2 + +Released: 2023-08-10 + +### Changes + +* Bump minimum `laravel/framework` to `9.52.15`. +* Update minimum support for Testbench Core v6.33.2+. ([v6.33.1...v6.33.2](https://github.com/orchestral/testbench-core/compare/v6.33.1...v6.33.2)) + +#### Testbench Changes + +##### Fixes + +* Fixes `app()->environment()` detection when creating application `Orchestra\Testbench\Concerns\CreatesApplication` outside of `PHPUnit`. +* Fixes error `Undefined array key "autoload-dev"` when executing `workbench:install` command. + ## 7.26.1 Released: 2023-08-09 From 6355e41b4f279875e996836f39204ef130f703f1 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 10 Aug 2023 10:40:53 +0800 Subject: [PATCH 03/26] wip Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index 52bc444..601b2aa 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -9,7 +9,7 @@ Released: 2023-08-10 ### Changes * Bump minimum `laravel/framework` to `9.52.15`. -* Update minimum support for Testbench Core v6.33.2+. ([v6.33.1...v6.33.2](https://github.com/orchestral/testbench-core/compare/v6.33.1...v6.33.2)) +* Update minimum support for Testbench Core v7.26.2+. ([v7.26.1...v7.26.2](https://github.com/orchestral/testbench-core/compare/v7.26.1...v7.26.2)) #### Testbench Changes From 73f78b30e4a4c66e6fafa7c9dcc14ec9c29afb54 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 10 Aug 2023 10:43:19 +0800 Subject: [PATCH 04/26] wip Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index e072b2a..ac97acd 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,7 +2,7 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. -## 8.6.2 +## 8.6.3 Released: 2023-08-10 From 194cff3bb01ad2d2ef00cabaea3cb9790f5023dd Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 10 Aug 2023 10:44:49 +0800 Subject: [PATCH 05/26] wip Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 16 ++++++++++++++++ CHANGELOG-8.x.md | 15 +++++++++++++++ composer.json | 2 +- core | 2 +- 4 files changed, 33 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index ab63fa2..601b2aa 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.26.2 + +Released: 2023-08-10 + +### Changes + +* Bump minimum `laravel/framework` to `9.52.15`. +* Update minimum support for Testbench Core v7.26.2+. ([v7.26.1...v7.26.2](https://github.com/orchestral/testbench-core/compare/v7.26.1...v7.26.2)) + +#### Testbench Changes + +##### Fixes + +* Fixes `app()->environment()` detection when creating application `Orchestra\Testbench\Concerns\CreatesApplication` outside of `PHPUnit`. +* Fixes error `Undefined array key "autoload-dev"` when executing `workbench:install` command. + ## 7.26.1 Released: 2023-08-09 diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index a6f24c3..ac97acd 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,21 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.6.3 + +Released: 2023-08-10 + +### Changes + +* Update minimum support for Testbench Core v8.6.2+. ([v8.6.1...v8.6.2](https://github.com/orchestral/testbench-core/compare/v8.6.1...v8.6.2)) + +#### Testbench Changes + +##### Fixes + +* Fixes `app()->environment()` detection when creating application `Orchestra\Testbench\Concerns\CreatesApplication` outside of `PHPUnit`. +* Fixes error `Undefined array key "autoload-dev"` when executing `workbench:install` command. + ## 8.6.2 Released: 2023-08-09 diff --git a/composer.json b/composer.json index 6f885a2..711fe50 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": ">=10.17.0 <10.19.0 || 10.x-dev", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": ">=8.6.1 <8.7.0 || 8.x-dev", + "orchestra/testbench-core": ">=8.6.2 <8.7.0 || 8.x-dev", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.2", diff --git a/core b/core index 69ca36f..b401efa 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 69ca36f0713faad03dffab4708d3381360672019 +Subproject commit b401efab5a5223a41d355daf7efc83a7615c9632 From 976df9975294807b0a1605b2069a1b1d19d2d666 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Fri, 11 Aug 2023 21:31:26 +0800 Subject: [PATCH 06/26] wip --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 470edf3..d82379b 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "php": "^7.3 || ^8.0", "laravel/framework": "^8.83.27", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.33.2", + "orchestra/testbench-core": "^6.33.4", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, From fbc78a0dda9fd11602c65dc3d23295959046ba0a Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 12 Aug 2023 00:11:11 +0800 Subject: [PATCH 07/26] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index 77af259..84282e9 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 77af2590713dcf3da21fe1521a2256634192932c +Subproject commit 84282e9ee2346d54d9dd6518c51cd1bee254b705 From 4a062bdab36645f4ba9a5485cabc9ef5d0751cb9 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 12 Aug 2023 00:16:17 +0800 Subject: [PATCH 08/26] 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 1de1a3c..da298b8 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": ">=10.17.0 <10.19.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": ">=8.6.2 <8.7.0", + "orchestra/testbench-core": ">=8.6.3 <8.7.0", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.2", diff --git a/core b/core index b401efa..5dfc4db 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit b401efab5a5223a41d355daf7efc83a7615c9632 +Subproject commit 5dfc4db72d90c169005f30b5817e882dc8a95063 From a4c9a021dcb7755ba225624959b70a702c769d1a Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 12 Aug 2023 12:30:28 +0800 Subject: [PATCH 09/26] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index 84282e9..6fe132b 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 84282e9ee2346d54d9dd6518c51cd1bee254b705 +Subproject commit 6fe132b706bf03e88f772da7501cde8a155eb860 From b6877b0ff27de22857051647664f108ca448c681 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 12 Aug 2023 12:30:47 +0800 Subject: [PATCH 10/26] 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 d82379b..8330801 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "php": "^7.3 || ^8.0", "laravel/framework": "^8.83.27", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.33.4", + "orchestra/testbench-core": "^6.34", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, From 9d958ead3a9f7403183cd53e0318a0c3ed00f28d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 12 Aug 2023 12:35:11 +0800 Subject: [PATCH 11/26] Prepare 6.30.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index 40b510b..6e720ca 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -2,6 +2,27 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 6.30.0 + +Released: 2023-08-12 + +### Changes + +* Update minimum support for Testbench Core v6.34.0+. ([v6.33.2...v6.34.0](https://github.com/orchestral/testbench-core/compare/v6.33.2...v6.34.0)) + +#### Testbench Changes + +##### Changes + +* Change `HandlesRoutes` loading sequence to match common Laravel bootstrap steps. +* Refactor `HandlesAnnotations` and `InteractsWithPHPUnit` traits. +* Workbench integration improvements. +* Update `workbench` configuration schema. + +##### Fixes + +* Fixes `Illuminate\Foundation\Application::runningUnitTests()` detection. + ## 6.29.2 Released: 2023-08-10 From 8efad82c07949218c2bd2742ac6f0f87c45c0112 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 12 Aug 2023 13:43:30 +0800 Subject: [PATCH 12/26] Prepare 7.27.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index afb7583..337dbc4 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -31,7 +31,6 @@ Released: 2023-08-12 * Fixes `Illuminate\Foundation\Application::runningUnitTests()` detection. ------ ## 7.26.2 Released: 2023-08-10 From b36b8f85850a42019a17fa03274039a999d8292c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 12 Aug 2023 13:46:45 +0800 Subject: [PATCH 13/26] 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 da298b8..5f16b83 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": ">=10.17.0 <10.19.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": ">=8.6.3 <8.7.0", + "orchestra/testbench-core": ">=8.7.0 <8.8.0", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.2", diff --git a/core b/core index 5dfc4db..d110b67 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 5dfc4db72d90c169005f30b5817e882dc8a95063 +Subproject commit d110b67306056925bfb66fcef625667e094a7540 From 66d0b1e5e9461a3a2924be233416912e048d88bb Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 12 Aug 2023 13:48:39 +0800 Subject: [PATCH 14/26] Prepare 8.7.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index ac97acd..de27aaf 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,35 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.7.0 + +Released: 2023-08-12 + +### Changes + +* Update minimum support for Testbench Core v8.7.0+. ([v8.6.2...v8.7.0](https://github.com/orchestral/testbench-core/compare/v8.6.2...v8.7.0)) + +#### Testbench Changes + +##### Added + +* Added following events: + - `Orchestra\Testbench\Foundation\Events\ServeCommandStarted` + - `Orchestra\Testbench\Foundation\Events\ServeCommandEnded` + - `Orchestra\Testbench\Workbench\Events\WorkbenchInstallStarted` + - `Orchestra\Testbench\Workbench\Events\WorkbenchInstallEnded` + +##### Changes + +* Change `HandlesRoutes` loading sequence to match common Laravel bootstrap steps. +* Refactor `HandlesAnnotations` and `InteractsWithPHPUnit` traits. +* Workbench integration improvements. +* Update `workbench` configuration schema. + +##### Fixes + +* Fixes `Illuminate\Foundation\Application::runningUnitTests()` detection. + ## 8.6.3 Released: 2023-08-10 From f28239ce9fb2b2a70f9fd0b3ba92c595745f6b23 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 15:57:16 +0800 Subject: [PATCH 15/26] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ef37e37..4d82ff9 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,8 @@ "fakerphp/faker": "^1.21", "laravel/framework": ">=10.17.0 <10.19.0 || 10.x-dev", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": ">=8.7.0 <8.8.0 || 8.x-dev", + "orchestra/testbench-core": ">=8.8.0 <8.9.0", + "orchestra/workbench": "^0.1.0", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.2", From 4f41a7c6673832b13018db8624fe2b6100456835 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 15:58:26 +0800 Subject: [PATCH 16/26] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 3 ++- core | 2 +- testbench.yaml | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 67bf467..faae414 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,8 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.15", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.27", + "orchestra/testbench-core": "^7.28", + "orchestra/workbench": "^0.1.0", "phpunit/phpunit": "^9.5.10", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.0.9", diff --git a/core b/core index 73ba0e8..9d8f936 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 73ba0e80dc7b8905870e2b7c0a1ce4bd87ab1d1a +Subproject commit 9d8f9362afc030db4d62ed32e1f448cc553b1f13 diff --git a/testbench.yaml b/testbench.yaml index 789de15..8931a5b 100644 --- a/testbench.yaml +++ b/testbench.yaml @@ -3,3 +3,6 @@ providers: env: APP_NAME: "Testbench" + +purge: + directories: public/vendor/* From 5ac08eaf08fcea6cc2b22b169353014ef54f9401 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 16:58:36 +0800 Subject: [PATCH 17/26] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- phpunit.xml | 1 + sync.sh | 1 + workbench/.gitignore | 3 ++ workbench/app/.gitkeep | 0 .../Providers/TestbenchServiceProvider.php | 13 ++++++ workbench/database/factories/.gitkeep | 0 workbench/database/migrations/.gitkeep | 0 ...26_182750_create_testbench_users_table.php | 42 +++++++++++++++++++ workbench/database/seeders/.gitkeep | 0 10 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 workbench/.gitignore create mode 100644 workbench/app/.gitkeep create mode 100644 workbench/app/Providers/TestbenchServiceProvider.php create mode 100644 workbench/database/factories/.gitkeep create mode 100644 workbench/database/migrations/.gitkeep create mode 100644 workbench/database/migrations/2013_07_26_182750_create_testbench_users_table.php create mode 100644 workbench/database/seeders/.gitkeep diff --git a/core b/core index 9d8f936..b549221 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 9d8f9362afc030db4d62ed32e1f448cc553b1f13 +Subproject commit b5492212e2103163424babe1b96092fb9c83123c diff --git a/phpunit.xml b/phpunit.xml index ee73ba4..1e8c1ea 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -28,6 +28,7 @@ commander core database + workbench diff --git a/sync.sh b/sync.sh index 9394e3d..c470726 100755 --- a/sync.sh +++ b/sync.sh @@ -10,3 +10,4 @@ git submodule foreach git checkout $BRANCH git submodule foreach git pull cp -rf core/testbench.yaml ./ +cp -rf core/workbench ./ diff --git a/workbench/.gitignore b/workbench/.gitignore new file mode 100644 index 0000000..6088e42 --- /dev/null +++ b/workbench/.gitignore @@ -0,0 +1,3 @@ +.env +.env.dist +.env.example diff --git a/workbench/app/.gitkeep b/workbench/app/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/workbench/app/Providers/TestbenchServiceProvider.php b/workbench/app/Providers/TestbenchServiceProvider.php new file mode 100644 index 0000000..30293b6 --- /dev/null +++ b/workbench/app/Providers/TestbenchServiceProvider.php @@ -0,0 +1,13 @@ +loadMigrationsFrom(realpath(__DIR__.'/../../database/migrations')); + } +} diff --git a/workbench/database/factories/.gitkeep b/workbench/database/factories/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/workbench/database/migrations/.gitkeep b/workbench/database/migrations/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/workbench/database/migrations/2013_07_26_182750_create_testbench_users_table.php b/workbench/database/migrations/2013_07_26_182750_create_testbench_users_table.php new file mode 100644 index 0000000..e1a44e5 --- /dev/null +++ b/workbench/database/migrations/2013_07_26_182750_create_testbench_users_table.php @@ -0,0 +1,42 @@ +increments('id'); + $table->string('email'); + $table->string('password'); + + $table->timestamps(); + }); + + $now = Carbon::now(); + + DB::table('testbench_users')->insert([ + 'email' => 'crynobone@gmail.com', + 'password' => Hash::make('123'), + 'created_at' => $now, + 'updated_at' => $now, + ]); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::drop('testbench_users'); + } +} diff --git a/workbench/database/seeders/.gitkeep b/workbench/database/seeders/.gitkeep new file mode 100644 index 0000000..e69de29 From 18fcac6b1b5c40671b98d3740ccfc2f1d2cf7fd4 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 17:02:19 +0800 Subject: [PATCH 18/26] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index b549221..82b93a3 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit b5492212e2103163424babe1b96092fb9c83123c +Subproject commit 82b93a39b80d943b062e6b72ce4b683701e8fea6 From 432d4fc613b6d60623524665dafee171b078c3bd Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 17:06:05 +0800 Subject: [PATCH 19/26] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index 82b93a3..a4a724e 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 82b93a39b80d943b062e6b72ce4b683701e8fea6 +Subproject commit a4a724e6cefdbdd022a9b9737131c175ac78b76a From 447b249d5e389d1b2f074a98cdf28a36198c5562 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 17:16:44 +0800 Subject: [PATCH 20/26] 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 7406347..5a2ec58 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -109,7 +109,7 @@ jobs: run: composer show -D - name: Execute tests - run: vendor/bin/phpunit --exclude-group commander,core,database --no-coverage --no-configuration --dont-report-useless-tests --bootstrap vendor/autoload.php core/tests + run: vendor/bin/phpunit --exclude-group commander,core,database,workbench --no-coverage --no-configuration --dont-report-useless-tests --bootstrap vendor/autoload.php core/tests env: RAY_ENABLED: false TESTBENCH_CONVERT_DEPRECATIONS_TO_EXCEPTIONS: true From 5f99480d8a1e27b128677d02d6ffe5aaecc699d1 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 17:24:22 +0800 Subject: [PATCH 21/26] Prepare 7.28.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 26 ++++++++++++++++++++++++++ CHANGELOG-7.x.md | 28 +++++++++++++++++++++++++++- 2 files changed, 53 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index 6e720ca..300813c 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -2,6 +2,32 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 6.31.0 + +Released: 2023-08-15 + +### Changes + +* Update minimum support for Testbench Core v6.35.0+. ([v6.34.0...v6.35.0](https://github.com/orchestral/testbench-core/compare/v6.34.0...v6.35.0)) + +#### Testbench Changes + +##### Added + +* Added `Orchestra\Testbench\package_path()` function. + +##### Changes + +* Rename `Orchestra\Testbench\Workbench\Bootstrap\StartWorkbench` to `Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench`. + +##### Fixes + +* Fixes `boolean` usage with `Orchestra\Testbench\parse_environment_variables()` function. + +##### Remove + +* Remove experimental Workbench support. + ## 6.30.0 Released: 2023-08-12 diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index 337dbc4..9de075e 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -2,13 +2,39 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 7.28.0 + +Released: 2023-08-12 + +### Changes + +* Update minimum support for Testbench Core v7.28.0+. ([v7.27.0...v7.28.0](https://github.com/orchestral/testbench-core/compare/v7.27.0...v7.28.0)) + +#### Testbench Changes + +##### Added + +* Added `package:purge-skeleton` command. +* Added `Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile` trait. +* Added `Orchestra\Testbench\package_path()` function. +* Added support for `orchestra/workbench`. + +##### Changes + +* Rename `Orchestra\Testbench\Workbench\Bootstrap\StartWorkbench` to `Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench`. + +##### Fixes + +* Fixes `serve` command usage. +* Fixes class namespace. + ## 7.27.0 Released: 2023-08-12 ### Changes -* Update minimum support for Testbench Core v7.26.2+. ([v7.26.2...v7.27.0](https://github.com/orchestral/testbench-core/compare/v7.26.2...v7.27.0)) +* Update minimum support for Testbench Core v7.27.0+. ([v7.26.2...v7.27.0](https://github.com/orchestral/testbench-core/compare/v7.26.2...v7.27.0)) #### Testbench Changes From 41c5137c3b6c21afa28e09309b26a0592a3f89a8 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 17:26:15 +0800 Subject: [PATCH 22/26] wip Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index 337dbc4..9de075e 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -2,13 +2,39 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 7.28.0 + +Released: 2023-08-12 + +### Changes + +* Update minimum support for Testbench Core v7.28.0+. ([v7.27.0...v7.28.0](https://github.com/orchestral/testbench-core/compare/v7.27.0...v7.28.0)) + +#### Testbench Changes + +##### Added + +* Added `package:purge-skeleton` command. +* Added `Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile` trait. +* Added `Orchestra\Testbench\package_path()` function. +* Added support for `orchestra/workbench`. + +##### Changes + +* Rename `Orchestra\Testbench\Workbench\Bootstrap\StartWorkbench` to `Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench`. + +##### Fixes + +* Fixes `serve` command usage. +* Fixes class namespace. + ## 7.27.0 Released: 2023-08-12 ### Changes -* Update minimum support for Testbench Core v7.26.2+. ([v7.26.2...v7.27.0](https://github.com/orchestral/testbench-core/compare/v7.26.2...v7.27.0)) +* Update minimum support for Testbench Core v7.27.0+. ([v7.26.2...v7.27.0](https://github.com/orchestral/testbench-core/compare/v7.26.2...v7.27.0)) #### Testbench Changes From 1d5b14ece9d3d3e04da8e7e76b149a662348467b Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 17:27:50 +0800 Subject: [PATCH 23/26] Prepare 8.8.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 2 +- CHANGELOG-8.x.md | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index 9de075e..873eadc 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -4,7 +4,7 @@ This changelog references the relevant changes (bug and security fixes) done to ## 7.28.0 -Released: 2023-08-12 +Released: 2023-08-15 ### Changes diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index de27aaf..1bbb492 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,32 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.8.0 + +Released: 2023-08-15 + +### Changes + +* Update minimum support for Testbench Core v8.8.0+. ([v8.7.0...v8.8.0](https://github.com/orchestral/testbench-core/compare/v8.7.0...v8.8.0)) + +#### Testbench Changes + +##### Added + +* Added `package:purge-skeleton` command. +* Added `Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile` trait. +* Added `Orchestra\Testbench\package_path()` function. +* Added support for `orchestra/workbench`. + +##### Changes + +* Rename `Orchestra\Testbench\Workbench\Bootstrap\StartWorkbench` to `Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench`. + +##### Fixes + +* Fixes `serve` command usage. +* Fixes class namespace. + ## 8.7.0 Released: 2023-08-12 From 191991b663dbf1cf4f6e98abe709389c1db719d7 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 17:28:25 +0800 Subject: [PATCH 24/26] wip --- CHANGELOG-7.x.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index 9de075e..873eadc 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -4,7 +4,7 @@ This changelog references the relevant changes (bug and security fixes) done to ## 7.28.0 -Released: 2023-08-12 +Released: 2023-08-15 ### Changes From d61b60268377c00b21cd5b942ed6a139baf28dca Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 17:39:15 +0800 Subject: [PATCH 25/26] 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 8431ff7..c410c98 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": ">=10.17.0 <10.19.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.8.0", + "orchestra/testbench-core": ">=8.8.0 <8.9.0", "orchestra/workbench": "^0.1.0", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", From c0deeae640138483460255529cee4fa97378d9a2 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 17:48:30 +0800 Subject: [PATCH 26/26] 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 4d82ff9..1ef72bc 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": ">=10.17.0 <10.19.0 || 10.x-dev", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": ">=8.8.0 <8.9.0", + "orchestra/testbench-core": ">=8.8.0 <8.9.0 || 8.x-dev", "orchestra/workbench": "^0.1.0", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4",