Skip to content

Commit

Permalink
Prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronef committed Dec 3, 2024
1 parent 67c4051 commit 9005df1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# (MODX)EvolutionCMS.libraries.ddTools changelog


## Version 0.64.1 (2024-12-04)

* \* `\DDTools\Storage\DB\Storage`: Column names are quoted in all queries to avoid of errors when their names are equal to some reserved keywords, e. g. `repeat`.


## Version 0.64 (2024-09-06)

* \+ `\DDTools\Tools\Objects::extend` → Parameters → `$params->extendableProperties`: The new optional parameter. Allows to use for extending not all properties from additional objects or arrays (see README → Examples).
Expand Down Expand Up @@ -153,7 +158,7 @@
* \+ `$meta['success']`: Is not required anymore and by default will be equal to `true`.
* \+ `$meta['code']`: Is not required anymore and by default will be equal to `200` or `400` depending on `$meta['success']`.
* \+ `$meta`:
* \+ Can also be set as stdClass, stringJsonObject, stringHjsonObject, stringQueryFormatted.
* \+ Can also be set as stdClass, stringJsonObject, stringHjsonObject, stringQueryFormatted.
* \+ Is not required anymore and by default will be equal to `['success' => true, 'code' => 200]`.
* \+ `setMetaMessage`: If `$this->meta` is not set, it will be set with default values of `success` and `code`.

Expand Down
9 changes: 7 additions & 2 deletions CHANGELOG_ru.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# (MODX)EvolutionCMS.libraries.ddTools changelog


## Version 0.64 (2024-09-06)
## Версия 0.64.1 (2024-12-04)

* \* `\DDTools\Storage\DB\Storage`: Имена колонок берутся в кавычки во всех запросах, чтобы избежать ошибок, когда они равны каким-нибудь зарезервированным ключевым словам, например `repeat`.


## Версия 0.64 (2024-09-06)

* \+ `\DDTools\Tools\Objects::extend` → Параметры → `$params->extendableProperties`: Новый необязательный параметр. Позволяет использовать для расширения не все свойства из дополнительных объектов или массивов (см. README → Примеры).
* \+ `\DDTools\Storage\Storage``items_update`, `items_updateOne`, `items_delete`, `items_deleteOne`, `items_get`, `items_getOne` → Параметры:
Expand Down Expand Up @@ -153,7 +158,7 @@
* \+ `$meta['success']`: Больше не обязателен и по умолчанию будет равен `true`.
* \+ `$meta['code']`: Больше не обязателен и по умолчанию будет равен `200` или `400` в зависимости от `$meta['success']`.
* \+ `$meta`:
* \+ Также может быть задан как stdClass, stringJsonObject, stringHjsonObject, stringQueryFormatted.
* \+ Также может быть задан как stdClass, stringJsonObject, stringHjsonObject, stringQueryFormatted.
* \+ Больше не обязателен и по умолчанию будет равен `['success' => true, 'code' => 200]`.
* \+ `setMetaMessage`: Если `$this->meta` не задано, будет задано со значениями по умолчанию `success` и `code`.

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.64.0",
"version": "0.64.1",
"description": "A library with various tools facilitating your work.",
"keywords": [
"modx",
Expand Down
2 changes: 1 addition & 1 deletion modx.ddtools.class.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* EvolutionCMS.libraries.ddTools
* @version 0.64 (2024-09-06)
* @version 0.64.1 (2024-12-04)
*
* @see README.md
*
Expand Down

0 comments on commit 9005df1

Please sign in to comment.