> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# FlowX.AI 5.1.3 Release Notes (LTS)

> Security patches, performance optimizations, bug fixes, and stability improvements for the FlowX.AI 5.1.x LTS line.

<Info>
  This is a **Long-Term Support (LTS)** maintenance release focusing on **security patches**, **performance optimizations**, **bug fixes**, and **stability improvements**. Upgrades from **5.1.2 → 5.1.3** are non-breaking and fully compatible.
</Info>

<Card title="Release Highlight" icon="star" iconType="duotone">
  **Maintenance Release**: FlowX.AI 5.1.3 delivers security patches and significant performance improvements:

  * Numerous bug fixes addressing reported and internally identified issues
  * Improvements and enhancements to various platform components
  * Platform tasks focused on infrastructure and overall stability
  * No breaking changes — fully compatible upgrade from 5.1.2
</Card>

***

**What's new? 🆕**

<Tabs>
  <Tab title="Highlights">
    FlowX.AI 5.1.3 delivers comprehensive security, performance, and stability improvements across the platform.

    ♿ [**iOS Accessibility**](#improvements-and-enhancements) — VoiceOver accessibility support for iOS renderer\
    ✨ [**Improvements and enhancements**](#improvements-and-enhancements) — AI Platform improvements and enhancements for Data Model generation\
    ⚡ [**Performance Improvements**](#performance-improvements) — Performance improvements and optimizations across platform components and services\
    🐛 [**Bug Fixes**](#bug-fixes) — Customer-reported and proactive fixes across platform components\
    🔧 [**Platform Improvements**](#platform-improvements) — Infrastructure hardening and dependency updates

    ***

    ### **Improvements and enhancements**

    <Card title="Improvements and enhancements" icon="sparkles" iconType="duotone">
      <Tabs>
        <Tab title="Renderers">
          <CardGroup cols={2}>
            <Card title="iOS Accessibility" icon="mobile">
              VoiceOver accessibility support for the iOS renderer. Accessibility properties configured in the UI Designer (labels, hints, traits, decorative flags) are now applied to iOS components including form elements, text, images, and links.
            </Card>
          </CardGroup>
        </Tab>

        <Tab title="AI Platform">
          <CardGroup cols={2}>
            <Card title="Data Model Generation for Tables" icon="table">
              Generate Data Model mappings for table components from AI Designer. AI automatically creates array of objects DM keys for tables with type validation and visual feedback.
            </Card>

            <Card title="Data Model Generation for Table Columns" icon="table-columns">
              Extended DM generation for text and link elements within table columns, with automatic attribute mapping and support for partial matching.
            </Card>
          </CardGroup>
        </Tab>
      </Tabs>
    </Card>

    ***

    ### **Performance improvements**

    <Card title="Performance improvements" icon="gauge-high" iconType="duotone">
      <Tabs>
        <Tab title="Overview">
          FlowX.AI 5.1.3 delivers significant performance improvements to the process engine

          <CardGroup cols={2}>
            <Card title="Optimized Writes" icon="database">
              Smart change detection skips unnecessary database writes when param\_values unchanged
            </Card>

            <Card title="Reduced DB Calls" icon="arrows-minimize">
              N+1 query fixes and batch loading significantly reduce database round trips
            </Card>

            <Card title="Request Caching" icon="memory">
              Request-scoped caching for frequently accessed runtime configuration
            </Card>
          </CardGroup>
        </Tab>

        <Tab title="Key optimizations">
          <Accordion title="ProcessInstance param_values Optimization">
            Optimized handling of large `param_values` to reduce network overhead and prevent optimistic locking conflicts:

            * **Change Detection**: Skip database writes when param\_values unchanged
            * **Lightweight Queries**: Exclude param\_values from SELECT when not needed
          </Accordion>

          <Accordion title="Runtime Improvements - Reduced DB Calls">
            **Optimizations Implemented:**

            * Improved batch loading and caching to reduce redundant queries
            * Streamlined process initiation
            * Enhanced batching for database writes
          </Accordion>
        </Tab>
      </Tabs>
    </Card>

    ***

    ### **Bug fixes**

    <Card title="Bug fixes" icon="bug" iconType="duotone">
      <Tabs>
        <Tab title="Customer fixes">
          Issues resolved based on customer feedback:

          <Accordion id="ZD-982" title="Task Manager View Not Updating">
            **Problem:**\
            When using a view with dataset config where assignee is set to blank, after assigning a task (or self-assigning), the view appeared unchanged. Similarly, when assignee is set to not blank and you unassign a task, the view did not update.

            **Resolution:**\
            Fixed view refresh behavior after assign/unassign operations to properly reflect the updated task state and provide visual feedback to users.
          </Accordion>

          <Accordion id="ZD-913" title="Forms in Collections - Backend Keys Calculation">
            **Problem:**\
            When saving data from outside a collection with forms to submit, the backend calculated keys for UUID entries in formsToSubmit. These keys were only partial (relative to the collection array) and could overwrite existing process values.

            **Resolution:**\
            Added a flag on PATCH /actions requests to notify the backend to exclude backend keys calculation for forms in collections UUIDs from formsToSubmit.
          </Accordion>

          <Accordion id="ZD-1002" title="Variables Reset on Config Update">
            **Problem:**\
            Updating parameters in the config page caused existing parameters to be replaced with new ones, generating new flowxUuids. This caused variables in database nodes to no longer match, losing all references.

            **Resolution:**\
            Fixed to always send id and flowxUuid for existing params when saving the operation, preserving variable references.
          </Accordion>

          <Accordion id="ZD-773" title="Build Export Timeout">
            **Problem:**\
            When exporting builds with multiple resources, some resources remained in EXPORTING status, others got EXPORT\_TIMEOUT without the build export receiving the status, and others had EXPORTED status. This was caused by Kafka messages being processed before the MongoDB transaction was committed.

            **Resolution:**\
            Fixed the export function to ensure proper sequencing of database transactions and Kafka messages during build export operations.
          </Accordion>
        </Tab>

        <Tab title="Designer fixes">
          <Accordion title="Table Row Deletable with Backspace in RUT">
            **Problem:**\
            In Reusable UI Templates, selecting a table row and pressing backspace would delete the row, even though table rows should not be deletable.

            **Resolution:**\
            Fixed keyboard handling to prevent accidental table row deletion via backspace key.
          </Accordion>
        </Tab>

        <Tab title="Renderer fixes">
          <Accordion title="Android Upload Action Payload Missing">
            **Problem:**\
            Upload action payload data (except uploadFileTempFileId) was missing on execution in the Android renderer.

            **Resolution:**\
            Fixed payload handling to include all required data in upload action execution.
          </Accordion>
        </Tab>
      </Tabs>
    </Card>

    ***

    ### **Platform improvements**

    <Card title="Platform improvements" icon="server" iconType="duotone">
      <Tabs>
        <Tab title="Infrastructure">
          <CardGroup cols={2}>
            <Card title="Connector Topic Pattern" icon="message">
              Added dedicated KAFKA\_TOPIC\_CONNECTOR\_PATTERN variable for connectors, allowing custom topic patterns without breaking other components like document-plugin, data-search, and cms-core
            </Card>
          </CardGroup>
        </Tab>

        <Tab title="AI Platform">
          <CardGroup cols={2}>
            <Card title="Streaming Client Library" icon="code">
              Implemented client library for invoking the run AI node with streaming support for conversational API
            </Card>
          </CardGroup>
        </Tab>
      </Tabs>
    </Card>
  </Tab>

  <Tab title="Info">
    ## Additional information

    <Info>
      **Upgrade Compatibility**: FlowX.AI 5.1.3 is fully compatible with 5.1.2. No configuration changes, schema migrations, or data transformations are required.
    </Info>

    ### Compatibility

    <CardGroup cols={2}>
      <Card title="Upgrade Path" icon="arrow-up-right-dots">
        Direct upgrade from 5.1.2 → 5.1.3 with no breaking changes or configuration updates
      </Card>

      <Card title="Component Compatibility" icon="circle-check">
        Compatible with FlowX.AI SDKs (Angular/React/iOS/Android), Designer, and Database 5.1.x
      </Card>
    </CardGroup>

    ### New configuration options

    <Info>
      **Optional**: New environment variable available for process-engine
    </Info>

    | Variable                        | Description                                                                           | Default                                        |
    | ------------------------------- | ------------------------------------------------------------------------------------- | ---------------------------------------------- |
    | `KAFKA_TOPIC_CONNECTOR_PATTERN` | Dedicated topic pattern for FlowX connectors, separate from other platform components | Falls back to `KAFKA_TOPIC_PATTERN` if not set |

    ### Deployment information

    <Info>
      Standard deployment procedures apply. No special migration steps required for this maintenance release.
    </Info>

    For detailed deployment guidelines, see [Deployment Guidelines v5.1.3](./deployment-guidelines-v5.1.3).

    ### What's next

    **FlowX.AI 5.1.x LTS** will continue to receive maintenance updates focused on:

    * Security patches and vulnerability fixes
    * Stability improvements and bug fixes
    * Performance optimizations
    * Additional renderer enhancements
  </Tab>
</Tabs>
