diff --git a/CHANGELOG.md b/CHANGELOG.md index 8114443f..ace5c6af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ 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). +## [10.2.0 - 2023-10-12](https://github.com/laravel-zero/framework/releases/tag/v10.2.0) + +### Changed +- Update Box to 4.4.x ([#483](https://github.com/laravel-zero/framework/pull/483)) +- Add Laravel Prompts ([#482](https://github.com/laravel-zero/framework/pull/482)) + ## [10.1.1 - 2023-07-14](https://github.com/laravel-zero/framework/releases/tag/v10.1.1) ### Fixed diff --git a/bin/box b/bin/box index 655859c1..98839ad2 100755 Binary files a/bin/box and b/bin/box differ diff --git a/composer.json b/composer.json index 950564af..c61a4749 100755 --- a/composer.json +++ b/composer.json @@ -22,18 +22,18 @@ "php": "^8.1", "ext-json": "*", "dragonmantank/cron-expression": "^3.3.3", - "illuminate/cache": "^10.13.5", - "illuminate/collections": "^10.13.5", - "illuminate/config": "^10.13.5", - "illuminate/console": "^10.13.5", - "illuminate/container": "^10.13.5", - "illuminate/contracts": "^10.13.5", - "illuminate/events": "^10.13.5", - "illuminate/filesystem": "^10.13.5", - "illuminate/process": "^10.13.5", - "illuminate/support": "^10.13.5", - "illuminate/testing": "^10.13.5", - "laravel-zero/foundation": "^10.12", + "illuminate/cache": "^10.28", + "illuminate/collections": "^10.28", + "illuminate/config": "^10.28", + "illuminate/console": "^10.28", + "illuminate/container": "^10.28", + "illuminate/contracts": "^10.28", + "illuminate/events": "^10.28", + "illuminate/filesystem": "^10.28", + "illuminate/process": "^10.28", + "illuminate/support": "^10.28", + "illuminate/testing": "^10.28", + "laravel-zero/foundation": "^10.28", "league/flysystem": "^3.15.1", "nunomaduro/collision": "^6.4.0|^7.8.1", "nunomaduro/laravel-console-summary": "^1.10.0", @@ -51,22 +51,22 @@ }, "require-dev": { "guzzlehttp/guzzle": "^7.7", - "illuminate/bus": "^10.13.5", - "illuminate/database": "^10.13.5", - "illuminate/http": "^10.13.5", - "illuminate/log": "^10.13.5", - "illuminate/queue": "^10.13.5", - "illuminate/redis": "^10.13.5", - "illuminate/view": "^10.13.5", + "illuminate/bus": "^10.28", + "illuminate/database": "^10.28", + "illuminate/http": "^10.28", + "illuminate/log": "^10.28", + "illuminate/queue": "^10.28", + "illuminate/redis": "^10.28", + "illuminate/view": "^10.28", "laminas/laminas-text": "^2.10", - "laravel-zero/phar-updater": "^1.3", - "laravel/pint": "^1.11", + "laravel-zero/phar-updater": "^1.4", + "laravel/pint": "^1.13.3", "nunomaduro/laravel-console-dusk": "^1.11", "nunomaduro/laravel-console-menu": "^3.4", "nunomaduro/termwind": "^1.15.1", - "pestphp/pest": "^2.13.0", + "pestphp/pest": "^2.22.1", "pestphp/pest-plugin-laravel": "^2.2", - "phpstan/phpstan": "^1.10.28" + "phpstan/phpstan": "^1.10.38" }, "autoload": { "psr-4": { diff --git a/src/Commands/BuildCommand.php b/src/Commands/BuildCommand.php index b2ceab9a..36cee662 100644 --- a/src/Commands/BuildCommand.php +++ b/src/Commands/BuildCommand.php @@ -18,12 +18,13 @@ use Symfony\Component\Console\Command\SignalableCommandInterface; use Symfony\Component\Console\Helper\ProgressBar; use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Output\ConsoleOutputInterface; use Symfony\Component\Console\Output\NullOutput; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Process\Process; use Throwable; +use function Laravel\Prompts\text; + final class BuildCommand extends Command implements SignalableCommandInterface { /** @@ -174,7 +175,7 @@ private function prepare(): BuildCommand $config = include $configFile; $config['env'] = 'production'; - $version = $this->option('build-version') ?: $this->ask('Build version?', $config['version']); + $version = $this->option('build-version') ?: text('Build version?', $config['version']); $config['version'] = $version; $boxFile = $this->app->basePath('box.json'); diff --git a/src/Commands/RenameCommand.php b/src/Commands/RenameCommand.php index 927d73c1..73bc6b17 100644 --- a/src/Commands/RenameCommand.php +++ b/src/Commands/RenameCommand.php @@ -16,6 +16,7 @@ use Illuminate\Support\Facades\File; use Illuminate\Support\Str; +use function Laravel\Prompts\text; use function sprintf; final class RenameCommand extends Command @@ -66,7 +67,7 @@ private function rename(): RenameCommand private function asksForApplicationName(): string { if (empty($name = $this->input->getArgument('name'))) { - $name = $this->ask('What is your application name?'); + $name = text('What is your application name?'); } if (empty($name)) {