diff --git a/CHANGELOG.md b/CHANGELOG.md index 23ada3bc7ebe4bba71af5b8be75bd14139e46939..ebd505d1454286d9b04ff72369c638507320b7fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## [0.33.0] - 2025-07-02 + +### 🚀 Новые возможности + +- Добавлены options в сигнатуру метода CheckoutRevisions [#3044](https://git.perx.ru/perxis/perxis/-/issues/3044) ([0cb5de3](https://git.perx.ru/perxis/perxis-go/-/commit/0cb5de325c977a498886592a82b51cdcdf1fdbc6)) +- Реализованы вспомогательные функции для конвертации структур между типами `collections.Access` и `permission.Rule` [#3161](https://git.perx.ru/perxis/perxis/-/issues/3161) ([0432604](https://git.perx.ru/perxis/perxis-go/-/commit/043260462494272c0cb1950b05ac985275307a3f)) +- Добавлен перевод названий коллекций [#3091](https://git.perx.ru/perxis/perxis/-/issues/3091) ([f377778](https://git.perx.ru/perxis/perxis-go/-/commit/f3777780b1e4401da44b6c26217a49aa126d27d2)) +- Добавлена функция MergeItemData в пакет Items, которая выполняет слияние данных двух объектов Item с учетом схемы [#3191](https://git.perx.ru/perxis/perxis/-/issues/3191) ([16d93c2](https://git.perx.ru/perxis/perxis-go/-/commit/16d93c251a3f2df96ddddacae04f6a23df74fd2a)) +- Добавлена возможность создания template.Builder для текста или HTML ([f78895a](https://git.perx.ru/perxis/perxis-go/-/commit/f78895aad4e90c06433c73068408f090500a161c)) + +### 🐛 Исправлены ошибки + +- Добавлен учет флага "Расширенный доступ" для пользователей ([cf52002](https://git.perx.ru/perxis/perxis-go/-/commit/cf520021db2bd75ab7341dd27dcc3b096bf83aed)) +- Исправлена ошибка при "прореживании" переводов элементов массивов [#3264](https://git.perx.ru/perxis/perxis/-/issues/3264) ([72154f7](https://git.perx.ru/perxis/perxis-go/-/commit/72154f77c0221c3758ca1c61a40845ec676f4c02)) +- Добавлен возврат исходных данных при ошибке кодирования/декодирования в методе `Introspect` в `ClientEncodeMiddleware` [#3273](https://git.perx.ru/perxis/perxis/-/issues/3273) ([c47b0a3](https://git.perx.ru/perxis/perxis-go/-/commit/c47b0a346e2627f600baabe4d145a8ba0c47aaf4)) +- Исправлен формат json-тегов в CamelCase для Collections, добавлены методы ToMap, FromMap, FromAny [#3303](https://git.perx.ru/perxis/perxis/-/issues/3303) ([8203a34](https://git.perx.ru/perxis/perxis-go/-/commit/8203a34c9e9d0f70a3e796e82ed44ee884b946dc)) +- Исправлена выгрузка полей Item в JSON, приведены к camelCase ([9b0d4c3](https://git.perx.ru/perxis/perxis-go/-/commit/9b0d4c3a7ae7c8e25441e748643159609faef310)) + +### ⚙️ Прочие задачи +- +- Обновлена версия expr до v1.17.2 [#3170](https://git.perx.ru/perxis/perxis/-/issues/3170) ([93bc6cd](https://git.perx.ru/perxis/perxis-go/-/commit/93bc6cd3e2d188af14e0ff1f48dbd80944a091fa)) +- Рефакторинг тестов: заменен избыточный вызов`AssertExpectations` на встроенюю проверку мок-объектов [#3003](https://git.perx.ru/perxis/perxis/-/issues/3003) ([9ba5b01](https://git.perx.ru/perxis/perxis-go/-/commit/9ba5b0154b3506c380641fd12533b71b290f947e)) +- Сделана миграция конфигурации линтера до второй версии, обновлен .gitlab-ci.yml [#3195](https://git.perx.ru/perxis/perxis/-/issues/3195) ([22f02a9](https://git.perx.ru/perxis/perxis-go/-/commit/22f02a91c31482e681835a8fb8b9ef0695e69944)) +- Улучшена информативность ошибок в middleware'ях сервиса Items ([976388b](https://git.perx.ru/perxis/perxis-go/-/commit/976388baa98ac20eed503eaebae2cc8778857c50)) + +<!-- generated by git-cliff --> + ## [0.32.0] - 2025-02-28 ### 🚀 Новые возможности diff --git a/Taskfile.yaml b/Taskfile.yaml index 4a97ef91b1d1e59c673ccfc8085f5a09a5c7c8aa..16810e9b3b918d89f6e541a254894ebfb66ed438 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -55,8 +55,12 @@ tasks: # Release release:changelog: - aliases: [cl] + aliases: + - cl desc: "Подготовка CHANGELOG.md" + requires: + vars: + - GITLAB_TOKEN vars: CURRENT_VERSION: sh: svu current