#511: Хотфикс v4.2.1

Инструкция

ВАЖНО! Перед обновлением на v4.2.1 необходимо иметь версию Swarmica не ниже v4.2.0

Подготовка

Для обновления на версию v4.2.1 проверьте, что в конфигурационном файле .env поставлена версия v4.2.1 или main (всегда обновляет на последнюю доступную стабильную версию):

~# grep VERSION .env
SW_FRONTEND_VERSION=v4.2.1
SW_BACKEND_VERSION=v4.2.1

или

~# grep VERSION .env
SW_FRONTEND_VERSION=main
SW_BACKEND_VERSION=main

Обновление

Будет прерывание сервиса на несколько минут, рекомендуется выполнять обновление в часы, когда использование системы минимально

Выполните обновление с перезагрузкой системы:

docker compose pull
docker compose up -d --remove-orphans

После того, как все успешно обновлено и работоспособность проверена, можно удалить неиспользуемые данные docker для освобождения дискового пространства:

docker system prune -a

ВАЖНО! Убедитесь, что все контейнеры успешно запустились, перед запуском этой команды

Список изменений

Frontend

  • Feature #1376: Disable all notifications for Customer users
  • Feature #1378: Supported 'Source' field in ticket filters
  • Bug #1387: Action buttons for Image and Codeblock in articles get in a way of viewing/editing the content
  • Bug #1390: Do not show 'Take' button on articles where the user is the author
  • Bug #1393: Do not consider article editor internal markdown modifications as unsaved changes
  • Bug #1395: Add remark-breaks plugin to support Markdown single line breaks in articles
  • Bug #1395: Update MDXEditor to version 3.23.2
  • Bug #1403: Refresh ticket comments state when a notification arrives
  • Bug #1406: Fixed logic for displaying 'Finish the evaluation' button

Backend

  • Feature #1928: Parse links from Whatsapp to proper HTML links
  • Feature billmanager6#18: Sync account manager from billing on save
  • Bug #1981: Users are unable to access articles published to their segments
  • Bug #1988: Fixed migrate_ticket_source works slowly
  • Bug #1990: Fixed emails not being sent to customers on certain occasions