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

# Breaking Changes - Applications & Automation | Official Documentation

> Applications no longer create alerts from their definition, Search Indexing reset, Data Retention settings, the new Resource Description Framework (RDF) Inference Materialization application, and automation workflow cleanup in OpenMetadata 2.1.

# Applications & Automation

The 2.1 upgrade rewrites the stored configuration of the Search Indexing and Data Retention applications
and changes how applications create alerts. If you manage application configuration as code, read this
before you replay it.

## Applications No Longer Create Alerts From Their Definition

> [!NOTE]
>
> **Breaking for custom application definitions, behavioral for existing alerts.** Affects anyone who
> publishes their own application definition and admins who relied on the alerts an application installed.

The `eventSubscriptions` list is removed from the application marketplace definition and from the
request that creates one. An application can still create the alerts it needs in its own code, but
alerts are no longer created from a list in the definition.

What the upgrade does to existing alerts:

* An alert that an application created from its definition is disabled and no longer tied to the
  application. It is kept so an admin can review it.
* Alerts that an application creates in its own code are left as they are.
* The stored list of alerts is removed from application records and their version history. The
  application's alerts are now read from its relationships.

> [!NOTE]
>
> If you rely on an alert that an application installed in 2.0, check **Settings** > **Notifications** after
> the upgrade. Re-enable the alert there if you still want it. Remove `eventSubscriptions` from any
> marketplace definition you create through the API. The create schema rejects unknown fields, so a
> request that still sends it is refused.

## Model Context Protocol (MCP) Server Changes

> [!NOTE]
>
> **Behavioral.** Affects MCP clients and operators who run the MCP server.

* Unsupported protocol versions get `400`. A `POST` to `/mcp` whose `MCP-Protocol-Version` header names a
  version the server does not implement now returns `400 Bad Request` with a JSON Remote Procedure Call (JSON-RPC) `Invalid Request` error that
  lists the supported versions. Before, the server answered normally. `initialize` requests and requests without
  the header are not affected. A client that sent a version it never negotiated now fails.
* Disabling the MCP Server application stops MCP at once. You no longer restart the server for it to take
  effect.

> [!NOTE]
>
> **Additive.** Client registration stays open by default, so existing clients keep working. Operators can now set
> `dynamicClientRegistrationEnabled` to turn off new registrations and `allowedRedirectHosts` to allow only
> listed HTTPS hosts. Admins get `GET /api/v1/mcp/clients` to list registered clients and
> `DELETE /api/v1/mcp/clients/{clientId}` to remove one. Removing a client deletes its tokens, so its users must
> authorize again.

## Installing an Application With a Bot Needs an Admin

> [!NOTE]
>
> **Breaking.** Affects non-admin users and automation that create or update applications.

Only setting `allowBotImpersonation` to `true` needed an admin in 2.0. Creating or updating an
application now also needs an admin whenever a `bot` is set. The call returns `403 Forbidden` for other users.

> [!NOTE]
>
> Run application installs that set a bot from an admin account or an admin-level bot.

## Search Indexing Configuration and Run History Are Reset

> [!WARNING]
>
> **Behavioral.** The migration overwrites your settings and clears run history.

* `appConfiguration.entities` of the Search Indexing application is set to `["all"]`, because the
  reindex now rebuilds every selected index and the 2.1 upgrade adds a new relationship type index and
  a new glossary term mapping. A narrower selection you had is not kept.
* The recorded run history of the Search Indexing and Resource Description Framework (RDF) Index applications is deleted. The
  Applications page then shows that Search Indexing must be run once. The RDF status stays at
  rebuilding until an RDF Index run succeeds.

> [!NOTE]
>
> Run the Search Indexing application once after upgrading, then the RDF Index application if you use
> RDF. Reapply a narrower `entities` selection afterwards if you need one.

## Data Retention Application Settings

> [!NOTE]
>
> **Behavioral, with one new required field.** Affects scripts that send the full retention configuration.

The following table lists the settings.

| Setting | What changed |
| - | - |
| `activityCommentsRetentionPeriod` | New, in days. Comments on activity events can now be cleaned up. It is a required field of the configuration. The default is `0` (keep forever), and the upgrade adds it to your stored configuration. |
| `workflowRetentionPeriod` | New, in days, default `30`. Deletes automation workflow records older than this. These are the short-lived records left by test connection, query runner, and reverse ingestion runs. Use `0` to keep them forever. |

Because `activityCommentsRetentionPeriod` is required, a script that sends the whole configuration
without it can fail validation. Add the field to your scripts.

> [!WARNING]
>
> After the upgrade, the Data Retention application deletes automation workflow records older than 30 days.
> The deletion cannot be undone. Set `workflowRetentionPeriod` to `0` before the first run if you need to keep them.

## New RDF Inference Materialization Application

> [!NOTE]
>
> **Additive.** Affects deployments that use RDF.

A new application named **RDF Inference Materialization** (`RdfInferenceApp`) is added in 2.1. It computes inferred RDF
conclusions every 5 minutes by default. It accepts two settings: `force`
(recompute every rule even when nothing changed, default `false`) and `ruleName` (a rule that must
exist). The run always computes every rule, because rules read each other's results. The RDF Index and
RDF Inference Materialization configurations are added to the application configuration union, so generated models that
key on branch position must be regenerated rather than patched by hand.

## Automation Workflow and Application Run Changes

> [!NOTE]
>
> **Additive.**

* Application run records gain `triggeredBy`, the user who started an on-demand run. It is not set for
  scheduled runs.
* The query runner request accepts `fileIds`, so files uploaded to a chat conversation can be analyzed
  in place of a warehouse service. When you use `fileIds`, the service name and credentials are not
  used.
* The upgrade removes the deleted `sampleDataStorageConfig` key from stored test connection requests.
  For more information, see [Data Quality & Observability](https://docs.open-metadata.org/v2.1.x/deployment/upgrade/breaking-changes/data-quality.md).

## Items From 2.0 Not Repeated Here

Changes to the Data Insights `dataQuality` module, MCP tool contracts, CSV background jobs, and the
cache were introduced in 2.0 and are covered in the 2.0 breaking changes. This page lists only what
changes between 2.0 and 2.1.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.