From 2259df49b322efd04c4b5da03172f9aed99f07ea Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Mon, 6 Nov 2023 12:43:11 +0100 Subject: [PATCH 1/3] Migrate PHPUnit configuration --- phpunit.xml.dist | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index d62abeff551..8c00f35aa20 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,13 +1,13 @@ - + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd"> ./packages/hyde/tests @@ -25,13 +25,14 @@ ./packages/realtime-compiler/tests - + + + + + ./packages/framework/src ./packages/publications/src - - - - + From 5b804b49969c46fa9b44da0293b542b28827ea0e Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Mon, 6 Nov 2023 12:44:14 +0100 Subject: [PATCH 2/3] Unslash documentation page home route name This fixes a bug where the sidebar header brand is not clickable when setting the documentation page output path to `''`. --- packages/framework/src/Pages/DocumentationPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framework/src/Pages/DocumentationPage.php b/packages/framework/src/Pages/DocumentationPage.php index 2dd04b03394..c9df40fe15c 100644 --- a/packages/framework/src/Pages/DocumentationPage.php +++ b/packages/framework/src/Pages/DocumentationPage.php @@ -36,7 +36,7 @@ public static function home(): ?Route public static function homeRouteName(): string { - return static::baseRouteKey().'/index'; + return unslash(static::baseRouteKey().'/index'); } /** @see https://hydephp.com/docs/1.x/documentation-pages#automatic-edit-page-button */ From a048e7479480d04ed57fbc49726d067dff8ace12 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Mon, 6 Nov 2023 13:02:08 +0100 Subject: [PATCH 3/3] Framework version v1.3.3 --- packages/framework/src/Foundation/HydeKernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framework/src/Foundation/HydeKernel.php b/packages/framework/src/Foundation/HydeKernel.php index f0e254f69de..c15f68b25f4 100644 --- a/packages/framework/src/Foundation/HydeKernel.php +++ b/packages/framework/src/Foundation/HydeKernel.php @@ -49,7 +49,7 @@ class HydeKernel implements SerializableContract use Serializable; use Macroable; - final public const VERSION = '1.3.2'; + final public const VERSION = '1.3.3'; protected static self $instance;