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\PackageandPackages\Acrylicclasses for better maintainability and usability. -
Added
Ansiconto the emergency uninstall services script to help cases where Ansicon fails to uninstall properly viavalet 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
Valetdirectory and namespacing them asValet\DriversorValet\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, andValetException::githubApiRateLimitExceededErrormethods.
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
Diagnoseoutput. -
Fixed errors when the Valet home directory (
~/.config/valet) doesn't exist during theUpgraderrun.Upgradernow only runs if the home path exists. -
Fixed
Upgrader::upgradeSymbolicLinksmethod 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-tokencommand errors that was caused by a method name change. It now uses theNgrok::getConfiginstead of the oldNgrok::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::unisolateandSite::isolatemethods 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