Releases: yCodeTech/valet-windows
Laravel Valet Windows 3 [v3.3.0]
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
Laravel Valet Windows 3 [v3.2.1]
Laravel Valet Windows 3 [v3.2.0]
This v3.2.0 release is a big PR that adds a new php:proxy command to proxy commands to the specified site's PHP executable, share-tool command to get or set the current share tool, lots of refactoring for improved maintainability, and brings a lot of the code inline with macOS Valet. Valet will also no longer ship with the executables for Ansicon, Gsudo, Nginx, and WinSW, instead the latest versions are dynamically downloaded and installed via GitHub's API.
What's Changed
Here are some notable changes from the Release v3.2.0 PR by @yCodeTech in #18:
New Features
-
Added the
php:proxycommand and its aliasphpto proxy PHP commands through a site's PHP executable. -
Added new
share-toolcommand to get or set the name of the currently selected share tool. -
Added new
Share,ShareTools\ShareTool,Upgrader,Packages\GithubPackage,Packages\Gsudo,Packages\WinSW,Packages\Nginx, andValetExceptionclasses for better maintainability and usabilty. -
Added new
Filesystemmethods:isFile,convertJunctionsToSymlinks,getJunctionLinks,move,unzip,listTopLevelZipDirs, andgetStubfor better file handling.
Removals
-
Removed the deprecated confirmation question about uninstalling the outdated cretueusebiu package in the
installcommand. -
Removed all the bin files for
Ansicon,Gsudo,Nginx, andWinSW, in favour of downloading the latest versions from GitHub via the API.
Fixes
-
Create real symbolic link instead of a Windows directory junction links, and upgrade all junctions to symlinks.
-
Fixed
certutilthe rather unnecessary requiring of elevated privileges for SSL certificates when securing/unsecuring a site. -
Fixed
Site::isSecuredmethod that was failing due to double TLDs (.tld.tld, eg..test.test). If the TLD was already provided, it would still add the TLD. -
Fixed
Site::isolateandSite::unisolatemethods from spamming theNginx::stopandNginx::restartmethods, especially when inside a loop. -
Fixed nginx's deprecated
http2param andhttp2_push_preloaddirective, and add an upgrade system to upgrade all site configs with the issue.
Full Changelog: v3.1.7...v3.2.0
Laravel Valet Windows 3 [v3.1.7]
Fixed
- Fixed
Ngrok::hasAuthTokenmethod to explicitly check for anauthtokenproperty within the ngrok config file, when the config file already exists. - Fixed
Ngrok::runmethod to check if the command proxying to ngrok executable is theupdateorconfig upgradecommand, if it is then append the ngrok config flag to it.
Changed
- Refactored
Ngrok::getNgrokConfigmethod to optionally return only the path of the config file (without the leading--configcli flag). - Changed
Ngrok::startmethod to output a message if ngrok errors that the executable is "too old" for the account, and output all other ngrok errors too. - Version bumped
mnapoli/sillydependency.
Removed
- Removed the functionality of starting a new CMD window in
Ngrok::start. - Removed the
--debugflag from thesharecommand. (Not a breaking change).
Added
- Added new
CommandLine::shellExecmethod to execute the command in the terminal, and also be able to return the output as a string to the calling method. - Added
symfony/yamldependency to convert contents of a.ymlfile to an associative array.
Full Changelog: v3.1.6.1...v3.1.7 or at Changelog
Laravel Valet Windows 3 [v3.1.6.1]
Laravel Valet Windows 3 [v3.1.6]
Added
- Added emergency batch script to stop and uninstall services if errors occur when running
composer global updatewithout uninstalling valet first.
Fixed
- Fixed
php:whichcommand to obtain the linked sites and merge with the parked sites array. Previously, it was only getting the parked sites, so not all sites were obtained and queried.
Full Changelog: v3.1.5...v3.1.6
Laravel Valet Windows 3 [v3.1.5]
What's Changed
- Fix: PHP 8.4 implicit nullable deprecation notice by @jeremiahsherrill in #17
New Contributors
- @jeremiahsherrill made their first contribution in #17
Full Changelog: v3.1.4...v3.1.5
Laravel Valet Windows 3 [v3.1.4]
Laravel Valet Windows 3 [v3.1.3]
It is now possible to install and use Valet if there's a space in the user directory name.
What's Changed
- Fix: Valet Install - Ansicon fails due to space in directory name by @shahriarrahat in #12
- Lots of fixes for errors when there is a space in the directory name.
- Lots of fixes for the
diagnosecommand on the back of the spaces in the directory name.
New Contributors
- @shahriarrahat made their first contribution in #12
Full Changelog: v3.1.2...v3.1.3
Laravel Valet Windows 3 [v3.1.2]
What's Changed
-
Fixed #11 bug that prevented valet to be installed because it couldn't find the PHP executable when there is a space in the path like
C:/Program Files/php/. -
Fixed
diagnosecommand to always be available whether installed or not. The command was unavailable if valet wasn't installed, and could never be installed because of the PHP bug above.
For the complete details please read the Changelog.