Skip to content

Release v3.2.0 #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 44 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
5f90b49
remove: the deprecated (since v3.1.0) `install` command **confirmatio…
yCodeTech Mar 6, 2025
d500d4f
feat: add `php:proxy` command to proxy a PHP command through to a sit…
yCodeTech Mar 8, 2025
2e6e00e
docs: update changelog
yCodeTech Mar 10, 2025
609eb61
Merge remote-tracking branch 'origin/master' into release/3.2.0
yCodeTech Mar 11, 2025
2f5d955
Merge branch 'master' into release/3.2.0
yCodeTech Mar 12, 2025
e9df971
Merge remote-tracking branch 'origin/master' into release/3.2.0
yCodeTech Mar 22, 2025
7a5f378
build(ngrok): Update ngrok exectuable to v3.22.0
yCodeTech Mar 24, 2025
7da1790
fix: missing semi-colon
yCodeTech Mar 24, 2025
e5530aa
build(composer): add `sort-packages` option to sort packages alphabet…
yCodeTech Mar 24, 2025
db085bd
feat: add new `Share` class to setup the supported share tools and co…
yCodeTech Mar 25, 2025
98a6e8d
feat: add new `share-tool` command, and change various class referenc…
yCodeTech Mar 25, 2025
b894cbd
refactor: `ShareTool::currentTunnelUrl` method to loop through all th…
yCodeTech Mar 26, 2025
6ce8b2a
style: move the share-related commands so that all ngrok specific com…
yCodeTech Mar 26, 2025
1ea5520
fix: copy/paste docblock param error in the `retry` helper function.
yCodeTech Mar 26, 2025
0fdbacb
fix: `fetch-share-url` by adding the required `ShareTool` method befo…
yCodeTech Mar 26, 2025
0d0c84d
refactor: move `Share::createShareToolInstance` method call from `sha…
yCodeTech Mar 26, 2025
d8bce99
ci(phpcs): exclude a phpcs sniff on `facades.php` and allow closing b…
yCodeTech Mar 26, 2025
9fe4ecc
style: sort the facades in ascending alphabetical order
yCodeTech Mar 26, 2025
0f277ed
build(composer): add new dependency to polyfill various PHP 8.0 funct…
yCodeTech Mar 26, 2025
172a585
refactor: remove the unused `SUDO_USER` from the `user` helper function
yCodeTech Mar 26, 2025
4d80e51
chore: drop intention to add the share tool Expose.
yCodeTech Mar 28, 2025
8bbdda4
refactor: extract much of server.php into a `Server` class
yCodeTech Apr 1, 2025
98f180f
fix: drop references to defunct xip.io
yCodeTech Apr 1, 2025
204bd88
refactor: the requiring of valet driver files to be more elegant and …
yCodeTech Apr 1, 2025
e8ed497
feat: add ngrok as the default `share-tool` in the config
yCodeTech Apr 7, 2025
7c62d9f
remove: unused `Filesystem::symlink` method
yCodeTech Apr 7, 2025
5073d26
fix: `Filesystem::symlinkAsUser` method to create a real symbolic link.
yCodeTech Apr 8, 2025
95d9bf6
refactor: rename `symlinkAsUser` to `symlink` since user doesn't make…
yCodeTech Apr 8, 2025
b454f69
fix: `Server` being instantiated before `valetConfig` is defined, so …
yCodeTech Apr 8, 2025
e3a2b3f
fix: `Filesystem::symlink` to use sudo to run the command with truste…
yCodeTech Apr 8, 2025
841d865
refactor: `Filesystem::unlink` to make more sense and simplified.
yCodeTech Apr 8, 2025
51ca2eb
fix: `Filesystem::isBrokenLink` method check if the resolved symlinke…
yCodeTech Apr 8, 2025
3844374
fix: the unwanted output from the `mklink` Windows command by adding …
yCodeTech Apr 18, 2025
fad18b2
feat: add new `Upgrader` class
yCodeTech Apr 18, 2025
0d52ff3
feat: add new `Upgrader::convertJunctionsToSymlinks` method
yCodeTech Apr 18, 2025
73cd346
fix: `certutil` requiring elevated privileges when adding/deleting SS…
yCodeTech Apr 18, 2025
9d23904
fix: copy/paste code comments
yCodeTech Apr 18, 2025
520109c
feat: remove `gsudo` executables in favour of downloading latest from…
yCodeTech Apr 19, 2025
cd94ad7
feat: remove `ansicon` executables in favour of downloading latest fr…
yCodeTech Apr 24, 2025
76f2d85
fix: a weird bug when unzipping a zip file would have a strange path …
yCodeTech Apr 24, 2025
31309d9
docs: add and change some wording in the code comments.
yCodeTech Apr 24, 2025
d101a63
feat: allow users to provide custom stub files otherwise default to o…
yCodeTech Apr 25, 2025
431ac61
docs: change and add some docblock comments in the `Upgrader` class.
yCodeTech Apr 29, 2025
49d27b8
feat: remove `WinSW` executables in favour of downloading from github.
yCodeTech Apr 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased](https://github.com/yCodeTech/valet-windows/tree/master)

## [3.2.0](https://github.com/yCodeTech/valet-windows/tree/v3.2.0) - ????-??-??

### Removed

- Removed the deprecated (since v3.1.0) confirmation question about uninstalling the outdated cretueusebiu package in the `install` command. Doesn't affect valet functionality.

### Added

- Added new `php:proxy` command with the alias of `php` to proxy PHP commands through to a site's PHP executable.

- Added new `PhpCgi::getPhpPath` method to get the PHP executable path by specifying a version.

### Changed

- Version bumped the macOS valet URL in the `parity` command to make sure the command parity is up to date with the latest MINOR version at the time of release.

- Changed `PhpCGI::findPhpVersion` method to return the executable path if the new `getExecPath` param is `true` otherwise it will default to returning the PHP version. Also changed it's error return value to `false` for easier checking.

- Changed `Configuration::addPhp` method to `return false` if the `$phpVersion` variable is `false`.

- Changed `Site::whichPhp` method to extract the PHP version from the ansi coloured output, and the raw version string to a new element in the return array to avoid weird errors when using it in the new `php:proxy` command.

- Changed the info output in `php:which` command to use the new raw phpVersion string, and added a separate info output to get and display the php executable path using the new `PhpCgi::getPhpPath` method.

## [3.1.7](https://github.com/yCodeTech/valet-windows/tree/v3.7) - 2025-03-22

### Fixed
Expand Down
50 changes: 42 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ composer global require ycodetech/valet-windows
<tr>
<th></th>
<td></td>
<td><a href="#xdebuginstall">xdebug:install</a></td>
<td><a href="#phpproxy">php|php:proxy</a></td>
<td align="center"><a href="#unsecure">unsecure</a></td>
<td align="center"><a href="#proxy">proxy</a></td>
<td></td>
Expand All @@ -112,7 +112,7 @@ composer global require ycodetech/valet-windows
<tr>
<th></th>
<td></td>
<td><a href="#xdebuguninstall">xdebug:uninstall</a></td>
<td><a href="#xdebuginstall">xdebug:install</a></td>
<td></td>
<td align="center"><a href="#proxies">proxies</a></td>
<td></td>
Expand All @@ -122,7 +122,7 @@ composer global require ycodetech/valet-windows
<tr>
<th></th>
<td></td>
<td></td>
<td><a href="#xdebuguninstall">xdebug:uninstall</a></td>
<td></td>
<td align="center"><a href="#unproxy">unproxy</a></td>
<td></td>
Expand Down Expand Up @@ -500,11 +500,44 @@ php:which Determine which PHP version the current working directory is u
```console
$ valet php:which
The current working directory site1 is using PHP 7.4.33 (isolated)
The executable is located at: C:/php/7.4/php.exe

