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

# Breaking Changes: Platform & Security

> Email-first sign-in, new configuration defaults, and a distroless server image in Collate 2.1.

# Platform & Security

Nothing on this page stops a Collate 2.0.8 `openmetadata.yaml` from loading. The changes that matter are behavioral. Collate now identifies users by email address at sign-in. This is opt-in for OpenID Connect (OIDC), Security Assertion Markup Language (SAML), and JavaScript Object Notation (JSON) Web Token (JWT) sign-in. It is always on for Lightweight Directory Access Protocol (LDAP) sign-in. A few defaults also changed, the server image changes, and a database migration needs planning. All changes are compared against Collate 2.0.8.

## Email-First User Identity

> [!NOTE]
>
> **Behavioral.** Opt-in for OIDC, SAML, and JWT sign-in. LDAP sign-in uses the new flow on upgrade.

Collate can now identify users by their email address instead of guessing a user name from several token claims.

### New Settings

The email-first settings are listed in the following table.

| Setting | Purpose |
| - | - |
| `authenticationConfiguration.emailClaim` | Token claim that holds the user's email address |
| `authenticationConfiguration.displayNameClaim` | Token claim that holds the display name |
| `authorizerConfiguration.adminEmails` | Admins, listed by email address |
| `authorizerConfiguration.allowedEmailDomains` | Email domains allowed to sign in (empty means all) |
| `authorizerConfiguration.botDomain` | Email domain used for system-created bots |

The `openmetadata.yaml` file that is included with Collate 2.1 does not list these settings. The server applies its built-in defaults. If you manage your own configuration file, add the settings you need to it.

### Deprecated Settings

The following settings are deprecated in favor of the email-first settings.

| Deprecated | Use instead |
| - | - |
| `jwtPrincipalClaims` | `emailClaim` |
| `jwtPrincipalClaimsMapping` | `emailClaim` and `displayNameClaim` |
| `adminPrincipals` | `adminEmails` |
| `principalDomain` | `botDomain` for bots and `allowedEmailDomains` for user restrictions |
| `allowedDomains` and `enforcePrincipalDomain` | `allowedEmailDomains` |
| `enableSecureSocketConnection` | Has no effect. Socket connections are always authenticated. |

Most deprecated settings still work. The following settings are also no longer required fields:

* `jwtPrincipalClaims`
* `adminPrincipals`
* `principalDomain`
* `enforcePrincipalDomain`

### When It Turns On

Email-first sign-in is used for OIDC, SAML, and JWT only when `emailClaim` is set and `jwtPrincipalClaimsMapping` is empty. If you change nothing, Collate 2.0.8 behavior is kept. Setting `jwtPrincipalClaimsMapping` keeps you on the older flow, and the server logs a warning saying so.

Before you set `emailClaim`, do the following:

1. Find users whose stored email address was made up by Collate because the identity provider never supplied one. From the server host, run the following command:

   ```bash theme={null}
   ./bootstrap/openmetadata-ops.sh list-synthesized-emails
   ```

2. Repair each one with `change-email`. Add `--clear-identity-binding` if the address now belongs to a different person than the original account holder.

> [!WARNING]
>
> Skipping these steps can leave a user unable to sign in to their existing account, or can create a second account for that user.

After you turn on email-first sign-in, the following applies:

* OIDC sign-ins bind the provider's `sub` to the account. If the same email later arrives with a different `sub`, the sign-in is refused until an admin clears the binding. This stops a re-used address from taking over a former employee's account.
* A display name sent by the provider overwrites the display name stored in Collate at each sign-in. If the provider sends none, the stored name is not changed.
* New users get a user name generated from their email. If it is already taken, a suffix is added.

### What Changes for LDAP on Upgrade

LDAP sign-in uses the email-first flow with no opt-in. The following table lists what changes.

