Skip to content

Laravel Valet Windows 3 [v3.3.0]

Latest

Choose a tag to compare

@yCodeTech yCodeTech released this 22 Oct 23:22

This v3.3.0 release is a big PR that focuses on code-parity with macOS Valet, enhanced emergency uninstallation, significant code quality improvements and lots of refactoring for improved maintainability. Valet will also no longer ship with the executable for Acrylic, instead the latest version is dynamically downloaded and installed from SourceForge.

What's Changed

Here are some notable changes from the Release v3.3.0 PR by @yCodeTech in #29:

New Features

  • Added new http 500 error page to help users debug nginx errors that fail silently.

  • Added new Packages\Package and Packages\Acrylic classes for better maintainability and usability.

  • Added Ansicon to the emergency uninstall services script to help cases where Ansicon fails to uninstall properly via valet uninstall, which leaves it's path in the registry, and upon reinstalling valet, the "The system cannot find the path specified" error then fails the installation process. This is a workaround and not a direct fix for issue #28. Also improved the UX of the script.

  • Many code-parity changes, additions, and fixes with the Mac version (v4.8.7). Including moving the drivers into the PSR-4 autoloaded Valet directory and namespacing them as Valet\Drivers or Valet\Drivers\Specific. Also introduced new legacy drivers to extend the namespaced drivers so user custom drivers will still work.

Removals

  • Removed all the bin files for Acrylic, in favour of downloading the latest versions from SourceForge.

  • Removed the redundant CommandLine::runAsUser, Valet::composerGlobalDiagnose, Valet::composerGlobalUpdate, and ValetException::githubApiRateLimitExceededError methods.

Deprecations

  • The new legacy drivers are all deprecated by default and will be removed in v4.0.0.

Fixes

  • Fixed the coping of Unicode characters in the Diagnose output.

  • Fixed errors when the Valet home directory (~/.config/valet) doesn't exist during the Upgrader run. Upgrader now only runs if the home path exists.

  • Fixed Upgrader::upgradeSymbolicLinks method running when the directory is empty causing redundant console messages. It now only runs when the config key is missing and there are symlinks in the directory.

  • Fixed system compatibility check to PHP 7.4 as a minimum.

  • Fixed set-ngrok-token command errors that was caused by a method name change. It now uses the Ngrok::getConfig instead of the old Ngrok::getNgrokConfig.

  • Fixed updating old isolated site conf files on valet install. Secured site conf files have always been updated on installing valet, but isolated sites were stuck using old configs. All files are now rewritten to use the updated conf structure.

  • Fixed Site::unisolate and Site::isolate methods to not output info directly to the terminal, as this causes progress bars to mess up. The output is now moved to the commands that called the methods.

Full Changelog: v3.2.1...v3.3.0