$ valet php:which site2
The specified site site2 is using PHP 8.1.8 (default)
The executable is located at: C:/php/8.1/php.exe
```

<img align="center" src="./The_same_icon.svg" style="width:20px;"> This command is the same as the Mac version, just renamed.

##### php:proxy

```
php:proxy Proxy PHP commands with a site's PHP executable
phpCommand Command to run with the site's PHP executable
[--site=] Optionally, specify a site instead of the current working directory
```

`php` is a command alias.

```console
$ valet php:proxy -v

Proxying the command to PHP 8.2.9 at C:/php/8.2/php.exe

PHP 8.2.9 (cli) (built: Aug 1 2023 12:41:16) (NTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.2.9, Copyright (c) Zend Technologies


$ valet php:proxy -r "echo 'Hello';" --site=site2

Proxying the command to PHP 7.4.9 c:/php/7.4/php.exe

Hello
```

<img align="center" src="./The_same_icon.svg" style="width:20px;"> This command is the same as the Mac version.

##### xdebug:install

```
Expand Down Expand Up @@ -1432,15 +1465,16 @@ Commands that have been tested and made parity:
- [x] link
- [x] links
- [x] log
- [ ] loopback - not applicable
- [ ] loopback (the localhost IP) - not applicable
- [x] on-latest-version
- [x] open
- [x] park
- [x] parked
- [x] paths
- [ ] php (proxying commands to PHP CLI) - Possible far future feature?
- [x] php (proxying commands to PHP CLI) - renamed to `php:proxy` with alias of `php`
- [x] proxies
- [x] proxy
- [ ] renew (Renews all domains with a trusted TLS certificate) - TBD
- [x] restart
- [x] secure
- [x] secured
Expand Down Expand Up @@ -1479,9 +1513,9 @@ The `install` command confirmation question about uninstalling the outdated cret
Doesn't affect valet functionality.

</td>
<td>3.1.0</td>
<td>3.2.0</td>
<td>&#x2717;</td>
<td align="center">3.1.0</td>
<td align="center">3.2.0</td>
<td align="center">&#x2713;</td>
</tr>
<table>
<!--
Expand Down
Binary file removed bin/ansicon/ANSI32.dll
Binary file not shown.
Binary file removed bin/ansicon/ANSI64.dll
Binary file not shown.
20 changes: 0 additions & 20 deletions bin/ansicon/LICENSE.txt

This file was deleted.

Binary file removed bin/ansicon/ansicon.exe
Binary file not shown.
Loading