v7.4.0
- Update Information
- Upgrade Instruction
What's New
- HDP Server supports independent deployment and online trial license application
- Support enabling document online editing based on OnlyOffice
- Ops Platform v1.5.0 (with a brand-new design, supports APM tracing and service log management)
- Sync HAP SaaS Edition v12.3.0
Fixed Issues
- [App] Unused global variables were lost after app import and upgrade
- [App] Locked apps could not be exported during organization-admin batch app export
- [App] Some form data configured for full import was missing after the first app import
- [App] API V3 batch row deletion returned
success=falseafter successful deletion - [Worksheet] Numeric and formula fields did not calculate during subtable batch import or paste
- [Worksheet] Imported values were overwritten by function default values during subtable batch import
- [Worksheet] Related record default values could not be selected again after being cleared
- [Worksheet] Date fields exported to Excel with the custom
HH:mmformat had incorrect time values - [Worksheet] Batch printing order was inconsistent with the view order
- [Worksheet] Organization screen watermarks were missing when PDF files were opened in a new page or floating window
- [Worksheet] Non-admin users could not view aggregate-table charts embedded in forms
- [Worksheet] Subtable sorting was not applied after clicking Save
- [Worksheet] Subtable related record default values were not displayed
- [Worksheet] Batch-updating subtable related records generated logs but did not update data
- [Worksheet] Subtable dropdown selected options were lost after options were set by workflow
- [Worksheet] ID controls in subtables did not validate ID number formats
- [Worksheet] On mobile, editing a subtable field whose default value referenced another field restored the old value
- [Worksheet] H5 region fields still allowed early confirmation after “must select the last level” was enabled
- [Worksheet] Signatures scanned on mobile were saved as regular attachments, causing historical signatures to be lost
- [Worksheet] Formula fields stored as numbers were still exported as text
- [Workflow] Object array data passed into packaged business processes was empty
- [Workflow] Approval nodes did not validate required subtable fields inside tabs during approval
- [Workflow] Dedicated compute instances could not be deleted after creation failed
- [Chart] Dashboard values and percentages were inconsistent
- [Chart] Reports that previously loaded in seconds took several minutes after filtering and left the page unresponsive
- [Custom Page] In grouped table views, clicking Load More on custom pages did not load some data
- [External Portal] Approval-free Excel import in external portals failed
- [HDP] HDP scheduled sync view selection could not be saved
- [Login] SMS verification was still required after selecting automatic login for two-factor verification
If there is an outer proxy, add the following configuration to the outermost proxy to support SSE streaming responses and long-lived requests.
This configuration disables proxy buffering so backend responses can be passed to the client in real time, ensuring the frontend can continuously receive and promptly update execution status, progress, and streaming output, and preventing responses from being cached by the proxy and returned all at once. Below is an example configuration that needs to be added based on nginx (note to adjust proxy_pass):
location ~ ^/(agent|api/workflow/api/sse/chat) {
set $md_real_ip '';
if ($http_x_real_ip) {
set $md_real_ip $http_x_real_ip;
}
if ($http_x_real_ip = '') {
set $md_real_ip $remote_addr;
}
proxy_buffering off;
proxy_read_timeout 30m;
proxy_send_timeout 30m;
client_max_body_size 16m;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $md_real_ip;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-HTTP-Method-Override "";
proxy_pass http://hap;
proxy_redirect default;
}
Standalone Mode
-
If MongoDB authentication is enabled, manually create the
MDAgentInfradatabase. See How to Create a MongoDB Database -
Update MongoDB preset data to
7.4.0. Refer to this (Can be executed while the original version is still running) -
Upgrade microservices to
7.4.0. Refer to this
Cluster Mode
-
Back up servers related to data storage
-
If MongoDB authentication is enabled, manually create the
MDAgentInfradatabase. See How to Create a MongoDB Database -
Update MongoDB preset data to
7.4.0. Refer to this (Can be executed while the original version is still running) -
Microservice application
service.yaml(default: /data/hap/script/Kubernetes/service.yaml) configuration file adjustmentDelete the
aiservice configuration, as shown below:Example
apiVersion: apps/v1kind: Deploymentmetadata:name: ainamespace: defaultspec:replicas: 1selector:matchLabels:app: aitemplate:metadata:labels:app: aiannotations:md-update: "20240123163208"spec:containers:- name: aiimage: nocoly/hap:7.3.6env:- name: ENV_SERVERIDvalue: "single:ai"resources:limits:cpu: "4"memory: 8096Mirequests:cpu: "0.01"memory: 64MireadinessProbe:tcpSocket:port: 8066initialDelaySeconds: 10periodSeconds: 10livenessProbe:tcpSocket:port: 8066initialDelaySeconds: 180periodSeconds: 10---apiVersion: v1kind: Servicemetadata:name: ainamespace: defaultspec:selector:app: aiports:- name: http-aiport: 8066targetPort: 8066---Add the
agent,tpintegrate, andaccountapiservice configurations. Adjust parameter values as needed:Example
apiVersion: apps/v1kind: Deploymentmetadata:name: agentnamespace: defaultspec:replicas: 1selector:matchLabels:app: agenttemplate:metadata:labels:app: agentannotations:md-update: "20240123163208"spec:containers:- name: agentimage: nocoly/hap:7.4.0env:- name: ENV_SERVERIDvalue: "single:agent"resources:limits:cpu: "4"memory: 8096Mirequests:cpu: "0.01"memory: 64MireadinessProbe:tcpSocket:port: 8408initialDelaySeconds: 10periodSeconds: 10livenessProbe:tcpSocket:port: 8408initialDelaySeconds: 180periodSeconds: 10---apiVersion: v1kind: Servicemetadata:name: agentnamespace: defaultspec:selector:app: agentports:- name: http-agentport: 8408targetPort: 8408---apiVersion: apps/v1kind: Deploymentmetadata:name: tpintegratenamespace: defaultspec:replicas: 1selector:matchLabels:app: tpintegratetemplate:metadata:labels:app: tpintegrateannotations:md-update: "20240123163208"spec:containers:- name: tpintegrateimage: nocoly/hap:7.4.0env:- name: ENV_SERVERIDvalue: "single:tpintegrate"resources:limits:cpu: "4"memory: 2048Mirequests:cpu: "0.01"memory: 64MireadinessProbe:tcpSocket:port: 8892initialDelaySeconds: 10periodSeconds: 10livenessProbe:tcpSocket:port: 8892initialDelaySeconds: 180periodSeconds: 10---apiVersion: v1kind: Servicemetadata:name: tpintegratenamespace: defaultspec:selector:app: tpintegrateports:- name: grpc-tpintegrateport: 8892targetPort: 8892---apiVersion: apps/v1kind: Deploymentmetadata:name: accountapinamespace: defaultspec:replicas: 1selector:matchLabels:app: accountapitemplate:metadata:labels:app: accountapiannotations:md-update: "20240123163208"spec:containers:- name: accountapiimage: nocoly/hap:7.4.0env:- name: ENV_SERVERIDvalue: "single:accountapi"resources:limits:cpu: "4"memory: 8096Mirequests:cpu: "0.01"memory: 64MireadinessProbe:tcpSocket:port: 1318initialDelaySeconds: 10periodSeconds: 10livenessProbe:tcpSocket:port: 1318initialDelaySeconds: 180periodSeconds: 10---apiVersion: v1kind: Servicemetadata:name: accountapinamespace: defaultspec:selector:app: accountapiports:- name: http-accountapiport: 1318targetPort: 1318--- -
Upgrade microservices to
7.4.0. Refer to this -
Log in to the control node and run the commands below:
-
Enter the config Pod (replace
defaultwith the actual namespace)kubectl exec -it $(kubectl get pod -n default | grep config | awk '{print $1}') bash -n default -
Run the following scripts
Run MongoDB scripts (add indexes)
source /entrypoint.sh && mongodbExecute mdapps /init/mongodb/7.4.0/mdapps/DDL.txtsource /entrypoint.sh && mongodbExecute mdopenauth /init/mongodb/7.4.0/mdopenauth/DDL.txtsource /entrypoint.sh && mongodbExecute mdsms /init/mongodb/7.4.0/mdsms/DDL.txtsource /entrypoint.sh && mongodbExecute mdemail /init/mongodb/7.4.0/mdemail/DDL.txt
-