Skip to content

Releases: yCodeTech/valet-windows

Laravel Valet Windows 3 [v3.3.0]

22 Oct 23:22

Choose a tag to compare

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

Laravel Valet Windows 3 [v3.2.1]

03 Aug 22:43
3830ecb

Choose a tag to compare

What's Changed

Full Changelog: v3.2.0...v3.2.1

Laravel Valet Windows 3 [v3.2.0]

14 May 08:34
6265a6a

Choose a tag to compare

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:proxy command and its alias php to proxy PHP commands through a site's PHP executable.

  • Added new share-tool command 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, and ValetException classes for better maintainability and usabilty.

  • Added new Filesystem methods: isFile, convertJunctionsToSymlinks, getJunctionLinks, move, unzip, listTopLevelZipDirs, and getStub for better file handling.

Removals

  • Removed the deprecated confirmation question about uninstalling the outdated cretueusebiu package in the install command.

  • Removed all the bin files for Ansicon, Gsudo, Nginx, and WinSW, 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 certutil the rather unnecessary requiring of elevated privileges for SSL certificates when securing/unsecuring a site.

  • Fixed Site::isSecured method 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::isolate and Site::unisolate methods from spamming the Nginx::stop and Nginx::restart methods, especially when inside a loop.

  • Fixed nginx's deprecated http2 param and http2_push_preload directive, 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]

22 Mar 02:06

Choose a tag to compare

Fixed

  • Fixed Ngrok::hasAuthToken method to explicitly check for an authtoken property within the ngrok config file, when the config file already exists.
  • Fixed Ngrok::run method to check if the command proxying to ngrok executable is the update or config upgrade command, if it is then append the ngrok config flag to it.

Changed

  • Refactored Ngrok::getNgrokConfig method to optionally return only the path of the config file (without the leading --config cli flag).
  • Changed Ngrok::start method 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/silly dependency.

Removed

  • Removed the functionality of starting a new CMD window in Ngrok::start.
  • Removed the --debug flag from the share command. (Not a breaking change).

Added

  • Added new CommandLine::shellExec method to execute the command in the terminal, and also be able to return the output as a string to the calling method.
  • Added symfony/yaml dependency to convert contents of a .yml file to an associative array.

Full Changelog: v3.1.6.1...v3.1.7 or at Changelog

Laravel Valet Windows 3 [v3.1.6.1]

11 Mar 02:04

Choose a tag to compare

Fixed

  • Fixed version as Valet CLI was still displaying as v3.1.5

Full Changelog: v3.1.6...v3.1.6.1

Laravel Valet Windows 3 [v3.1.6]

06 Mar 01:18

Choose a tag to compare

Added

  • Added emergency batch script to stop and uninstall services if errors occur when running composer global update without uninstalling valet first.

Fixed

  • Fixed php:which command 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]

03 Mar 22:33

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.4...v3.1.5

Laravel Valet Windows 3 [v3.1.4]

06 Aug 02:52

Choose a tag to compare

What's Changed

  • Changed AcrylicDNS binding address to localhost loopback address by @jerrens in #15

New Contributors

Full Changelog: v3.1.3...v3.1.4

Laravel Valet Windows 3 [v3.1.3]

23 May 07:10

Choose a tag to compare

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 diagnose command on the back of the spaces in the directory name.

New Contributors

Full Changelog: v3.1.2...v3.1.3

Laravel Valet Windows 3 [v3.1.2]

17 May 15:07

Choose a tag to compare

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 diagnose command 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.