From adf97cb21c026c117b89d5fda11a64a12616b119 Mon Sep 17 00:00:00 2001 From: Ilyas Ronef Date: Mon, 17 Jun 2024 20:10:27 +0400 Subject: [PATCH 1/2] =?UTF-8?q?*=20`\ddTools::parseText`=20=E2=86=92=20Par?= =?UTF-8?q?ameters=20=E2=86=92=20`$params->isCompletelyParsingEnabled`:=20?= =?UTF-8?q?Support=20for=20deprecated=20name=20`$params->mergeAll`=20has?= =?UTF-8?q?=20been=20fixed.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modx.ddtools.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modx.ddtools.class.php b/modx.ddtools.class.php index 40b6804..fdbe5d0 100644 --- a/modx.ddtools.class.php +++ b/modx.ddtools.class.php @@ -956,7 +956,7 @@ public static function parseText($params = []){ /** * parseText_parepareParams - * @version 1.0 (2024-06-06) + * @version 1.0.1 (2024-06-17) * * @param $params {stdClass|arrayAssociative} — The object of parameters. See $this->parseText. * @@ -981,7 +981,7 @@ private static function parseText_parepareParams($params = []): \stdClass { $params = \ddTools::verifyRenamedParams([ 'params' => (object) $params, 'compliance' => [ - 'mergeAll' => 'isCompletelyParsingEnabled', + 'isCompletelyParsingEnabled' => 'mergeAll', ], 'returnCorrectedOnly' => false, ]); From 0a946c10a404876260cefee01c0e1b51fb444ae4 Mon Sep 17 00:00:00 2001 From: Ilyas Ronef Date: Mon, 17 Jun 2024 20:17:40 +0400 Subject: [PATCH 2/2] Prerelease --- CHANGELOG.md | 4 ++++ CHANGELOG_ru.md | 4 ++++ composer.json | 2 +- modx.ddtools.class.php | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99aab08..bdfdb5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # (MODX)EvolutionCMS.libraries.ddTools changelog +## Version 0.62.1 (2024-06-17) +* \* `\ddTools::parseText` → Parameters → `$params->isCompletelyParsingEnabled`: Broken support for deprecated name `$params->mergeAll` has been fixed. + + ## Version 0.62 (2024-06-14) * \+ `\ddTools::isEmpty`: The new public static method. Determines whether a variable is empty. * \* `\ddTools::parseText` → Parameters: diff --git a/CHANGELOG_ru.md b/CHANGELOG_ru.md index 6ac173d..8b8085a 100644 --- a/CHANGELOG_ru.md +++ b/CHANGELOG_ru.md @@ -1,6 +1,10 @@ # (MODX)EvolutionCMS.libraries.ddTools changelog +## Версия 0.62.1 (2024-06-17) +* \* `\ddTools::parseText` → Parameters → `$params->isCompletelyParsingEnabled`: Неработающая поддержка устаревшего названия `$params->mergeAll` исправлена. + + ## Версия 0.62 (2024-06-14) * \+ `\ddTools::isEmpty`: Новый публичный статичный метод. Проверяет, пуста ли переменная. * \* `\ddTools::parseText` → Параметры: diff --git a/composer.json b/composer.json index 9d6e386..a57299f 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "dd/evolutioncms-libraries-ddtools", "type": "modxevo-library-ddtools", - "version": "0.62.0", + "version": "0.62.1", "description": "A library with various tools facilitating your work.", "keywords": [ "modx", diff --git a/modx.ddtools.class.php b/modx.ddtools.class.php index fdbe5d0..78168aa 100644 --- a/modx.ddtools.class.php +++ b/modx.ddtools.class.php @@ -1,7 +1,7 @@