Release and Migration Guide for GenAI Modules
Introduction
During most regular release cycles, upgrading GenAI modules is seamless and requires no manual intervention. However, in some cases, breaking changes to the database or code are unavoidable in order to enable future improvements.
This document is intended for consumers of GenAI modules. For releases that introduce impactful changes, it outlines the affected module versions, describes the nature of the changes, and specifies any actions that must be taken when upgrading to the newer versions.
Do not skip major versions as they may contain deprecations or require migration.
Modules remove deprecated entities, associations, and attributes in the subsequent major release, after they have been marked as deprecated. Deprecated domain model elements are indicated by the _DEPR suffix in the previous major version.
This means that major versions containing deprecations should not be skipped during upgrades.
For example, if you are currently using V3.x.x and want to upgrade to V5.0.0, you must first upgrade to V4.0.0, deploy the application, and perform all required migration steps before proceeding to the next version. Skipping a major version may result in data loss, broken logic, or failed deployments.
General Recommendations
Mendix recommends following the steps below per release to ensure a smooth upgrade without data loss. For the details of each release, refer to the Releases section below.
- Read the full migration guide for the specific release and ensure that you cover each module used in your app.
- Perform the upgrade in a non-production environment first.
- Keep the back up of your database before starting.
- Upgrade all modules to the versions listed in the upgrade matrix for the release.
- Update any custom application logic by referencing deprecated entities, associations, attributes, microflows, or enumerations.
- Run all required migration microflows upon starting the application (for example, as part of the after-startup microflow).
- Verify migration results in the running app.
- Test your application thoroughly.
- Perform the upgrade and migrations in the production environment.
Releases
The sections below describe each release increment for a set of modules that are released at the same time. If your upgrade path does not include any of the module releases listed below, no additional actions are required during the upgrade.
Release March 2026
This section explains breaking changes and required actions for a set of GenAI modules released in early March 2026. These changes prepare the domain models for future enhancements, particularly to support Agent definitions using MCP tools and Knowledge Bases.
Affected Modules and Their Versions
The following module versions are released as compatible with each other and should be upgraded together.
| Module | Previous Version | New Version | Contains deprecations | Requires migration |
|---|---|---|---|---|
| GenAI Commons | 5.x.x | 6.0.0 | No | Yes, as part of dependent modules. |
| Agent Commons | 2.x.x | 3.0.0 | Yes | Yes |
| MCP Client | 2.x.x | 3.0.0 | Yes | No, but update required for other migrations. |
| OpenAI Connector | 7.x.x | 8.0.0 | Yes | Yes |
| Amazon Bedrock Connector | 9.x.x | 10.0.0 | No | Yes |
| PgVector Knowledge Base | 5.x.x | 6.0.0 | Yes | Yes |
| Mendix Cloud GenAI Connector | 5.x.x | 6.0.0 | No | Yes |
Migration Guide
In this section, migration steps are grouped together by topic rather than by module, as some changes affect multiple modules.
Single MCP Tools used by Agent Definitions
The following modules require an upgrade:
- Agent Commons: migrate from V2.x.x to V3.0.0
- MCP Client: migrate from V2.x.x to V3.0.0
Key Changes
- The association from entity
SingleMCPTooltowards the entityMCPToolhas been deprecated. - Entity
SingleMCPToolhas a new associationSingleMCPTool_ConsumedMCPServiceand a new attributeTool. - Entity
MCPServerConfigurationwas renamed toConsumedMCPService, along with the corresponding pageConsumedMCPService_Overviewand Java actionConsumedMCPService_CreateMCPClient.
Impact
Existing custom code that use any of the renamed pages and microflows will show consistency errors in the Studio Pro. Furthermore, agent definitions containing Single MCP tools require migration to prevent failing agent calls at runtime.
Data migration is only required if your app uses Agent definitions containing Single MCP tools.
Required Actions
In order to resolve consistency errors for the renamed ConsumedMCPService entity, select the page and Java action mentioned in the Key Changes section above if they are used in your application.
To prevent the need to recreate existing data related to Agent definitions, perform the following steps:
Upgrade the MCP Client module to V3.0.0 in your Mendix app.
Upgrade the Agent Commons module to V3.0.0 in your Mendix app.
Run the data migration microflow upon starting your application (for example, include it in the after-startup microflow).
The AgentCommons > USE_ME > Migration >
SingleMCPTool_Migratemicroflow will set the new association and attribute on existingSingleMCPToolrecords.Update any custom logic or pages in your app that refer the old entity or its attributes
MCPTool_DEPRin the MCPClient module. Available tools are not cached anymore. In cases where the actual list of available tools is required, refer to theConsumedMCPService_ListToolsmicroflow.Verify your application compiles and runs correctly before deploying to cloud environments.
The SingleMCPTool entity and related attributes and association will be permanently removed in the next major version (V4.0.0) of the MCP Client module.
Ensure to run the migration microflow before upgrading to the next major version.
Consumed Knowledge Bases
The following modules require an upgrade:
- GenAI Commons: migrate from V5.x.x TO V6.0.0
- Amazon Bedrock Connector: migrate from V9.x.x to V10.0.0
- Mendix Cloud GenAI Connector: migrate from V5.x.x to V6.0.0
- OpenAI Connector: migrate from V7.x.x to V8.0.0
- PgVector Knowledge Base: migrate from V5.x.x to V6.0.0
Key Changes
- A new entity
ConsumedKnowledgeBase, has been added to the domain model of GenAI Commons. Each connector that provides logic to interact with Deployed Knowledge Bases now provides a specialization for this new entity. - In the Amazon Bedrock Connector module, the entity
BedrockConsumedKnowledgeBaseis added as a specialization ofConsumedKnowledgeBase. - In the Mendix Cloud GenAI Connector module, the existing entity
MxCloudKnowledgeBaseResourceis now a specialization ofConsumedKnowledgeBase. - In the OpenAI Connector module, the existing entity
AzureAISearchResourceis now a specialization ofConsumedKnowledgeBase. TheDisplayNameattribute has been deprecated and replaced by the attribute on the generalization. - In the PgVector Knowledge Base module, the existing entity
DatabaseConfigurationis now a specialization ofConsumedKnowledgeBase. TheDisplayNameattribute has been deprecated and replaced by the attribute on the generalization.
Impact
Agent definitions using knowledge bases require migration to prevent failing agent calls at runtime. Existing knowledge base configurations in any of the mentioned connector modules require migration to prevent failing knowledge base calls at runtime.
Migration is only required if your app interacts with knowledge bases from any of the modules mentioned in the Key Changes section, or contains existing data for such knowledge base configurations.
Required Actions
To prevent the need to recreate existing data related to Agent definitions and knowledge base configurations, do the following:
Upgrade the GenAI Commons module to V6.0.0 in your Mendix app.
If available, upgrade the Agent Commons module to V3.0.0.
If your app has the Amazon Bedrock Connector module:
- Upgrade the Amazon Bedrock Connector module to V10.0.0
- Include logic to run the data migration microflow upon starting your app (for example, include it in the after-startup microflow): AmazonBedrockConnector > USE_ME > Migration >
ConsumedKnowledgeBase_Migrate. This microflow makes sure the new attributes on the generalization are set properly, and theDisplayNamefield is migrated. - If Agent Commons is included in your app and Agents are defined using knowledge bases, you must include the following initially excluded sub-microflow in the app and add it as a microflow call, as specified in the annotation in the above-mentioned microflow: AmazonBedrockConnector > USE_ME > Migration >
AmazonBedrock_KnowledgeBase_Migrate. This microflow sets theCollectionIdentifierfield on theKnowledgeBaseentity, and an outgoing reference to theConsumedKnowledgeBase.
If your app has the Mendix Cloud GenAI Connector module:
- Upgrade the Mendix Cloud GenAI Connector module to V6.0.0 in your Mendix app.
- Include logic to run the data migration microflow upon starting your app (for example, include it in the after-startup): MxGenAIConnector > USE_ME > Migration >
ConsumedKnowledgeBase_Migrate. This microflow makes sure the new attributes on the generalization are set properly, and theDisplayNamefield is migrated. - If the Agent Commons is part of your app and there are Agents defined using knowledge bases, include the following initially excluded sub-microflow into the app and add it as a microflow call according to the annotation in the above-mentioned microflow: MxGenAIConnector > USE_ME > Migration >
MxGenAI_KnowledgeBase_Migrate. This microflow sets theCollectionIdentifierfield on theKnowledgeBaseentity and outgoing reference to theConsumedKnowledgeBase.
If your app has the OpenAI Connector module:
- Upgrade the OpenAI Connector module to V8.0.0 in your Mendix app.
- Include logic to run the data migration microflow upon starting your app (for example, include it in the after-startup): OpenAIConnector > USE_ME > Migration >
ConsumedKnowledgeBase_Migrate. This microflow makes sure the new attributes on the generalization are set properly, and theDisplayNamefield is migrated. - If the Agent Commons is part of your app and there are Agents defined using knowledge bases, include the following initially excluded sub-microflow into the app and add it as a microflow call according to the annotation in the above-mentioned microflow: OpenAIConnector > USE_ME > Migration >
Azure_KnowledgeBase_Migrate. This microflow sets theCollectionIdentifierfield on theKnowledgeBaseentity and the outgoing reference to theConsumedKnowledgeBase.
If your app has the PgVector Knowledge Base module:
- Upgrade the PgVector Knowledge Base module to V6.0.0 in your Mendix app.
- Include logic to run the data migration microflow upon starting your application (forexample, include it in the after-startup): PgVectorKnowledgeBase > USE_ME > Migration >
ConsumedKnowledgeBase_Migrate. This microflow makes sure the new attributes on the generalization are set properly, and theDisplayNamefield is migrated. - If the Agent Commons is part of your app and there are Agents defined using knowledge bases, include the following initially excluded sub-microflow into the project and add it as a microflow call according to the annotation in the above-mentioned microflow: PgVectorKnowledgeBase > USE_ME > Migration >
PgVector_KnowledgeBase_Migrate. This microflow sets theCollectionIdentifierfield on theKnowledgeBaseentity and outgoing reference to theConsumedKnowledgeBase.
Update any custom logic or pages in your application that reference:
- The attributes
DisplayName_DEPRon theDatabaseConfigurationandAzureAISearchResourceentities. Instead, now use theDisplayNamefield that comes as part of the generalization. - The association
KnowledgeBase_DeployedModel_DEPR. Instead, now use theCollectionIdentifierattribute on theKnowledgeBaseentity, if needed in combination with theKnowledgeBase_ConsumedKnowledgeBaseassociation.
- The attributes
Verify your app compiles and runs correctly before deploying to cloud environments.
Remove the migration logic from the app logic the moment it has run at least once in every impacted environment. It can, however, be triggered multiple times without harm.
Note the following:
The
KnowledgeBase_DeployedModel_DEPRassociation will be permanently removed in the next major version of the Agent Commons module, which will be V4.0.0.The
DisplayName_DEPRattribute will be permanently removed in the next major version of the OpenAI Connector module, which will be V9.0.0.The
DisplayName_DEPRattribute will be permanently removed in the next major version of the PgVector Knowledge Base module, which will be V7.0.0.Ensure to run the migration microflow before upgrading to the next major version.