Skip to content

Releases: DivanDesign/EvolutionCMS.libraries.ddTools

Version 0.69

Choose a tag to compare

@Ronef Ronef released this 28 May 18:20

🇬🇧

  • + \ddTools::getDocumentUrlById($docId): The new public static method. Gets relative URL of a document by its ID.
  • + README → Parameters description, Examples → \ddTools::getDocumentIdByUrl: Added the method description.

🇷🇺

  • + \ddTools::getDocumentUrlById($docId): Новый публичный статичный метод. Получает относительный URL документа по его ID.
  • + README → Описание параметров, Примеры → \ddTools::getDocumentIdByUrl: Добавлено описание метода.

Version 0.68

Choose a tag to compare

@Ronef Ronef released this 11 Apr 17:59

🇬🇧

  • + \ddTools::deleteDocuments: The new public static method. Deletes document(s) with all their children (recursively). Cache of the deleted docs and their parents will be cleared.

🇷🇺

  • + \ddTools::deleteDocuments: Новый публичный статичный метод. Удаляет документ(ы) с всеми их дочерними документами (рекурсивно). Кеш удаленных документов и их родителей будет очищен.

Version 0.67.1

Choose a tag to compare

@Ronef Ronef released this 26 Nov 19:53

🇬🇧

  • * \DDTools\Storage\DB\Storage::items_update: Fixed UPDATE query execution bug in some MariaDB versions.

🇷🇺

  • * \DDTools\Storage\DB\Storage::items_update: Исправлена ошибка выполнения запроса UPDATE в некоторых версиях MariaDB.

Version 0.67

Choose a tag to compare

@Ronef Ronef released this 25 Nov 19:01

🇬🇧

  • + \DDTools\Tools\Objects::convertType → Parameters → $params->object → Valid values → object: Custom class instances are now also supported.

🇷🇺

  • + \DDTools\Tools\Objects::convertType → Параметры → $params->object → Допустимые значения → object: Теперь также поддерживаются экземпляры кастомных классов.

Version 0.66

Choose a tag to compare

@Ronef Ronef released this 22 Oct 13:27

🇬🇧

  • + \DDTools\Base\Base::getClassName() → Result → $result->namespacePrefixRoot: The new result property contains the root namespace prefix (e. g. '\\ddSendFeedback' of '\\ddSendFeedback\\Sender\\Email\\Sender').

🇷🇺

  • + \DDTools\Base\Base::getClassName() → Результат → $result->namespacePrefixRoot: Новое свойство, содержащее корневой префикс пространства имён (например, '\\ddSendFeedback' из '\\ddSendFeedback\\Sender\\Email\\Sender').

Version 0.65.3

Choose a tag to compare

@Ronef Ronef released this 08 Oct 09:32

🇬🇧

  • * \DDTools\Storage\DB\Storage: Works fine even if id column is not present in the table.

🇷🇺

  • * \DDTools\Storage\DB\Storage: Работает корректно даже если колонка id не существует в таблице.

Version 0.65.2

Choose a tag to compare

@Ronef Ronef released this 05 Oct 11:45

🇬🇧

  • * \DDTools\Storage\DB\Storage::items_add: $params->items[$itemIndex]->id is used if it is passed and validated via $this->items_validateData.

🇷🇺

  • * \DDTools\Storage\DB\Storage::items_add: $params->items[$itemIndex]->id используется, если он передан и валиден через $this->items_validateData.

Version 0.65.1

Choose a tag to compare

@Ronef Ronef released this 16 Jun 15:15
  • * \DDTools\Base\AncestorTrait::getChildClassName: The public static method is no longer final. Now child classes can override this method.

Version 0.65

Choose a tag to compare

@Ronef Ronef released this 28 Apr 11:56
  • + \DDTools\Base\Base::getClassName → Parameters → $classNameFull: The new optional parameter. Allows to specify custom class name, not current called only.
  • + \DDTools\Snippet::$paramsTypes[$paramName] → Valid values → 'float': The new supported value.
  • * PHP >= 7.4 is required.

Version 0.64.1

Choose a tag to compare

@Ronef Ronef released this 03 Dec 23:22
  • * \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.