From 2907004cda79ffd1e26c621900adbee802b99728 Mon Sep 17 00:00:00 2001 From: Alexander Onnikov Date: Fri, 12 Sep 2025 11:02:09 +0700 Subject: [PATCH] Update self-host to Huly v242 Signed-off-by: Alexander Onnikov --- .template.huly.conf | 2 +- MIGRATION.md | 44 ++++++++++++------- kube/account/account-deployment.yaml | 2 +- .../collaborator/collaborator-deployment.yaml | 2 +- kube/front/front-deployment.yaml | 2 +- kube/fulltext/fulltext-deployment.yaml | 2 +- kube/rekoni/rekoni-deployment.yaml | 2 +- kube/stats/stats-deployment.yaml | 2 +- kube/transactor/transactor-deployment.yaml | 2 +- kube/workspace/workspace-deployment.yaml | 2 +- 10 files changed, 36 insertions(+), 26 deletions(-) diff --git a/.template.huly.conf b/.template.huly.conf index 71a3a4f..8b3cbb5 100644 --- a/.template.huly.conf +++ b/.template.huly.conf @@ -1,4 +1,4 @@ -HULY_VERSION=v0.7.235 +HULY_VERSION=v0.7.242 DOCKER_NAME=huly_v7 # The address of the host or server from which you will access your Huly instance. diff --git a/MIGRATION.md b/MIGRATION.md index 97643b3..5633751 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -3,9 +3,19 @@ This document describes the changes required to update Huly from one version to another. Most of updates require updating Docker containers versions. Though, some updates may require updating other configuration options. In this case, you should review the updated configuration options and update them accordingly. -# v7 +## v7 -## v0.7.204 +WARNING: if you are migrating from v6 see [v0.7.204](#v07204) for details. + +### v0.7.242 + +No changes required. + +### v0.7.235 + +No changes required. + +### v0.7.204 > [!CAUTION] > Do not upgrade directly from v6 to v7. Direct upgrades will lock your deployment with MongoDB-specific data, making the future migration significantly more complex. Follow the migration instructions below instead. @@ -60,9 +70,10 @@ Migration Steps (command examples shown for Docker on macOS): > [!TIP] > This procedure doesn't affect the data in the v6 deployment and can be repeated as many times as needed. -# v6 +## v6 + +### v0.6.502 -## v0.6.502
No changes required. @@ -73,18 +84,18 @@ Migration Steps (command examples shown for Docker on macOS): - v0.6.482
-## v0.6.471 +### v0.6.471 -### Overview +#### Overview The new Mail Service, supporting both SMTP and Amazon SES, has been added. If your setup currently uses the `ses` service, you'll need to migrate to the `mail` service. -### Key Changes +#### Key Changes - **Unified Mail Service**: The `mail` service can be configured to send emails via SMTP or Amazon SES, but not both simultaneously. - **Migration Requirement**: Transitioning from the `ses` service to the `mail` service requires updating your `docker-compose.yaml` file. -### Migration Steps +#### Migration Steps 1. **Update Configuration**: Replace the `ses` service with the `mail` service in your `docker-compose.yaml` file. Configure the environment variables to match your chosen email service (SMTP or SES). @@ -117,16 +128,15 @@ The new Mail Service, supporting both SMTP and Amazon SES, has been added. If yo ... ``` - -## v0.6.466 +### v0.6.466 No changes required. -## v0.6.429 +### v0.6.429 No changes required. -## v0.6.424 +### v0.6.424 Web-push keys have been moved from the `front` service to the `ses` service. If you are using the `ses` service, you will need to update the configuration: @@ -147,17 +157,17 @@ Web-push keys have been moved from the `front` service to the `ses` service. If - PUSH_PRIVATE_KEY=your private key ``` -## v0.6.411 +### v0.6.411 No changes required. -## v0.6.405 +### v0.6.405 No changes required. -## v0.6.377 +### v0.6.377 -### Fulltext Service +#### Fulltext Service Fulltext search functionality has been extracted into a separate `fulltext` service. This service is now required to be running in order to use the fulltext search functionality. @@ -194,7 +204,7 @@ Update the `transactor` service to use the new `fulltext` service: # - REKONI_URL=http://rekoni:4004 ``` -### Statistics Service +#### Statistics Service New statistics service has been added. The serivce is responsible for collecting and storing statistics about the usage of the application. diff --git a/kube/account/account-deployment.yaml b/kube/account/account-deployment.yaml index 9439cec..db23c24 100644 --- a/kube/account/account-deployment.yaml +++ b/kube/account/account-deployment.yaml @@ -59,7 +59,7 @@ spec: key: TRANSACTOR_URL - name: QUEUE_CONFIG value: redpanda:9092 - image: hardcoreeng/account:v0.7.235 + image: hardcoreeng/account:v0.7.242 name: account ports: - containerPort: 3000 diff --git a/kube/collaborator/collaborator-deployment.yaml b/kube/collaborator/collaborator-deployment.yaml index 305a645..a240e7b 100644 --- a/kube/collaborator/collaborator-deployment.yaml +++ b/kube/collaborator/collaborator-deployment.yaml @@ -32,7 +32,7 @@ spec: secretKeyRef: name: huly-secret key: SERVER_SECRET - image: hardcoreeng/collaborator:v0.7.235 + image: hardcoreeng/collaborator:v0.7.242 name: collaborator ports: - containerPort: 3078 diff --git a/kube/front/front-deployment.yaml b/kube/front/front-deployment.yaml index 1ae4cef..7b187e9 100644 --- a/kube/front/front-deployment.yaml +++ b/kube/front/front-deployment.yaml @@ -71,7 +71,7 @@ spec: value: http://stats - name: DESKTOP_UPDATES_CHANNEL value: selfhost - image: hardcoreeng/front:v0.7.235 + image: hardcoreeng/front:v0.7.242 name: front ports: - containerPort: 8080 diff --git a/kube/fulltext/fulltext-deployment.yaml b/kube/fulltext/fulltext-deployment.yaml index 086f390..7ac43fb 100644 --- a/kube/fulltext/fulltext-deployment.yaml +++ b/kube/fulltext/fulltext-deployment.yaml @@ -49,7 +49,7 @@ spec: value: http://stats - name: QUEUE_CONFIG value: redpanda:9092 - image: hardcoreeng/fulltext:v0.7.235 + image: hardcoreeng/fulltext:v0.7.242 name: fulltext ports: - containerPort: 4700 diff --git a/kube/rekoni/rekoni-deployment.yaml b/kube/rekoni/rekoni-deployment.yaml index 38eb719..298b933 100644 --- a/kube/rekoni/rekoni-deployment.yaml +++ b/kube/rekoni/rekoni-deployment.yaml @@ -15,7 +15,7 @@ spec: app: rekoni spec: containers: - - image: hardcoreeng/rekoni-service:v0.7.235 + - image: hardcoreeng/rekoni-service:v0.7.242 name: rekoni env: - name: SECRET diff --git a/kube/stats/stats-deployment.yaml b/kube/stats/stats-deployment.yaml index 28c8556..8875d7b 100644 --- a/kube/stats/stats-deployment.yaml +++ b/kube/stats/stats-deployment.yaml @@ -15,7 +15,7 @@ spec: app: stats spec: containers: - - image: hardcoreeng/stats:v0.7.235 + - image: hardcoreeng/stats:v0.7.242 name: stats env: - name: PORT diff --git a/kube/transactor/transactor-deployment.yaml b/kube/transactor/transactor-deployment.yaml index 3608afc..b20105e 100644 --- a/kube/transactor/transactor-deployment.yaml +++ b/kube/transactor/transactor-deployment.yaml @@ -53,7 +53,7 @@ spec: key: SERVER_SECRET - name: QUEUE_CONFIG value: redpanda:9092 - image: hardcoreeng/transactor:v0.7.235 + image: hardcoreeng/transactor:v0.7.242 name: transactor ports: - containerPort: 3333 diff --git a/kube/workspace/workspace-deployment.yaml b/kube/workspace/workspace-deployment.yaml index a6a3a4b..d004512 100644 --- a/kube/workspace/workspace-deployment.yaml +++ b/kube/workspace/workspace-deployment.yaml @@ -49,7 +49,7 @@ spec: key: SERVER_SECRET - name: QUEUE_CONFIG value: redpanda:9092 - image: hardcoreeng/workspace:v0.7.235 + image: hardcoreeng/workspace:v0.7.242 name: workspace resources: limits: