From e851b547dd636b85a5f70fca880f62bc432b17de Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 5 Oct 2024 22:50:52 +0800 Subject: [PATCH 01/42] Prepare 7.46.1 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 18 ++++++++++++++++++ composer.json | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index dc2ca82..6614e47 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.46.1 + +Released: 2024-10-05 + +### Changes + +* Update minimum support for Testbench Core v7.47.1+. ([v7.47.0...v7.47.1](https://github.com/orchestral/testbench-core/compare/v7.47.0...v7.47.1)) + +#### Testbench Changes + +##### Changes + +* Listen to `SIGHUP`, `SIGUSR1`, and `SIGUSR2` signals via Testbench CLI. + +##### Fixes + +* Fixes Testbench CLI signals via `serve` command to reset published `.env` and `testbench.yaml`. + ## 7.46.0 Released: 2024-09-23 diff --git a/composer.json b/composer.json index 00df631..bf20a3b 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.47", + "orchestra/testbench-core": "^7.47.1", "orchestra/workbench": "^7.10", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", From 060a79531b3566faaa54b686c7e308571193c318 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 5 Oct 2024 22:56:57 +0800 Subject: [PATCH 02/42] Prepare 8.27.1 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 18 ++++++++++++++++++ composer.json | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index b7636cd..c7ac82e 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.27.1 + +Released: 2024-10-05 + +### Changes + +* Update minimum support for Testbench Core v8.28.2+. ([v8.28.1...v8.28.2](https://github.com/orchestral/testbench-core/compare/v8.28.1...v8.28.2)) + +#### Testbench Changes + +##### Changes + +* Listen to `SIGHUP`, `SIGUSR1`, and `SIGUSR2` signals via Testbench CLI. + +##### Fixes + +* Fixes Testbench CLI signals via `serve` command to reset published `.env` and `testbench.yaml`. + ## 8.27.0 Released: 2024-09-23 diff --git a/composer.json b/composer.json index 8a7c55e..beafb1d 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.48.22", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.28.1", + "orchestra/testbench-core": "^8.28.2", "orchestra/workbench": "^8.10", "phpunit/phpunit": "^9.6 || ^10.1", "symfony/process": "^6.2", From 3ed63164c1b19ae2b7df7a298b3903e5b42e67c8 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 5 Oct 2024 23:03:08 +0800 Subject: [PATCH 03/42] Prepare 9.5.1 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 19 +++++++++++++++++++ composer.json | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index 0d982e1..cbfbf20 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.5.1 + +Released: 2024-10-05 + +### Changes + +* Update minimum support for Testbench Core v9.5.2+. ([v9.5.0...v9.5.2](https://github.com/orchestral/testbench-core/compare/v9.5.0...v9.5.2)) + +#### Testbench Changes + +##### Changes + +* Listen to `SIGHUP`, `SIGUSR1`, and `SIGUSR2` signals via Testbench CLI. +* Update `config/concurrency.php` configuration file. + +##### Fixes + +* Fixes Testbench CLI signals via `serve` command to reset published `.env` and `testbench.yaml`. + ## 9.5.0 Released: 2024-09-23 diff --git a/composer.json b/composer.json index c96da76..c915b70 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.23", "laravel/framework": "^11.11", "mockery/mockery": "^1.6", - "orchestra/testbench-core": "^9.5", + "orchestra/testbench-core": "^9.5.2", "orchestra/workbench": "^9.6", "phpunit/phpunit": "^10.5 || ^11.0.1", "symfony/process": "^7.0", From d847630ea9771b31d9cfc500d82b4193daa3e6be Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sun, 6 Oct 2024 20:53:15 +0800 Subject: [PATCH 04/42] Prepare 6.47.1 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 14 ++++++++++++++ composer.json | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index 6ec324f..1e89c78 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.47.1 + +Released: 2024-10-06 + +### Changes + +* Update minimum support for Testbench Core v6.53.1+. ([v6.53.0...v6.53.1](https://github.com/orchestral/testbench-core/compare/v6.53.0...v6.53.1)) + +#### Testbench Changes + +##### Fixes + +* Prevent seeder from being executed when `shouldSeed()` exists and return `false`. + ## 6.47.0 Released: 2024-09-23 diff --git a/composer.json b/composer.json index 54e2721..fdc08c0 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.53", + "orchestra/testbench-core": "^6.53.1", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, From 8706004a0e1b928fbc9a27dfc7cf4d1cf7709b1d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sun, 6 Oct 2024 20:56:55 +0800 Subject: [PATCH 05/42] Prepare 7.46.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 6614e47..345346e 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.46.2 + +Released: 2024-10-06 + +### Changes + +* Update minimum support for Testbench Core v7.47.2+. ([v7.47.1...v7.47.2](https://github.com/orchestral/testbench-core/compare/v7.47.1...v7.47.2)) + +#### Testbench Changes + +##### Fixes + +* Prevent seeder from being executed when `shouldSeed()` exists and return `false`. + ## 7.46.1 Released: 2024-10-05 diff --git a/composer.json b/composer.json index bf20a3b..df2ecf8 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.47.1", + "orchestra/testbench-core": "^7.47.2", "orchestra/workbench": "^7.10", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", From 6b8eea113e3d6c2e276115f4683a5c71d715d702 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sun, 6 Oct 2024 21:00:02 +0800 Subject: [PATCH 06/42] Prepare 8.27.2 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 14 ++++++++++++++ composer.json | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index c7ac82e..d78fe5d 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.27.2 + +Released: 2024-10-06 + +### Changes + +* Update minimum support for Testbench Core v8.28.3+. ([v8.28.2...v8.28.3](https://github.com/orchestral/testbench-core/compare/v8.28.2...v8.28.3)) + +#### Testbench Changes + +##### Fixes + +* Prevent seeder from being executed when `shouldSeed()` exists and return `false`. + ## 8.27.1 Released: 2024-10-05 diff --git a/composer.json b/composer.json index beafb1d..ef961ac 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.48.22", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.28.2", + "orchestra/testbench-core": "^8.28.3", "orchestra/workbench": "^8.10", "phpunit/phpunit": "^9.6 || ^10.1", "symfony/process": "^6.2", From bc404d840ffbb722bf0bbb042251ef83223482f9 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sun, 6 Oct 2024 21:07:57 +0800 Subject: [PATCH 07/42] Prepare 9.5.2 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 14 ++++++++++++++ composer.json | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index cbfbf20..908cdea 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.5.2 + +Released: 2024-10-06 + +### Changes + +* Update minimum support for Testbench Core v9.5.3+. ([v9.5.2...v9.5.3](https://github.com/orchestral/testbench-core/compare/v9.5.2...v9.5.3)) + +#### Testbench Changes + +##### Fixes + +* Prevent seeder from being executed when `shouldSeed()` exists and return `false`. + ## 9.5.1 Released: 2024-10-05 diff --git a/composer.json b/composer.json index c915b70..0d0ab7a 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.23", "laravel/framework": "^11.11", "mockery/mockery": "^1.6", - "orchestra/testbench-core": "^9.5.2", + "orchestra/testbench-core": "^9.5.3", "orchestra/workbench": "^9.6", "phpunit/phpunit": "^10.5 || ^11.0.1", "symfony/process": "^7.0", From 5dbedda4109c5643d4f48073fd0bd17d6ee120c1 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 8 Oct 2024 20:15:33 +0800 Subject: [PATCH 08/42] Update FUNDING.yaml --- .github/FUNDING.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yaml b/.github/FUNDING.yaml index 927c377..e8066d7 100644 --- a/.github/FUNDING.yaml +++ b/.github/FUNDING.yaml @@ -6,7 +6,7 @@ open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: crynobone +liberapay: # crynobone issuehunt: # Replace with a single IssueHunt username otechie: # Replace with a single Otechie username custom: # ["https://paypal.me/crynobone"] From 6b049523831a6d1a5024203aadf35fc3e2cc9d41 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 19 Nov 2024 07:26:15 +0800 Subject: [PATCH 09/42] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yaml | 1 + composer.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 826ab79..1dbd873 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -18,6 +18,7 @@ jobs: - '8.0' - 8.1 - 8.2 + - 8.3 phpunit: - "9.x" dependencies: diff --git a/composer.json b/composer.json index df2ecf8..27d6c77 100644 --- a/composer.json +++ b/composer.json @@ -22,9 +22,9 @@ "require": { "php": "^8.0", "fakerphp/faker": "^1.21", - "laravel/framework": "^9.52.16", + "laravel/framework": "^9.52.17", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.47.2", + "orchestra/testbench-core": "^7.48", "orchestra/workbench": "^7.10", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", From 7e7cbe0cfc6cbbed328e0dfd607090d9de2b5753 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 19 Nov 2024 07:27:23 +0800 Subject: [PATCH 10/42] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1dbd873..1d16d17 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -8,12 +8,10 @@ on: jobs: tests-on-phpunit-9: - runs-on: ${{ matrix.os }} + runs-on: "ubuntu-latest" continue-on-error: ${{ matrix.experimental }} strategy: matrix: - os: - - "ubuntu-latest" php: - '8.0' - 8.1 @@ -27,7 +25,7 @@ jobs: experimental: - false - name: PHP:${{ matrix.php }} with PHPUnit:${{ matrix.phpunit }} on ${{ matrix.os }} (${{ matrix.dependencies }}) + name: PHP:${{ matrix.php }} / PHPUnit:${{ matrix.phpunit }} ${{ matrix.dependencies == 'highest' && '⬆️' || '⬇️' }} steps: - name: Checkout repository and submodules From fdd5a0bbb6e97e5f190966975b6791c9095ffbe3 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 19 Nov 2024 07:30:19 +0800 Subject: [PATCH 11/42] Prepare 7.47.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index 345346e..eefef00 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -2,6 +2,33 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 7.47.0 + +Released: 2024-11-19 + +### Changes + +* Update minimum support for Testbench Core v7.48.0+. ([v7.47.2...v7.48.0](https://github.com/orchestral/testbench-core/compare/v7.47.2...v7.48.0)) + +#### Testbench Changes + +##### Added + +* Added `Orchestra\Testbench\Foundation\Bootstrap\DeleteVendorSymlink` class. +* Added `Orchestra\Testbench\Concerns\InteractsWithMockery` trait. +* Added `--database` option to `package:create-sqlite-db` command. +* Added `--database` and `--all` options to `package:drop-sqlite-db` command. +* Added `Orchestra\Testbench\php_binary()` function. +* Added support for PHP 8.3. + +##### Changes + +* Change `resolveApplicationResolvingCallback()` method visibility from `private` to `protected`. +* Ensure database directory exists when running `package:create-sqlite-db`. +* Allow configuring `PHP_CLI_SERVER_WORKERS` via Composer Script. +* Improves `CTRL+C` and `CTRL+BREAK` supports on Windows without `pcntl` extension. +* `Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile` should be able to handle `$from` and `$to` when given as `false` or `null`. + ## 7.46.2 Released: 2024-10-06 From 845f6cbf3458ac043aab7e31f070d9204023863f Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 19 Nov 2024 07:32:02 +0800 Subject: [PATCH 12/42] 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 27d6c77..d68dada 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "laravel/framework": "^9.52.17", "mockery/mockery": "^1.5.1", "orchestra/testbench-core": "^7.48", - "orchestra/workbench": "^7.10", + "orchestra/workbench": "^7.12", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", "symfony/yaml": "^6.0.9", From a75b55f62d300c119a1da5c7df29da8cd58d41f6 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 19 Nov 2024 07:51:58 +0800 Subject: [PATCH 13/42] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index ef961ac..389ef62 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.48.22", + "laravel/framework": "^10.48.23", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.28.3", - "orchestra/workbench": "^8.10", + "orchestra/testbench-core": "^8.29", + "orchestra/workbench": "^8.12", "phpunit/phpunit": "^9.6 || ^10.1", "symfony/process": "^6.2", "symfony/yaml": "^6.2", From 96beb6646dc2b766b92ba40379a56999a554904a Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 19 Nov 2024 07:55:06 +0800 Subject: [PATCH 14/42] Prepare 8.28.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index d78fe5d..f7b1c31 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,33 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.28.0 + +Released: 2024-11-19 + +### Changes + +* Update minimum support for Testbench Core v8.29.0+. ([v8.28.3...v8.29.0](https://github.com/orchestral/testbench-core/compare/v8.28.3...v8.29.0)) + +#### Testbench Changes + +##### Added + +* Added `Orchestra\Testbench\Foundation\Bootstrap\DeleteVendorSymlink` class. +* Added `Orchestra\Testbench\Concerns\InteractsWithMockery` trait. +* Added `--database` option to `package:create-sqlite-db` command. +* Added `--database` and `--all` options to `package:drop-sqlite-db` command. +* Added `Orchestra\Testbench\php_binary()` function. +* Allows `laravel/serializable-closure` 2. + +### Changes + +* Change `resolveApplicationResolvingCallback()` method visibility from `private` to `protected`. +* Ensure database directory exists when running `package:create-sqlite-db`. +* Allow configuring `PHP_CLI_SERVER_WORKERS` via Composer Script. +* Improves `CTRL+C` and `CTRL+BREAK` supports on Windows without `pcntl` extension. +* `Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile` should be able to handle `$from` and `$to` when given as `false` or `null`. + ## 8.27.2 Released: 2024-10-06 From 5ac3a3f07963261a7fc7cceb32e360012e37b762 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 19 Nov 2024 07:59:55 +0800 Subject: [PATCH 15/42] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 0d0ab7a..c9f57fd 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.11", + "laravel/framework": "^11.31", "mockery/mockery": "^1.6", - "orchestra/testbench-core": "^9.5.3", - "orchestra/workbench": "^9.6", + "orchestra/testbench-core": "^9.6", + "orchestra/workbench": "^9.8", "phpunit/phpunit": "^10.5 || ^11.0.1", "symfony/process": "^7.0", "symfony/yaml": "^7.0", From 574ee8f5367681abf33eab83411161e921095102 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 19 Nov 2024 08:02:03 +0800 Subject: [PATCH 16/42] 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 79c457b..f30bff4 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -95,7 +95,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 vendor/orchestra/testbench-core/tests + run: vendor/bin/phpunit ${{ matrix.phpunit == '^11.0' && '--exclude-group commander --exclude-group core --exclude-group database --exclude-group workbench --exclude-group phpunit-configuration' || '--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 4a510ed4621ee5635223c79093fabc4a70f313c0 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 19 Nov 2024 08:07:26 +0800 Subject: [PATCH 17/42] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yaml | 48 ------------------------------------ 1 file changed, 48 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index f30bff4..1270abc 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -52,51 +52,3 @@ jobs: run: composer run test env: RAY_ENABLED: false - - tests-without-configuration: - runs-on: "ubuntu-latest" - continue-on-error: ${{ matrix.experimental }} - strategy: - matrix: - php: - - 8.2 - - 8.3 - phpunit: - - "^11.0" - - "^10.5" - dependencies: - - "highest" - - "lowest" - experimental: - - true - - name: PHP${{ matrix.php }} / PHPUnit:${{ matrix.phpunit }} Without Configuration ${{ matrix.dependencies == 'highest' && '⬆️' || '⬇️' }} - - steps: - - name: Checkout repository and submodules - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, intl, fileinfo - coverage: none - - - name: Install dependencies - uses: "ramsey/composer-install@v3" - with: - dependency-versions: "${{ matrix.dependencies }}" - composer-options: "--no-cache --with=phpunit/phpunit:${{ matrix.phpunit }}" - - - name: Installed dependencies - run: composer show -D - - - name: Execute tests - run: vendor/bin/phpunit ${{ matrix.phpunit == '^11.0' && '--exclude-group commander --exclude-group core --exclude-group database --exclude-group workbench --exclude-group phpunit-configuration' || '--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 b25d4f578f62f86d919b2ee70e513d7e1700105b Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 19 Nov 2024 08:16:16 +0800 Subject: [PATCH 18/42] [9.x] Supports PHP 8.4 (#420) * [9.x] Supports PHP 8.4 Signed-off-by: Mior Muhammad Zaki * wip Signed-off-by: Mior Muhammad Zaki --------- Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yaml | 4 +++- composer.json | 10 +++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1270abc..3020678 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -16,9 +16,11 @@ jobs: php: - 8.2 - 8.3 + - 8.4 phpunit: - - "^11.0" - "^10.5" + - "^11.3" + - "^11.4" dependencies: - "highest" - "lowest" diff --git a/composer.json b/composer.json index c9f57fd..467f2e0 100644 --- a/composer.json +++ b/composer.json @@ -24,13 +24,13 @@ "composer-runtime-api": "^2.2", "fakerphp/faker": "^1.23", "laravel/framework": "^11.31", - "mockery/mockery": "^1.6", + "mockery/mockery": "^1.6.10", "orchestra/testbench-core": "^9.6", "orchestra/workbench": "^9.8", - "phpunit/phpunit": "^10.5 || ^11.0.1", - "symfony/process": "^7.0", - "symfony/yaml": "^7.0", - "vlucas/phpdotenv": "^5.4.1" + "phpunit/phpunit": "^10.5.35 || ^11.3.6", + "symfony/process": "^7.0.3", + "symfony/yaml": "^7.0.3", + "vlucas/phpdotenv": "^5.6.1" }, "config": { "preferred-install": { From b93847b61acfb4277149e6aeb1aa75703fd7b10d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 19 Nov 2024 08:21:45 +0800 Subject: [PATCH 19/42] Prepare 9.6.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index 908cdea..56dac17 100644 --- a/CHANGELOG-9.x.md +++ b/CHANGELOG-9.x.md @@ -2,6 +2,37 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 9.6.0 + +Released: 2024-11-19 + +### Changes + +* Update minimum support for Testbench Core v9.6.0+. ([v9.5.3...v9.6.0](https://github.com/orchestral/testbench-core/compare/v9.5.3...v9.6.0)) + +#### Testbench Changes + +##### Added + +* Added `Orchestra\Testbench\Foundation\Bootstrap\DeleteVendorSymlink` class. +* Added `Orchestra\Testbench\Concerns\InteractsWithMockery` trait. +* Added `--database` option to `package:create-sqlite-db` command. +* Added `--database` and `--all` options to `package:drop-sqlite-db` command. +* Added `Orchestra\Testbench\php_binary()` function. +* Allows `laravel/serializable-closure` 2. +* Added draft support for PHP 8.4. + +##### Changes + +* Ensure database directory exists when running `package:create-sqlite-db`. +* Allow configuring `PHP_CLI_SERVER_WORKERS` via Composer Script. +* Improves `CTRL+C` and `CTRL+BREAK` supports on Windows without `pcntl` extension. +* `Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile` should be able to handle `$from` and `$to` when given as `false` or `null`. + +##### Fixed + +* Fixed `#[WithMigration('queue')]` should load the default migrations. + ## 9.5.2 Released: 2024-10-06 From 21d246bcb57ff681def1cd71b4a4936e5f0dc140 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 20 Nov 2024 08:03:21 +0800 Subject: [PATCH 20/42] Prepare 9.6.1 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 14 ++++++++++++++ composer.json | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index 56dac17..13b01fa 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.6.1 + +Released: 2024-11-20 + +### Changes + +* Update minimum support for Testbench Core v9.6.1+. ([v9.6.0...v9.6.1](https://github.com/orchestral/testbench-core/compare/v9.6.0...v9.6.1)) + +#### Testbench Changes + +##### Fixes + +* Fixes compatibility with Laravel Framework v11.33.0. + ## 9.6.0 Released: 2024-11-19 diff --git a/composer.json b/composer.json index 467f2e0..427589f 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.31", + "laravel/framework": "^11.33.2", "mockery/mockery": "^1.6.10", - "orchestra/testbench-core": "^9.6", + "orchestra/testbench-core": "^9.6.1", "orchestra/workbench": "^9.8", "phpunit/phpunit": "^10.5.35 || ^11.3.6", "symfony/process": "^7.0.3", From 97cc0e7cd52540ae9149b4a4fc512b198fed0237 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 20 Nov 2024 08:28:28 +0800 Subject: [PATCH 21/42] wip Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 3 ++- composer.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index 13b01fa..c9504fc 100644 --- a/CHANGELOG-9.x.md +++ b/CHANGELOG-9.x.md @@ -8,12 +8,13 @@ Released: 2024-11-20 ### Changes -* Update minimum support for Testbench Core v9.6.1+. ([v9.6.0...v9.6.1](https://github.com/orchestral/testbench-core/compare/v9.6.0...v9.6.1)) +* Update minimum support for Testbench Core v9.6.2+. ([v9.6.0...v9.6.2](https://github.com/orchestral/testbench-core/compare/v9.6.0...v9.6.2)) #### Testbench Changes ##### Fixes +* Fixes `route:cache` when `health: true` configured using `testbench.yaml`. * Fixes compatibility with Laravel Framework v11.33.0. ## 9.6.0 diff --git a/composer.json b/composer.json index 427589f..b7327c3 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.23", "laravel/framework": "^11.33.2", "mockery/mockery": "^1.6.10", - "orchestra/testbench-core": "^9.6.1", + "orchestra/testbench-core": "^9.6.2", "orchestra/workbench": "^9.8", "phpunit/phpunit": "^10.5.35 || ^11.3.6", "symfony/process": "^7.0.3", From df91618f4ff7082e912af1fee2ec1ef969db1ef8 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 30 Nov 2024 17:28:54 +0800 Subject: [PATCH 22/42] 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 d68dada..bac9eac 100644 --- a/composer.json +++ b/composer.json @@ -22,9 +22,9 @@ "require": { "php": "^8.0", "fakerphp/faker": "^1.21", - "laravel/framework": "^9.52.17", + "laravel/framework": "^9.52.18", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.48", + "orchestra/testbench-core": "^7.49", "orchestra/workbench": "^7.12", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", From 640ff593506921424c39e87f462d4f62e6e2e719 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sat, 30 Nov 2024 23:01:41 +0800 Subject: [PATCH 23/42] wip Signed-off-by: Mior Muhammad Zaki --- bin/sync | 8 ++++---- composer.json | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bin/sync b/bin/sync index a3ed3f0..57bcc55 100755 --- a/bin/sync +++ b/bin/sync @@ -15,8 +15,8 @@ $files->copy("{$workingPath}/vendor/orchestra/testbench-core/testbench.yaml", "{ Illuminate\Support\Collection::make([ ...$files->allFiles("{$workingPath}/vendor/orchestra/testbench-core/workbench/app/"), ])->flatten() -->filter(fn ($file) => is_file($file)) -->each(function ($file) use ($files, $workingPath) { +->filter(static fn ($file) => is_file($file)) +->each(static function ($file) use ($files, $workingPath) { $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); @@ -28,8 +28,8 @@ Illuminate\Support\Collection::make([ ...$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) { +->filter(static fn ($file) => is_file($file)) +->each(static function ($file) use ($files, $workingPath) { $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); diff --git a/composer.json b/composer.json index bac9eac..2c607dd 100644 --- a/composer.json +++ b/composer.json @@ -42,6 +42,7 @@ "post-autoload-dump": "@prepare", "prepare": "@php vendor/bin/testbench package:discover --ansi", "test": "@php vendor/bin/phpunit -c ./ --color", + "sync": "@php bin/sync", "ci": [ "@prepare", "@test" From 85905959b25af7767cfe9e4fef96426fc3d7760d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sun, 1 Dec 2024 18:41:00 +0800 Subject: [PATCH 24/42] Prepare 7.48.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 33 +++++++++++++++++++++++++++++++++ composer.json | 2 +- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index eefef00..20f2615 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -2,6 +2,39 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 7.48.0 + +Released: 2024-12-01 + +### Changes + +* Update minimum support for Testbench Core v7.49.0+. ([v7.48.0...v7.49.0](https://github.com/orchestral/testbench-core/compare/v7.48.0...v7.49.0)) + +#### Testbench Changes + +##### Added + +* Added ability to detect Workbench namespace via `Orchestra\Testbench\Workbench\Workbench::detectNamespace()` method. +* Added ability to detect the default user model via `Orchestra\Testbench\Workbench\Workbench::applicationUserModel()` method. +* Added support for authentication routes within Workbench by configurating `workbench.auth` config to `true`. +* Added new `package:sync-skeleton` command. + +##### Changes + +* Testbench Dusk integration improvements: + - Refactor `Orchestra\Testbench\Bootstrap\LoadConfiguration` and `Orchestra\Testbench\Bootstrap\LoadConfigurationWithWorkbench` to allow being extended by Testbench Dusk. + - Refactor `Orchestra\Testbench\Console\Commander`. +* Add multiple environment variables to Laravel 9 skeleton's configuration files based on changes made for Laravel 11. +* Add `$tty` parameter to `Orchestra\Testbench\remote()` function. +* Refactor `Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink` class and mark it as `@api`. +* Add `$backupExistingFile` and `$resetOnTerminating` parameter to following methods in `Orchestra\Testbench\Foundation\Console\Concerns\CopyTestbenchFiles` trait: + - `copyTestbenchConfigurationFile()` + - `copyTestbenchDotEnvFile()` + +##### Deprecated + +* Deprecate `Orchestra\Testbench\Foundation\Console\Concerns\HandleTerminatingConsole` trait, use `Orchestra\Testbench\Foundation\Console\TerminatingConsole` class instead. + ## 7.47.0 Released: 2024-11-19 diff --git a/composer.json b/composer.json index 2c607dd..ed10aba 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "laravel/framework": "^9.52.18", "mockery/mockery": "^1.5.1", "orchestra/testbench-core": "^7.49", - "orchestra/workbench": "^7.12", + "orchestra/workbench": "^7.13", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", "symfony/yaml": "^6.0.9", From 71b16faeb9b5eef1ea26414474cb5d845b5d91ad Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sun, 1 Dec 2024 19:05:50 +0800 Subject: [PATCH 25/42] Prepare 8.29.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 33 +++++++++++++++++++++++++++++++++ composer.json | 4 ++-- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index f7b1c31..25487dd 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,39 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.29.0 + +Released: 2024-12-01 + +### Changes + +* Update minimum support for Testbench Core v8.30.0+. ([v8.29.0...v8.30.0](https://github.com/orchestral/testbench-core/compare/v8.29.0...v8.30.0)) + +#### Testbench Changes + +##### Added + +* Added ability to detect Workbench namespace via `Orchestra\Testbench\Workbench\Workbench::detectNamespace()` method. +* Added ability to detect the default user model via `Orchestra\Testbench\Workbench\Workbench::applicationUserModel()` method. +* Added support for authentication routes within Workbench by configurating `workbench.auth` config to `true`. +* Added new `package:sync-skeleton` command. + +##### Changes + +* Testbench Dusk integration improvements: + - Refactor `Orchestra\Testbench\Bootstrap\LoadConfiguration` and `Orchestra\Testbench\Bootstrap\LoadConfigurationWithWorkbench` to allow being extended by Testbench Dusk. + - Refactor `Orchestra\Testbench\Console\Commander`. +* Add multiple environment variables to Laravel 10 skeleton's configuration files based on changes made for Laravel 11. +* Add `$tty` parameter to `Orchestra\Testbench\remote()` function. +* Refactor `Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink` class and mark it as `@api`. +* Add `$backupExistingFile` and `$resetOnTerminating` parameter to following methods in `Orchestra\Testbench\Foundation\Console\Concerns\CopyTestbenchFiles` trait: + - `copyTestbenchConfigurationFile()` + - `copyTestbenchDotEnvFile()` + +##### Deprecated + +* Deprecate `Orchestra\Testbench\Foundation\Console\Concerns\HandleTerminatingConsole` trait, use `Orchestra\Testbench\Foundation\Console\TerminatingConsole` class instead. + ## 8.28.0 Released: 2024-11-19 diff --git a/composer.json b/composer.json index fded19a..fbe9ad8 100644 --- a/composer.json +++ b/composer.json @@ -25,8 +25,8 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.48.25", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.29", - "orchestra/workbench": "^8.12", + "orchestra/testbench-core": "^8.30", + "orchestra/workbench": "^8.13", "phpunit/phpunit": "^9.6 || ^10.1", "symfony/process": "^6.2", "symfony/yaml": "^6.2", From 76b7e27da7a7d88d61087f258f88bc174b2cf7bd Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sun, 1 Dec 2024 19:13:07 +0800 Subject: [PATCH 26/42] Prepare 9.7.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index c9504fc..15eec5d 100644 --- a/CHANGELOG-9.x.md +++ b/CHANGELOG-9.x.md @@ -2,6 +2,39 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 9.7.0 + +Released: 2024-12-01 + +### Changes + +* Update minimum support for Testbench Core v9.7.0+. ([v9.6.2...v9.7.0](https://github.com/orchestral/testbench-core/compare/v9.6.2...v9.7.0)) + +#### Testbench Changes + +##### Added + +* Added ability to detect Workbench namespace via `Orchestra\Testbench\Workbench\Workbench::detectNamespace()` method. +* Added ability to detect the default user model via `Orchestra\Testbench\Workbench\Workbench::applicationUserModel()` method. +* Added support for authentication routes within Workbench by configurating `workbench.auth` config to `true`. +* Added new `package:sync-skeleton` command. + +##### Changes + +* Testbench Dusk integration improvements: + - Refactor `Orchestra\Testbench\Bootstrap\LoadConfiguration` and `Orchestra\Testbench\Bootstrap\LoadConfigurationWithWorkbench` to allow being extended by Testbench Dusk. + - Refactor `Orchestra\Testbench\Console\Commander`. +* Add `$tty` parameter to `Orchestra\Testbench\remote()` function. +* Refactor `Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink` class and mark it as `@api`. +* Add `$backupExistingFile` and `$resetOnTerminating` parameter to following methods in `Orchestra\Testbench\Foundation\Console\Concerns\CopyTestbenchFiles` trait: + - `copyTestbenchConfigurationFile()` + - `copyTestbenchDotEnvFile()` +* Supports `laravel/serializable-closure` v2. + +##### Deprecated + +* Deprecate `Orchestra\Testbench\Foundation\Console\Concerns\HandleTerminatingConsole` trait, use `Orchestra\Testbench\Foundation\Console\TerminatingConsole` class instead. + ## 9.6.1 Released: 2024-11-20 From 9b63993c9341f38b86ece315f76c634e94aab687 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 5 Dec 2024 08:23:56 +0800 Subject: [PATCH 27/42] wip --- .github/workflows/tests.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 3020678..33ef6a1 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -18,9 +18,10 @@ jobs: - 8.3 - 8.4 phpunit: - - "^10.5" - - "^11.3" - - "^11.4" + - "~10.5" + - "~11.3" + - "~11.4" + - "~11.5" dependencies: - "highest" - "lowest" From 0f2713b3f685652a4626de819f979a978f97156f Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Fri, 6 Dec 2024 14:34:15 +0800 Subject: [PATCH 28/42] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 164130d..a4094c1 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.23", "laravel/framework": "^11.35.0", "mockery/mockery": "^1.6.10", - "orchestra/testbench-core": "^9.7", + "orchestra/testbench-core": "^9.7.2", "orchestra/workbench": "^9.9", "phpunit/phpunit": "^10.5.35 || ^11.3.6", "symfony/process": "^7.0.3", From 4c158c35656e652bdec310a0404c6bbd61c7c85f Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 16 Dec 2024 07:52:58 +0800 Subject: [PATCH 29/42] Release 7.48.0 Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-7.x.md | 19 +++++++++++++++++++ composer.json | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index 20f2615..3fbcd6a 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -8,6 +8,25 @@ Released: 2024-12-01 ### Changes +* Update minimum support for Testbench Core v7.50.0+. ([v7.49.0...v7.50.0](https://github.com/orchestral/testbench-core/compare/v7.49.0...v7.50.0)) + +#### Testbench Changes + +##### Added + +* Added `Orchestra\Testbench\transform_realpath_to_relative()` function. +* Override Laravel's `vendor:publish` command. + +##### Changes + +* Add `$force` parameter to `Orchestra\Testbench\Workbench\Workbench::detectNamespace()` method. + +## 7.48.0 + +Released: 2024-12-01 + +### Changes + * Update minimum support for Testbench Core v7.49.0+. ([v7.48.0...v7.49.0](https://github.com/orchestral/testbench-core/compare/v7.48.0...v7.49.0)) #### Testbench Changes diff --git a/composer.json b/composer.json index ed10aba..93a5afa 100644 --- a/composer.json +++ b/composer.json @@ -24,8 +24,8 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.18", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.49", - "orchestra/workbench": "^7.13", + "orchestra/testbench-core": "^7.50", + "orchestra/workbench": "^7.15", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", "symfony/yaml": "^6.0.9", From 0afd289b1dbca5ad3df541ac03cd629a0f1ca1ff Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 16 Dec 2024 07:53:31 +0800 Subject: [PATCH 30/42] 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 3fbcd6a..58a8e97 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -2,7 +2,7 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. -## 7.48.0 +## 7.49.0 Released: 2024-12-01 From 4d13bbbf94234ea3f152ff5408a0e03f1fe12155 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 16 Dec 2024 07:57:46 +0800 Subject: [PATCH 31/42] 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 93a5afa..145fcbc 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.18", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.50", + "orchestra/testbench-core": "^7.50.1", "orchestra/workbench": "^7.15", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", From f07822b047b130d8d49563114d972191e4748eda Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 16 Dec 2024 08:02:21 +0800 Subject: [PATCH 32/42] Release 8.30.0 Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index de548c8..cfa76d0 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.30.0 + +Released: 2024-12-16 + +### Changes + +* Update minimum support for Testbench Core v8.31.0+. ([v8.30.0...v8.31.0](https://github.com/orchestral/testbench-core/compare/v8.30.0...v8.31.0)) + +#### Testbench Changes + +##### Added + +* Added `Orchestra\Testbench\transform_realpath_to_relative()` function. +* Override Laravel's `vendor:publish` command. + +##### Changes + +* Add `$force` parameter to `Orchestra\Testbench\Workbench\Workbench::detectNamespace()` method. ## 8.29.0 From 7d88d76e637b041fe70e45d5337228a42235bbd5 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 16 Dec 2024 08:06:22 +0800 Subject: [PATCH 33/42] 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 0336471..f58c405 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.48.25", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.31", + "orchestra/testbench-core": "^8.31.1", "orchestra/workbench": "^8.15", "phpunit/phpunit": "^9.6 || ^10.1", "symfony/process": "^6.2", From 26a05ce10244fc37d01ece9fde48fdf12083cfcf Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 16 Dec 2024 08:10:48 +0800 Subject: [PATCH 34/42] Release 9.8.0 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 15eec5d..a2e5a97 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.8.0 + +Released: 2024-12-01 + +### Changes + +* Update minimum support for Testbench Core v9.8.0+. ([v9.7.0...v9.8.0](https://github.com/orchestral/testbench-core/compare/v9.7.0...v9.8.0)) + +#### Testbench Changes + +##### Added + +* Added `Orchestra\Testbench\transform_realpath_to_relative()` function. +* Override Laravel's `vendor:publish` command. + +##### Changes + +* Add `$force` parameter to `Orchestra\Testbench\Workbench\Workbench::detectNamespace()` method. + ## 9.7.0 Released: 2024-12-01 From 88e90042d7428c646ece8acf4a69e7621369f14d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 16 Dec 2024 08:12:23 +0800 Subject: [PATCH 35/42] wip Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index a2e5a97..6dda4c8 100644 --- a/CHANGELOG-9.x.md +++ b/CHANGELOG-9.x.md @@ -4,7 +4,7 @@ This changelog references the relevant changes (bug and security fixes) done to ## 9.8.0 -Released: 2024-12-01 +Released: 2024-12-16 ### Changes From f7e8d0b8cb803dfb22ca9641d7767ab8fd3437e4 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 16 Dec 2024 08:14:54 +0800 Subject: [PATCH 36/42] 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 6fa40f8..e11d1f6 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "fakerphp/faker": "^1.23", "laravel/framework": "^11.35.0", "mockery/mockery": "^1.6.10", - "orchestra/testbench-core": "^9.8", + "orchestra/testbench-core": "^9.8.1", "orchestra/workbench": "^9.11", "phpunit/phpunit": "^10.5.35 || ^11.3.6", "symfony/process": "^7.0.3", From 1a7c28c62921ea32c2f8e6d0d946f867a1686089 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 16 Dec 2024 08:21:27 +0800 Subject: [PATCH 37/42] 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 58a8e97..58f6cec 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.49.0 -Released: 2024-12-01 +Released: 2024-12-16 ### Changes From 9ed511f253d58d895a7717c846aa21b67d2173ce Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 25 Dec 2024 13:43:01 +0800 Subject: [PATCH 38/42] 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 145fcbc..0ce6215 100644 --- a/composer.json +++ b/composer.json @@ -24,8 +24,8 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.18", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.50.1", - "orchestra/workbench": "^7.15", + "orchestra/testbench-core": "^7.51.0", + "orchestra/workbench": "^7.17.0", "phpunit/phpunit": "^9.5.10", "symfony/process": "^6.0.9", "symfony/yaml": "^6.0.9", From b55f3c1e33b74f33e7fc34c21209f68400d32f11 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 25 Dec 2024 13:52:43 +0800 Subject: [PATCH 39/42] wip Signed-off-by: Mior Muhammad Zaki --- testbench.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testbench.yaml b/testbench.yaml index 4fcbf85..11fa749 100644 --- a/testbench.yaml +++ b/testbench.yaml @@ -15,6 +15,10 @@ workbench: api: true commands: true views: true + sync: + - from: storage + to: workbench/storage + reverse: true purge: directories: public/vendor/* From 49b801727d89e0891989dacd64a532b3fb173ff3 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 26 Dec 2024 07:30:05 +0800 Subject: [PATCH 40/42] Release 7.50.0 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 58f6cec..2e4a59a 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.50.0 + +Released: 2024-12-26 + +### Changes + +* Update minimum support for Testbench Core v7.51.0+. ([v7.50.0...v7.51.0](https://github.com/orchestral/testbench-core/compare/v7.50.0...v7.51.0)) + +#### Testbench Changes + +##### Added + +* Add ability to symlink directory in from skeleton to package. + +##### Changes + +* Add `Orchestra\Testbench\Workbench\Workbench::flushCachedClassAndNamespaces()` to flush cached namespaces and classes during installation. +* Use `realpath()` on `vendor:publish` output. + ## 7.49.0 Released: 2024-12-16 From a8d3491e47b88c3a0dc9f97e33986a88684fed87 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 26 Dec 2024 07:34:05 +0800 Subject: [PATCH 41/42] Release 8.31.0 Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 19 +++++++++++++++++++ CHANGELOG-9.x.md | 0 2 files changed, 19 insertions(+) delete mode 100644 CHANGELOG-9.x.md diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index cfa76d0..0ad5887 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.31.0 + +Released: 2024-12-26 + +### Changes + +* Update minimum support for Testbench Core v8.32.0+. ([v8.31.0...v8.32.0](https://github.com/orchestral/testbench-core/compare/v8.31.0...v8.32.0)) + +#### Testbench Changes + +##### Added + +* Add ability to symlink directory in from skeleton to package. + +##### Changes + +* Add `Orchestra\Testbench\Workbench\Workbench::flushCachedClassAndNamespaces()` to flush cached namespaces and classes during installation. +* Use `realpath()` on `vendor:publish` output. + ## 8.30.0 Released: 2024-12-16 diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md deleted file mode 100644 index e69de29..0000000 From 2f3e8c687ca5c0bd4d8bc91c4448983d046ba32b Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 26 Dec 2024 07:40:19 +0800 Subject: [PATCH 42/42] Release 9.9.0 Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-9.x.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CHANGELOG-9.x.md b/CHANGELOG-9.x.md index 6dda4c8..d3f8e32 100644 --- a/CHANGELOG-9.x.md +++ b/CHANGELOG-9.x.md @@ -2,6 +2,26 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 9.9.0 + +Released: 2024-12-26 + +### Changes + +* Update minimum support for Testbench Core v9.9.0+. ([v9.8.0...v9.9.0](https://github.com/orchestral/testbench-core/compare/v9.8.0...v9.9.0)) + +#### Testbench Changes + +##### Added + +* Add ability to symlink directory in from skeleton to package. + +##### Changes + +* Update skeleton to match v11.5.0. +* Add `Orchestra\Testbench\Workbench\Workbench::flushCachedClassAndNamespaces()` to flush cached namespaces and classes during installation. +* Use `realpath()` on `vendor:publish` output. + ## 9.8.0 Released: 2024-12-16