From 2dbc9064f1e78cfe0fac82f8aedfbc18da1017fe Mon Sep 17 00:00:00 2001 From: Ilyas Ronef Date: Fri, 26 Mar 2021 15:59:09 +0300 Subject: [PATCH] Prerelease --- CHANGELOG.md | 6 ++++++ CHANGELOG_ru.md | 6 ++++++ composer.json | 2 +- modx.ddtools.class.php | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8eab023..f3c41fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # (MODX)EvolutionCMS.libraries.ddTools changelog +## Version 0.48 (2021-03-25) +* \+ `\DDTools\Snippet`: + * \+ `$paramsTypes`: The new property. Overwrite in child classes if you want to convert some parameters types. + * \+ `prepareParams`: The parameter types will be converted respectively with `$this->paramsTypes`. + + ## Version 0.47 (2021-03-20) * \+ `\DDTools\ObjectTools::convertType`: * \+ Added [HJSON](https://hjson.github.io/) support (closes #7). diff --git a/CHANGELOG_ru.md b/CHANGELOG_ru.md index f1244b0..b1ddb4f 100644 --- a/CHANGELOG_ru.md +++ b/CHANGELOG_ru.md @@ -1,6 +1,12 @@ # (MODX)EvolutionCMS.libraries.ddTools changelog +## Версия 0.48 (2021-03-25) +* \+ `\DDTools\Snippet`: + * \+ `$paramsTypes`: Новое свойство. Перекройте в дочерних классах если вы хотите сконвертировать типы параметров. + * \+ `prepareParams`: Типы параметров будут сконвертированы соответственно с `$this->paramsTypes`. + + ## Версия 0.47 (2021-03-20) * \+ `\DDTools\ObjectTools::convertType`: * \+ Добавлена поддержка [HJSON](https://hjson.github.io/) (closes #7). diff --git a/composer.json b/composer.json index b681d2a..9a9bb6c 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "dd/evolutioncms-libraries-ddtools", "type": "modxevo-library-ddtools", - "version": "0.47.0", + "version": "0.48.0", "description": "A library with various tools facilitating your work.", "keywords": [ "modx", diff --git a/modx.ddtools.class.php b/modx.ddtools.class.php index daca371..65f0968 100644 --- a/modx.ddtools.class.php +++ b/modx.ddtools.class.php @@ -1,7 +1,7 @@