v4.0.0
Welcome to Valet v4! This release is mostly about re-writing the internals so they're easier to debug, fix, and modify. There are a few user-facing additions and improvements, including but not limited to: ngrok is now managed by Homebrew, .valetphprc
is replaced with a more powerful .valetrc
, you can use Expose to share, there's a new status
command to make sure all your services are running correctly, and a lot of the other existing commands work even better than ever before.
Added
- Add Expose support by @mattstauffer in #1344 and #1349
- Add status command by @mattstauffer in #1329
- Check whether services are running as the correct user in
valet status
by @mattstauffer in #1348 - Add the ability for drivers to check Composer dependencies by @mattstauffer in #1345
- Add php isolation from link command by @joelbutcher in #1360
Changed
- Replace
.valetphprc
with.valetrc
by @mattstauffer in #1347 - Update php and composer commands to allow passing in specific site by @mattstauffer in #1370
- Require PHP 8.0 to be installed, but support PHP 7.1+ for isolated sites (#1328 and #1346)
- Re-work how BasicValetDriver serves files in projects with and without
public/
directory by @mattstauffer in #1311 - Extract Server class and refactor loading of drivers by @mattstauffer in #1319
- Add type hints and return types by @mattstauffer in #1321
- Drop unnecessary doc blocks by @mattstauffer in #1339
- Add CLI command tests by @mattstauffer in #1332 and #1335
- Implement
valet fetch-share-url
when working with Expose by @mattstauffer in - Use Pint for Code Styling by @driesvints in #1366
- Release Version 4 by @mattstauffer in #1318, #1365
Fixed
- Unsecure when unlinking by @mattstauffer in #1364
- Update phpRc reader to check cwd before checking config, if cwd specified by @mattstauffer in #1361
- Remove Valet Certificate Authority on uninstall by @mattstauffer in #1358