From aa876a8ee578fb4fa7a5e4bb9dd0dc8092ed0a76 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 16:34:47 +0800 Subject: [PATCH 01/38] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- phpunit.xml | 1 + sync.sh | 1 + workbench/.gitignore | 3 ++ .../Providers/TestbenchServiceProvider.php | 13 ++++++ ...26_182750_create_testbench_users_table.php | 42 +++++++++++++++++++ 7 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 workbench/.gitignore create mode 100644 workbench/app/Providers/TestbenchServiceProvider.php create mode 100644 workbench/database/migrations/2013_07_26_182750_create_testbench_users_table.php diff --git a/composer.json b/composer.json index 8330801..7b3e45d 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.34", + "orchestra/testbench-core": "^6.35", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, diff --git a/core b/core index 6fe132b..057526d 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 6fe132b706bf03e88f772da7501cde8a155eb860 +Subproject commit 057526d1cc3b6e52e623fe0ea51bb72b726433cd diff --git a/phpunit.xml b/phpunit.xml index 84a56f3..1d42825 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -26,6 +26,7 @@ commander core + workbench diff --git a/sync.sh b/sync.sh index acfd511..8410fef 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/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/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'); + } +} From 390ab4f1c24a52e660adbe84e7d3291cd6936850 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 17:20:09 +0800 Subject: [PATCH 02/38] Prepare 6.31.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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 From a4a58703ea853f9ddfba4437ac4e5e878a02e4f2 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 21:51:15 +0800 Subject: [PATCH 03/38] wip --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c410c98..c223547 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "php": "^8.1", "composer-runtime-api": "^2.2", "fakerphp/faker": "^1.21", - "laravel/framework": ">=10.17.0 <10.19.0", + "laravel/framework": ">=10.17.0 <10.20.0", "mockery/mockery": "^1.5.1", "orchestra/testbench-core": ">=8.8.0 <8.9.0", "orchestra/workbench": "^0.1.0", From ba05ebe18c0bd54e418e8f4c10d091caf38673bc Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 15 Aug 2023 21:52:31 +0800 Subject: [PATCH 04/38] wip --- CHANGELOG-8.x.md | 8 ++++++++ composer.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index 1bbb492..9e3d40d 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,14 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.8.1 + +Released: 2023-08-15 + +### Changes + +* Support Laravel Framework `10.19`. + ## 8.8.0 Released: 2023-08-15 diff --git a/composer.json b/composer.json index c223547..9b8e0fd 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "laravel/framework": ">=10.17.0 <10.20.0", "mockery/mockery": "^1.5.1", "orchestra/testbench-core": ">=8.8.0 <8.9.0", - "orchestra/workbench": "^0.1.0", + "orchestra/workbench": "^0.1.1", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.2", From 210b9cdeab84e4d7d82c32876a0d038bb1ae98ab Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 17 Aug 2023 08:40:17 +0800 Subject: [PATCH 05/38] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 5 +++-- core | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index faae414..ba4357a 100644 --- a/composer.json +++ b/composer.json @@ -23,8 +23,8 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.15", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.28", - "orchestra/workbench": "^0.1.0", + "orchestra/testbench-core": "^7.28.2", + "orchestra/workbench": "^0.1.2", "phpunit/phpunit": "^9.5.10", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.0.9", @@ -39,6 +39,7 @@ "scripts": { "post-autoload-dump": "@composer run prepare", "prepare": "@php vendor/bin/testbench package:discover --ansi", + "ci": "@composer run prepare", "test": "@php vendor/bin/phpunit -c ./ --color" }, "config": { diff --git a/core b/core index 82b93a3..328aab2 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 82b93a39b80d943b062e6b72ce4b683701e8fea6 +Subproject commit 328aab2533fc6c5fc10e1d6c6a644381acda6987 From c295b2d74a34b3882e907d94001e779b246411db Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 17 Aug 2023 08:43:12 +0800 Subject: [PATCH 06/38] Prepare 7.28.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 873eadc..5e8d4ef 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.28.1 + +Released: 2023-08-17 + +### Changes + +* Update minimum support for Testbench Core v7.28.2+. ([v7.28.0...v7.28.2](https://github.com/orchestral/testbench-core/compare/v7.28.0...v7.28.2)) + +#### Testbench Changes + +##### Added + +* Readd deprecated `Orchestra\Testbench\Foundation\Console\DevToolCommand` for integration compatibility. + +##### Changes + +* Disable Composer default timeout when using `serve` command under Composer's script. + ## 7.28.0 Released: 2023-08-15 From e4e71dbe5e496593f4069b5792e6c4aeb443a0d6 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 17 Aug 2023 08:46:50 +0800 Subject: [PATCH 07/38] 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 9b8e0fd..4a20a83 100644 --- a/composer.json +++ b/composer.json @@ -24,8 +24,8 @@ "fakerphp/faker": "^1.21", "laravel/framework": ">=10.17.0 <10.20.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": ">=8.8.0 <8.9.0", - "orchestra/workbench": "^0.1.1", + "orchestra/testbench-core": ">=8.8.2 <8.9.0", + "orchestra/workbench": "^0.1.2", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.2", diff --git a/core b/core index a4a724e..a2fea94 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit a4a724e6cefdbdd022a9b9737131c175ac78b76a +Subproject commit a2fea94fe56ce587e9cdd61d832d92ed504f0c07 From 6c08b038baaf65a81e572ab534c2d9a025f4ba64 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 17 Aug 2023 08:50:03 +0800 Subject: [PATCH 08/38] Prepare 8.8.2 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index 9e3d40d..e2576f6 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,28 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.8.2 + +Released: 2023-08-15 + +### Changes + +* Update minimum support for Testbench Core v8.8.2+. ([v8.8.0...v8.8.2](https://github.com/orchestral/testbench-core/compare/v8.8.0...v8.8.2)) + +#### Testbench Changes + +##### Added + +* Readd deprecated `Orchestra\Testbench\Foundation\Console\DevToolCommand` for integration compatibility. + +##### Changes + +* Disable Composer default timeout when using `serve` command under Composer's script. + +##### Removed + +* Remove `Orchestra\Testbench\Workbench` classes and functionality is now provided from `orchestra/workbench`. + ## 8.8.1 Released: 2023-08-15 From 43bbea6b55355ebdf219b545111e7dbf39e02632 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 17 Aug 2023 15:01:03 +0800 Subject: [PATCH 09/38] wip --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 91ebe34..a880a66 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": ">=10.17.0 <10.20.0 || 10.x-dev", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": ">=8.8.2 <8.9.0 || 8.x-dev", + "orchestra/testbench-core": "8.x-dev", "orchestra/workbench": "^0.1.2", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", From b158fd6d070dfabe103dcbb68a63fdea594b932d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 17 Aug 2023 17:16:23 +0800 Subject: [PATCH 10/38] Prepare 6.31.1 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 300813c..62916c0 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.31.1 + +Released: 2023-08-17 + +### Changes + +* Update minimum support for Testbench Core v6.35.1+. ([v6.35.0...v6.35.1](https://github.com/orchestral/testbench-core/compare/v6.35.0...v6.35.1)) + +#### Testbench Changes + +##### Fixes + +* Fixes configuration leak when running some TestCase without `Orchestra\Testbench\Concerns\WithWorkbench`. + ## 6.31.0 Released: 2023-08-15 diff --git a/composer.json b/composer.json index 7b3e45d..d01dee6 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.35", + "orchestra/testbench-core": "^6.35.1", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, diff --git a/core b/core index 057526d..7b2100b 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 057526d1cc3b6e52e623fe0ea51bb72b726433cd +Subproject commit 7b2100ba813887f701c63fde72222f9dcd37ef75 From 8a07f6995267d32027c17ca33a62e3b89eecc6f2 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 17 Aug 2023 17:18:52 +0800 Subject: [PATCH 11/38] Prepare 7.28.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 5e8d4ef..962ed39 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.28.2 + +Released: 2023-08-17 + +### Changes + +* Update minimum support for Testbench Core v7.28.3+. ([v7.28.2...v7.28.3](https://github.com/orchestral/testbench-core/compare/v7.28.2...v7.28.3)) + +#### Testbench Changes + +##### Fixes + +* Fixes configuration leak when running some TestCase without `Orchestra\Testbench\Concerns\WithWorkbench`. + ## 7.28.1 Released: 2023-08-17 From 265c6a6458ea480f9946790fc95e597007a58fb5 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 17 Aug 2023 17:21:54 +0800 Subject: [PATCH 12/38] Prepare 8.8.3 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index e2576f6..5c5de33 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,9 +2,23 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.8.3 + +Released: 2023-08-17 + +### Changes + +* Update minimum support for Testbench Core v8.8.3+. ([v8.8.2...v8.8.3](https://github.com/orchestral/testbench-core/compare/v8.8.2...v8.8.3)) + +#### Testbench Changes + +##### Fixes + +* Fixes configuration leak when running some TestCase without `Orchestra\Testbench\Concerns\WithWorkbench`. + ## 8.8.2 -Released: 2023-08-15 +Released: 2023-08-17 ### Changes From 2d0829f03b5776eda29a8d2293f8d99adda7aeb2 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 19 Aug 2023 11:53:56 +0800 Subject: [PATCH 13/38] Prepare 6.32.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 18 ++++++++++++++++++ composer.json | 2 +- core | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index 62916c0..cc840dd 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.32.0 + +Released: 2023-08-19 + +### Changes + +* Update minimum support for Testbench Core v6.36.0+. ([v6.35.1...v6.36.0](https://github.com/orchestral/testbench-core/compare/v6.35.1...v6.36.0)) + +#### Testbench Changes + +##### Added + +* Added new `workbench.welcome` configuration option. + +##### Changes + +* Allow `testbench.yaml` configuration fallback similar to `.env`. + ## 6.31.1 Released: 2023-08-17 diff --git a/composer.json b/composer.json index d01dee6..7ce7bf8 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.35.1", + "orchestra/testbench-core": "^6.36", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, diff --git a/core b/core index 7b2100b..3299a20 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 7b2100ba813887f701c63fde72222f9dcd37ef75 +Subproject commit 3299a20af39a15471dd49d9f2fe1d2cc7b791d6f From d461e4a185614fdee894d4494d1a3022d5c1914c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 19 Aug 2023 12:00:49 +0800 Subject: [PATCH 14/38] Prepare 7.29.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 18 ++++++++++++++++++ CHANGELOG-7.x.md | 8 ++++++++ composer.json | 4 ++-- core | 2 +- 4 files changed, 29 insertions(+), 3 deletions(-) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index 62916c0..cc840dd 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.32.0 + +Released: 2023-08-19 + +### Changes + +* Update minimum support for Testbench Core v6.36.0+. ([v6.35.1...v6.36.0](https://github.com/orchestral/testbench-core/compare/v6.35.1...v6.36.0)) + +#### Testbench Changes + +##### Added + +* Added new `workbench.welcome` configuration option. + +##### Changes + +* Allow `testbench.yaml` configuration fallback similar to `.env`. + ## 6.31.1 Released: 2023-08-17 diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index 962ed39..1b256f9 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -2,6 +2,14 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 7.29.0 + +Released: 2023-08-19 + +### Changes + +* Update minimum support for Testbench Core v7.29.0+. ([v7.28.3...v7.29.0](https://github.com/orchestral/testbench-core/compare/v7.28.3...v7.29.0)) + ## 7.28.2 Released: 2023-08-17 diff --git a/composer.json b/composer.json index 9cebfb4..684e57f 100644 --- a/composer.json +++ b/composer.json @@ -23,8 +23,8 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.15", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.28.3", - "orchestra/workbench": "^0.1.2", + "orchestra/testbench-core": "^7.29", + "orchestra/workbench": "^0.1.6", "phpunit/phpunit": "^9.5.10", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.0.9", diff --git a/core b/core index 0f16c7c..7af069e 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 0f16c7c0c78a64c803b7a418893a8ed6895435fc +Subproject commit 7af069e188b7e1a248de4c5de00616b1f38b52c0 From f0345ee0330e424f18855c3bd7393035ccc64efc Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 19 Aug 2023 12:04:34 +0800 Subject: [PATCH 15/38] Prepare 8.9.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index 5c5de33..85ca708 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,26 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.9.0 + +Released: 2023-08-19 + +### Changes + +* Update minimum support for Testbench Core v8.9.0+. ([v8.8.3...v8.9.0](https://github.com/orchestral/testbench-core/compare/v8.8.3...v8.9.0)) + +#### Testbench Changes + +##### Added + +* Added new `workbench.welcome` configuration option. + +### Changes + +* Allow `testbench.yaml` configuration fallback similar to `.env`. +* Utilise `Illuminate\Support\LazyCollection`. +* Skip loading `Orchestra\Workbench\WorkbenchServiceProvider` when applying `Orchestra\Testbench\Concerns\WithWorkbench`. + ## 8.8.3 Released: 2023-08-17 From 8b9bd3b9b27e4b6d4a01af798b0c6b81ff7c7060 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 19 Aug 2023 12:07:07 +0800 Subject: [PATCH 16/38] wip Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index 1b256f9..9ebb0cb 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -10,6 +10,18 @@ Released: 2023-08-19 * Update minimum support for Testbench Core v7.29.0+. ([v7.28.3...v7.29.0](https://github.com/orchestral/testbench-core/compare/v7.28.3...v7.29.0)) +#### Testbench Changes + +##### Added + +* Added new `workbench.welcome` configuration option. + +##### Changes + +* Allow `testbench.yaml` configuration fallback similar to `.env`. +* Utilise `Illuminate\Support\LazyCollection`. +* Skip loading `Orchestra\Workbench\WorkbenchServiceProvider` when applying `Orchestra\Testbench\Concerns\WithWorkbench`. + ## 7.28.2 Released: 2023-08-17 From 62196ea576bf4f3479533f28bc5bcf8eb82a9125 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 21 Aug 2023 10:43:59 +0800 Subject: [PATCH 17/38] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 1 + core | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5d3408b..da77976 100644 --- a/composer.json +++ b/composer.json @@ -24,6 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": ">=10.17.0 <10.20.0", "mockery/mockery": "^1.5.1", + "orchestra/canvas": "^8.4.1", "orchestra/testbench-core": ">=8.9.0 <8.10.0", "orchestra/workbench": "^0.1.6", "phpunit/phpunit": "^9.6 || ^10.1", diff --git a/core b/core index f216306..f086a3c 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit f216306afcce50803562949133a930190d8be408 +Subproject commit f086a3c10716263d2735e13bcff93537266ab38d From 2454546dea306ee2817908660114e96a369a95e7 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 21 Aug 2023 10:45:30 +0800 Subject: [PATCH 18/38] Revert "wip" This reverts commit 62196ea576bf4f3479533f28bc5bcf8eb82a9125. --- composer.json | 1 - core | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/composer.json b/composer.json index da77976..5d3408b 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,6 @@ "fakerphp/faker": "^1.21", "laravel/framework": ">=10.17.0 <10.20.0", "mockery/mockery": "^1.5.1", - "orchestra/canvas": "^8.4.1", "orchestra/testbench-core": ">=8.9.0 <8.10.0", "orchestra/workbench": "^0.1.6", "phpunit/phpunit": "^9.6 || ^10.1", diff --git a/core b/core index f086a3c..f216306 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit f086a3c10716263d2735e13bcff93537266ab38d +Subproject commit f216306afcce50803562949133a930190d8be408 From f5c487b5513615b31f2b86b44c2372b6bdea7041 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 21 Aug 2023 10:51:18 +0800 Subject: [PATCH 19/38] 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 5d3408b..41fe281 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "laravel/framework": ">=10.17.0 <10.20.0", "mockery/mockery": "^1.5.1", "orchestra/testbench-core": ">=8.9.0 <8.10.0", - "orchestra/workbench": "^0.1.6", + "orchestra/workbench": "^0.1.7", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.2", From 9c36ea3113c1f12445e2bed3642e6f76e182f11a Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 22 Aug 2023 17:31:29 +0800 Subject: [PATCH 20/38] Prepare 6.33.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 18 ++++++++++++++++++ composer.json | 15 ++++----------- core | 2 +- 3 files changed, 23 insertions(+), 12 deletions(-) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index cc840dd..4d3d68b 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.33.0 + +Released: 2023-08-22 + +### Changes + +* Update minimum support for Testbench Core v6.37.0+. ([v6.36.0...v6.37.0](https://github.com/orchestral/testbench-core/compare/v6.36.0...v6.37.0)) + +#### Testbench Changes + +##### Added + +* Added `Orchestra\Testbench\after_resolving` helper function. + +##### Changes + +* Allow using `$model` property override when extending `Orchestra\Testbench\Factories\UserFactory`. + ## 6.32.0 Released: 2023-08-19 diff --git a/composer.json b/composer.json index 7ce7bf8..ccc83f3 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.36", + "orchestra/testbench-core": "^6.37", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, @@ -32,16 +32,9 @@ } }, "scripts": { - "prepare": [ - "@composer run post-autoload-dump" - ], - "test": [ - "@composer run prepare", - "@php vendor/bin/phpunit -c ./ --color" - ], - "post-autoload-dump": [ - "@php vendor/bin/testbench package:discover --ansi" - ] + "post-autoload-dump": "@prepare", + "prepare": "@php vendor/bin/testbench package:discover --ansi", + "test": "@php vendor/bin/phpunit -c ./ --color" }, "config": { "sort-packages": true diff --git a/core b/core index 3299a20..be9c6ac 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 3299a20af39a15471dd49d9f2fe1d2cc7b791d6f +Subproject commit be9c6ac2a440a091fc3ad635e440dfaccf215c6a From 46aed550242ac55c5e992863082c1cc66f32cffc Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 22 Aug 2023 17:37:25 +0800 Subject: [PATCH 21/38] Prepare 7.29.1 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 9ebb0cb..f3a2bee 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.29.1 + +Released: 2023-08-22 + +### Changes + +* Update minimum support for Testbench Core v7.29.1+. ([v7.29.0...v7.29.1](https://github.com/orchestral/testbench-core/compare/v7.29.0...v7.29.1)) + +#### Testbench Changes + +##### Changes + +* Allow using `$model` property override when extending `Orchestra\Testbench\Factories\UserFactory`. + ## 7.29.0 Released: 2023-08-19 From dff5caa5a140568c00a2c69d5df297a5d26b42de Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 22 Aug 2023 18:31:50 +0800 Subject: [PATCH 22/38] 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 0b375b8..efb04d6 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "laravel/framework": "^9.52.15", "mockery/mockery": "^1.5.1", "orchestra/testbench-core": "^7.29.1", - "orchestra/workbench": "^0.1.6", + "orchestra/workbench": "^0.1.7 || ^0.2.0", "phpunit/phpunit": "^9.5.10", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.0.9", From 45b7a13531be6362015e1cc5d8eb2b49c1d9ad7f Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 22 Aug 2023 18:45:11 +0800 Subject: [PATCH 23/38] Prepare 8.9.1 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 15 +++++++++++++++ composer.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index 85ca708..76918e9 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.9.1 + +Released: 2023-08-22 + +### Changes + +* Support Laravel Framework `10.20`. +* Update minimum support for Testbench Core v8.9.0+. ([v8.9.0...v8.9.1](https://github.com/orchestral/testbench-core/compare/v8.9.0...v8.9.1)) + +#### Testbench Changes + +##### Changes + +* Allow using `$model` property override when extending `Orchestra\Testbench\Factories\UserFactory`. + ## 8.9.0 Released: 2023-08-19 diff --git a/composer.json b/composer.json index f118e3f..d6a2913 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "php": "^8.1", "composer-runtime-api": "^2.2", "fakerphp/faker": "^1.21", - "laravel/framework": ">=10.17.0 <10.20.0", + "laravel/framework": ">=10.17.0 <10.21.0", "mockery/mockery": "^1.5.1", "orchestra/testbench-core": ">=8.9.1 <8.10.0", "orchestra/workbench": "^0.1.7 || ^0.2.0", From 5fc8b7fc58ad3b454c813bea48615b4df3189467 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 22 Aug 2023 18:47:57 +0800 Subject: [PATCH 24/38] 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 17c6216..fb64096 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "laravel/framework": "10.x-dev", "mockery/mockery": "^1.5.1", "orchestra/testbench-core": "8.x-dev", - "orchestra/workbench": "^0.1.7 || ^0.2.0", + "orchestra/workbench": "dev-master", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.2", From 2e6dbd45de1b755062eabbadac50cb7f2f88b19b Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 22 Aug 2023 19:18:42 +0800 Subject: [PATCH 25/38] 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 ccc83f3..72ffea1 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.37", + "orchestra/testbench-core": "^6.37.1", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, diff --git a/core b/core index be9c6ac..48794b5 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit be9c6ac2a440a091fc3ad635e440dfaccf215c6a +Subproject commit 48794b549b878bd74088369cd4787ccfc897a15f From c1f0497dca003cbf7cc2c2f1623b1d0b5e03ade0 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 22 Aug 2023 19:29:36 +0800 Subject: [PATCH 26/38] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index 48794b5..7705fd0 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 48794b549b878bd74088369cd4787ccfc897a15f +Subproject commit 7705fd05376c7790192184ef76d4ed972cb9ca2e From 917b1d0232390740d51ec5358b1ab4a5f1e210c9 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 22 Aug 2023 19:30:21 +0800 Subject: [PATCH 27/38] Prepare 6.33.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 4d3d68b..3260a63 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.33.1 + +Released: 2023-08-22 + +### Changes + +* Update minimum support for Testbench Core v6.37.1+. ([v6.37.0...v6.37.1](https://github.com/orchestral/testbench-core/compare/v6.37.0...v6.37.1)) + +#### Testbench Changes + +##### Fixes + +* Fixes missing import for `Orchestra\Testbench\after_resolving` helper function. + ## 6.33.0 Released: 2023-08-22 From 71d3fffcceb993a20f3666b3cbce6ee057a1a9ec Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 22 Aug 2023 21:41:07 +0800 Subject: [PATCH 28/38] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index 8c6d37b..3f9dcd0 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 8c6d37b937c8932fda021797ba5fcea036f65eef +Subproject commit 3f9dcd0a1f42b0aadbaf2910e50bde47173ddc96 From babbdd1f93f318ef1a965bc6d4de23b4c65d4ddb Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 29 Aug 2023 13:14:59 +0800 Subject: [PATCH 29/38] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- sync.sh | 1 - workbench/.gitignore | 3 -- .../Providers/TestbenchServiceProvider.php | 13 ------ ...26_182750_create_testbench_users_table.php | 42 ------------------- 5 files changed, 1 insertion(+), 60 deletions(-) delete mode 100644 workbench/.gitignore delete mode 100644 workbench/app/Providers/TestbenchServiceProvider.php delete mode 100644 workbench/database/migrations/2013_07_26_182750_create_testbench_users_table.php diff --git a/core b/core index 7705fd0..8117d59 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 7705fd05376c7790192184ef76d4ed972cb9ca2e +Subproject commit 8117d59e0c425437a60c6777d55cac8fcd4ca12e diff --git a/sync.sh b/sync.sh index 8410fef..acfd511 100755 --- a/sync.sh +++ b/sync.sh @@ -10,4 +10,3 @@ 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 deleted file mode 100644 index 6088e42..0000000 --- a/workbench/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.env -.env.dist -.env.example diff --git a/workbench/app/Providers/TestbenchServiceProvider.php b/workbench/app/Providers/TestbenchServiceProvider.php deleted file mode 100644 index 30293b6..0000000 --- a/workbench/app/Providers/TestbenchServiceProvider.php +++ /dev/null @@ -1,13 +0,0 @@ -loadMigrationsFrom(realpath(__DIR__.'/../../database/migrations')); - } -} 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 deleted file mode 100644 index e1a44e5..0000000 --- a/workbench/database/migrations/2013_07_26_182750_create_testbench_users_table.php +++ /dev/null @@ -1,42 +0,0 @@ -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'); - } -} From 79d1a56ccf7b18a45135eb228908321f4e51bd3c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 29 Aug 2023 13:15:23 +0800 Subject: [PATCH 30/38] 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 72ffea1..d4f2f66 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.37.1", + "orchestra/testbench-core": "^6.38", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, From fc15310775cf1aefda41e848cb1785506baa700f Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 29 Aug 2023 13:16:40 +0800 Subject: [PATCH 31/38] Prepare 6.34.0 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 3260a63..9d63ad1 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.34.0 + +Released: 2023-08-29 + +### Changes + +* Update minimum support for Testbench Core v6.38.0+. ([v6.37.1...v6.38.0](https://github.com/orchestral/testbench-core/compare/v6.37.1...v6.38.0)) + +#### Testbench Changes + +##### Added + +* Add ability to automatically run default Laravel migrations using `Orchestra\Testbench\Concerns\WithLaravelMigrations`. + ## 6.33.1 Released: 2023-08-22 From 20df6d8b13c6e75a960bc4d7837d254274aabbfd Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 29 Aug 2023 13:21:00 +0800 Subject: [PATCH 32/38] wip Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 28 +++++++++++++ composer.json | 4 +- core | 2 +- sync.sh | 1 - workbench/.gitignore | 3 -- .../Providers/TestbenchServiceProvider.php | 13 ------ ...26_182750_create_testbench_users_table.php | 42 ------------------- 7 files changed, 31 insertions(+), 62 deletions(-) delete mode 100644 workbench/.gitignore delete mode 100644 workbench/app/Providers/TestbenchServiceProvider.php delete mode 100644 workbench/database/migrations/2013_07_26_182750_create_testbench_users_table.php diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index 4d3d68b..9d63ad1 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -2,6 +2,34 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 6.34.0 + +Released: 2023-08-29 + +### Changes + +* Update minimum support for Testbench Core v6.38.0+. ([v6.37.1...v6.38.0](https://github.com/orchestral/testbench-core/compare/v6.37.1...v6.38.0)) + +#### Testbench Changes + +##### Added + +* Add ability to automatically run default Laravel migrations using `Orchestra\Testbench\Concerns\WithLaravelMigrations`. + +## 6.33.1 + +Released: 2023-08-22 + +### Changes + +* Update minimum support for Testbench Core v6.37.1+. ([v6.37.0...v6.37.1](https://github.com/orchestral/testbench-core/compare/v6.37.0...v6.37.1)) + +#### Testbench Changes + +##### Fixes + +* Fixes missing import for `Orchestra\Testbench\after_resolving` helper function. + ## 6.33.0 Released: 2023-08-22 diff --git a/composer.json b/composer.json index efb04d6..4ad5e98 100644 --- a/composer.json +++ b/composer.json @@ -23,8 +23,8 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.15", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.29.1", - "orchestra/workbench": "^0.1.7 || ^0.2.0", + "orchestra/testbench-core": "^7.30", + "orchestra/workbench": "^0.2.3", "phpunit/phpunit": "^9.5.10", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.0.9", diff --git a/core b/core index 45e829f..7efc828 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 45e829fe9e649e5392e4a8237a6ba7921f3f8527 +Subproject commit 7efc82868714a391cdf05d53f079a2769c62782b diff --git a/sync.sh b/sync.sh index c470726..9394e3d 100755 --- a/sync.sh +++ b/sync.sh @@ -10,4 +10,3 @@ 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 deleted file mode 100644 index 6088e42..0000000 --- a/workbench/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.env -.env.dist -.env.example diff --git a/workbench/app/Providers/TestbenchServiceProvider.php b/workbench/app/Providers/TestbenchServiceProvider.php deleted file mode 100644 index 30293b6..0000000 --- a/workbench/app/Providers/TestbenchServiceProvider.php +++ /dev/null @@ -1,13 +0,0 @@ -loadMigrationsFrom(realpath(__DIR__.'/../../database/migrations')); - } -} 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 deleted file mode 100644 index e1a44e5..0000000 --- a/workbench/database/migrations/2013_07_26_182750_create_testbench_users_table.php +++ /dev/null @@ -1,42 +0,0 @@ -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'); - } -} From 5e0ca4594a9c57389157b066c697f161a5b7a944 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 29 Aug 2023 13:37:03 +0800 Subject: [PATCH 33/38] 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 4ad5e98..0c3d41d 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "laravel/framework": "^9.52.15", "mockery/mockery": "^1.5.1", "orchestra/testbench-core": "^7.30", - "orchestra/workbench": "^0.2.3", + "orchestra/workbench": "^0.2.4", "phpunit/phpunit": "^9.5.10", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.0.9", From 7b8ae39da0adeb4729307f5e9f16a43d9b47061c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 29 Aug 2023 13:53:42 +0800 Subject: [PATCH 34/38] Prepare 7.30.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 f3a2bee..7cb8564 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.30.0 + +Released: 2023-08-29 + +### Changes + +* Update minimum support for Testbench Core v7.30.0+. ([v7.29.1...v7.30.0](https://github.com/orchestral/testbench-core/compare/v7.29.1...v7.30.0)) + +#### Testbench Changes + +##### Added + +* Add ability to automatically run default Laravel migrations using `Orchestra\Testbench\Concerns\WithLaravelMigrations`. +* Add Console Actions classes: + - `Orchestra\Testbench\Foundation\Console\Actions\DeleteFiles` + - `Orchestra\Testbench\Foundation\Console\Actions\DeleteDirectories` + - `Orchestra\Testbench\Foundation\Console\Actions\EnsureDirectoryExists` + - `Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile` + ## 7.29.1 Released: 2023-08-22 From 99770b50ab150bc269128b3472d8fd78bf6cdcf7 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 29 Aug 2023 13:59:25 +0800 Subject: [PATCH 35/38] wip Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 11 ++++++++++- composer.json | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index 76918e9..ec07aa7 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,15 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.10.0 + +Released: 2023-08-29 + +### Changes + +* Update minimum support for Testbench Core v8.9.0+. ([v8.9.0...v8.9.1](https://github.com/orchestral/testbench-core/compare/v8.9.0...v8.9.1)) + + ## 8.9.1 Released: 2023-08-22 @@ -9,7 +18,7 @@ Released: 2023-08-22 ### Changes * Support Laravel Framework `10.20`. -* Update minimum support for Testbench Core v8.9.0+. ([v8.9.0...v8.9.1](https://github.com/orchestral/testbench-core/compare/v8.9.0...v8.9.1)) +* Update minimum support for Testbench Core v8.9.1+. ([v8.9.0...v8.9.1](https://github.com/orchestral/testbench-core/compare/v8.9.0...v8.9.1)) #### Testbench Changes diff --git a/composer.json b/composer.json index 6551cb3..07f9b42 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": ">=10.17.0 <10.21.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": ">=8.10.0 <8.11.0 || 8.x-dev", + "orchestra/testbench-core": ">=8.10.0 <8.11.0", "orchestra/workbench": "^0.2.4", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", From f4de0a8bda82b47034924943a2b377e33dd0bb5d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 29 Aug 2023 14:00:18 +0800 Subject: [PATCH 36/38] Prepare 8.10.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index ec07aa7..2645759 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -8,8 +8,18 @@ Released: 2023-08-29 ### Changes -* Update minimum support for Testbench Core v8.9.0+. ([v8.9.0...v8.9.1](https://github.com/orchestral/testbench-core/compare/v8.9.0...v8.9.1)) +* Update minimum support for Testbench Core v8.10.0+. ([v8.9.1...v8.10.0](https://github.com/orchestral/testbench-core/compare/v8.9.1...v8.10.0)) +#### Testbench Changes + +##### Added + +* Add ability to automatically run default Laravel migrations using `Orchestra\Testbench\Concerns\WithLaravelMigrations`. +* Add Console Actions classes: + - `Orchestra\Testbench\Foundation\Console\Actions\DeleteFiles` + - `Orchestra\Testbench\Foundation\Console\Actions\DeleteDirectories` + - `Orchestra\Testbench\Foundation\Console\Actions\EnsureDirectoryExists` + - `Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile` ## 8.9.1 From daffaf264ad569ddfcb153b77d4b5357f89a3dff Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 29 Aug 2023 14:02:53 +0800 Subject: [PATCH 37/38] 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 07f9b42..699c454 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "php": "^8.1", "composer-runtime-api": "^2.2", "fakerphp/faker": "^1.21", - "laravel/framework": ">=10.17.0 <10.21.0", + "laravel/framework": ">=10.17.0 <10.22.0", "mockery/mockery": "^1.5.1", "orchestra/testbench-core": ">=8.10.0 <8.11.0", "orchestra/workbench": "^0.2.4", From 7c50c3a151763f992e42b41aef0da717d7029e0e Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 29 Aug 2023 14:04:19 +0800 Subject: [PATCH 38/38] wip Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index 2645759..1d5d9df 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -8,6 +8,7 @@ Released: 2023-08-29 ### Changes +* Support Laravel Framework `10.21`. * Update minimum support for Testbench Core v8.10.0+. ([v8.9.1...v8.10.0](https://github.com/orchestral/testbench-core/compare/v8.9.1...v8.10.0)) #### Testbench Changes