v5.8.0
- Update Information
- Upgrade Instruction
What's New
- Application logs support archiving
- Support configuring customized app push channels
- Support configuring map services (Amap, Google)
- Sync HAP SaaS Edition v5.8.0
Issues Fixing
- The worksheet adds a QR code printing template, but when selecting the public link, scanning the code redirects to an error
- The worksheet tab field description cannot be deleted
- When a field in the worksheet is deleted and then restored, the field alias becomes empty
- When pasting to import sub-tables in the worksheet, clicking import takes a long time
- When the record title in the worksheet is a department field, the printed file name only contains the worksheet name, not the title
- Creating associated records through the custom button in the worksheet shared records does not respond when clicking "Add Attachment"
- In the workflow, when initiating the approval process node, choosing to send an API request in data processing leads to a blank configuration page for the specified data object
- The numerical chart cannot adjust the field order
- The raw data list in the numerical chart shows duplicate data
- The data pipeline data source synchronization task count is incorrect
- The intelligent translation for application languages occasionally fails
- When personal account security settings do not allow multiple devices to log in simultaneously, accessing via DingTalk/WeChat Work will automatically log out of the web version
- Occasionally, when uploading large attachments to the H5 public form, the attachment field remains empty after submission
- The time field in the H5 public form defaults to not being able to retrieve the current time when clicked
Standalone Mode
-
If MongoDB connection authentication is enabled, you need to manually create the
mdwfplugin
database. Please refer to how to create a new MongoDB database -
Upgrade microservices to version
5.8.0
. Microservices Upgrade -
After completing the upgrade, execute
docker exec -it $(docker ps | grep community | awk '{print $1}') bash
to enter the microservices application container and reset the multilingual translation template.source /entrypoint.sh && mongodbResetTemplateMessage
Cluster Mode
-
Backup data storage related servers.
-
If MongoDB connection authentication is enabled, you need to manually create the
mdwfplugin
database. Please refer to how to create a new MongoDB database -
Add
workflowplugin
and modifypush
service configuration in microservice applicationservice.yaml
(default: /data/hap/script/Kubernetes/service.yaml)The default configuration for
workflowplugin
is as follows, and the parameter values can be adjusted according to actual needs:apiVersion: apps/v1
kind: Deployment
metadata:
name: workflowplugin
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: workflowplugin
template:
metadata:
labels:
app: workflowplugin
annotations:
md-update: "20240123163208"
spec:
containers:
- name: workflowplugin
image: nocoly/hap-community:5.8.0
env:
- name: ENV_SERVERID
value: "single:workflowplugin"
resources:
limits:
cpu: "24"
memory: 20480Mi
requests:
cpu: "0.01"
memory: 64Mi
readinessProbe:
tcpSocket:
port: 8087
initialDelaySeconds: 10
periodSeconds: 10
livenessProbe:
tcpSocket:
port: 8087
initialDelaySeconds: 180
periodSeconds: 10
---
apiVersion: v1
kind: Service
metadata:
name: workflowplugin
namespace: default
spec:
selector:
app: workflowplugin
ports:
- name: http-workflowplugin
port: 8087
targetPort: 8087
- name: grpc-workflowplugin
port: 9087
targetPort: 9087
---Add grpc service port mapping in
push
service:- name: grpc-push
port: 3009
targetPort: 3009 -
Upgrade microservices to version
5.8.0
. Microservices Upgrade -
Enter the config Pod of the control node and execute the following commands, as shown below:
-
Enter the config Pod:
kubectl exec -it $(kubectl get pod | grep config | awk '{print $1}') bash
-
Execute the script to reset the multilingual translation template
source /entrypoint.sh && mongodbResetTemplateMessage
-