This is a Long-Term Support (LTS) maintenance release in the 5.9.x line, focused on bug fixes, security patches, and stability improvements. It also brings native PostgreSQL partitioning to process data. Review the deployment guidelines before you upgrade.
Release Highlight
FlowX.AI 5.9.5 is a maintenance release for the 5.9.x LTS:
- Native PostgreSQL partitioning: process data tables are partitioned by the database itself, so archiving detaches whole partitions instead of copying and deleting rows
- Key fixes: audit entries no longer missing or attributed to the wrong application, merge conflicts raised for changes inside embedded subprocesses, self-hosted Keycloak issuer derived from configuration
- Integrations: an SFTP private key can be stored as a multi-line PEM
- Backend, Designer, and renderer stability fixes plus security patches. Every change is listed in the full changelog
Upgrade notes
Upgrade compatibility: FlowX.AI 5.9.5 is compatible with 5.9.4, and the upgrade requires no data migration. Native PostgreSQL partitioning is opt-in: if you had already enabled data partitioning, review the deployment guidelines before you upgrade, because the conversion to native partitions runs automatically for you and is one way.
- AI job queues: each AI service now consumes Kafka jobs in its own consumer group instead of the shared
ai-servicesgroup, and the new groups read only jobs published after they start. Wait until theai-servicesgroup has no lag on the job topics before you upgrade, so no queued job is skipped. If your cluster restricts consumer groups with ACLs, allow the new groups first. - Relational data sources: Oracle data sources connect only to hosts that resolve to a public address. Add private database hosts to the allowlist, as described in Relational database host restrictions.
- Service-account secrets: confirm every service-account client secret is set on
authorization-system, or the service stops at startup. The secrets are listed in the Authorization setup guide. - Dashboards and alerts: the Redis cache error counter is renamed from
cache_error_totaltoflowx_cache_error_total. - Runtime log levels: the
loggersactuator endpoint is no longer exposed by default. Add it back as described in Changing log levels at runtime. - Data partitioning: if you had already turned on data partitioning, the conversion to native partitions runs automatically on upgrade and is one way. See the deployment guidelines.
Native PostgreSQL partitioning
The process engine stores process data in tables that PostgreSQL itself partitions by time. Archiving then detaches whole partitions rather than copying and deleting rows one at a time, which keeps the cost of moving old data out of the live tables flat as the tables grow. The conversion to native partitions applies only to deployments that already had data partitioning enabled, and it is one way. See the deployment guidelines before you upgrade. This is the same partitioning model described for the 5.12 line, delivered into the 5.9.x LTS. For how partitioning interacts with archiving and retention, see Process instance data archiving.Full changelog
New
- Integrations: an SFTP private key can be stored as a multi-line PEM, in both the Private Key field and in a configuration parameter, and is passed through to the connection.
- Process engine: process data tables can use native PostgreSQL partitioning, so archiving detaches whole partitions instead of copying and deleting rows. Opt-in. See Native PostgreSQL partitioning.
Changed
- AI Gateway: logs carry structured key-value fields and record the length of a user message instead of an excerpt of its text.
- AI platform services: every AI service applies the platform’s Kafka security setting the same way, including TLS, and accepts the same OAuth token endpoint setting as the core services. An unsupported Kafka security protocol now stops the service at startup.
- AI platform services: each AI service consumes Kafka jobs in its own consumer group instead of the shared
ai-servicesgroup. The new groups read only jobs published after they start, so let theai-servicesgroup reach zero lag before you upgrade. If your Kafka cluster restricts consumer groups with ACLs, allow the new groups before you upgrade. - AI platform services: the LLM configuration cache listener keeps one stable Kafka consumer group per pod, so restarts no longer leave orphaned groups on the broker.
- Application manager: loading app versions is faster on databases that hold many deleted apps. The upgrade creates two new database indexes.
- Authorization system: a missing or blank service-account client secret now stops
authorization-systemat startup, and the log names each affected client and its setting. - Builds: exporting and importing a build resolves dependencies more consistently, and a parent build is reconciled when an import it depends on finishes.
- Document plugin: archive, encryption, and extraction operations enforce size limits, and input over the limit is rejected. See Document plugin: processing size limits.
- Integration Designer: a root workflow output larger than the Kafka payload limit fails the run with
outputTooLargeForKafkainstead of being dropped by the broker. See Integration Designer: workflow output size guard. - NoSQL DB runner: Oracle data sources can connect only to hosts that resolve to a public address, unless the host is allowed explicitly. Databases on a private network need an allowlist entry. See Relational database host restrictions.
- Observability: the
loggersactuator endpoint is no longer exposed by default. To keep changing log levels at runtime, addloggersto the exposure list, as described in Changing log levels at runtime. - Observability: the advancing engine reports additional metrics for its processing, and the metric names follow the platform naming convention.
- Observability: the Redis cache error counter is renamed from
cache_error_totaltoflowx_cache_error_totaland gains anerror_classlabel. Update dashboards and alerts that use the old name.
Fixed
- Audit: audit entries are no longer missing, duplicated, or recorded against the wrong application.
- Authorization system: service-account clients that were created without a secret receive the configured secret on upgrade. Clients that already have a secret keep it.
- Designer: searching reusable functions is case-insensitive, in the Functions list and in the function picker of Script and Fork nodes.
- Document plugin: archive, extract, encrypt, and decrypt operations stage files in temporary storage instead of holding them in memory, so a large archive no longer exhausts service memory.
- Events gateway: real-time updates resume automatically within seconds after a Redis failover, instead of requiring a pod restart.
- Identity: on self-hosted deployments the Keycloak issuer is derived from configuration and matched exactly, so tokens are no longer rejected when the configured base URL and the issuer in the token differ.
- Process execution: fixed rare cases where a process or workflow token stopped advancing with no error logged, and a database deadlock during cleanup of finished advancing partitions.
- Project versions: a change made inside an embedded subprocess is now taken into account when a merge computes conflicts. Previously such a change could pass through a merge without a conflict being raised.
- Redis connectivity: platform services, including AI Gateway, reconnect automatically after a Redis Sentinel failover or a dropped connection, and start even when Redis is briefly unavailable, without a pod restart.
- Renderers: text substitution no longer breaks when a substitution tag receives an empty value.
- Runtime: the runtime app context is cached correctly, which removes recurring
Redis cache PUT errorwarnings and a database lookup on each runtime request.
Security
- All components: security patches and dependency upgrades to address known vulnerabilities.

