From eedebc40432bdfc2c79da0befabf532252eb5ea3 Mon Sep 17 00:00:00 2001 From: aB0t Date: Wed, 17 Jul 2024 15:57:44 +0200 Subject: [PATCH] Release of v4.0.1-beta2 Fix function mismatch call in the compiler power class. --- CHANGELOG.md | 6 ++++- ComponentbuilderInstallerScript.php | 2 +- README.md | 8 +++---- admin/README.txt | 8 +++---- admin/sql/updates/mysql/4.0.1-beta.sql | 1 + componentbuilder.xml | 4 ++-- componentbuilder_update_server.xml | 22 +++++++++++++++++-- .../VDM.Joomla/src/Abstraction/Remote/Set.php | 8 +++---- .../src/Componentbuilder/Compiler/Power.php | 2 +- .../JoomlaPower/Remote/Set.php | 4 ++-- 10 files changed, 44 insertions(+), 21 deletions(-) create mode 100644 admin/sql/updates/mysql/4.0.1-beta.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index a94fcaf45..e594cde14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ -# v4.0.1-beta1 +# v4.0.1-beta2 + +- Fix function mismatch call in the compiler power class. + +# v4.0.1-beta - Fix subform set methods - Improved the Joomla Power Push path diff --git a/ComponentbuilderInstallerScript.php b/ComponentbuilderInstallerScript.php index 3920bb71a..b59f23c25 100644 --- a/ComponentbuilderInstallerScript.php +++ b/ComponentbuilderInstallerScript.php @@ -3269,7 +3269,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface echo '
-

Upgrade to Version 4.0.1-beta1 Was Successful! Let us know if anything is not working as expected.

'; +

Upgrade to Version 4.0.1-beta2 Was Successful! Let us know if anything is not working as expected.

'; // Add/Update component in the action logs extensions table. $this->setActionLogsExtensions(); diff --git a/README.md b/README.md index d8a411dc8..3ee379856 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.1-beta1) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.1-beta2) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -145,12 +145,12 @@ TODO + *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder) + *First Build*: 30th April, 2015 + *Last Build*: 17th July, 2024 -+ *Version*: 4.0.1-beta1 ++ *Version*: 4.0.1-beta2 + *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **780724** ++ *Line count*: **780747** + *Field count*: **2104** -+ *File count*: **5463** ++ *File count*: **5464** + *Folder count*: **540** > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com). diff --git a/admin/README.txt b/admin/README.txt index d8a411dc8..3ee379856 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.1-beta1) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.1-beta2) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -145,12 +145,12 @@ TODO + *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder) + *First Build*: 30th April, 2015 + *Last Build*: 17th July, 2024 -+ *Version*: 4.0.1-beta1 ++ *Version*: 4.0.1-beta2 + *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **780724** ++ *Line count*: **780747** + *Field count*: **2104** -+ *File count*: **5463** ++ *File count*: **5464** + *Folder count*: **540** > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com). diff --git a/admin/sql/updates/mysql/4.0.1-beta.sql b/admin/sql/updates/mysql/4.0.1-beta.sql new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/admin/sql/updates/mysql/4.0.1-beta.sql @@ -0,0 +1 @@ + diff --git a/componentbuilder.xml b/componentbuilder.xml index 94b47add2..0eb9453fa 100644 --- a/componentbuilder.xml +++ b/componentbuilder.xml @@ -7,9 +7,9 @@ https://dev.vdm.io Copyright (C) 2015 Vast Development Method. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt - 4.0.1-beta1 + 4.0.1-beta2 Component Builder (v.4.0.1-beta1) +

Component Builder (v.4.0.1-beta2)

The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time. diff --git a/componentbuilder_update_server.xml b/componentbuilder_update_server.xml index 403249390..e0f164db2 100644 --- a/componentbuilder_update_server.xml +++ b/componentbuilder_update_server.xml @@ -59,10 +59,28 @@ pkg_component_builder package site - 4.0.1-beta1 + 4.0.1-beta https://dev.vdm.io - https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.1-beta1.zip + https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.1-beta2.zip + + + beta + + Llewellyn van der Merwe + https://dev.vdm.io + + + + Component Builder + Builds Complex Joomla Components + pkg_component_builder + package + site + 4.0.1-beta2 + https://dev.vdm.io + + https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.1-beta2.zip beta diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Abstraction/Remote/Set.php b/libraries/vendor_jcb/VDM.Joomla/src/Abstraction/Remote/Set.php index 9b5f7e470..51256f8d7 100644 --- a/libraries/vendor_jcb/VDM.Joomla/src/Abstraction/Remote/Set.php +++ b/libraries/vendor_jcb/VDM.Joomla/src/Abstraction/Remote/Set.php @@ -71,7 +71,7 @@ abstract class Set implements SetInterface * All active repos * * @var array - * @since 3.2.0 + * @since 3.2.2 **/ public array $repos; @@ -79,7 +79,7 @@ abstract class Set implements SetInterface * Table Name * * @var string - * @since 3.2.1 + * @since 3.2.2 */ protected string $table; @@ -87,7 +87,7 @@ abstract class Set implements SetInterface * Area Name * * @var string - * @since 3.2.1 + * @since 3.2.2 */ protected string $area; @@ -628,7 +628,7 @@ abstract class Set implements SetInterface * @param object $item The item * * @return array|null - * @since 3.2.0 + * @since 3.2.2 */ protected function getIndexItem(object $item): ?array { diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Power.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Power.php index 152e8d8dd..5cdee82b3 100644 --- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Power.php +++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Power.php @@ -346,7 +346,7 @@ class Power implements PowerInterface if ($this->isGuidValid($guid)) { // now we search for it via the super power paths - if (empty($this->retry[$guid]) && $this->superpower->load($guid, ['remote', 'local'])) + if (empty($this->retry[$guid]) && $this->superpower->item($guid, ['remote', 'local'])) { // we found it and it was loaded into the database unset($this->state[$guid]); diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/JoomlaPower/Remote/Set.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/JoomlaPower/Remote/Set.php index aa6bfc84d..c9c8621a8 100644 --- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/JoomlaPower/Remote/Set.php +++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/JoomlaPower/Remote/Set.php @@ -27,7 +27,7 @@ final class Set extends ExtendingSet implements SetInterface * Table Name * * @var string - * @since 3.2.1 + * @since 3.2.2 */ protected string $table = 'joomla_power'; @@ -35,7 +35,7 @@ final class Set extends ExtendingSet implements SetInterface * Area Name * * @var string - * @since 3.2.1 + * @since 3.2.2 */ protected string $area = 'Joomla Power';