diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9dc8a65..3f82dff 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index c652a77..4ba5d3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,17 @@ # Release Notes -## [Unreleased](https://github.com/laravel/valet/compare/v3.2.2...master) +## [Unreleased](https://github.com/laravel/valet/compare/v3.3.0...master) + +## [v3.3.0](https://github.com/laravel/valet/compare/v3.2.2...v3.3.0) - 2023-01-17 + +### Added + +- Add `set-ngrok-token` command by @mattstauffer in https://github.com/laravel/valet/pull/1325 +- Laravel v10 Support by @driesvints in https://github.com/laravel/valet/pull/1341 + +### Fixed + +- Fixes permission denied check when result starts with 'Permission denied' by @matthewjohns0n in https://github.com/laravel/valet/pull/1343 ## [v3.2.2](https://github.com/laravel/valet/compare/v3.2.1...v3.2.2) - 2022-12-08 diff --git a/cli/Valet/Site.php b/cli/Valet/Site.php index 81158a8..8f75c6f 100644 --- a/cli/Valet/Site.php +++ b/cli/Valet/Site.php @@ -543,7 +543,7 @@ public function createCertificate(string $url, int $caExpireInDays): void )); // If cert could not be created using runAsUser(), use run(). - if (strpos($result, 'Permission denied')) { + if (strpos($result, 'Permission denied') !== false) { $this->cli->run(sprintf( 'openssl x509 -req -sha256 -days %s -CA "%s" -CAkey "%s" %s -in "%s" -out "%s" -extensions v3_req -extfile "%s"', $caExpireInDays, $caPemPath, $caKeyPath, $caSrlParam, $csrPath, $crtPath, $confPath diff --git a/cli/app.php b/cli/app.php index 4c846b2..e82636b 100644 --- a/cli/app.php +++ b/cli/app.php @@ -34,6 +34,8 @@ */ Container::setInstance(new Container); +$version = '4.0.0'; + $app = new Application('Laravel Valet', $version); $app->setDispatcher($dispatcher = new EventDispatcher());