Tags: yCodeTech/valet-windows
Tags
Fix fetch-share-url fatal errors and release v3.4.3 (#48) * fix: `fetch-share-url` command bug where the `retry` helper function was undefined. Fixes #47. - Removed all the function_exists conditionals from Valet's helpers, so that they work no matter what, fixing a `PHP Fatal error: Uncaught Error: Call to undefined function Valet\retry()`. * fix: improve error messages in `currentTunnelUrl` method - Clarified the parameter description for `$site` in the docblock. - Enhanced logging and exception messages to include the site name for better debugging context. * fix: prevent duplicate TLD in share URL construction Removed the TLD from the site variable if it's included, to avoid issues with duplicate TLDs in the site being shared. * chore: update changelog and version to 3.4.3
fix: `which` command bug that still uses the old `drivers/require.php… …` path. (#46) * fix: `which` command bug that still uses the old `drivers/require.php` path. Fixes #45. - Fixed the require path in the `which` command, as it was still using the old require drivers path, it now uses the new `includes/require-drivers.php` path. Otherwise this bug would spit out a PHP warning: > PHP Warning: require(C:\Users\Name\AppData\Roaming\Composer\vendor\ycodetech\valet-windows\cli/drivers/require.php): Failed to open stream: No such file or directory in C:\Users\Name\AppData\Roaming\Composer\vendor\ycodetech\valet-windows\cli\valet.php on line 1239 Also added a deprecation notice for the require statement to prepare for future removal of legacy driver code. - Added a `use` statement at the top of the file to import the `ValetDriver` namespaced class. * fix: update changelog for `which` command bug fix * chore: update Prettier configuration for Markdown files
PreviousNext