---
name: roblox-release-compatibility-and-migration-gates
description: Design cross-version Roblox release gates for place contracts, old and new servers, DataStore schemas, configuration, and rollback-safe migrations.
---

# Release compatibility and migration gates

A release is compatible only when deployed places, active servers, stored player data, configuration, and client-facing contracts can coexist while old and new versions overlap. Version numbers alone do not establish compatibility.

## Explicit compatibility contracts

For every shared contract, record the current schema version, candidate version, versions the candidate can read, the version it writes, and the migration strategy. Cover player profiles, inventory, economy balances, quest state, matchmaking payloads, teleport data, remote-event payloads, and configuration keys as applicable.

Prefer an expand-and-contract migration across multiple releases:

1. Expand readers to understand old and new representations.
2. Deploy code that can read both while continuing to write the old compatible format.
3. Migrate or backfill with bounded, observable, restartable work.
4. Confirm old servers and rollback builds no longer need the old format before changing writes.
5. Remove old fields only in a later release after the rollback window closes.

Do not make an irreversible schema write in the same release that introduces the new reader. If the rollback version cannot read data written by the candidate, the release is not rollback-safe.

## Gate shared boundaries

Check old-server/old-data, old-server/new-data, new-server/old-data, new-server/new-data, and rollback-server/data combinations. Review place-to-place payloads, TeleportData, remote contracts, feature-flag defaults, Experience Configs, profile ownership, and required asset identifiers.

A migration needs an owner, expected duration, idempotency, progress counters, retry policy, failure handling, and an observable completion condition. Backfills must be rate-limited and safe to resume. Do not delete old records until new data is proven complete and recovery remains possible.

## Treat configs as versioned interfaces

For each config key, record name, type, default, allowed values, consuming code versions, and behavior when absent or invalid. New code should tolerate missing keys during rollout. Avoid publishing a config value before all consumers are ready. Keep config rollback independent from place-content rollback and verify the published config version.

## Minimum server compatibility

State the oldest server/release version that may coexist with the candidate. Define server draining/restart behavior, reconnect expectations, and which features remain disabled until all required places are ready. Never assume the platform instantly replaces every running server.

## Gate checklist

- Old and new server combinations reviewed.
- Data migration is idempotent, resumable, bounded, and observable.
- Candidate writes remain readable by rollback code during the rollback window.
- Config and feature-flag defaults are safe for old and new consumers.
- Cross-place, teleport, remote, and profile contracts are reviewed.
- Rollback does not require destructive data restoration.
- A human reviews any unavoidable breaking change and its player impact.

## Official references

- https://create.roblox.com/docs/production/configs
- https://create.roblox.com/docs/cloud/guides/configs
- https://create.roblox.com/docs/projects/version-history
