From b790b6bb329a53eac4b5a24dd81b080212a9809a Mon Sep 17 00:00:00 2001 From: Voltra <25990549+Voltra@users.noreply.github.com> Date: Mon, 8 Sep 2025 15:42:31 +0000 Subject: [PATCH] hotfix: Revert changes made in v2.6.0 --- .github/workflows/fix-php-code-style-issues.yml | 2 +- .github/workflows/phpstan.yml | 2 +- .github/workflows/run-tests.yml | 4 ++-- .github/workflows/update-changelog.yml | 2 +- CHANGELOG.md | 10 ---------- README.md | 17 ----------------- composer.json | 11 +++++------ 7 files changed, 10 insertions(+), 38 deletions(-) diff --git a/.github/workflows/fix-php-code-style-issues.yml b/.github/workflows/fix-php-code-style-issues.yml index df72a7b..3ef1990 100644 --- a/.github/workflows/fix-php-code-style-issues.yml +++ b/.github/workflows/fix-php-code-style-issues.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 8c35e29..6d9b718 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -11,7 +11,7 @@ jobs: name: phpstan runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 7953e40..5a99e3e 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -38,10 +38,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v4 - name: Cache dependencies - uses: actions/cache@v4 + uses: actions/cache@v3 with: path: ~/.composer/cache/files key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index 1f2dd92..a5f4ae5 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v4 - name: Update Changelog uses: stefanzweifel/changelog-updater-action@v1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 520dd18..235f094 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,16 +2,6 @@ All notable changes to `filament-fabricator` will be documented in this file. -## v2.6.0 (Filament v4 Support) - 2025-08-23 - -### What's Changed - -* build(deps): bump actions/cache from 3 to 4 by @dependabot[bot] in https://github.com/Z3d0X/filament-fabricator/pull/232 -* Add compatibility with Filament v4 by @Voltra in https://github.com/Z3d0X/filament-fabricator/pull/235 -* build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/Z3d0X/filament-fabricator/pull/234 - -**Full Changelog**: https://github.com/Z3d0X/filament-fabricator/compare/v2.5.1...v2.6.0 - ## v2.5.1 - 2025-08-03 ### What's Changed diff --git a/README.md b/README.md index 63407ec..f43cc1f 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@ |------|----------|--------| | [1.x](https://github.com/z3d0x/filament-fabricator/tree/1.x) | ^2.0 | ^8.0 | | [2.x](https://github.com/z3d0x/filament-fabricator/tree/2.x) | ^3.0 | ^8.1 | -| [^2.6](https://github.com/z3d0x/filament-fabricator/tree/2.x) | ^4.0 | ^8.2 | ## Installation @@ -53,22 +52,6 @@ Then, publish the registered plugin assets: php artisan filament:assets ``` -## Migration - -### Filament v3 to Filament v4 - -Since v2.6.0, this package is compatible with both Filament v3 and Filament v4. - -To migrate your project that uses this package from Filament v3 to Filament v4, please follow the [Filament upgrade guide](https://filamentphp.com/docs/4.x/upgrade-guide). - -Should you encounter an error related to this package during that process, you can also try the following command: -```bash -composer require filament/filament:"^4.0" -W --no-update -composer require z3d0x/filament-fabricator:"^2.6" -W --no-update -composer update -``` - - ## Documentation Documentation can be viewed at: https://filamentphp.com/plugins/z3d0x-fabricator diff --git a/composer.json b/composer.json index 40255e0..c2d4149 100644 --- a/composer.json +++ b/composer.json @@ -16,15 +16,14 @@ } ], "require": { - "php": "^8.1 | ^8.2", - "filament/filament": "^3.0 | ^4.0", - "filament/support": "^3.0 | ^4.0", + "php": "^8.1", + "filament/filament": "^3.0", "illuminate/contracts": "^9.0 | ^10.0 | ^11.0 | ^12.0", - "pboivin/filament-peek": "^2.0 | ^3.0 | ^3.0.0-beta1 | ^3.x-dev", + "pboivin/filament-peek": "^2.0", "spatie/laravel-package-tools": "^1.13.5" }, "require-dev": { - "larastan/larastan": "^2.9 | ^3.0", + "larastan/larastan": "^2.9", "laravel/pint": "^1.0", "nunomaduro/collision": "^7.0 | ^8.0", "orchestra/testbench": "^8.0 | ^9.0 | ^10.0", @@ -74,4 +73,4 @@ }, "minimum-stability": "dev", "prefer-stable": true -} \ No newline at end of file +}