| Change | Detail |
| - | - |
| Deactivated users | A deactivated (soft-deleted) account is refused with "Your account has been deactivated" and is not re-activated by signing in |
| Self-signup domains | `allowedEmailRegistrationDomains` is now enforced when an LDAP user is created at first sign-in |
| Email domain checks | `allowedEmailDomains` (or the deprecated `principalDomain` with `enforcePrincipalDomain`) rejects users outside those domains |
| Name collisions | A new user whose generated name already exists gets a suffix instead of failing |
| Display name | Synced from the directory (`displayName` or the attribute named in `displayNameClaim`) at each sign-in |
| Admin and roles | `adminEmails` and `adminPrincipals` are re-checked at each sign-in |

> [!NOTE]
>
> If an LDAP directory entry has no `mail` value, the user cannot be matched. Check that your directory returns an email for everyone who signs in.

### `POST /v1/users` With Non-Basic Providers

When the server uses any provider other than basic authentication, creating a user whose name is already taken now renames the new user on collision instead of returning a conflict. Scripts that relied on the conflict error to detect an existing user should look the user up by email first.

### Email Handling Changes in the Database Migration

The Collate 2.1 database migration does the following:

* It lowercases every stored user email.
* On PostgreSQL, it adds indexes on `LOWER(email)` and `LOWER(name)`.
* On MySQL, it changes the database default collation to `utf8mb4_0900_ai_ci`, which makes comparisons accent-insensitive for tables created in Collate 2.1 and later. It also converts the workflow engine's `ACT_*` tables to that collation.

## OIDC Sign-In Changes

> [!NOTE]
>
> **Behavioral.** Affects deployments that use OIDC with a confidential client.

The following table lists the OIDC settings that change.

| Setting | Collate 2.0.8 | Collate 2.1 |
| - | - | - |
| `oidcConfiguration.tokenValidity` | Set by you | Deprecated and ignored. The browser now presents the identity provider's ID token, whose lifetime the provider sets. The server also now checks the token's issuer and audience |
| `oidcConfiguration.endSessionWithProvider` | Set by you | Deprecated and ignored. Sessions always end with the provider's session |

The `openmetadata.yaml` file that is included with Collate 2.1 keeps `oidcConfiguration.prompt` at `consent` and `oidcConfiguration.maxAge` at `0`. Those two defaults do not change.

> [!NOTE]
>
> If you set a short `tokenValidity` to force a new sign-in, set the equivalent session lifetime in your identity provider instead.

## Support Access Is Revoked Immediately

> [!NOTE]
>
> **Behavioral.** Affects admins who grant Collate Support access to their deployment.

A support session now signs in through a stored session. When you revoke support access, Collate revokes the support user's sessions and tokens and then deletes the support user. The support token stops working on its next request instead of at its natural expiry. A token that is not tied to a session is no longer issued.

The support access email now goes to the address that you granted access to. In Collate 2.0.8, it was addressed to the support user, whose own address is not a mailbox.

## Other Configuration Changes

The following configuration changes apply in Collate 2.1.

### Configuration Source for Security and Email Settings

> [!NOTE]
>
> **Behavioral.** A new `configSource` block controls whether `openmetadata.yaml` or the database (the Settings pages in the UI) takes precedence. It applies to security, email, and server URL settings. It also applies to System for Cross-domain Identity Management (SCIM) and Model Context Protocol (MCP) settings.

The `openmetadata.yaml` file that is included with Collate 2.1 does not include the block, so the defaults in the following table apply.

| Mode | Behavior |
| - | - |
| `AUTO` (default for most settings) | A value you change in the file is applied on the next start, unless the same value was changed in the UI since. In that case the UI value is kept and a warning is logged |
| `ENV` | The file is authoritative. Fields it defines are rewritten at every start and become read-only in the UI and API |
| `DB` | The database is authoritative. The file only fills fields the database does not have |

