diff --git a/.devilbox/www/config.php b/.devilbox/www/config.php
index 81321044..811e7347 100644
--- a/.devilbox/www/config.php
+++ b/.devilbox/www/config.php
@@ -13,8 +13,8 @@ error_reporting(-1);
putenv('RES_OPTIONS=retrans:1 retry:1 timeout:1 attempts:1');
-$DEVILBOX_VERSION = 'v3.0.0-beta-0.2';
-$DEVILBOX_DATE = '2022-12-27';
+$DEVILBOX_VERSION = 'v3.0.0-beta-0.3';
+$DEVILBOX_DATE = '2022-12-31';
$DEVILBOX_API_PAGE = 'devilbox-api/status.json';
//
diff --git a/.devilbox/www/htdocs/_ajax_callback.php b/.devilbox/www/htdocs/_ajax_callback.php
index c7f9ef3b..d7c6b515 100644
--- a/.devilbox/www/htdocs/_ajax_callback.php
+++ b/.devilbox/www/htdocs/_ajax_callback.php
@@ -150,6 +150,11 @@ if (loadClass('Helper')->isLoggedIn()) {
$_GET['software'] => (($version = loadClass('Php')->getWpcliVersion()) !== false) ? $version : $no
));
}
+ else if ($_GET['software'] == 'wscat') {
+ echo json_encode(array(
+ $_GET['software'] => (($version = loadClass('Php')->getWscatVersion()) !== false) ? $version : $no
+ ));
+ }
else if ($_GET['software'] == 'yarn') {
echo json_encode(array(
$_GET['software'] => (($version = loadClass('Php')->getYarnVersion()) !== false) ? $version : $no
diff --git a/.devilbox/www/htdocs/index.php b/.devilbox/www/htdocs/index.php
index ff0f30c1..a899f6ba 100644
--- a/.devilbox/www/htdocs/index.php
+++ b/.devilbox/www/htdocs/index.php
@@ -428,6 +428,10 @@ $HEALTH_PERCENT = 100 - ceil(100 * $HEALTH_FAILS / $HEALTH_TOTAL);
Wordpress Cli |
|
+
+ Wscat |
+ |
+
Yarn |
|
@@ -970,6 +974,7 @@ $HEALTH_PERCENT = 100 - ceil(100 * $HEALTH_FAILS / $HEALTH_TOTAL);
updateVersions('vue_cli');
updateVersions('webpack_cli');
updateVersions('wpcli');
+ updateVersions('wscat');
updateVersions('yarn');
})();
diff --git a/.devilbox/www/include/lib/container/Php.php b/.devilbox/www/include/lib/container/Php.php
index ce78160c..349aad8a 100644
--- a/.devilbox/www/include/lib/container/Php.php
+++ b/.devilbox/www/include/lib/container/Php.php
@@ -140,6 +140,11 @@ class Php extends BaseClass implements BaseInterface
$output = loadClass('Helper')->exec('wp --version 2>/dev/null | grep -i ^WP', $output);
return loadClass('Helper')->egrep('/[0-9.]+/', $output);
}
+ public function getWscatVersion()
+ {
+ $output = loadClass('Helper')->exec('wscat --version 2>/dev/null | head -1', $output);
+ return loadClass('Helper')->egrep('/[0-9.]+/', $output);
+ }
public function getYarnVersion()
{
$output = loadClass('Helper')->exec('yarn --version 2>/dev/null', $output);
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 212b40ab..8f87e34e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,20 @@ Make sure to have a look at [UPDATING.md](https://github.com/cytopia/devilbox/bl
## Unreleased
+## Release v3.0.0-beta-0.3 (2022-12-31)
+
+### Fixed
+- Intranet: mail.php fixed deprecation warnings [#798](https://github.com/cytopia/devilbox/issues/798)
+
+### Changed
+- Use `dvl.to` as default `TLD_SUFFIX` (it always poits to `127.0.0.1` removing the need to create `/etc/hosts` entries)
+
+### Added
+- Intranet: vhost overview shows listening ports
+- Intranet: vhost overview now has modals to show httpd and vhost-gen configs
+- Docs: Show available tools per version in README.md
+
+
## Release v3.0.0-beta-0.2 (2022-12-27)
The Backend configuration now supports websockets as well: