Releases: yCodeTech/valet-windows
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:proxy
command and its aliasphp
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
, andValetException
classes for better maintainability and usabilty. -
Added new
Filesystem
methods:isFile
,convertJunctionsToSymlinks
,getJunctionLinks
,move
,unzip
,listTopLevelZipDirs
, andgetStub
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
, 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
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
andSite::unisolate
methods from spamming theNginx::stop
andNginx::restart
methods, especially when inside a loop. -
Fixed nginx's deprecated
http2
param andhttp2_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]
Fixed
- Fixed
Ngrok::hasAuthToken
method to explicitly check for anauthtoken
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 theupdate
orconfig 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 theshare
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]
Laravel Valet Windows 3 [v3.1.6]
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]
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
diagnose
command 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
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.
Laravel Valet Windows 3 [v3.1.1]
What's Changed
- Update compatible requirements for Laravel installer v5.6 by @onecentlin in #10
- Aesthetic only - Added the logo as an ASCII art to the namespace command
valet
; and thevalet list
command.
NOTE: Forgot to bump the version internally. The CLI will still report it as 3.1.0, until the next release.
New Contributors
- @onecentlin made their first contribution in #10
Full Changelog: v3.1.0...v3.1.1