Skip to content

Commit

Permalink
Version 0.62.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronef committed Jun 17, 2024
2 parents fc759e3 + 0a946c1 commit 2574bea
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG_ru.md
Original file line number Diff line number Diff line change
@@ -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` → Параметры:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions modx.ddtools.class.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* EvolutionCMS.libraries.ddTools
* @version 0.62 (2024-06-14)
* @version 0.62.1 (2024-06-17)
*
* @see README.md
*
Expand Down Expand Up @@ -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.
*
Expand All @@ -981,7 +981,7 @@ private static function parseText_parepareParams($params = []): \stdClass {
$params = \ddTools::verifyRenamedParams([
'params' => (object) $params,
'compliance' => [
'mergeAll' => 'isCompletelyParsingEnabled',
'isCompletelyParsingEnabled' => 'mergeAll',
],
'returnCorrectedOnly' => false,
]);
Expand Down

0 comments on commit 2574bea

Please sign in to comment.