The `app` setting defaults to `DB`. Use `./bootstrap/openmetadata-ops.sh remove-security-config` to reset stored security settings to the file. Switching to `ENV` refuses to replace a UI-configured identity provider with a different one unless `SECURITY_CONFIG_SOURCE_CONFIRM_PROVIDER_CHANGE=true`.

### Defaults That Changed

The following defaults change in the `openmetadata.yaml` file that is included with Collate 2.1.

| Setting | Collate 2.0.8 | Collate 2.1 | Who is affected |
| - | - | - | - |
| `llmConfiguration.enabled` | `false` | `true` | Deployments without model access. Set `LLM_ENABLED=false` to turn the model features off |
| `llmConfiguration.memoryExtractionEnabled` | `false` | `true` | Deployments that upload files or write articles |
| `llmConfiguration.bedrock.modelId` | Claude Haiku 4.5 | Claude Haiku 5.5 | Deployments that rely on the default model |
| `elasticsearch.hybridSearch.semanticScoreThreshold` | `0.7` | `0.625` | Users of semantic search, who can see more matches |
| `aiPlatformConfiguration.contextMemory.maxItems` | `5` | Removed | Anyone who tuned it. The preferences block now has a token budget and no item cap |

The two model settings are described with memory extraction. For more information, see [Memory Extraction Is On by Default](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/ai-agents-and-automations.md#memory-extraction-is-on-by-default).

The search threshold is described with hybrid search. For more information, see [Hybrid Search Matches More Semantic Results](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/collate-ai-and-credits.md#hybrid-search-matches-more-semantic-results).

The Elasticsearch connection pool settings stay as they were in Collate 2.0.8. The `elasticsearch.maxConnTotal` setting stays at `30`, and `elasticsearch.maxConnPerRoute` stays at `10`.

### Token Checks Use a Per-Server Cache

> [!NOTE]
>
> **Behavioral.** Affects bot tokens and personal access tokens.

Each server now checks bot and personal access tokens against a short-lived in-memory copy of the stored credentials (`credentialVerification`). Revoking or rotating a token takes effect within `maxStaleness` (5 seconds by default). If a server cannot confirm a token with the database within `loadTimeout` (2 seconds by default), the request is answered with a `503 Service Unavailable` error instead of being allowed. If you run several servers, keep these settings identical on all of them.

### Startup Checks Skip Unchanged Data

> [!NOTE]
>
> **Additive.** Affects how long the server takes to start and when bundled data is reloaded.

A new `startupConfiguration` block controls how startup skips work when nothing changed. The following table lists its settings.

| Setting | Default | What it does |
| - | - | - |
| `seedDataGateEnabled` | `true` | Skips loading the bundled seed data when it is already current |
| `forceSeedData` | `false` | Set to `true` to rerun every seed loader (environment variable `STARTUP_FORCE_SEED_DATA`) |
| `searchTemplateGateEnabled` | `true` | Skips updating search templates when they are unchanged |
| `searchInitParallelism` | `8` | Number of parallel tasks used to prepare search at startup |

### Alert Scheduler Uses More Database Connections

> [!NOTE]
>
> **Behavioral.** Affects database connection limits.

The alert scheduler can now use up to 13 database connections per server at peak. Earlier releases used up to five. If you run several servers against one database, check that the database connection limit still has room.

### Alerting Tuning Settings

> [!NOTE]
>
> **Additive.** The new `alerting` block tunes how alerts send. The defaults keep the earlier behavior.

The following table lists the settings in the `openmetadata.yaml` file that is included with Collate 2.1.

| Setting | Default | What it does |
| - | - | - |
| `tickTimeBudgetSeconds` | `60` | Stops one scheduler run after the current event once it has run this long, so a slow endpoint cannot hold a scheduler thread. Use `0` to switch it off, or a value of 10 or more |
| `skipUnreachableTargetWithinTick` | `false` | Records an unreachable target as failed without another attempt for the rest of that scheduler run |
| `honourWebhookMethod` | `false` | Uses the method that a webhook destination configures, POST or PUT. When it is `false`, every delivery is a POST |
| `awaitEmailOutcome` | `false` | When `false`, an email counts as delivered once it is passed to the mail server. Set it to `true` to wait for the mail server's answer to each email and record a rejection or a timeout as a failure |
| `targetSendConcurrency` | `1` | Number of targets of one event that are sent to at the same time, from 1 to 8 |

### The Server URL Needs a Scheme

> [!NOTE]
>
> **Behavioral.** Affects deployments that set `OPENMETADATA_SERVER_URL` without `http://` or `https://`.

Collate validates `OPENMETADATA_SERVER_URL` on the first start. The value must be an absolute `http://` or `https://` URL that includes the host. A value without a scheme stops the server with `Operations configuration has an invalid 'openMetadataUrl'`. An empty value falls back to `http://localhost:8585`.

### Operations Commands Ignore the Query Timeout

> [!NOTE]
>
> **Behavioral.** Affects long-running `openmetadata-ops.sh` commands such as `migrate`.

Operations commands no longer stop at `queryTimeoutSeconds`. That timeout now applies only to API requests, so a long migration statement is not cancelled part way.

### Content Delivery Network Support for the UI

> [!NOTE]
>
> **Additive.** Collate 2.1 can serve the UI bundle from a content delivery network (CDN). It is off by default.

When `cdn.enabled` is `true` and `cdn.baseUrl` is set, Collate rewrites the asset URLs in `index.html` to point at `{baseUrl}/{appVersion}/`. If a browser cannot load an asset from the CDN, it sets a 5-minute `cdn_off=1` cookie and reloads. Collate then serves that browser the assets from the server itself. The environment variables are `CDN_ENABLED` and `CDN_BASE_URL`.

### Context Center No Longer Extracts Text From Images

> [!NOTE]
>
> **Behavioral.** Affects deployments that set the Apache Tika or Tesseract settings for Context Center.

Collate 2.1 removes Apache Tika and image optical character recognition (OCR) from Context Center. An uploaded image, archive, or other file type that isn't text-extractable is always marked **Unsupported** for text extraction.

The following settings no longer have any effect. You can remove them from `openmetadata.yaml` and from your environment:

| Setting | Environment variable |
| - | - |
| `collate.tika.tesseract.path` | `COLLATE_TIKA_TESSERACT_PATH` |
| `collate.tika.tessdata.path` | `COLLATE_TIKA_TESSDATA_PATH` |
| `collate.tesseract.command` | `COLLATE_TESSERACT_COMMAND` |

### Other New Settings

> [!NOTE]
>
> **Additive.** Collate 2.1 adds more settings that other pages describe.

The encryption settings of `aiPlatformConfiguration` are described with the AI Platform connections. For more information, see [AI Platform Connections Can Use Transport Layer Security](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/collate-ai-and-credits.md#ai-platform-connections-can-use-transport-layer-security).

The `aiPlatformConfiguration.knowledgeBase.enabled` setting is described with the Support Agent. For more information, see [Support Agent Is Available When the Knowledge Base Is On](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/ai-agents-and-automations.md#support-agent-is-available-when-the-knowledge-base-is-on).

The Resource Description Framework (RDF) settings are described with data governance. For more information, see [New RDF Settings](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/data-governance.md#new-rdf-settings).

## Docker Images Are Distroless

> [!NOTE]
>
> **Behavioral.** Affects custom images, scripts, and debugging steps that rely on tools inside the container.

The Collate server image now runs on a distroless Debian base instead of Alpine. A small shell is still included. The start scripts, health checks, and `bash -c` commands in your deployment keep working. The `bash` command is a thin wrapper around that small shell, so features that only Bash has are not available. The following changes apply:

* There is no package manager, so `apk add` no longer works in a derived image.
* The container runs as the numeric user and group `65532:65532`. The `openmetadata` user no longer exists, so `USER openmetadata` in a derived image fails.
* Volumes that the server writes to, such as logs or custom mounts, must be writable by `65532`. In Kubernetes, set `runAsUser` and `fsGroup` to `65532` if your volumes keep the old owner.
* The Java runtime is a trimmed build. Tools such as `jshell` and `javac` are removed.

The runtime keeps the `java` and `keytool` commands. It also keeps the following diagnostic tools:

* `jcmd`
* `jstack`
* `jmap`
* `jinfo`
* `jps`
* `jstat`
* `jfr`

If you build on top of this image, add your packages in an earlier build stage and copy the results in.

## The Collate 2.1 Database Migration

> [!WARNING]
>
> **Behavioral.** Plan a maintenance window and take a backup first. The migration rewrites stored data, so rolling back means restoring that backup.

This section lists what the Collate 2.1 database migration changes.

### Steps That Need Planning

The following migration steps need planning.

| Step | Effect |
| - | - |
| Delta Lake retirement | Retypes Delta Lake services to Custom Database and deletes their ingestion pipelines. For more information, see [Ingestion & Connectors](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/ingestion-and-connectors.md) |
| Authentication secrets encrypted | The OIDC client secret, LDAP bind and trust store passwords, and the SAML private key and key store password are stored encrypted. This only happens if a Fernet key (an encryption key that you set for the server) is configured. Otherwise, the values stay as they are |
| User emails lowercased | The migration lowercases every stored user email. For more information, see [Email Handling Changes in the Database Migration](#email-handling-changes-in-the-database-migration) |
| PostgreSQL `isBot` column rebuilt | The migration drops and recreates the generated `isBot` column on `user_entity`. This rewrites the table and holds an exclusive lock, so sign-ins and user writes wait. Run it in a maintenance window if you have a very large `user_entity` |
| MySQL collation change | Database default collation becomes `utf8mb4_0900_ai_ci`, and workflow-engine tables are converted |
| Search reindex flagged | The **Search Indexing** application is set to cover all entities, and earlier success records for it and the RDF index are cleared. Run **Search Indexing** after the upgrade so new indexes and mappings are built |
| Task, lineage, and alert data fixes | Task field paths are rewritten into one format. Lineage edges that point at non-pipeline entities are cleaned. Alerts get new internal destination IDs and encrypted webhook secrets |
| Webhook secrets | Alert and profile webhook secrets are stored encrypted |
| Ingestion pipeline `type` filled in | Stored ingestion pipelines get a missing `sourceConfig.config.type` filled in, because Collate 2.1 now requires it. A pipeline the migration cannot resolve is only written to the server log. For more information, see [Ingestion & Connectors](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/ingestion-and-connectors.md) |
| Dotted service names | This affects dashboards and charts. It also affects pipelines, topics, and machine learning (ML) models under a service whose name contains a dot. The stored fully qualified name is rewritten to quote the service name, for example from `my.service.child` to `"my.service".child`. This repairs rows created before Collate 1.1. Update any saved link, script, or condition that holds the old name |
| Tokens and grants of deleted users removed | Personal access tokens and MCP Open Authorization (OAuth) grants that belong to users that no longer exist are deleted, and deleting a user now ends its grants |
| Placeholder table creation time removed | The placeholder `lifeCycle.created` value (year 0001) that earlier ingestion stored when the source gave no creation time is removed. Ingestion no longer writes it |
| Backfills run in batches | The creation-audit and data quality dimension backfills run in batches of 500 entity IDs instead of one statement for each table, so the upgrade finishes on large installations |
| MySQL guarded blocks run as one unit | On MySQL, a guarded block (`SET`, `PREPARE`, `EXECUTE`, and an optional `DEALLOCATE PREPARE`) runs on one connection and is recorded once, after its last statement. An interrupted migration can run again without cleanup. A migration file that cannot load stops `migrate`, `validate`, and server start with `Migration <version> cannot be loaded, so no migration was run` |

### Collate-Only Migration Steps

The Collate migration adds the following steps. Each one is safe to run again.

| Step | Effect |
| - | - |
| Automator pipelines adopted | Each Automator pipeline becomes a governance automation. For more information, see [Governance Automations](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/data-governance.md#governance-automations) |
| Reverse Metadata application removed | Channels become per-service agents when run history allows. For more information, see [Reverse Metadata Becomes a Per-Service Agent](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/ai-agents-and-automations.md#reverse-metadata-becomes-a-per-service-agent) |
| AI Chart Refresh application removed | Chart cached results move to separate refresh records. For more information, see [AI Chart Refresh Runs Inside the Server](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/ai-agents-and-automations.md#ai-chart-refresh-runs-inside-the-server) |
| Git sink workflows updated | Plaintext secrets are encrypted when a Fernet key exists, and `query` is removed from the trigger. For more information, see [Git Sink Workflows Are Updated by the Upgrade](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/applications-and-automation.md#git-sink-workflows-are-updated-by-the-upgrade) |
| Query runner secrets rewritten | With an external secrets manager, each query runner connection gets its own secret keys. For more information, see [SQL Studio Credentials Are Stored for Each Connection](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/collate-ai-and-credits.md#sql-studio-credentials-are-stored-for-each-connection) |
| Notion plugin connections reset | The stored Notion integration token is removed and the plugin is marked disconnected. For more information, see [Notion Plugins Use OAuth Only](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/ai-agents-and-automations.md#notion-plugins-use-oauth-only) |
| Context Center memories retyped | Organization-wide memories with no type become Preference memories. Memory anchors are normalized. For more information, see [Only Preferences and Pinned Memories Reach Every Prompt](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/ai-agents-and-automations.md#only-preferences-and-pinned-memories-reach-every-prompt) |
| Past AI usage flagged as not billable | Past usage from landing page widgets and the search bar is marked as not billable by the upgrade. Past search bar query embeddings cannot be told apart from chat embeddings, so they keep counting. For more information, see [Landing Page Widgets and the Search Bar Are No Longer Billed](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/collate-ai-and-credits.md#landing-page-widgets-and-the-search-bar-are-no-longer-billed) |
| AI report destinations given a channel | The destinations of AI dashboards, AI automations, and the AI credit usage alert are given a delivery channel. The hidden alert of each dashboard and automation is saved again in its current shape |
| AutoPilot automation labels updated | Each AutoPilot automation is labeled after its agent unless a user renamed it |
| AI Automation batch size removed | The unused `sourceFilter.batchSize` is stripped from automations and their version history. For more information, see [AI Automations Use a Per-Run Entity Limit Instead of a Batch Size](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/ai-agents-and-automations.md#ai-automations-use-a-per-run-entity-limit-instead-of-a-batch-size) |
| Chat collaborator follow records deleted | The follow records that chat collaborator notifications left behind are deleted. For more information, see [Collate AI Chat Collaborator Notifications](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/collaboration.md#collate-ai-chat-collaborator-notifications) |
| Landing page panel definitions | The Data Quality panel definition is replaced by the shared one, and the Pipeline Status panel definition is deleted and created again |

### New Tables and Indexes

New tables back incident grouping, metric groups, and the ontology features. The migration also adds a few new indexes, for example on `entity_usage` and the test case incident tables. Index builds on very large tables are the slowest part of the migration on PostgreSQL.

Collate adds the following tables:

* `metadata_standard_entity`
* `metadata_completeness_run`
* `governance_automation_entity`
* `ai_message_feedback`
* `ai_chart_refresh`
* `context_plugin_oauth_state`
* `member_weekly_email_delivery`
* `member_weekly_email_preference`
* `member_weekly_email_control`
* `memory_outcome_event`

> [!NOTE]
>
> Ontology and glossary data is rewritten by this migration, including glossary term attributes. For more information, see [Data Governance](https://docs.getcollate.io/ai-2-0/release-2.1/breaking-changes/data-governance.md).


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