diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 604dc393..8518226d 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -24,13 +24,13 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2 with: - php-version: 8.2 + php-version: 8.3 extensions: zip tools: composer:v2 coverage: none - name: Install PHP dependencies - uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v3 + uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0 with: dependency-versions: highest composer-options: "--prefer-dist" @@ -51,13 +51,13 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2 with: - php-version: 8.2 + php-version: 8.3 extensions: zip tools: composer:v2 coverage: none - name: Install PHP dependencies - uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v3 + uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0 with: dependency-versions: highest composer-options: "--prefer-dist" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c0308815..9d716e63 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - php: ['8.2', '8.3', '8.4', '8.5'] + php: ['8.3', '8.4', '8.5'] dependency-version: [lowest, highest] name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }} @@ -35,7 +35,10 @@ jobs: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - name: Install PHP dependencies - run: composer update --prefer-dist --no-interaction ${{ matrix.dependency-version == 'lowest' && '--prefer-lowest' || '' }} + uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0 + with: + dependency-versions: ${{ matrix.dependency-version }} + composer-options: "--prefer-dist" - name: Run Tests run: vendor/bin/pest --display-deprecation ${{ matrix.dependency-version == 'highest' && '--fail-on-deprecation' || '' }} diff --git a/CHANGELOG.md b/CHANGELOG.md index e92a3021..25b84871 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,6 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com) and this project adheres to [Semantic Versioning](https://semver.org). -## [12.0.0 - 2024-04-18](https://github.com/laravel-zero/framework/releases/tag/v12.0.0) +## [13.0.0 - 2026-03-31](https://github.com/laravel-zero/framework/releases/tag/v13.0.0) -Check the upgrade guide in the [Official Laravel Zero Upgrade Documentation](https://laravel-zero.com/docs/upgrade#upgrade-11.0.0). Also, you can see some changes in the [Official Laravel Upgrade Documentation](https://laravel.com/docs/12.x/upgrade). +Check the upgrade guide in the [Official Laravel Zero Upgrade Documentation](https://laravel-zero.com/docs/upgrade#upgrade-13.0.0). Also, you can see some changes in the [Official Laravel Upgrade Documentation](https://laravel.com/docs/13.x/upgrade). diff --git a/composer.json b/composer.json index 0215c052..e1896bff 100755 --- a/composer.json +++ b/composer.json @@ -19,54 +19,54 @@ } ], "require": { - "php": "^8.2", + "php": "^8.3", "ext-json": "*", "dragonmantank/cron-expression": "^3.6", - "guzzlehttp/guzzle": "^7.10.0", - "illuminate/cache": "^12.58.0", - "illuminate/collections": "^12.58.0", - "illuminate/config": "^12.58.0", - "illuminate/console": "^12.58.0", - "illuminate/container": "^12.58.0", - "illuminate/contracts": "^12.58.0", - "illuminate/events": "^12.58.0", - "illuminate/filesystem": "^12.58.0", - "illuminate/process": "^12.58.0", - "illuminate/support": "^12.58.0", - "illuminate/testing": "^12.58.0", - "laravel-zero/foundation": "^12.54.1", - "laravel/prompts": "^0.3.17", - "league/flysystem": "^3.33.0", + "guzzlehttp/guzzle": "^7.10", + "illuminate/cache": "^13.14", + "illuminate/collections": "^13.14", + "illuminate/config": "^13.14", + "illuminate/console": "^13.14", + "illuminate/container": "^13.14", + "illuminate/contracts": "^13.14", + "illuminate/events": "^13.14", + "illuminate/filesystem": "^13.14", + "illuminate/process": "^13.14", + "illuminate/support": "^13.14", + "illuminate/testing": "^13.14", + "laravel-zero/foundation": "dev-feature/13.x-upgrade as 13.0", + "laravel/prompts": "^0.3.18", + "league/flysystem": "^3.34", "nunomaduro/collision": "^8.9.4", - "nunomaduro/laravel-console-summary": "^1.14.0", + "nunomaduro/laravel-console-summary": "^1.14", "nunomaduro/laravel-console-task": "^1.11", - "nunomaduro/laravel-desktop-notifier": "^2.10.0", - "nunomaduro/termwind": "^2.4.0", + "nunomaduro/laravel-desktop-notifier": "^2.10", + "nunomaduro/termwind": "^2.4", "psr/log": "^3.0.2", "ramsey/uuid": "^4.9.2", - "symfony/console": "^7.4.9", - "symfony/error-handler": "^7.4.8", - "symfony/event-dispatcher": "^7.4.9", - "symfony/finder": "^7.4.8", - "symfony/process": "^7.4.8", - "symfony/var-dumper": "^7.4.8", + "symfony/console": "^7.4|^8.0", + "symfony/error-handler": "^7.4|^8.0", + "symfony/event-dispatcher": "^7.4|^8.0", + "symfony/finder": "^7.4|^8.0", + "symfony/process": "^7.4|^8.0", + "symfony/var-dumper": "^7.4|^8.0", "vlucas/phpdotenv": "^5.6.3" }, "require-dev": { - "illuminate/bus": "^12.58.0", - "illuminate/database": "^12.58.0", - "illuminate/http": "^12.58.0", - "illuminate/log": "^12.58.0", - "illuminate/queue": "^12.58.0", - "illuminate/redis": "^12.58.0", - "illuminate/view": "^12.58.0", + "illuminate/bus": "^13.14", + "illuminate/database": "^13.14", + "illuminate/http": "^13.14", + "illuminate/log": "^13.14", + "illuminate/queue": "^13.14", + "illuminate/redis": "^13.14", + "illuminate/view": "^13.14", "laravel-zero/phar-updater": "^1.4.2", - "laravel/mcp": "^0.6.7", + "laravel/mcp": "^0.8", "laravel/pint": "^1.29.1", "nunomaduro/laravel-console-dusk": "^1.15", "nunomaduro/laravel-console-menu": "^3.7", - "pestphp/pest": "^3.8.4|^4.7.0", - "phpstan/phpstan": "^2.1.54" + "pestphp/pest": "^4.7.2", + "phpstan/phpstan": "^2.2.2" }, "autoload": { "psr-4": { @@ -103,7 +103,7 @@ }, "extra": { "branch-alias": { - "dev-master": "12.x-dev" + "dev-master": "13.x-dev" } }, "suggest": { diff --git a/src/Components/Database/Installer.php b/src/Components/Database/Installer.php index d5b0a2e5..f2f31c5e 100644 --- a/src/Components/Database/Installer.php +++ b/src/Components/Database/Installer.php @@ -47,7 +47,7 @@ final class Installer extends AbstractInstaller */ public function install(): void { - $this->require('illuminate/database "^12.17"'); + $this->require('illuminate/database "^13.0"'); $this->require('fakerphp/faker "^1.23"', true); $this->task( diff --git a/src/Components/Http/Installer.php b/src/Components/Http/Installer.php index 2a66aac5..d2eda75f 100644 --- a/src/Components/Http/Installer.php +++ b/src/Components/Http/Installer.php @@ -35,6 +35,6 @@ final class Installer extends AbstractInstaller */ public function install(): void { - $this->require('illuminate/http "^12.17"'); + $this->require('illuminate/http "^13.0"'); } } diff --git a/src/Components/Log/Installer.php b/src/Components/Log/Installer.php index f720af1f..34f7e322 100644 --- a/src/Components/Log/Installer.php +++ b/src/Components/Log/Installer.php @@ -41,7 +41,7 @@ final class Installer extends AbstractInstaller */ public function install(): void { - $this->require('illuminate/log "^12.17"'); + $this->require('illuminate/log "^13.0"'); $this->task( 'Creating default logging configuration', diff --git a/src/Components/Queue/Installer.php b/src/Components/Queue/Installer.php index 8d7f7f3a..0ea3d5a5 100644 --- a/src/Components/Queue/Installer.php +++ b/src/Components/Queue/Installer.php @@ -43,8 +43,8 @@ public function install(): void { $this->call('app:install', ['component' => 'database']); - $this->require('illuminate/bus "^12.17"'); - $this->require('illuminate/queue "^12.17"'); + $this->require('illuminate/bus "^13.0"'); + $this->require('illuminate/queue "^13.0"'); $this->task( 'Creating default queue configuration', diff --git a/src/Components/Redis/Installer.php b/src/Components/Redis/Installer.php index 81f149b8..24f21db2 100644 --- a/src/Components/Redis/Installer.php +++ b/src/Components/Redis/Installer.php @@ -27,6 +27,6 @@ final class Installer extends AbstractInstaller /** {@inheritdoc} */ public function install(): void { - $this->require('illuminate/redis "^12.17"'); + $this->require('illuminate/redis "^13.0"'); } } diff --git a/src/Components/View/Installer.php b/src/Components/View/Installer.php index 54f64a88..bb654ef6 100644 --- a/src/Components/View/Installer.php +++ b/src/Components/View/Installer.php @@ -41,7 +41,7 @@ final class Installer extends AbstractInstaller */ public function install(): void { - $this->require('illuminate/view "^12.17"'); + $this->require('illuminate/view "^13.0"'); $this->task( 'Creating resources/views folder', diff --git a/tests/Components/LogInstallTest.php b/tests/Components/LogInstallTest.php index 747c8795..3663cc0e 100755 --- a/tests/Components/LogInstallTest.php +++ b/tests/Components/LogInstallTest.php @@ -15,7 +15,7 @@ $composerMock->expects($this->once()) ->method('require') - ->with('illuminate/log "^12.17"'); + ->with('illuminate/log "^13.0"'); $this->app->instance(ComposerContract::class, $composerMock); diff --git a/tests/Components/RedisInstallTest.php b/tests/Components/RedisInstallTest.php index db022bcb..65718f9d 100755 --- a/tests/Components/RedisInstallTest.php +++ b/tests/Components/RedisInstallTest.php @@ -10,7 +10,7 @@ $composerMock->expects($this->once()) ->method('require') - ->with('illuminate/redis "^12.17"', false); + ->with('illuminate/redis "^13.0"', false); $this->app->instance(ComposerContract::class, $composerMock);